3861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087127088127089127090127091127092127093127094127095127096127097127098127099127100127101127102127103127104127105127106127107127108127109127110127111127112127113127114127115127116127117127118127119127120127121127122127123127124127125127126127127127128127129127130127131127132127133127134127135127136127137127138127139127140127141127142127143127144127145127146127147127148127149127150127151127152127153127154127155127156127157127158127159127160127161127162127163127164127165127166127167127168127169127170127171127172127173127174127175127176127177127178127179127180127181127182127183127184127185127186127187127188127189127190127191127192127193127194127195127196127197127198127199127200127201127202127203127204127205127206127207127208127209127210127211127212127213127214127215127216127217127218127219127220127221127222127223127224127225127226127227127228127229127230127231127232127233127234127235127236127237127238127239127240127241127242127243127244127245127246127247127248127249127250127251127252127253127254127255127256127257127258127259127260127261127262127263127264127265127266127267127268127269127270127271127272127273127274127275127276127277127278127279127280127281127282127283127284127285127286127287127288127289127290127291127292127293127294127295127296127297127298127299127300127301127302127303127304127305127306127307127308127309127310127311127312127313127314127315127316127317127318127319127320127321127322127323127324127325127326127327127328127329127330127331127332127333127334127335127336127337127338127339127340127341127342127343127344127345127346127347127348127349127350127351127352127353127354127355127356127357127358127359127360127361127362127363127364127365127366127367127368127369127370127371127372127373127374127375127376127377127378127379127380127381127382127383127384127385127386127387127388127389127390127391127392127393127394127395127396127397127398127399127400127401127402127403127404127405127406127407127408127409127410127411127412127413127414127415127416127417127418127419127420127421127422127423127424127425127426127427127428127429127430127431127432127433127434127435127436127437127438127439127440127441127442127443127444127445127446127447127448127449127450127451127452127453127454127455127456127457127458127459127460127461127462127463127464127465127466127467127468127469127470127471127472127473127474127475127476127477127478127479127480127481127482127483127484127485127486127487127488127489127490127491127492127493127494127495127496127497127498127499127500127501127502127503127504127505127506127507127508127509127510127511127512127513127514127515127516127517127518127519127520127521127522127523127524127525127526127527127528127529127530127531127532127533127534127535127536127537127538127539127540127541127542127543127544127545127546127547127548127549127550127551127552127553127554127555127556127557127558127559127560127561127562127563127564127565127566127567127568127569127570127571127572127573127574127575127576127577127578127579127580127581127582127583127584127585127586127587127588127589127590127591127592127593127594127595127596127597127598127599127600127601127602127603127604127605127606127607127608127609127610127611127612127613127614127615127616127617127618127619127620127621127622127623127624127625127626127627127628127629127630127631127632127633127634127635127636127637127638127639127640127641127642127643127644127645127646127647127648127649127650127651127652127653127654127655127656127657127658127659127660127661127662127663127664127665127666127667127668127669127670127671127672127673127674127675127676127677127678127679127680127681127682127683127684127685127686127687127688127689127690127691127692127693127694127695127696127697127698127699127700127701127702127703127704127705127706127707127708127709127710127711127712127713127714127715127716127717127718127719127720127721127722127723127724127725127726127727127728127729127730127731127732127733127734127735127736127737127738127739127740127741127742127743127744127745127746127747127748127749127750127751127752127753127754127755127756127757127758127759127760127761127762127763127764127765127766127767127768127769127770127771127772127773127774127775127776127777127778127779127780127781127782127783127784127785127786127787127788127789127790127791127792127793127794127795127796127797127798127799127800127801127802127803127804127805127806127807127808127809127810127811127812127813127814127815127816127817127818127819127820127821127822127823127824127825127826127827127828127829127830127831127832127833127834127835127836127837127838127839127840127841127842127843127844127845127846127847127848127849127850127851127852127853127854127855127856127857127858127859127860127861127862127863127864127865127866127867127868127869127870127871127872127873127874127875127876127877127878127879127880127881127882127883127884127885127886127887127888127889127890127891127892127893127894127895127896127897127898127899127900127901127902127903127904127905127906127907127908127909127910127911127912127913127914127915127916127917127918127919127920127921127922127923127924127925127926127927127928127929127930127931127932127933127934127935127936127937127938127939127940127941127942127943127944127945127946127947127948127949127950127951127952127953127954127955127956127957127958127959127960127961127962127963127964127965127966127967127968127969127970127971127972127973127974127975127976127977127978127979127980127981127982127983127984127985127986127987127988127989127990127991127992127993127994127995127996127997127998127999128000128001128002128003128004128005128006128007128008128009128010128011128012128013128014128015128016128017128018128019128020128021128022128023128024128025128026128027128028128029128030128031128032128033128034128035128036128037128038128039128040128041128042128043128044128045128046128047128048128049128050128051128052128053128054128055128056128057128058128059128060128061128062128063128064128065128066128067128068128069128070128071128072128073128074128075128076128077128078128079128080128081128082128083128084128085128086128087128088128089128090128091128092128093128094128095128096128097128098128099128100128101128102128103128104128105128106128107128108128109128110128111128112128113128114128115128116128117128118128119128120128121128122128123128124128125128126128127128128128129128130128131128132128133128134128135128136128137128138128139128140128141128142128143128144128145128146128147128148128149128150128151128152128153128154128155128156128157128158128159128160128161128162128163128164128165128166128167128168128169128170128171128172128173128174128175128176128177128178128179128180128181128182128183128184128185128186128187128188128189128190128191128192128193128194128195128196128197128198128199128200128201128202128203128204128205128206128207128208128209128210128211128212128213128214128215128216128217128218128219128220128221128222128223128224128225128226128227128228128229128230128231128232128233128234128235128236128237128238128239128240128241128242128243128244128245128246128247128248128249128250128251128252128253128254128255128256128257128258128259128260128261128262128263128264128265128266128267128268128269128270128271128272128273128274128275128276128277128278128279128280128281128282128283128284128285128286128287128288128289128290128291128292128293128294128295128296128297128298128299128300128301128302128303128304128305128306128307128308128309128310128311128312128313128314128315128316128317128318128319128320128321128322128323128324128325128326128327128328128329128330128331128332128333128334128335128336128337128338128339128340128341128342128343128344128345128346128347128348128349128350128351128352128353128354128355128356128357128358128359128360128361128362128363128364128365128366128367128368128369128370128371128372128373128374128375128376128377128378128379128380128381128382128383128384128385128386128387128388128389128390128391128392128393128394128395128396128397128398128399128400128401128402128403128404128405128406128407128408128409128410128411128412128413128414128415128416128417128418128419128420128421128422128423128424128425128426128427128428128429128430128431128432128433128434128435128436128437128438128439128440128441128442128443128444128445128446128447128448128449128450128451128452128453128454128455128456128457128458128459128460128461128462128463128464128465128466128467128468128469128470128471128472128473128474128475128476128477128478128479128480128481128482128483128484128485128486128487128488128489128490128491128492128493128494128495128496128497128498128499128500128501128502128503128504128505128506128507128508128509128510128511128512128513128514128515128516128517128518128519128520128521128522128523128524128525128526128527128528128529128530128531128532128533128534128535128536128537128538128539128540128541128542128543128544128545128546128547128548128549128550128551128552128553128554128555128556128557128558128559128560128561128562128563128564128565128566128567128568128569128570128571128572128573128574128575128576128577128578128579128580128581128582128583128584128585128586128587128588128589128590128591128592128593128594128595128596128597128598128599128600128601128602128603128604128605128606128607128608128609128610128611128612128613128614128615128616128617128618128619128620128621128622128623128624128625128626128627128628128629128630128631128632128633128634128635128636128637128638128639128640128641128642128643128644128645128646128647128648128649128650128651128652128653128654128655128656128657128658128659128660128661128662128663128664128665128666128667128668128669128670128671128672128673128674128675128676128677128678128679128680128681128682128683128684128685128686128687128688128689128690128691128692128693128694128695128696128697128698128699128700128701128702128703128704128705128706128707128708128709128710128711128712128713128714128715128716128717128718128719128720128721128722128723128724128725128726128727128728128729128730128731128732128733128734128735128736128737128738128739128740128741128742128743128744128745128746128747128748128749128750128751128752128753128754128755128756128757128758128759128760128761128762128763128764128765128766128767128768128769128770128771128772128773128774128775128776128777128778128779128780128781128782128783128784128785128786128787128788128789128790128791128792128793128794128795128796128797128798128799128800128801128802128803128804128805128806128807128808128809128810128811128812128813128814128815128816128817128818128819128820128821128822128823128824128825128826128827128828128829128830128831128832128833128834128835128836128837128838128839128840128841128842128843128844128845128846128847128848128849128850128851128852128853128854128855128856128857128858128859128860128861128862128863128864128865128866128867128868128869128870128871128872128873128874128875128876128877128878128879128880128881128882128883128884128885128886128887128888128889128890128891128892128893128894128895128896128897128898128899128900128901128902128903128904128905128906128907128908128909128910128911128912128913128914128915128916128917128918128919128920128921128922128923128924128925128926128927128928128929128930128931128932128933128934128935128936128937128938128939128940128941128942128943128944128945128946128947128948128949128950128951128952128953128954128955128956128957128958128959128960128961128962128963128964128965128966128967128968128969128970128971128972128973128974128975128976128977128978128979128980128981128982128983128984128985128986128987128988128989128990128991128992128993128994128995128996128997128998128999129000129001129002129003129004129005129006129007129008129009129010129011129012129013129014129015129016129017129018129019129020129021129022129023129024129025129026129027129028129029129030129031129032129033129034129035129036129037129038129039129040129041129042129043129044129045129046129047129048129049129050129051129052129053129054129055129056129057129058129059129060129061129062129063129064129065129066129067129068129069129070129071129072129073129074129075129076129077129078129079129080129081129082129083129084129085129086129087129088129089129090129091129092129093129094129095129096129097129098129099129100129101129102129103129104129105129106129107129108129109129110129111129112129113129114129115129116129117129118129119129120129121129122129123129124129125129126129127129128129129129130129131129132129133129134129135129136129137129138129139129140129141129142129143129144129145129146129147129148129149129150129151129152129153129154129155129156129157129158129159129160129161129162129163129164129165129166129167129168129169129170129171129172129173129174129175129176129177129178129179129180129181129182129183129184129185129186129187129188129189129190129191129192129193129194129195129196129197129198129199129200129201129202129203129204129205129206129207129208129209129210129211129212129213129214129215129216129217129218129219129220129221129222129223129224129225129226129227129228129229129230129231129232129233129234129235129236129237129238129239129240129241129242129243129244129245129246129247129248129249129250129251129252129253129254129255129256129257129258129259129260129261129262129263129264129265129266129267129268129269129270129271129272129273129274129275129276129277129278129279129280129281129282129283129284129285129286129287129288129289129290129291129292129293129294129295129296129297129298129299129300129301129302129303129304129305129306129307129308129309129310129311129312129313129314129315129316129317129318129319129320129321129322129323129324129325129326129327129328129329129330129331129332129333129334129335129336129337129338129339129340129341129342129343129344129345129346129347129348129349129350129351129352129353129354129355129356129357129358129359129360129361129362129363129364129365129366129367129368129369129370129371129372129373129374129375129376129377129378129379129380129381129382129383129384129385129386129387129388129389129390129391129392129393129394129395129396129397129398129399129400129401129402129403129404129405129406129407129408129409129410129411129412129413129414129415129416129417129418129419129420129421129422129423129424129425129426129427129428129429129430129431129432129433129434129435129436129437129438129439129440129441129442129443129444129445129446129447129448129449129450129451129452129453129454129455129456129457129458129459129460129461129462129463129464129465129466129467129468129469129470129471129472129473129474129475129476129477129478129479129480129481129482129483129484129485129486129487129488129489129490129491129492129493129494129495129496129497129498129499129500129501129502129503129504129505129506129507129508129509129510129511129512129513129514129515129516129517129518129519129520129521129522129523129524129525129526129527129528129529129530129531129532129533129534129535129536129537129538129539129540129541129542129543129544129545129546129547129548129549129550129551129552129553129554129555129556129557129558129559129560129561129562129563129564129565129566129567129568129569129570129571129572129573129574129575129576129577129578129579129580129581129582129583129584129585129586129587129588129589129590129591129592129593129594129595129596129597129598129599129600129601129602129603129604129605129606129607129608129609129610129611129612129613129614129615129616129617129618129619129620129621129622129623129624129625129626129627129628129629129630129631129632129633129634129635129636129637129638129639129640129641129642129643129644129645129646129647129648129649129650129651129652129653129654129655129656129657129658129659129660129661129662129663129664129665129666129667129668129669129670129671129672129673129674129675129676129677129678129679129680129681129682129683129684129685129686129687129688129689129690129691129692129693129694129695129696129697129698129699129700129701129702129703129704129705129706129707129708129709129710129711129712129713129714129715129716129717129718129719129720129721129722129723129724129725129726129727129728129729129730129731129732129733129734129735129736129737129738129739129740129741129742129743129744129745129746129747129748129749129750129751129752129753129754129755129756129757129758129759129760129761129762129763129764129765129766129767129768129769129770129771129772129773129774129775129776129777129778129779129780129781129782129783129784129785129786129787129788129789129790129791129792129793129794129795129796129797129798129799129800129801129802129803129804129805129806129807129808129809129810129811129812129813129814129815129816129817129818129819129820129821129822129823129824129825129826129827129828129829129830129831129832129833129834129835129836129837129838129839129840129841129842129843129844129845129846129847129848129849129850129851129852129853129854129855129856129857129858129859129860129861129862129863129864129865129866129867129868129869129870129871129872129873129874129875129876129877129878129879129880129881129882129883129884129885129886129887129888129889129890129891129892129893129894129895129896129897129898129899129900129901129902129903129904129905129906129907129908129909129910129911129912129913129914129915129916129917129918129919129920129921129922129923129924129925129926129927129928129929129930129931129932129933129934129935129936129937129938129939129940129941129942129943129944129945129946129947129948129949129950129951129952129953129954129955129956129957129958129959129960129961129962129963129964129965129966129967129968129969129970129971129972129973129974129975129976129977129978129979129980129981129982129983129984129985129986129987129988129989129990129991129992129993129994129995129996129997129998129999130000130001130002130003130004130005130006130007130008130009130010130011130012130013130014130015130016130017130018130019130020130021130022130023130024130025130026130027130028130029130030130031130032130033130034130035130036130037130038130039130040130041130042130043130044130045130046130047130048130049130050130051130052130053130054130055130056130057130058130059130060130061130062130063130064130065130066130067130068130069130070130071130072130073130074130075130076130077130078130079130080130081130082130083130084130085130086130087130088130089130090130091130092130093130094130095130096130097130098130099130100130101130102130103130104130105130106130107130108130109130110130111130112130113130114130115130116130117130118130119130120130121130122130123130124130125130126130127130128130129130130130131130132130133130134130135130136130137130138130139130140130141130142130143130144130145130146130147130148130149130150130151130152130153130154130155130156130157130158130159130160130161130162130163130164130165130166130167130168130169130170130171130172130173130174130175130176130177130178130179130180130181130182130183130184130185130186130187130188130189130190130191130192130193130194130195130196130197130198130199130200130201130202130203130204130205130206130207130208130209130210130211130212130213130214130215130216130217130218130219130220130221130222130223130224130225130226130227130228130229130230130231130232130233130234130235130236130237130238130239130240130241130242130243130244130245130246130247130248130249130250130251130252130253130254130255130256130257130258130259130260130261130262130263130264130265130266130267130268130269130270130271130272130273130274130275130276130277130278130279130280130281130282130283130284130285130286130287130288130289130290130291130292130293130294130295130296130297130298130299130300130301130302130303130304130305130306130307130308130309130310130311130312130313130314130315130316130317130318130319130320130321130322130323130324130325130326130327130328130329130330130331130332130333130334130335130336130337130338130339130340130341130342130343130344130345130346130347130348130349130350130351130352130353130354130355130356130357130358130359130360130361130362130363130364130365130366130367130368130369130370130371130372130373130374130375130376130377130378130379130380130381130382130383130384130385130386130387130388130389130390130391130392130393130394130395130396130397130398130399130400130401130402130403130404130405130406130407130408130409130410130411130412130413130414130415130416130417130418130419130420130421130422130423130424130425130426130427130428130429130430130431130432130433130434130435130436130437130438130439130440130441130442130443130444130445130446130447130448130449130450130451130452130453130454130455130456130457130458130459130460130461130462130463130464130465130466130467130468130469130470130471130472130473130474130475130476130477130478130479130480130481130482130483130484130485130486130487130488130489130490130491130492130493130494130495130496130497130498130499130500130501130502130503130504130505130506130507130508130509130510130511130512130513130514130515130516130517130518130519130520130521130522130523130524130525130526130527130528130529130530130531130532130533130534130535130536130537130538130539130540130541130542130543130544130545130546130547130548130549130550130551130552130553130554130555130556130557130558130559130560130561130562130563130564130565130566130567130568130569130570130571130572130573130574130575130576130577130578130579130580130581130582130583130584130585130586130587130588130589130590130591130592130593130594130595130596130597130598130599130600130601130602130603130604130605130606130607130608130609130610130611130612130613130614130615130616130617130618130619130620130621130622130623130624130625130626130627130628130629130630130631130632130633130634130635130636130637130638130639130640130641130642130643130644130645130646130647130648130649130650130651130652130653130654130655130656130657130658130659130660130661130662130663130664130665130666130667130668130669130670130671130672130673130674130675130676130677130678130679130680130681130682130683130684130685130686130687130688130689130690130691130692130693130694130695130696130697130698130699130700130701130702130703130704130705130706130707130708130709130710130711130712130713130714130715130716130717130718130719130720130721130722130723130724130725130726130727130728130729130730130731130732130733130734130735130736130737130738130739130740130741130742130743130744130745130746130747130748130749130750130751130752130753130754130755130756130757130758130759130760130761130762130763130764130765130766130767130768130769130770130771130772130773130774130775130776130777130778130779130780130781130782130783130784130785130786130787130788130789130790130791130792130793130794130795130796130797130798130799130800130801130802130803130804130805130806130807130808130809130810130811130812130813130814130815130816130817130818130819130820130821130822130823130824130825130826130827130828130829130830130831130832130833130834130835130836130837130838130839130840130841130842130843130844130845130846130847130848130849130850130851130852130853130854130855130856130857130858130859130860130861130862130863130864130865130866130867130868130869130870130871130872130873130874130875130876130877130878130879130880130881130882130883130884130885130886130887130888130889130890130891130892130893130894130895130896130897130898130899130900130901130902130903130904130905130906130907130908130909130910130911130912130913130914130915130916130917130918130919130920130921130922130923130924130925130926130927130928130929130930130931130932130933130934130935130936130937130938130939130940130941130942130943130944130945130946130947130948130949130950130951130952130953130954130955130956130957130958130959130960130961130962130963130964130965130966130967130968130969130970130971130972130973130974130975130976130977130978130979130980130981130982130983130984130985130986130987130988130989130990130991130992130993130994130995130996130997130998130999131000131001131002131003131004131005131006131007131008131009131010131011131012131013131014131015131016131017131018131019131020131021131022131023131024131025131026131027131028131029131030131031131032131033131034131035131036131037131038131039131040131041131042131043131044131045131046131047131048131049131050131051131052131053131054131055131056131057131058131059131060131061131062131063131064131065131066131067131068131069131070131071131072131073131074131075131076131077131078131079131080131081131082131083131084131085131086131087131088131089131090131091131092131093131094131095131096131097131098131099131100131101131102131103131104131105131106131107131108131109131110131111131112131113131114131115131116131117131118131119131120131121131122131123131124131125131126131127131128131129131130131131131132131133131134131135131136131137131138131139131140131141131142131143131144131145131146131147131148131149131150131151131152131153131154131155131156131157131158131159131160131161131162131163131164131165131166131167131168131169131170131171131172131173131174131175131176131177131178131179131180131181131182131183131184131185131186131187131188131189131190131191131192131193131194131195131196131197131198131199131200131201131202131203131204131205131206131207131208131209131210131211131212131213131214131215131216131217131218131219131220131221131222131223131224131225131226131227131228131229131230131231131232131233131234131235131236131237131238131239131240131241131242131243131244131245131246131247131248131249131250131251131252131253131254131255131256131257131258131259131260131261131262131263131264131265131266131267131268131269131270131271131272131273131274131275131276131277131278131279131280131281131282131283131284131285131286131287131288131289131290131291131292131293131294131295131296131297131298131299131300131301131302131303131304131305131306131307131308131309131310131311131312131313131314131315131316131317131318131319131320131321131322131323131324131325131326131327131328131329131330131331131332131333131334131335131336131337131338131339131340131341131342131343131344131345131346131347131348131349131350131351131352131353131354131355131356131357131358131359131360131361131362131363131364131365131366131367131368131369131370131371131372131373131374131375131376131377131378131379131380131381131382131383131384131385131386131387131388131389131390131391131392131393131394131395131396131397131398131399131400131401131402131403131404131405131406131407131408131409131410131411131412131413131414131415131416131417131418131419131420131421131422131423131424131425131426131427131428131429131430131431131432131433131434131435131436131437131438131439131440131441131442131443131444131445131446131447131448131449131450131451131452131453131454131455131456131457131458131459131460131461131462131463131464131465131466131467131468131469131470131471131472131473131474131475131476131477131478131479131480131481131482131483131484131485131486131487131488131489131490131491131492131493131494131495131496131497131498131499131500131501131502131503131504131505131506131507131508131509131510131511131512131513131514131515131516131517131518131519131520131521131522131523131524131525131526131527131528131529131530131531131532131533131534131535131536131537131538131539131540131541131542131543131544131545131546131547131548131549131550131551131552131553131554131555131556131557131558131559131560131561131562131563131564131565131566131567131568131569131570131571131572131573131574131575131576131577131578131579131580131581131582131583131584131585131586131587131588131589131590131591131592131593131594131595131596131597131598131599131600131601131602131603131604131605131606131607131608131609131610131611131612131613131614131615131616131617131618131619131620131621131622131623131624131625131626131627131628131629131630131631131632131633131634131635131636131637131638131639131640131641131642131643131644131645131646131647131648131649131650131651131652131653131654131655131656131657131658131659131660131661131662131663131664131665131666131667131668131669131670131671131672131673131674131675131676131677131678131679131680131681131682131683131684131685131686131687131688131689131690131691131692131693131694131695131696131697131698131699131700131701131702131703131704131705131706131707131708131709131710131711131712131713131714131715131716131717131718131719131720131721131722131723131724131725131726131727131728131729131730131731131732131733131734131735131736131737131738131739131740131741131742131743131744131745131746131747131748131749131750131751131752131753131754131755131756131757131758131759131760131761131762131763131764131765131766131767131768131769131770131771131772131773131774131775131776131777131778131779131780131781131782131783131784131785131786131787131788131789131790131791131792131793131794131795131796131797131798131799131800131801131802131803131804131805131806131807131808131809131810131811131812131813131814131815131816131817131818131819131820131821131822131823131824131825131826131827131828131829131830131831131832131833131834131835131836131837131838131839131840131841131842131843131844131845131846131847131848131849131850131851131852131853131854131855131856131857131858131859131860131861131862131863131864131865131866131867131868131869131870131871131872131873131874131875131876131877131878131879131880131881131882131883131884131885131886131887131888131889131890131891131892131893131894131895131896131897131898131899131900131901131902131903131904131905131906131907131908131909131910131911131912131913131914131915131916131917131918131919131920131921131922131923131924131925131926131927131928131929131930131931131932131933131934131935131936131937131938131939131940131941131942131943131944131945131946131947131948131949131950131951131952131953131954131955131956131957131958131959131960131961131962131963131964131965131966131967131968131969131970131971131972131973131974131975131976131977131978131979131980131981131982131983131984131985131986131987131988131989131990131991131992131993131994131995131996131997131998131999132000132001132002132003132004132005132006132007132008132009132010132011132012132013132014132015132016132017132018132019132020132021132022132023132024132025132026132027132028132029132030132031132032132033132034132035132036132037132038132039132040132041132042132043132044132045132046132047132048132049132050132051132052132053132054132055132056132057132058132059132060132061132062132063132064132065132066132067132068132069132070132071132072132073132074132075132076132077132078132079132080132081132082132083132084132085132086132087132088132089132090132091132092132093132094132095132096132097132098132099132100132101132102132103132104132105132106132107132108132109132110132111132112132113132114132115132116132117132118132119132120132121132122132123132124132125132126132127132128132129132130132131132132132133132134132135132136132137132138132139132140132141132142132143132144132145132146132147132148132149132150132151132152132153132154132155132156132157132158132159132160132161132162132163132164132165132166132167132168132169132170132171132172132173132174132175132176132177132178132179132180132181132182132183132184132185132186132187132188132189132190132191132192132193132194132195132196132197132198132199132200132201132202132203132204132205132206132207132208132209132210132211132212132213132214132215132216132217132218132219132220132221132222132223132224132225132226132227132228132229132230132231132232132233132234132235132236132237132238132239132240132241132242132243132244132245132246132247132248132249132250132251132252132253132254132255132256132257132258132259132260132261132262132263132264132265132266132267132268132269132270132271132272132273132274132275132276132277132278132279132280132281132282132283132284132285132286132287132288132289132290132291132292132293132294132295132296132297132298132299132300132301132302132303132304132305132306132307132308132309132310132311132312132313132314132315132316132317132318132319132320132321132322132323132324132325132326132327132328132329132330132331132332132333132334132335132336132337132338132339132340132341132342132343132344132345132346132347132348132349132350132351132352132353132354132355132356132357132358132359132360132361132362132363132364132365132366132367132368132369132370132371132372132373132374132375132376132377132378132379132380132381132382132383132384132385132386132387132388132389132390132391132392132393132394132395132396132397132398132399132400132401132402132403132404132405132406132407132408132409132410132411132412132413132414132415132416132417132418132419132420132421132422132423132424132425132426132427132428132429132430132431132432132433132434132435132436132437132438132439132440132441132442132443132444132445132446132447132448132449132450132451132452132453132454132455132456132457132458132459132460132461132462132463132464132465132466132467132468132469132470132471132472132473132474132475132476132477132478132479132480132481132482132483132484132485132486132487132488132489132490132491132492132493132494132495132496132497132498132499132500132501132502132503132504132505132506132507132508132509132510132511132512132513132514132515132516132517132518132519132520132521132522132523132524132525132526132527132528132529132530132531132532132533132534132535132536132537132538132539132540132541132542132543132544132545132546132547132548132549132550132551132552132553132554132555132556132557132558132559132560132561132562132563132564132565132566132567132568132569132570132571132572132573132574132575132576132577132578132579132580132581132582132583132584132585132586132587132588132589132590132591132592132593132594132595132596132597132598132599132600132601132602132603132604132605132606132607132608132609132610132611132612132613132614132615132616132617132618132619132620132621132622132623132624132625132626132627132628132629132630132631132632132633132634132635132636132637132638132639132640132641132642132643132644132645132646132647132648132649132650132651132652132653132654132655132656132657132658132659132660132661132662132663132664132665132666132667132668132669132670132671132672132673132674132675132676132677132678132679132680132681132682132683132684132685132686132687132688132689132690132691132692132693132694132695132696132697132698132699132700132701132702132703132704132705132706132707132708132709132710132711132712132713132714132715132716132717132718132719132720132721132722132723132724132725132726132727132728132729132730132731132732132733132734132735132736132737132738132739132740132741132742132743132744132745132746132747132748132749132750132751132752132753132754132755132756132757132758132759132760132761132762132763132764132765132766132767132768132769132770132771132772132773132774132775132776132777132778132779132780132781132782132783132784132785132786132787132788132789132790132791132792132793132794132795132796132797132798132799132800132801132802132803132804132805132806132807132808132809132810132811132812132813132814132815132816132817132818132819132820132821132822132823132824132825132826132827132828132829132830132831132832132833132834132835132836132837132838132839132840132841132842132843132844132845132846132847132848132849132850132851132852132853132854132855132856132857132858132859132860132861132862132863132864132865132866132867132868132869132870132871132872132873132874132875132876132877132878132879132880132881132882132883132884132885132886132887132888132889132890132891132892132893132894132895132896132897132898132899132900132901132902132903132904132905132906132907132908132909132910132911132912132913132914132915132916132917132918132919132920132921132922132923132924132925132926132927132928132929132930132931132932132933132934132935132936132937132938132939132940132941132942132943132944132945132946132947132948132949132950132951132952132953132954132955132956132957132958132959132960132961132962132963132964132965132966132967132968132969132970132971132972132973132974132975132976132977132978132979132980132981132982132983132984132985132986132987132988132989132990132991132992132993132994132995132996132997132998132999133000133001133002133003133004133005133006133007133008133009133010133011133012133013133014133015133016133017133018133019133020133021133022133023133024133025133026133027133028133029133030133031133032133033133034133035133036133037133038133039133040133041133042133043133044133045133046133047133048133049133050133051133052133053133054133055133056133057133058133059133060133061133062133063133064133065133066133067133068133069133070133071133072133073133074133075133076133077133078133079133080133081133082133083133084133085133086133087133088133089133090133091133092133093133094133095133096133097133098133099133100133101133102133103133104133105133106133107133108133109133110133111133112133113133114133115133116133117133118133119133120133121133122133123133124133125133126133127133128133129133130133131133132133133133134133135133136133137133138133139133140133141133142133143133144133145133146133147133148133149133150133151133152133153133154133155133156133157133158133159133160133161133162133163133164133165133166133167133168133169133170133171133172133173133174133175133176133177133178133179133180133181133182133183133184133185133186133187133188133189133190133191133192133193133194133195133196133197133198133199133200133201133202133203133204133205133206133207133208133209133210133211133212133213133214133215133216133217133218133219133220133221133222133223133224133225133226133227133228133229133230133231133232133233133234133235133236133237133238133239133240133241133242133243133244133245133246133247133248133249133250133251133252133253133254133255133256133257133258133259133260133261133262133263133264133265133266133267133268133269133270133271133272133273133274133275133276133277133278133279133280133281133282133283133284133285133286133287133288133289133290133291133292133293133294133295133296133297133298133299133300133301133302133303133304133305133306133307133308133309133310133311133312133313133314133315133316133317133318133319133320133321133322133323133324133325133326133327133328133329133330133331133332133333133334133335133336133337133338133339133340133341133342133343133344133345133346133347133348133349133350133351133352133353133354133355133356133357133358133359133360133361133362133363133364133365133366133367133368133369133370133371133372133373133374133375133376133377133378133379133380133381133382133383133384133385133386133387133388133389133390133391133392133393133394133395133396133397133398133399133400133401133402133403133404133405133406133407133408133409133410133411133412133413133414133415133416133417133418133419133420133421133422133423133424133425133426133427133428133429133430133431133432133433133434133435133436133437133438133439133440133441133442133443133444133445133446133447133448133449133450133451133452133453133454133455133456133457133458133459133460133461133462133463133464133465133466133467133468133469133470133471133472133473133474133475133476133477133478133479133480133481133482133483133484133485133486133487133488133489133490133491133492133493133494133495133496133497133498133499133500133501133502133503133504133505133506133507133508133509133510133511133512133513133514133515133516133517133518133519133520133521133522133523133524133525133526133527133528133529133530133531133532133533133534133535133536133537133538133539133540133541133542133543133544133545133546133547133548133549133550133551133552133553133554133555133556133557133558133559133560133561133562133563133564133565133566133567133568133569133570133571133572133573133574133575133576133577133578133579133580133581133582133583133584133585133586133587133588133589133590133591133592133593133594133595133596133597133598133599133600133601133602133603133604133605133606133607133608133609133610133611133612133613133614133615133616133617133618133619133620133621133622133623133624133625133626133627133628133629133630133631133632133633133634133635133636133637133638133639133640133641133642133643133644133645133646133647133648133649133650133651133652133653133654133655133656133657133658133659133660133661133662133663133664133665133666133667133668133669133670133671133672133673133674133675133676133677133678133679133680133681133682133683133684133685133686133687133688133689133690133691133692133693133694133695133696133697133698133699133700133701133702133703133704133705133706133707133708133709133710133711133712133713133714133715133716133717133718133719133720133721133722133723133724133725133726133727133728133729133730133731133732133733133734133735133736133737133738133739133740133741133742133743133744133745133746133747133748133749133750133751133752133753133754133755133756133757133758133759133760133761133762133763133764133765133766133767133768133769133770133771133772133773133774133775133776133777133778133779133780133781133782133783133784133785133786133787133788133789133790133791133792133793133794133795133796133797133798133799133800133801133802133803133804133805133806133807133808133809133810133811133812133813133814133815133816133817133818133819133820133821133822133823133824133825133826133827133828133829133830133831133832133833133834133835133836133837133838133839133840133841133842133843133844133845133846133847133848133849133850133851133852133853133854133855133856133857133858133859133860133861133862133863133864133865133866133867133868133869133870133871133872133873133874133875133876133877133878133879133880133881133882133883133884133885133886133887133888133889133890133891133892133893133894133895133896133897133898133899133900133901133902133903133904133905133906133907133908133909133910133911133912133913133914133915133916133917133918133919133920133921133922133923133924133925133926133927133928133929133930133931133932133933133934133935133936133937133938133939133940133941133942133943133944133945133946133947133948133949133950133951133952133953133954133955133956133957133958133959133960133961133962133963133964133965133966133967133968133969133970133971133972133973133974133975133976133977133978133979133980133981133982133983133984133985133986133987133988133989133990133991133992133993133994133995133996133997133998133999134000134001134002134003134004134005134006134007134008134009134010134011134012134013134014134015134016134017134018134019134020134021134022134023134024134025134026134027134028134029134030134031134032134033134034134035134036134037134038134039134040134041134042134043134044134045134046134047134048134049134050134051134052134053134054134055134056134057134058134059134060134061134062134063134064134065134066134067134068134069134070134071134072134073134074134075134076134077134078134079134080134081134082134083134084134085134086134087134088134089134090134091134092134093134094134095134096134097134098134099134100134101134102134103134104134105134106134107134108134109134110134111134112134113134114134115134116134117134118134119134120134121134122134123134124134125134126134127134128134129134130134131134132134133134134134135134136134137134138134139134140134141134142134143134144134145134146134147134148134149134150134151134152134153134154134155134156134157134158134159134160134161134162134163134164134165134166134167134168134169134170134171134172134173134174134175134176134177134178134179134180134181134182134183134184134185134186134187134188134189134190134191134192134193134194134195134196134197134198134199134200134201134202134203134204134205134206134207134208134209134210134211134212134213134214134215134216134217134218134219134220134221134222134223134224134225134226134227134228134229134230134231134232134233134234134235134236134237134238134239134240134241134242134243134244134245134246134247134248134249134250134251134252134253134254134255134256134257134258134259134260134261134262134263134264134265134266134267134268134269134270134271134272134273134274134275134276134277134278134279134280134281134282134283134284134285134286134287134288134289134290134291134292134293134294134295134296134297134298134299134300134301134302134303134304134305134306134307134308134309134310134311134312134313134314134315134316134317134318134319134320134321134322134323134324134325134326134327134328134329134330134331134332134333134334134335134336134337134338134339134340134341134342134343134344134345134346134347134348134349134350134351134352134353134354134355134356134357134358134359134360134361134362134363134364134365134366134367134368134369134370134371134372134373134374134375134376134377134378134379134380134381134382134383134384134385134386134387134388134389134390134391134392134393134394134395134396134397134398134399134400134401134402134403134404134405134406134407134408134409134410134411134412134413134414134415134416134417134418134419134420134421134422134423134424134425134426134427134428134429134430134431134432134433134434134435134436134437134438134439134440134441134442134443134444134445134446134447134448134449134450134451134452134453134454134455134456134457134458134459134460134461134462134463134464134465134466134467134468134469134470134471134472134473134474134475134476134477134478134479134480134481134482134483134484134485134486134487134488134489134490134491134492134493134494134495134496134497134498134499134500134501134502134503134504134505134506134507134508134509134510134511134512134513134514134515134516134517134518134519134520134521134522134523134524134525134526134527134528134529134530134531134532134533134534134535134536134537134538134539134540134541134542134543134544134545134546134547134548134549134550134551134552134553134554134555134556134557134558134559134560134561134562134563134564134565134566134567134568134569134570134571134572134573134574134575134576134577134578134579134580134581134582134583134584134585134586134587134588134589134590134591134592134593134594134595134596134597134598134599134600134601134602134603134604134605134606134607134608134609134610134611134612134613134614134615134616134617134618134619134620134621134622134623134624134625134626134627134628134629134630134631134632134633134634134635134636134637134638134639134640134641134642134643134644134645134646134647134648134649134650134651134652134653134654134655134656134657134658134659134660134661134662134663134664134665134666134667134668134669134670134671134672134673134674134675134676134677134678134679134680134681134682134683134684134685134686134687134688134689134690134691134692134693134694134695134696134697134698134699134700134701134702134703134704134705134706134707134708134709134710134711134712134713134714134715134716134717134718134719134720134721134722134723134724134725134726134727134728134729134730134731134732134733134734134735134736134737134738134739134740134741134742134743134744134745134746134747134748134749134750134751134752134753134754134755134756134757134758134759134760134761134762134763134764134765134766134767134768134769134770134771134772134773134774134775134776134777134778134779134780134781134782134783134784134785134786134787134788134789134790134791134792134793134794134795134796134797134798134799134800134801134802134803134804134805134806134807134808134809134810134811134812134813134814134815134816134817134818134819134820134821134822134823134824134825134826134827134828134829134830134831134832134833134834134835134836134837134838134839134840134841134842134843134844134845134846134847134848134849134850134851134852134853134854134855134856134857134858134859134860134861134862134863134864134865134866134867134868134869134870134871134872134873134874134875134876134877134878134879134880134881134882134883134884134885134886134887134888134889134890134891134892134893134894134895134896134897134898134899134900134901134902134903134904134905134906134907134908134909134910134911134912134913134914134915134916134917134918134919134920134921134922134923134924134925134926134927134928134929134930134931134932134933134934134935134936134937134938134939134940134941134942134943134944134945134946134947134948134949134950134951134952134953134954134955134956134957134958134959134960134961134962134963134964134965134966134967134968134969134970134971134972134973134974134975134976134977134978134979134980134981134982134983134984134985134986134987134988134989134990134991134992134993134994134995134996134997134998134999135000135001135002135003135004135005135006135007135008135009135010135011135012135013135014135015135016135017135018135019135020135021135022135023135024135025135026135027135028135029135030135031135032135033135034135035135036135037135038135039135040135041135042135043135044135045135046135047135048135049135050135051135052135053135054135055135056135057135058135059135060135061135062135063135064135065135066135067135068135069135070135071135072135073135074135075135076135077135078135079135080135081135082135083135084135085135086135087135088135089135090135091135092135093135094135095135096135097135098135099135100135101135102135103135104135105135106135107135108135109135110135111135112135113135114135115135116135117135118135119135120135121135122135123135124135125135126135127135128135129135130135131135132135133135134135135135136135137135138135139135140135141135142135143135144135145135146135147135148135149135150135151135152135153135154135155135156135157135158135159135160135161135162135163135164135165135166135167135168135169135170135171135172135173135174135175135176135177135178135179135180135181135182135183135184135185135186135187135188135189135190135191135192135193135194135195135196135197135198135199135200135201135202135203135204135205135206135207135208135209135210135211135212135213135214135215135216135217135218135219135220135221135222135223135224135225135226135227135228135229135230135231135232135233135234135235135236135237135238135239135240135241135242135243135244135245135246135247135248135249135250135251135252135253135254135255135256135257135258135259135260135261135262135263135264135265135266135267135268135269135270135271135272135273135274135275135276135277135278135279135280135281135282135283135284135285135286135287135288135289135290135291135292135293135294135295135296135297135298135299135300135301135302135303135304135305135306135307135308135309135310135311135312135313135314135315135316135317135318135319135320135321135322135323135324135325135326135327135328135329135330135331135332135333135334135335135336135337135338135339135340135341135342135343135344135345135346135347135348135349135350135351135352135353135354135355135356135357135358135359135360135361135362135363135364135365135366135367135368135369135370135371135372135373135374135375135376135377135378135379135380135381135382135383135384135385135386135387135388135389135390135391135392135393135394135395135396135397135398135399135400135401135402135403135404135405135406135407135408135409135410135411135412135413135414135415135416135417135418135419135420135421135422135423135424135425135426135427135428135429135430135431135432135433135434135435135436135437135438135439135440135441135442135443135444135445135446135447135448135449135450135451135452135453135454135455135456135457135458135459135460135461135462135463135464135465135466135467135468135469135470135471135472135473135474135475135476135477135478135479135480135481135482135483135484135485135486135487135488135489135490135491135492135493135494135495135496135497135498135499135500135501135502135503135504135505135506135507135508135509135510135511135512135513135514135515135516135517135518135519135520135521135522135523135524135525135526135527135528135529135530135531135532135533135534135535135536135537135538135539135540135541135542135543135544135545135546135547135548135549135550135551135552135553135554135555135556135557135558135559135560135561135562135563135564135565135566135567135568135569135570135571135572135573135574135575135576135577135578135579135580135581135582135583135584135585135586135587135588135589135590135591135592135593135594135595135596135597135598135599135600135601135602135603135604135605135606135607135608135609135610135611135612135613135614135615135616135617135618135619135620135621135622135623135624135625135626135627135628135629135630135631135632135633135634135635135636135637135638135639135640135641135642135643135644135645135646135647135648135649135650135651135652135653135654135655135656135657135658135659135660135661135662135663135664135665135666135667135668135669135670135671135672135673135674135675135676135677135678135679135680135681135682135683135684135685135686135687135688135689135690135691135692135693135694135695135696135697135698135699135700135701135702135703135704135705135706135707135708135709135710135711135712135713135714135715135716135717135718135719135720135721135722135723135724135725135726135727135728135729135730135731135732135733135734135735135736135737135738135739135740135741135742135743135744135745135746135747135748135749135750135751135752135753135754135755135756135757135758135759135760135761135762135763135764135765135766135767135768135769135770135771135772135773135774135775135776135777135778135779135780135781135782135783135784135785135786135787135788135789135790135791135792135793135794135795135796135797135798135799135800135801135802135803135804135805135806135807135808135809135810135811135812135813135814135815135816135817135818135819135820135821135822135823135824135825135826135827135828135829135830135831135832135833135834135835135836135837135838135839135840135841135842135843135844135845135846135847135848135849135850135851135852135853135854135855135856135857135858135859135860135861135862135863135864135865135866135867135868135869135870135871135872135873135874135875135876135877135878135879135880135881135882135883135884135885135886135887135888135889135890135891135892135893135894135895135896135897135898135899135900135901135902135903135904135905135906135907135908135909135910135911135912135913135914135915135916135917135918135919135920135921135922135923135924135925135926135927135928135929135930135931135932135933135934135935135936135937135938135939135940135941135942135943135944135945135946135947135948135949135950135951135952135953135954135955135956135957135958135959135960135961135962135963135964135965135966135967135968135969135970135971135972135973135974135975135976135977135978135979135980135981135982135983135984135985135986135987135988135989135990135991135992135993135994135995135996135997135998135999136000136001136002136003136004136005136006136007136008136009136010136011136012136013136014136015136016136017136018136019136020136021136022136023136024136025136026136027136028136029136030136031136032136033136034136035136036136037136038136039136040136041136042136043136044136045136046136047136048136049136050136051136052136053136054136055136056136057136058136059136060136061136062136063136064136065136066136067136068136069136070136071136072136073136074136075136076136077136078136079136080136081136082136083136084136085136086136087136088136089136090136091136092136093136094136095136096136097136098136099136100136101136102136103136104136105136106136107136108136109136110136111136112136113136114136115136116136117136118136119136120136121136122136123136124136125136126136127136128136129136130136131136132136133136134136135136136136137136138136139136140136141136142136143136144136145136146136147136148136149136150136151136152136153136154136155136156136157136158136159136160136161136162136163136164136165136166136167136168136169136170136171136172136173136174136175136176136177136178136179136180136181136182136183136184136185136186136187136188136189136190136191136192136193136194136195136196136197136198136199136200136201136202136203136204136205136206136207136208136209136210136211136212136213136214136215136216136217136218136219136220136221136222136223136224136225136226136227136228136229136230136231136232136233136234136235136236136237136238136239136240136241136242136243136244136245136246136247136248136249136250136251136252136253136254136255136256136257136258136259136260136261136262136263136264136265136266136267136268136269136270136271136272136273136274136275136276136277136278136279136280136281136282136283136284136285136286136287136288136289136290136291136292136293136294136295136296136297136298136299136300136301136302136303136304136305136306136307136308136309136310136311136312136313136314136315136316136317136318136319136320136321136322136323136324136325136326136327136328136329136330136331136332136333136334136335136336136337136338136339136340136341136342136343136344136345136346136347136348136349136350136351136352136353136354136355136356136357136358136359136360136361136362136363136364136365136366136367136368136369136370136371136372136373136374136375136376136377136378136379136380136381136382136383136384136385136386136387136388136389136390136391136392136393136394136395136396136397136398136399136400136401136402136403136404136405136406136407136408136409136410136411136412136413136414136415136416136417136418136419136420136421136422136423136424136425136426136427136428136429136430136431136432136433136434136435136436136437136438136439136440136441136442136443136444136445136446136447136448136449136450136451136452136453136454136455136456136457136458136459136460136461136462136463136464136465136466136467136468136469136470136471136472136473136474136475136476136477136478136479136480136481136482136483136484136485136486136487136488136489136490136491136492136493136494136495136496136497136498136499136500136501136502136503136504136505136506136507136508136509136510136511136512136513136514136515136516136517136518136519136520136521136522136523136524136525136526136527136528136529136530136531136532136533136534136535136536136537136538136539136540136541136542136543136544136545136546136547136548136549136550136551136552136553136554136555136556136557136558136559136560136561136562136563136564136565136566136567136568136569136570136571136572136573136574136575136576136577136578136579136580136581136582136583136584136585136586136587136588136589136590136591136592136593136594136595136596136597136598136599136600136601136602136603136604136605136606136607136608136609136610136611136612136613136614136615136616136617136618136619136620136621136622136623136624136625136626136627136628136629136630136631136632136633136634136635136636136637136638136639136640136641136642136643136644136645136646136647136648136649136650136651136652136653136654136655136656136657136658136659136660136661136662136663136664136665136666136667136668136669136670136671136672136673136674136675136676136677136678136679136680136681136682136683136684136685136686136687136688136689136690136691136692136693136694136695136696136697136698136699136700136701136702136703136704136705136706136707136708136709136710136711136712136713136714136715136716136717136718136719136720136721136722136723136724136725136726136727136728136729136730136731136732136733136734136735136736136737136738136739136740136741136742136743136744136745136746136747136748136749136750136751136752136753136754136755136756136757136758136759136760136761136762136763136764136765136766136767136768136769136770136771136772136773136774136775136776136777136778136779136780136781136782136783136784136785136786136787136788136789136790136791136792136793136794136795136796136797136798136799136800136801136802136803136804136805136806136807136808136809136810136811136812136813136814136815136816136817136818136819136820136821136822136823136824136825136826136827136828136829136830136831136832136833136834136835136836136837136838136839136840136841136842136843136844136845136846136847136848136849136850136851136852136853136854136855136856136857136858136859136860136861136862136863136864136865136866136867136868136869136870136871136872136873136874136875136876136877136878136879136880136881136882136883136884136885136886136887136888136889136890136891136892136893136894136895136896136897136898136899136900136901136902136903136904136905136906136907136908136909136910136911136912136913136914136915136916136917136918136919136920136921136922136923136924136925136926136927136928136929136930136931136932136933136934136935136936136937136938136939136940136941136942136943136944136945136946136947136948136949136950136951136952136953136954136955136956136957136958136959136960136961136962136963136964136965136966136967136968136969136970136971136972136973136974136975136976136977136978136979136980136981136982136983136984136985136986136987136988136989136990136991136992136993136994136995136996136997136998136999137000137001137002137003137004137005137006137007137008137009137010137011137012137013137014137015137016137017137018137019137020137021137022137023137024137025137026137027137028137029137030137031137032137033137034137035137036137037137038137039137040137041137042137043137044137045137046137047137048137049137050137051137052137053137054137055137056137057137058137059137060137061137062137063137064137065137066137067137068137069137070137071137072137073137074137075137076137077137078137079137080137081137082137083137084137085137086137087137088137089137090137091137092137093137094137095137096137097137098137099137100137101137102137103137104137105137106137107137108137109137110137111137112137113137114137115137116137117137118137119137120137121137122137123137124137125137126137127137128137129137130137131137132137133137134137135137136137137137138137139137140137141137142137143137144137145137146137147137148137149137150137151137152137153137154137155137156137157137158137159137160137161137162137163137164137165137166137167137168137169137170137171137172137173137174137175137176137177137178137179137180137181137182137183137184137185137186137187137188137189137190137191137192137193137194137195137196137197137198137199137200137201137202137203137204137205137206137207137208137209137210137211137212137213137214137215137216137217137218137219137220137221137222137223137224137225137226137227137228137229137230137231137232137233137234137235137236137237137238137239137240137241137242137243137244137245137246137247137248137249137250137251137252137253137254137255137256137257137258137259137260137261137262137263137264137265137266137267137268137269137270137271137272137273137274137275137276137277137278137279137280137281137282137283137284137285137286137287137288137289137290137291137292137293137294137295137296137297137298137299137300137301137302137303137304137305137306137307137308137309137310137311137312137313137314137315137316137317137318137319137320137321137322137323137324137325137326137327137328137329137330137331137332137333137334137335137336137337137338137339137340137341137342137343137344137345137346137347137348137349137350137351137352137353137354137355137356137357137358137359137360137361137362137363137364137365137366137367137368137369137370137371137372137373137374137375137376137377137378137379137380137381137382137383137384137385137386137387137388137389137390137391137392137393137394137395137396137397137398137399137400137401137402137403137404137405137406137407137408137409137410137411137412137413137414137415137416137417137418137419137420137421137422137423137424137425137426137427137428137429137430137431137432137433137434137435137436137437137438137439137440137441137442137443137444137445137446137447137448137449137450137451137452137453137454137455137456137457137458137459137460137461137462137463137464137465137466137467137468137469137470137471137472137473137474137475137476137477137478137479137480137481137482137483137484137485137486137487137488137489137490137491137492137493137494137495137496137497137498137499137500137501137502137503137504137505137506137507137508137509137510137511137512137513137514137515137516137517137518137519137520137521137522137523137524137525137526137527137528137529137530137531137532137533137534137535137536137537137538137539137540137541137542137543137544137545137546137547137548137549137550137551137552137553137554137555137556137557137558137559137560137561137562137563137564137565137566137567137568137569137570137571137572137573137574137575137576137577137578137579137580137581137582137583137584137585137586137587137588137589137590137591137592137593137594137595137596137597137598137599137600137601137602137603137604137605137606137607137608137609137610137611137612137613137614137615137616137617137618137619137620137621137622137623137624137625137626137627137628137629137630137631137632137633137634137635137636137637137638137639137640137641137642137643137644137645137646137647137648137649137650137651137652137653137654137655137656137657137658137659137660137661137662137663137664137665137666137667137668137669137670137671137672137673137674137675137676137677137678137679137680137681137682137683137684137685137686137687137688137689137690137691137692137693137694137695137696137697137698137699137700137701137702137703137704137705137706137707137708137709137710137711137712137713137714137715137716137717137718137719137720137721137722137723137724137725137726137727137728137729137730137731137732137733137734137735137736137737137738137739137740137741137742137743137744137745137746137747137748137749137750137751137752137753137754137755137756137757137758137759137760137761137762137763137764137765137766137767137768137769137770137771137772137773137774137775137776137777137778137779137780137781137782137783137784137785137786137787137788137789137790137791137792137793137794137795137796137797137798137799137800137801137802137803137804137805137806137807137808137809137810137811137812137813137814137815137816137817137818137819137820137821137822137823137824137825137826137827137828137829137830137831137832137833137834137835137836137837137838137839137840137841137842137843137844137845137846137847137848137849137850137851137852137853137854137855137856137857137858137859137860137861137862137863137864137865137866137867137868137869137870137871137872137873137874137875137876137877137878137879137880137881137882137883137884137885137886137887137888137889137890137891137892137893137894137895137896137897137898137899137900137901137902137903137904137905137906137907137908137909137910137911137912137913137914137915137916137917137918137919137920137921137922137923137924137925137926137927137928137929137930137931137932137933137934137935137936137937137938137939137940137941137942137943137944137945137946137947137948137949137950137951137952137953137954137955137956137957137958137959137960137961137962137963137964137965137966137967137968137969137970137971137972137973137974137975137976137977137978137979137980137981137982137983137984137985137986137987137988137989137990137991137992137993137994137995137996137997137998137999138000138001138002138003138004138005138006138007138008138009138010138011138012138013138014138015138016138017138018138019138020138021138022138023138024138025138026138027138028138029138030138031138032138033138034138035138036138037138038138039138040138041138042138043138044138045138046138047138048138049138050138051138052138053138054138055138056138057138058138059138060138061138062138063138064138065138066138067138068138069138070138071138072138073138074138075138076138077138078138079138080138081138082138083138084138085138086138087138088138089138090138091138092138093138094138095138096138097138098138099138100138101138102138103138104138105138106138107138108138109138110138111138112138113138114138115138116138117138118138119138120138121138122138123138124138125138126138127138128138129138130138131138132138133138134138135138136138137138138138139138140138141138142138143138144138145138146138147138148138149138150138151138152138153138154138155138156138157138158138159138160138161138162138163138164138165138166138167138168138169138170138171138172138173138174138175138176138177138178138179138180138181138182138183138184138185138186138187138188138189138190138191138192138193138194138195138196138197138198138199138200138201138202138203138204138205138206138207138208138209138210138211138212138213138214138215138216138217138218138219138220138221138222138223138224138225138226138227138228138229138230138231138232138233138234138235138236138237138238138239138240138241138242138243138244138245138246138247138248138249138250138251138252138253138254138255138256138257138258138259138260138261138262138263138264138265138266138267138268138269138270138271138272138273138274138275138276138277138278138279138280138281138282138283138284138285138286138287138288138289138290138291138292138293138294138295138296138297138298138299138300138301138302138303138304138305138306138307138308138309138310138311138312138313138314138315138316138317138318138319138320138321138322138323138324138325138326138327138328138329138330138331138332138333138334138335138336138337138338138339138340138341138342138343138344138345138346138347138348138349138350138351138352138353138354138355138356138357138358138359138360138361138362138363138364138365138366138367138368138369138370138371138372138373138374138375138376138377138378138379138380138381138382138383138384138385138386138387138388138389138390138391138392138393138394138395138396138397138398138399138400138401138402138403138404138405138406138407138408138409138410138411138412138413138414138415138416138417138418138419138420138421138422138423138424138425138426138427138428138429138430138431138432138433138434138435138436138437138438138439138440138441138442138443138444138445138446138447138448138449138450138451138452138453138454138455138456138457138458138459138460138461138462138463138464138465138466138467138468138469138470138471138472138473138474138475138476138477138478138479138480138481138482138483138484138485138486138487138488138489138490138491138492138493138494138495138496138497138498138499138500138501138502138503138504138505138506138507138508138509138510138511138512138513138514138515138516138517138518138519138520138521138522138523138524138525138526138527138528138529138530138531138532138533138534138535138536138537138538138539138540138541138542138543138544138545138546138547138548138549138550138551138552138553138554138555138556138557138558138559138560138561138562138563
- "use strict";
- (self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([["vendor"],{
- /***/ 3819:
- /*!***************************************************************!*\
- !*** ./node_modules/@ionic/angular/fesm2015/ionic-angular.js ***!
- \***************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "ActionSheetController": () => (/* binding */ ActionSheetController),
- /* harmony export */ "AlertController": () => (/* binding */ AlertController),
- /* harmony export */ "AngularDelegate": () => (/* binding */ AngularDelegate),
- /* harmony export */ "AnimationController": () => (/* binding */ AnimationController),
- /* harmony export */ "BooleanValueAccessor": () => (/* binding */ BooleanValueAccessorDirective),
- /* harmony export */ "Config": () => (/* binding */ Config),
- /* harmony export */ "DomController": () => (/* binding */ DomController),
- /* harmony export */ "GestureController": () => (/* binding */ GestureController),
- /* harmony export */ "IonAccordion": () => (/* binding */ IonAccordion),
- /* harmony export */ "IonAccordionGroup": () => (/* binding */ IonAccordionGroup),
- /* harmony export */ "IonApp": () => (/* binding */ IonApp),
- /* harmony export */ "IonAvatar": () => (/* binding */ IonAvatar),
- /* harmony export */ "IonBackButton": () => (/* binding */ IonBackButton),
- /* harmony export */ "IonBackButtonDelegate": () => (/* binding */ IonBackButtonDelegateDirective),
- /* harmony export */ "IonBackdrop": () => (/* binding */ IonBackdrop),
- /* harmony export */ "IonBadge": () => (/* binding */ IonBadge),
- /* harmony export */ "IonBreadcrumb": () => (/* binding */ IonBreadcrumb),
- /* harmony export */ "IonBreadcrumbs": () => (/* binding */ IonBreadcrumbs),
- /* harmony export */ "IonButton": () => (/* binding */ IonButton),
- /* harmony export */ "IonButtons": () => (/* binding */ IonButtons),
- /* harmony export */ "IonCard": () => (/* binding */ IonCard),
- /* harmony export */ "IonCardContent": () => (/* binding */ IonCardContent),
- /* harmony export */ "IonCardHeader": () => (/* binding */ IonCardHeader),
- /* harmony export */ "IonCardSubtitle": () => (/* binding */ IonCardSubtitle),
- /* harmony export */ "IonCardTitle": () => (/* binding */ IonCardTitle),
- /* harmony export */ "IonCheckbox": () => (/* binding */ IonCheckbox),
- /* harmony export */ "IonChip": () => (/* binding */ IonChip),
- /* harmony export */ "IonCol": () => (/* binding */ IonCol),
- /* harmony export */ "IonContent": () => (/* binding */ IonContent),
- /* harmony export */ "IonDatetime": () => (/* binding */ IonDatetime),
- /* harmony export */ "IonDatetimeButton": () => (/* binding */ IonDatetimeButton),
- /* harmony export */ "IonFab": () => (/* binding */ IonFab),
- /* harmony export */ "IonFabButton": () => (/* binding */ IonFabButton),
- /* harmony export */ "IonFabList": () => (/* binding */ IonFabList),
- /* harmony export */ "IonFooter": () => (/* binding */ IonFooter),
- /* harmony export */ "IonGrid": () => (/* binding */ IonGrid),
- /* harmony export */ "IonHeader": () => (/* binding */ IonHeader),
- /* harmony export */ "IonIcon": () => (/* binding */ IonIcon),
- /* harmony export */ "IonImg": () => (/* binding */ IonImg),
- /* harmony export */ "IonInfiniteScroll": () => (/* binding */ IonInfiniteScroll),
- /* harmony export */ "IonInfiniteScrollContent": () => (/* binding */ IonInfiniteScrollContent),
- /* harmony export */ "IonInput": () => (/* binding */ IonInput),
- /* harmony export */ "IonItem": () => (/* binding */ IonItem),
- /* harmony export */ "IonItemDivider": () => (/* binding */ IonItemDivider),
- /* harmony export */ "IonItemGroup": () => (/* binding */ IonItemGroup),
- /* harmony export */ "IonItemOption": () => (/* binding */ IonItemOption),
- /* harmony export */ "IonItemOptions": () => (/* binding */ IonItemOptions),
- /* harmony export */ "IonItemSliding": () => (/* binding */ IonItemSliding),
- /* harmony export */ "IonLabel": () => (/* binding */ IonLabel),
- /* harmony export */ "IonList": () => (/* binding */ IonList),
- /* harmony export */ "IonListHeader": () => (/* binding */ IonListHeader),
- /* harmony export */ "IonMenu": () => (/* binding */ IonMenu),
- /* harmony export */ "IonMenuButton": () => (/* binding */ IonMenuButton),
- /* harmony export */ "IonMenuToggle": () => (/* binding */ IonMenuToggle),
- /* harmony export */ "IonModal": () => (/* binding */ IonModal),
- /* harmony export */ "IonNav": () => (/* binding */ IonNav),
- /* harmony export */ "IonNavLink": () => (/* binding */ IonNavLink),
- /* harmony export */ "IonNote": () => (/* binding */ IonNote),
- /* harmony export */ "IonPopover": () => (/* binding */ IonPopover),
- /* harmony export */ "IonProgressBar": () => (/* binding */ IonProgressBar),
- /* harmony export */ "IonRadio": () => (/* binding */ IonRadio),
- /* harmony export */ "IonRadioGroup": () => (/* binding */ IonRadioGroup),
- /* harmony export */ "IonRange": () => (/* binding */ IonRange),
- /* harmony export */ "IonRefresher": () => (/* binding */ IonRefresher),
- /* harmony export */ "IonRefresherContent": () => (/* binding */ IonRefresherContent),
- /* harmony export */ "IonReorder": () => (/* binding */ IonReorder),
- /* harmony export */ "IonReorderGroup": () => (/* binding */ IonReorderGroup),
- /* harmony export */ "IonRippleEffect": () => (/* binding */ IonRippleEffect),
- /* harmony export */ "IonRouterOutlet": () => (/* binding */ IonRouterOutlet),
- /* harmony export */ "IonRow": () => (/* binding */ IonRow),
- /* harmony export */ "IonSearchbar": () => (/* binding */ IonSearchbar),
- /* harmony export */ "IonSegment": () => (/* binding */ IonSegment),
- /* harmony export */ "IonSegmentButton": () => (/* binding */ IonSegmentButton),
- /* harmony export */ "IonSelect": () => (/* binding */ IonSelect),
- /* harmony export */ "IonSelectOption": () => (/* binding */ IonSelectOption),
- /* harmony export */ "IonSkeletonText": () => (/* binding */ IonSkeletonText),
- /* harmony export */ "IonSlide": () => (/* binding */ IonSlide),
- /* harmony export */ "IonSlides": () => (/* binding */ IonSlides),
- /* harmony export */ "IonSpinner": () => (/* binding */ IonSpinner),
- /* harmony export */ "IonSplitPane": () => (/* binding */ IonSplitPane),
- /* harmony export */ "IonTabBar": () => (/* binding */ IonTabBar),
- /* harmony export */ "IonTabButton": () => (/* binding */ IonTabButton),
- /* harmony export */ "IonTabs": () => (/* binding */ IonTabs),
- /* harmony export */ "IonText": () => (/* binding */ IonText),
- /* harmony export */ "IonTextarea": () => (/* binding */ IonTextarea),
- /* harmony export */ "IonThumbnail": () => (/* binding */ IonThumbnail),
- /* harmony export */ "IonTitle": () => (/* binding */ IonTitle),
- /* harmony export */ "IonToggle": () => (/* binding */ IonToggle),
- /* harmony export */ "IonToolbar": () => (/* binding */ IonToolbar),
- /* harmony export */ "IonVirtualScroll": () => (/* binding */ IonVirtualScroll),
- /* harmony export */ "IonicModule": () => (/* binding */ IonicModule),
- /* harmony export */ "IonicRouteStrategy": () => (/* binding */ IonicRouteStrategy),
- /* harmony export */ "IonicSafeString": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.IonicSafeString),
- /* harmony export */ "IonicSlides": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.IonicSlides),
- /* harmony export */ "IonicSwiper": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.IonicSwiper),
- /* harmony export */ "LoadingController": () => (/* binding */ LoadingController),
- /* harmony export */ "MenuController": () => (/* binding */ MenuController),
- /* harmony export */ "ModalController": () => (/* binding */ ModalController),
- /* harmony export */ "NavController": () => (/* binding */ NavController),
- /* harmony export */ "NavDelegate": () => (/* binding */ NavDelegate),
- /* harmony export */ "NavParams": () => (/* binding */ NavParams),
- /* harmony export */ "NumericValueAccessor": () => (/* binding */ NumericValueAccessorDirective),
- /* harmony export */ "PickerController": () => (/* binding */ PickerController),
- /* harmony export */ "Platform": () => (/* binding */ Platform),
- /* harmony export */ "PopoverController": () => (/* binding */ PopoverController),
- /* harmony export */ "RadioValueAccessor": () => (/* binding */ RadioValueAccessorDirective),
- /* harmony export */ "RouterLinkDelegate": () => (/* binding */ RouterLinkDelegateDirective),
- /* harmony export */ "RouterLinkWithHrefDelegate": () => (/* binding */ RouterLinkWithHrefDelegateDirective),
- /* harmony export */ "SelectValueAccessor": () => (/* binding */ SelectValueAccessorDirective),
- /* harmony export */ "TextValueAccessor": () => (/* binding */ TextValueAccessorDirective),
- /* harmony export */ "ToastController": () => (/* binding */ ToastController),
- /* harmony export */ "VirtualFooter": () => (/* binding */ VirtualFooter),
- /* harmony export */ "VirtualHeader": () => (/* binding */ VirtualHeader),
- /* harmony export */ "VirtualItem": () => (/* binding */ VirtualItem),
- /* harmony export */ "createAnimation": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.createAnimation),
- /* harmony export */ "createGesture": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.createGesture),
- /* harmony export */ "getPlatforms": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.getPlatforms),
- /* harmony export */ "getTimeGivenProgression": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.getTimeGivenProgression),
- /* harmony export */ "iosTransitionAnimation": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.iosTransitionAnimation),
- /* harmony export */ "isPlatform": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.isPlatform),
- /* harmony export */ "mdTransitionAnimation": () => (/* reexport safe */ _ionic_core__WEBPACK_IMPORTED_MODULE_0__.mdTransitionAnimation)
- /* harmony export */ });
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 3184);
- /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/forms */ 587);
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! tslib */ 4929);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs */ 6312);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs */ 2218);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs */ 4505);
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/router */ 2816);
- /* harmony import */ var _ionic_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ionic/core */ 6710);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 9151);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 9095);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 3298);
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common */ 6362);
- /* harmony import */ var _ionic_core_loader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ionic/core/loader */ 3714);
- const _c0 = ["*"];
- const _c1 = ["outlet"];
- const _c2 = [[["", "slot", "top"]], "*"];
- const _c3 = ["[slot=top]", "*"];
- function IonModal_div_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "div", 1);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainer"](1, 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
- }
- if (rf & 2) {
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](1);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngTemplateOutlet", ctx_r0.template);
- }
- }
- function IonPopover_ng_container_0_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementContainer"](0, 1);
- }
- if (rf & 2) {
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵnextContext"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngTemplateOutlet", ctx_r0.template);
- }
- }
- const raf = h => {
- if (typeof __zone_symbol__requestAnimationFrame === 'function') {
- return __zone_symbol__requestAnimationFrame(h);
- }
- if (typeof requestAnimationFrame === 'function') {
- return requestAnimationFrame(h);
- }
- return setTimeout(h);
- };
- const isComponentFactoryResolver = item => {
- return !!item.resolveComponentFactory;
- };
- class ValueAccessor {
- constructor(injector, el) {
- this.injector = injector;
- this.el = el;
- this.onChange = () => {
- /**/
- };
- this.onTouched = () => {
- /**/
- };
- }
- writeValue(value) {
- /**
- * TODO for Ionic 6:
- * Change `value == null ? '' : value;`
- * to `value`. This was a fix for IE9, but IE9
- * is no longer supported; however, this change
- * is potentially a breaking change
- */
- this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
- setIonicClasses(this.el);
- }
- handleChangeEvent(el, value) {
- if (el === this.el.nativeElement) {
- if (value !== this.lastValue) {
- this.lastValue = value;
- this.onChange(value);
- }
- setIonicClasses(this.el);
- }
- }
- _handleBlurEvent(el) {
- if (el === this.el.nativeElement) {
- this.onTouched();
- setIonicClasses(this.el);
- }
- }
- registerOnChange(fn) {
- this.onChange = fn;
- }
- registerOnTouched(fn) {
- this.onTouched = fn;
- }
- setDisabledState(isDisabled) {
- this.el.nativeElement.disabled = isDisabled;
- }
- ngOnDestroy() {
- if (this.statusChanges) {
- this.statusChanges.unsubscribe();
- }
- }
- ngAfterViewInit() {
- let ngControl;
- try {
- ngControl = this.injector.get(_angular_forms__WEBPACK_IMPORTED_MODULE_3__.NgControl);
- } catch (_a) {
- /* No FormControl or ngModel binding */
- }
- if (!ngControl) {
- return;
- } // Listen for changes in validity, disabled, or pending states
- if (ngControl.statusChanges) {
- this.statusChanges = ngControl.statusChanges.subscribe(() => setIonicClasses(this.el));
- }
- /**
- * TODO Remove this in favor of https://github.com/angular/angular/issues/10887
- * whenever it is implemented. Currently, Ionic's form status classes
- * do not react to changes when developers manually call
- * Angular form control methods such as markAsTouched.
- * This results in Ionic's form status classes being out
- * of sync with the ng form status classes.
- * This patches the methods to manually sync
- * the classes until this feature is implemented in Angular.
- */
- const formControl = ngControl.control;
- if (formControl) {
- const methodsToPatch = ['markAsTouched', 'markAllAsTouched', 'markAsUntouched', 'markAsDirty', 'markAsPristine'];
- methodsToPatch.forEach(method => {
- if (typeof formControl[method] !== 'undefined') {
- const oldFn = formControl[method].bind(formControl);
- formControl[method] = (...params) => {
- oldFn(...params);
- setIonicClasses(this.el);
- };
- }
- });
- }
- }
- }
- /** @nocollapse */
- ValueAccessor.ɵfac = function ValueAccessor_Factory(t) {
- 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));
- };
- /** @nocollapse */
- ValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: ValueAccessor,
- hostBindings: function ValueAccessor_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionBlur", function ValueAccessor_ionBlur_HostBindingHandler($event) {
- return ctx._handleBlurEvent($event.target);
- });
- }
- }
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](ValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }];
- }, {
- _handleBlurEvent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['ionBlur', ['$event.target']]
- }]
- });
- })();
- const setIonicClasses = element => {
- raf(() => {
- const input = element.nativeElement;
- const hasValue = input.value != null && input.value.toString().length > 0;
- const classes = getClasses(input);
- setClasses(input, classes);
- const item = input.closest('ion-item');
- if (item) {
- if (hasValue) {
- setClasses(item, [...classes, 'item-has-value']);
- } else {
- setClasses(item, classes);
- }
- }
- });
- };
- const getClasses = element => {
- const classList = element.classList;
- const classes = [];
- for (let i = 0; i < classList.length; i++) {
- const item = classList.item(i);
- if (item !== null && startsWith(item, 'ng-')) {
- classes.push(`ion-${item.substring(3)}`);
- }
- }
- return classes;
- };
- const setClasses = (element, classes) => {
- const classList = element.classList;
- classList.remove('ion-valid', 'ion-invalid', 'ion-touched', 'ion-untouched', 'ion-dirty', 'ion-pristine');
- classList.add(...classes);
- };
- const startsWith = (input, search) => {
- return input.substring(0, search.length) === search;
- };
- class BooleanValueAccessorDirective extends ValueAccessor {
- constructor(injector, el) {
- super(injector, el);
- }
- writeValue(value) {
- this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
- setIonicClasses(this.el);
- }
- _handleIonChange(el) {
- this.handleChangeEvent(el, el.checked);
- }
- }
- /** @nocollapse */
- BooleanValueAccessorDirective.ɵfac = function BooleanValueAccessorDirective_Factory(t) {
- 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));
- };
- /** @nocollapse */
- BooleanValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: BooleanValueAccessorDirective,
- selectors: [["ion-checkbox"], ["ion-toggle"]],
- hostBindings: function BooleanValueAccessorDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionChange", function BooleanValueAccessorDirective_ionChange_HostBindingHandler($event) {
- return ctx._handleIonChange($event.target);
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: BooleanValueAccessorDirective,
- multi: true
- }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](BooleanValueAccessorDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: 'ion-checkbox,ion-toggle',
- providers: [{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: BooleanValueAccessorDirective,
- multi: true
- }]
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }];
- }, {
- _handleIonChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['ionChange', ['$event.target']]
- }]
- });
- })();
- class NumericValueAccessorDirective extends ValueAccessor {
- constructor(injector, el) {
- super(injector, el);
- }
- _handleIonChange(el) {
- this.handleChangeEvent(el, el.value);
- }
- registerOnChange(fn) {
- super.registerOnChange(value => {
- fn(value === '' ? null : parseFloat(value));
- });
- }
- }
- /** @nocollapse */
- NumericValueAccessorDirective.ɵfac = function NumericValueAccessorDirective_Factory(t) {
- 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));
- };
- /** @nocollapse */
- NumericValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: NumericValueAccessorDirective,
- selectors: [["ion-input", "type", "number"]],
- hostBindings: function NumericValueAccessorDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionChange", function NumericValueAccessorDirective_ionChange_HostBindingHandler($event) {
- return ctx._handleIonChange($event.target);
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: NumericValueAccessorDirective,
- multi: true
- }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](NumericValueAccessorDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: 'ion-input[type=number]',
- providers: [{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: NumericValueAccessorDirective,
- multi: true
- }]
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }];
- }, {
- _handleIonChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['ionChange', ['$event.target']]
- }]
- });
- })();
- class RadioValueAccessorDirective extends ValueAccessor {
- constructor(injector, el) {
- super(injector, el);
- }
- _handleIonSelect(el) {
- this.handleChangeEvent(el, el.checked);
- }
- }
- /** @nocollapse */
- RadioValueAccessorDirective.ɵfac = function RadioValueAccessorDirective_Factory(t) {
- 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));
- };
- /** @nocollapse */
- RadioValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: RadioValueAccessorDirective,
- selectors: [["ion-radio"]],
- hostBindings: function RadioValueAccessorDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionSelect", function RadioValueAccessorDirective_ionSelect_HostBindingHandler($event) {
- return ctx._handleIonSelect($event.target);
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: RadioValueAccessorDirective,
- multi: true
- }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](RadioValueAccessorDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- /* tslint:disable-next-line:directive-selector */
- selector: 'ion-radio',
- providers: [{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: RadioValueAccessorDirective,
- multi: true
- }]
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }];
- }, {
- _handleIonSelect: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['ionSelect', ['$event.target']]
- }]
- });
- })();
- class SelectValueAccessorDirective extends ValueAccessor {
- constructor(injector, el) {
- super(injector, el);
- }
- _handleChangeEvent(el) {
- this.handleChangeEvent(el, el.value);
- }
- }
- /** @nocollapse */
- SelectValueAccessorDirective.ɵfac = function SelectValueAccessorDirective_Factory(t) {
- 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));
- };
- /** @nocollapse */
- SelectValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: SelectValueAccessorDirective,
- selectors: [["ion-range"], ["ion-select"], ["ion-radio-group"], ["ion-segment"], ["ion-datetime"]],
- hostBindings: function SelectValueAccessorDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionChange", function SelectValueAccessorDirective_ionChange_HostBindingHandler($event) {
- return ctx._handleChangeEvent($event.target);
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: SelectValueAccessorDirective,
- multi: true
- }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](SelectValueAccessorDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- /* tslint:disable-next-line:directive-selector */
- selector: 'ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime',
- providers: [{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: SelectValueAccessorDirective,
- multi: true
- }]
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }];
- }, {
- _handleChangeEvent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['ionChange', ['$event.target']]
- }]
- });
- })();
- class TextValueAccessorDirective extends ValueAccessor {
- constructor(injector, el) {
- super(injector, el);
- }
- _handleInputEvent(el) {
- this.handleChangeEvent(el, el.value);
- }
- }
- /** @nocollapse */
- TextValueAccessorDirective.ɵfac = function TextValueAccessorDirective_Factory(t) {
- 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));
- };
- /** @nocollapse */
- TextValueAccessorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: TextValueAccessorDirective,
- selectors: [["ion-input", 3, "type", "number"], ["ion-textarea"], ["ion-searchbar"]],
- hostBindings: function TextValueAccessorDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionChange", function TextValueAccessorDirective_ionChange_HostBindingHandler($event) {
- return ctx._handleInputEvent($event.target);
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵProvidersFeature"]([{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: TextValueAccessorDirective,
- multi: true
- }]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](TextValueAccessorDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- /* tslint:disable-next-line:directive-selector */
- selector: 'ion-input:not([type=number]),ion-textarea,ion-searchbar',
- providers: [{
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NG_VALUE_ACCESSOR,
- useExisting: TextValueAccessorDirective,
- multi: true
- }]
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }];
- }, {
- _handleInputEvent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['ionChange', ['$event.target']]
- }]
- });
- })();
- /* eslint-disable */
- const proxyInputs = (Cmp, inputs) => {
- const Prototype = Cmp.prototype;
- inputs.forEach(item => {
- Object.defineProperty(Prototype, item, {
- get() {
- return this.el[item];
- },
- set(val) {
- this.z.runOutsideAngular(() => this.el[item] = val);
- }
- });
- });
- };
- const proxyMethods = (Cmp, methods) => {
- const Prototype = Cmp.prototype;
- methods.forEach(methodName => {
- Prototype[methodName] = function () {
- const args = arguments;
- return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
- };
- });
- };
- const proxyOutputs = (instance, el, events) => {
- events.forEach(eventName => instance[eventName] = (0,rxjs__WEBPACK_IMPORTED_MODULE_4__.fromEvent)(el, eventName));
- };
- const defineCustomElement = (tagName, customElement) => {
- if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
- customElements.define(tagName, customElement);
- }
- }; // tslint:disable-next-line: only-arrow-functions
- function ProxyCmp(opts) {
- const decorator = function (cls) {
- const {
- defineCustomElementFn,
- inputs,
- methods
- } = opts;
- if (defineCustomElementFn !== undefined) {
- defineCustomElementFn();
- }
- if (inputs) {
- proxyInputs(cls, inputs);
- }
- if (methods) {
- proxyMethods(cls, methods);
- }
- return cls;
- };
- return decorator;
- }
- let IonAccordion = class IonAccordion {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonAccordion.ɵfac = function IonAccordion_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonAccordion.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonAccordion,
- selectors: [["ion-accordion"]],
- inputs: {
- disabled: "disabled",
- mode: "mode",
- readonly: "readonly",
- toggleIcon: "toggleIcon",
- toggleIconSlot: "toggleIconSlot",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonAccordion_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonAccordion = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['disabled', 'mode', 'readonly', 'toggleIcon', 'toggleIconSlot', 'value']
- })], IonAccordion);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonAccordion, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-accordion',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['disabled', 'mode', 'readonly', 'toggleIcon', 'toggleIconSlot', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonAccordionGroup = class IonAccordionGroup {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionChange']);
- }
- };
- /** @nocollapse */
- IonAccordionGroup.ɵfac = function IonAccordionGroup_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonAccordionGroup.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonAccordionGroup,
- selectors: [["ion-accordion-group"]],
- inputs: {
- animated: "animated",
- disabled: "disabled",
- expand: "expand",
- mode: "mode",
- multiple: "multiple",
- readonly: "readonly",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonAccordionGroup_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonAccordionGroup = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value']
- })], IonAccordionGroup);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonAccordionGroup, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-accordion-group',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['animated', 'disabled', 'expand', 'mode', 'multiple', 'readonly', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonApp = class IonApp {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonApp.ɵfac = function IonApp_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonApp.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonApp,
- selectors: [["ion-app"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonApp_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonApp = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined
- })], IonApp);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonApp, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-app',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonAvatar = class IonAvatar {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonAvatar.ɵfac = function IonAvatar_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonAvatar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonAvatar,
- selectors: [["ion-avatar"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonAvatar_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonAvatar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined
- })], IonAvatar);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonAvatar, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-avatar',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonBackButton = class IonBackButton {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonBackButton.ɵfac = function IonBackButton_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonBackButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonBackButton,
- selectors: [["ion-back-button"]],
- inputs: {
- color: "color",
- defaultHref: "defaultHref",
- disabled: "disabled",
- icon: "icon",
- mode: "mode",
- routerAnimation: "routerAnimation",
- text: "text",
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonBackButton_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonBackButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'defaultHref', 'disabled', 'icon', 'mode', 'routerAnimation', 'text', 'type']
- })], IonBackButton);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBackButton, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-back-button',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'defaultHref', 'disabled', 'icon', 'mode', 'routerAnimation', 'text', 'type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonBackdrop = class IonBackdrop {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionBackdropTap']);
- }
- };
- /** @nocollapse */
- IonBackdrop.ɵfac = function IonBackdrop_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonBackdrop.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonBackdrop,
- selectors: [["ion-backdrop"]],
- inputs: {
- stopPropagation: "stopPropagation",
- tappable: "tappable",
- visible: "visible"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonBackdrop_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonBackdrop = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['stopPropagation', 'tappable', 'visible']
- })], IonBackdrop);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBackdrop, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-backdrop',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['stopPropagation', 'tappable', 'visible']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonBadge = class IonBadge {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonBadge.ɵfac = function IonBadge_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonBadge.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonBadge,
- selectors: [["ion-badge"]],
- inputs: {
- color: "color",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonBadge_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonBadge = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode']
- })], IonBadge);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBadge, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-badge',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonBreadcrumb = class IonBreadcrumb {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
- }
- };
- /** @nocollapse */
- IonBreadcrumb.ɵfac = function IonBreadcrumb_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonBreadcrumb.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonBreadcrumb,
- selectors: [["ion-breadcrumb"]],
- inputs: {
- active: "active",
- color: "color",
- disabled: "disabled",
- download: "download",
- href: "href",
- mode: "mode",
- rel: "rel",
- routerAnimation: "routerAnimation",
- routerDirection: "routerDirection",
- separator: "separator",
- target: "target"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonBreadcrumb_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonBreadcrumb = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['active', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'separator', 'target']
- })], IonBreadcrumb);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBreadcrumb, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-breadcrumb',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['active', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'separator', 'target']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonBreadcrumbs = class IonBreadcrumbs {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionCollapsedClick']);
- }
- };
- /** @nocollapse */
- IonBreadcrumbs.ɵfac = function IonBreadcrumbs_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonBreadcrumbs.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonBreadcrumbs,
- selectors: [["ion-breadcrumbs"]],
- inputs: {
- color: "color",
- itemsAfterCollapse: "itemsAfterCollapse",
- itemsBeforeCollapse: "itemsBeforeCollapse",
- maxItems: "maxItems",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonBreadcrumbs_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonBreadcrumbs = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'itemsAfterCollapse', 'itemsBeforeCollapse', 'maxItems', 'mode']
- })], IonBreadcrumbs);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBreadcrumbs, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-breadcrumbs',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'itemsAfterCollapse', 'itemsBeforeCollapse', 'maxItems', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonButton = class IonButton {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
- }
- };
- /** @nocollapse */
- IonButton.ɵfac = function IonButton_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonButton,
- selectors: [["ion-button"]],
- inputs: {
- buttonType: "buttonType",
- color: "color",
- disabled: "disabled",
- download: "download",
- expand: "expand",
- fill: "fill",
- form: "form",
- href: "href",
- mode: "mode",
- rel: "rel",
- routerAnimation: "routerAnimation",
- routerDirection: "routerDirection",
- shape: "shape",
- size: "size",
- strong: "strong",
- target: "target",
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonButton_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['buttonType', 'color', 'disabled', 'download', 'expand', 'fill', 'form', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'size', 'strong', 'target', 'type']
- })], IonButton);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonButton, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-button',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['buttonType', 'color', 'disabled', 'download', 'expand', 'fill', 'form', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'size', 'strong', 'target', 'type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonButtons = class IonButtons {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonButtons.ɵfac = function IonButtons_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonButtons.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonButtons,
- selectors: [["ion-buttons"]],
- inputs: {
- collapse: "collapse"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonButtons_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonButtons = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['collapse']
- })], IonButtons);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonButtons, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-buttons',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['collapse']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonCard = class IonCard {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonCard.ɵfac = function IonCard_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonCard.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonCard,
- selectors: [["ion-card"]],
- inputs: {
- button: "button",
- color: "color",
- disabled: "disabled",
- download: "download",
- href: "href",
- mode: "mode",
- rel: "rel",
- routerAnimation: "routerAnimation",
- routerDirection: "routerDirection",
- target: "target",
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonCard_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonCard = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['button', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'target', 'type']
- })], IonCard);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCard, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-card',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['button', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'target', 'type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonCardContent = class IonCardContent {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonCardContent.ɵfac = function IonCardContent_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonCardContent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonCardContent,
- selectors: [["ion-card-content"]],
- inputs: {
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonCardContent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonCardContent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['mode']
- })], IonCardContent);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCardContent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-card-content',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonCardHeader = class IonCardHeader {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonCardHeader.ɵfac = function IonCardHeader_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonCardHeader.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonCardHeader,
- selectors: [["ion-card-header"]],
- inputs: {
- color: "color",
- mode: "mode",
- translucent: "translucent"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonCardHeader_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonCardHeader = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode', 'translucent']
- })], IonCardHeader);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCardHeader, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-card-header',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode', 'translucent']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonCardSubtitle = class IonCardSubtitle {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonCardSubtitle.ɵfac = function IonCardSubtitle_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonCardSubtitle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonCardSubtitle,
- selectors: [["ion-card-subtitle"]],
- inputs: {
- color: "color",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonCardSubtitle_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonCardSubtitle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode']
- })], IonCardSubtitle);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCardSubtitle, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-card-subtitle',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonCardTitle = class IonCardTitle {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonCardTitle.ɵfac = function IonCardTitle_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonCardTitle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonCardTitle,
- selectors: [["ion-card-title"]],
- inputs: {
- color: "color",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonCardTitle_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonCardTitle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode']
- })], IonCardTitle);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCardTitle, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-card-title',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonCheckbox = class IonCheckbox {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
- }
- };
- /** @nocollapse */
- IonCheckbox.ɵfac = function IonCheckbox_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonCheckbox.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonCheckbox,
- selectors: [["ion-checkbox"]],
- inputs: {
- checked: "checked",
- color: "color",
- disabled: "disabled",
- indeterminate: "indeterminate",
- mode: "mode",
- name: "name",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonCheckbox_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonCheckbox = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['checked', 'color', 'disabled', 'indeterminate', 'mode', 'name', 'value']
- })], IonCheckbox);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCheckbox, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-checkbox',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['checked', 'color', 'disabled', 'indeterminate', 'mode', 'name', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonChip = class IonChip {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonChip.ɵfac = function IonChip_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonChip.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonChip,
- selectors: [["ion-chip"]],
- inputs: {
- color: "color",
- disabled: "disabled",
- mode: "mode",
- outline: "outline"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonChip_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonChip = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'disabled', 'mode', 'outline']
- })], IonChip);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonChip, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-chip',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'disabled', 'mode', 'outline']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonCol = class IonCol {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonCol.ɵfac = function IonCol_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonCol.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonCol,
- selectors: [["ion-col"]],
- inputs: {
- offset: "offset",
- offsetLg: "offsetLg",
- offsetMd: "offsetMd",
- offsetSm: "offsetSm",
- offsetXl: "offsetXl",
- offsetXs: "offsetXs",
- pull: "pull",
- pullLg: "pullLg",
- pullMd: "pullMd",
- pullSm: "pullSm",
- pullXl: "pullXl",
- pullXs: "pullXs",
- push: "push",
- pushLg: "pushLg",
- pushMd: "pushMd",
- pushSm: "pushSm",
- pushXl: "pushXl",
- pushXs: "pushXs",
- size: "size",
- sizeLg: "sizeLg",
- sizeMd: "sizeMd",
- sizeSm: "sizeSm",
- sizeXl: "sizeXl",
- sizeXs: "sizeXs"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonCol_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonCol = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- 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']
- })], IonCol);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonCol, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-col',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- 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']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonContent = class IonContent {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionScrollStart', 'ionScroll', 'ionScrollEnd']);
- }
- };
- /** @nocollapse */
- IonContent.ɵfac = function IonContent_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonContent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonContent,
- selectors: [["ion-content"]],
- inputs: {
- color: "color",
- forceOverscroll: "forceOverscroll",
- fullscreen: "fullscreen",
- scrollEvents: "scrollEvents",
- scrollX: "scrollX",
- scrollY: "scrollY"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonContent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonContent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'forceOverscroll', 'fullscreen', 'scrollEvents', 'scrollX', 'scrollY'],
- methods: ['getScrollElement', 'scrollToTop', 'scrollToBottom', 'scrollByPoint', 'scrollToPoint']
- })], IonContent);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonContent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-content',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'forceOverscroll', 'fullscreen', 'scrollEvents', 'scrollX', 'scrollY']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonDatetime = class IonDatetime {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionCancel', 'ionChange', 'ionFocus', 'ionBlur']);
- }
- };
- /** @nocollapse */
- IonDatetime.ɵfac = function IonDatetime_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonDatetime.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonDatetime,
- selectors: [["ion-datetime"]],
- inputs: {
- cancelText: "cancelText",
- clearText: "clearText",
- color: "color",
- dayValues: "dayValues",
- disabled: "disabled",
- doneText: "doneText",
- firstDayOfWeek: "firstDayOfWeek",
- hourCycle: "hourCycle",
- hourValues: "hourValues",
- isDateEnabled: "isDateEnabled",
- locale: "locale",
- max: "max",
- min: "min",
- minuteValues: "minuteValues",
- mode: "mode",
- monthValues: "monthValues",
- multiple: "multiple",
- name: "name",
- preferWheel: "preferWheel",
- presentation: "presentation",
- readonly: "readonly",
- showClearButton: "showClearButton",
- showDefaultButtons: "showDefaultButtons",
- showDefaultTimeLabel: "showDefaultTimeLabel",
- showDefaultTitle: "showDefaultTitle",
- size: "size",
- titleSelectedDatesFormatter: "titleSelectedDatesFormatter",
- value: "value",
- yearValues: "yearValues"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonDatetime_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonDatetime = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- 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'],
- methods: ['confirm', 'reset', 'cancel']
- })], IonDatetime);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonDatetime, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-datetime',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- 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']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonDatetimeButton = class IonDatetimeButton {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonDatetimeButton.ɵfac = function IonDatetimeButton_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonDatetimeButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonDatetimeButton,
- selectors: [["ion-datetime-button"]],
- inputs: {
- color: "color",
- datetime: "datetime",
- disabled: "disabled",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonDatetimeButton_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonDatetimeButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'datetime', 'disabled', 'mode']
- })], IonDatetimeButton);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonDatetimeButton, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-datetime-button',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'datetime', 'disabled', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonFab = class IonFab {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonFab.ɵfac = function IonFab_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonFab.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonFab,
- selectors: [["ion-fab"]],
- inputs: {
- activated: "activated",
- edge: "edge",
- horizontal: "horizontal",
- vertical: "vertical"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonFab_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonFab = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['activated', 'edge', 'horizontal', 'vertical'],
- methods: ['close']
- })], IonFab);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonFab, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-fab',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['activated', 'edge', 'horizontal', 'vertical']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonFabButton = class IonFabButton {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
- }
- };
- /** @nocollapse */
- IonFabButton.ɵfac = function IonFabButton_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonFabButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonFabButton,
- selectors: [["ion-fab-button"]],
- inputs: {
- activated: "activated",
- closeIcon: "closeIcon",
- color: "color",
- disabled: "disabled",
- download: "download",
- href: "href",
- mode: "mode",
- rel: "rel",
- routerAnimation: "routerAnimation",
- routerDirection: "routerDirection",
- show: "show",
- size: "size",
- target: "target",
- translucent: "translucent",
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonFabButton_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonFabButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['activated', 'closeIcon', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'show', 'size', 'target', 'translucent', 'type']
- })], IonFabButton);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonFabButton, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-fab-button',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['activated', 'closeIcon', 'color', 'disabled', 'download', 'href', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'show', 'size', 'target', 'translucent', 'type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonFabList = class IonFabList {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonFabList.ɵfac = function IonFabList_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonFabList.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonFabList,
- selectors: [["ion-fab-list"]],
- inputs: {
- activated: "activated",
- side: "side"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonFabList_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonFabList = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['activated', 'side']
- })], IonFabList);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonFabList, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-fab-list',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['activated', 'side']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonFooter = class IonFooter {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonFooter.ɵfac = function IonFooter_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonFooter.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonFooter,
- selectors: [["ion-footer"]],
- inputs: {
- collapse: "collapse",
- mode: "mode",
- translucent: "translucent"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonFooter_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonFooter = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['collapse', 'mode', 'translucent']
- })], IonFooter);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonFooter, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-footer',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['collapse', 'mode', 'translucent']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonGrid = class IonGrid {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonGrid.ɵfac = function IonGrid_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonGrid.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonGrid,
- selectors: [["ion-grid"]],
- inputs: {
- fixed: "fixed"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonGrid_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonGrid = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['fixed']
- })], IonGrid);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonGrid, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-grid',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['fixed']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonHeader = class IonHeader {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonHeader.ɵfac = function IonHeader_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonHeader.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonHeader,
- selectors: [["ion-header"]],
- inputs: {
- collapse: "collapse",
- mode: "mode",
- translucent: "translucent"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonHeader_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonHeader = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['collapse', 'mode', 'translucent']
- })], IonHeader);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonHeader, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-header',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['collapse', 'mode', 'translucent']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonIcon = class IonIcon {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonIcon.ɵfac = function IonIcon_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonIcon.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonIcon,
- selectors: [["ion-icon"]],
- inputs: {
- color: "color",
- flipRtl: "flipRtl",
- icon: "icon",
- ios: "ios",
- lazy: "lazy",
- md: "md",
- mode: "mode",
- name: "name",
- sanitize: "sanitize",
- size: "size",
- src: "src"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonIcon_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonIcon = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src']
- })], IonIcon);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonIcon, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-icon',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'flipRtl', 'icon', 'ios', 'lazy', 'md', 'mode', 'name', 'sanitize', 'size', 'src']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonImg = class IonImg {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionImgWillLoad', 'ionImgDidLoad', 'ionError']);
- }
- };
- /** @nocollapse */
- IonImg.ɵfac = function IonImg_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonImg.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonImg,
- selectors: [["ion-img"]],
- inputs: {
- alt: "alt",
- src: "src"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonImg_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonImg = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['alt', 'src']
- })], IonImg);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonImg, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-img',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['alt', 'src']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonInfiniteScroll = class IonInfiniteScroll {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionInfinite']);
- }
- };
- /** @nocollapse */
- IonInfiniteScroll.ɵfac = function IonInfiniteScroll_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonInfiniteScroll.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonInfiniteScroll,
- selectors: [["ion-infinite-scroll"]],
- inputs: {
- disabled: "disabled",
- position: "position",
- threshold: "threshold"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonInfiniteScroll_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonInfiniteScroll = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['disabled', 'position', 'threshold'],
- methods: ['complete']
- })], IonInfiniteScroll);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonInfiniteScroll, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-infinite-scroll',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['disabled', 'position', 'threshold']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonInfiniteScrollContent = class IonInfiniteScrollContent {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonInfiniteScrollContent.ɵfac = function IonInfiniteScrollContent_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonInfiniteScrollContent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonInfiniteScrollContent,
- selectors: [["ion-infinite-scroll-content"]],
- inputs: {
- loadingSpinner: "loadingSpinner",
- loadingText: "loadingText"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonInfiniteScrollContent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonInfiniteScrollContent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['loadingSpinner', 'loadingText']
- })], IonInfiniteScrollContent);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonInfiniteScrollContent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-infinite-scroll-content',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['loadingSpinner', 'loadingText']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonInput = class IonInput {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionBlur', 'ionFocus']);
- }
- };
- /** @nocollapse */
- IonInput.ɵfac = function IonInput_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonInput.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonInput,
- selectors: [["ion-input"]],
- inputs: {
- accept: "accept",
- autocapitalize: "autocapitalize",
- autocomplete: "autocomplete",
- autocorrect: "autocorrect",
- autofocus: "autofocus",
- clearInput: "clearInput",
- clearOnEdit: "clearOnEdit",
- color: "color",
- debounce: "debounce",
- disabled: "disabled",
- enterkeyhint: "enterkeyhint",
- inputmode: "inputmode",
- max: "max",
- maxlength: "maxlength",
- min: "min",
- minlength: "minlength",
- mode: "mode",
- multiple: "multiple",
- name: "name",
- pattern: "pattern",
- placeholder: "placeholder",
- readonly: "readonly",
- required: "required",
- size: "size",
- spellcheck: "spellcheck",
- step: "step",
- type: "type",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonInput_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonInput = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- 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'],
- methods: ['setFocus', 'getInputElement']
- })], IonInput);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonInput, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-input',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- 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']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonItem = class IonItem {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonItem.ɵfac = function IonItem_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonItem.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonItem,
- selectors: [["ion-item"]],
- inputs: {
- button: "button",
- color: "color",
- counter: "counter",
- counterFormatter: "counterFormatter",
- detail: "detail",
- detailIcon: "detailIcon",
- disabled: "disabled",
- download: "download",
- fill: "fill",
- href: "href",
- lines: "lines",
- mode: "mode",
- rel: "rel",
- routerAnimation: "routerAnimation",
- routerDirection: "routerDirection",
- shape: "shape",
- target: "target",
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonItem_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonItem = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['button', 'color', 'counter', 'counterFormatter', 'detail', 'detailIcon', 'disabled', 'download', 'fill', 'href', 'lines', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'target', 'type']
- })], IonItem);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItem, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-item',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['button', 'color', 'counter', 'counterFormatter', 'detail', 'detailIcon', 'disabled', 'download', 'fill', 'href', 'lines', 'mode', 'rel', 'routerAnimation', 'routerDirection', 'shape', 'target', 'type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonItemDivider = class IonItemDivider {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonItemDivider.ɵfac = function IonItemDivider_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonItemDivider.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonItemDivider,
- selectors: [["ion-item-divider"]],
- inputs: {
- color: "color",
- mode: "mode",
- sticky: "sticky"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonItemDivider_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonItemDivider = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode', 'sticky']
- })], IonItemDivider);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemDivider, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-item-divider',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode', 'sticky']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonItemGroup = class IonItemGroup {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonItemGroup.ɵfac = function IonItemGroup_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonItemGroup.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonItemGroup,
- selectors: [["ion-item-group"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonItemGroup_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonItemGroup = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined
- })], IonItemGroup);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemGroup, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-item-group',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonItemOption = class IonItemOption {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonItemOption.ɵfac = function IonItemOption_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonItemOption.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonItemOption,
- selectors: [["ion-item-option"]],
- inputs: {
- color: "color",
- disabled: "disabled",
- download: "download",
- expandable: "expandable",
- href: "href",
- mode: "mode",
- rel: "rel",
- target: "target",
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonItemOption_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonItemOption = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'target', 'type']
- })], IonItemOption);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemOption, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-item-option',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'disabled', 'download', 'expandable', 'href', 'mode', 'rel', 'target', 'type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonItemOptions = class IonItemOptions {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionSwipe']);
- }
- };
- /** @nocollapse */
- IonItemOptions.ɵfac = function IonItemOptions_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonItemOptions.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonItemOptions,
- selectors: [["ion-item-options"]],
- inputs: {
- side: "side"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonItemOptions_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonItemOptions = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['side']
- })], IonItemOptions);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemOptions, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-item-options',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['side']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonItemSliding = class IonItemSliding {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionDrag']);
- }
- };
- /** @nocollapse */
- IonItemSliding.ɵfac = function IonItemSliding_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonItemSliding.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonItemSliding,
- selectors: [["ion-item-sliding"]],
- inputs: {
- disabled: "disabled"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonItemSliding_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonItemSliding = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['disabled'],
- methods: ['getOpenAmount', 'getSlidingRatio', 'open', 'close', 'closeOpened']
- })], IonItemSliding);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonItemSliding, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-item-sliding',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['disabled']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonLabel = class IonLabel {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonLabel.ɵfac = function IonLabel_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonLabel.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonLabel,
- selectors: [["ion-label"]],
- inputs: {
- color: "color",
- mode: "mode",
- position: "position"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonLabel_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonLabel = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode', 'position']
- })], IonLabel);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonLabel, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-label',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode', 'position']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonList = class IonList {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonList.ɵfac = function IonList_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonList.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonList,
- selectors: [["ion-list"]],
- inputs: {
- inset: "inset",
- lines: "lines",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonList_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonList = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['inset', 'lines', 'mode'],
- methods: ['closeSlidingItems']
- })], IonList);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonList, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-list',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['inset', 'lines', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonListHeader = class IonListHeader {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonListHeader.ɵfac = function IonListHeader_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonListHeader.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonListHeader,
- selectors: [["ion-list-header"]],
- inputs: {
- color: "color",
- lines: "lines",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonListHeader_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonListHeader = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'lines', 'mode']
- })], IonListHeader);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonListHeader, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-list-header',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'lines', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonMenu = class IonMenu {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionWillOpen', 'ionWillClose', 'ionDidOpen', 'ionDidClose']);
- }
- };
- /** @nocollapse */
- IonMenu.ɵfac = function IonMenu_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonMenu.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonMenu,
- selectors: [["ion-menu"]],
- inputs: {
- contentId: "contentId",
- disabled: "disabled",
- maxEdgeStart: "maxEdgeStart",
- menuId: "menuId",
- side: "side",
- swipeGesture: "swipeGesture",
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonMenu_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonMenu = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['contentId', 'disabled', 'maxEdgeStart', 'menuId', 'side', 'swipeGesture', 'type'],
- methods: ['isOpen', 'isActive', 'open', 'close', 'toggle', 'setOpen']
- })], IonMenu);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonMenu, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-menu',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['contentId', 'disabled', 'maxEdgeStart', 'menuId', 'side', 'swipeGesture', 'type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonMenuButton = class IonMenuButton {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonMenuButton.ɵfac = function IonMenuButton_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonMenuButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonMenuButton,
- selectors: [["ion-menu-button"]],
- inputs: {
- autoHide: "autoHide",
- color: "color",
- disabled: "disabled",
- menu: "menu",
- mode: "mode",
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonMenuButton_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonMenuButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['autoHide', 'color', 'disabled', 'menu', 'mode', 'type']
- })], IonMenuButton);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonMenuButton, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-menu-button',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['autoHide', 'color', 'disabled', 'menu', 'mode', 'type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonMenuToggle = class IonMenuToggle {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonMenuToggle.ɵfac = function IonMenuToggle_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonMenuToggle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonMenuToggle,
- selectors: [["ion-menu-toggle"]],
- inputs: {
- autoHide: "autoHide",
- menu: "menu"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonMenuToggle_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonMenuToggle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['autoHide', 'menu']
- })], IonMenuToggle);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonMenuToggle, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-menu-toggle',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['autoHide', 'menu']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonNav = class IonNav {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionNavWillChange', 'ionNavDidChange']);
- }
- };
- /** @nocollapse */
- IonNav.ɵfac = function IonNav_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonNav.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonNav,
- selectors: [["ion-nav"]],
- inputs: {
- animated: "animated",
- animation: "animation",
- root: "root",
- rootParams: "rootParams",
- swipeGesture: "swipeGesture"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonNav_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonNav = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['animated', 'animation', 'root', 'rootParams', 'swipeGesture'],
- methods: ['push', 'insert', 'insertPages', 'pop', 'popTo', 'popToRoot', 'removeIndex', 'setRoot', 'setPages', 'getActive', 'getByIndex', 'canGoBack', 'getPrevious']
- })], IonNav);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonNav, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-nav',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['animated', 'animation', 'root', 'rootParams', 'swipeGesture']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonNavLink = class IonNavLink {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonNavLink.ɵfac = function IonNavLink_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonNavLink.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonNavLink,
- selectors: [["ion-nav-link"]],
- inputs: {
- component: "component",
- componentProps: "componentProps",
- routerAnimation: "routerAnimation",
- routerDirection: "routerDirection"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonNavLink_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonNavLink = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['component', 'componentProps', 'routerAnimation', 'routerDirection']
- })], IonNavLink);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonNavLink, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-nav-link',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['component', 'componentProps', 'routerAnimation', 'routerDirection']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonNote = class IonNote {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonNote.ɵfac = function IonNote_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonNote.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonNote,
- selectors: [["ion-note"]],
- inputs: {
- color: "color",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonNote_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonNote = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode']
- })], IonNote);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonNote, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-note',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonProgressBar = class IonProgressBar {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonProgressBar.ɵfac = function IonProgressBar_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonProgressBar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonProgressBar,
- selectors: [["ion-progress-bar"]],
- inputs: {
- buffer: "buffer",
- color: "color",
- mode: "mode",
- reversed: "reversed",
- type: "type",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonProgressBar_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonProgressBar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['buffer', 'color', 'mode', 'reversed', 'type', 'value']
- })], IonProgressBar);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonProgressBar, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-progress-bar',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['buffer', 'color', 'mode', 'reversed', 'type', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonRadio = class IonRadio {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
- }
- };
- /** @nocollapse */
- IonRadio.ɵfac = function IonRadio_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonRadio.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonRadio,
- selectors: [["ion-radio"]],
- inputs: {
- color: "color",
- disabled: "disabled",
- mode: "mode",
- name: "name",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonRadio_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonRadio = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'disabled', 'mode', 'name', 'value']
- })], IonRadio);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRadio, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-radio',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'disabled', 'mode', 'name', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonRadioGroup = class IonRadioGroup {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionChange']);
- }
- };
- /** @nocollapse */
- IonRadioGroup.ɵfac = function IonRadioGroup_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonRadioGroup.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonRadioGroup,
- selectors: [["ion-radio-group"]],
- inputs: {
- allowEmptySelection: "allowEmptySelection",
- name: "name",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonRadioGroup_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonRadioGroup = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['allowEmptySelection', 'name', 'value']
- })], IonRadioGroup);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRadioGroup, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-radio-group',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['allowEmptySelection', 'name', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonRange = class IonRange {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur', 'ionKnobMoveStart', 'ionKnobMoveEnd']);
- }
- };
- /** @nocollapse */
- IonRange.ɵfac = function IonRange_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonRange.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonRange,
- selectors: [["ion-range"]],
- inputs: {
- activeBarStart: "activeBarStart",
- color: "color",
- debounce: "debounce",
- disabled: "disabled",
- dualKnobs: "dualKnobs",
- max: "max",
- min: "min",
- mode: "mode",
- name: "name",
- pin: "pin",
- pinFormatter: "pinFormatter",
- snaps: "snaps",
- step: "step",
- ticks: "ticks",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonRange_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonRange = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['activeBarStart', 'color', 'debounce', 'disabled', 'dualKnobs', 'max', 'min', 'mode', 'name', 'pin', 'pinFormatter', 'snaps', 'step', 'ticks', 'value']
- })], IonRange);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRange, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-range',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['activeBarStart', 'color', 'debounce', 'disabled', 'dualKnobs', 'max', 'min', 'mode', 'name', 'pin', 'pinFormatter', 'snaps', 'step', 'ticks', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonRefresher = class IonRefresher {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionRefresh', 'ionPull', 'ionStart']);
- }
- };
- /** @nocollapse */
- IonRefresher.ɵfac = function IonRefresher_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonRefresher.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonRefresher,
- selectors: [["ion-refresher"]],
- inputs: {
- closeDuration: "closeDuration",
- disabled: "disabled",
- pullFactor: "pullFactor",
- pullMax: "pullMax",
- pullMin: "pullMin",
- snapbackDuration: "snapbackDuration"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonRefresher_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonRefresher = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['closeDuration', 'disabled', 'pullFactor', 'pullMax', 'pullMin', 'snapbackDuration'],
- methods: ['complete', 'cancel', 'getProgress']
- })], IonRefresher);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRefresher, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-refresher',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['closeDuration', 'disabled', 'pullFactor', 'pullMax', 'pullMin', 'snapbackDuration']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonRefresherContent = class IonRefresherContent {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonRefresherContent.ɵfac = function IonRefresherContent_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonRefresherContent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonRefresherContent,
- selectors: [["ion-refresher-content"]],
- inputs: {
- pullingIcon: "pullingIcon",
- pullingText: "pullingText",
- refreshingSpinner: "refreshingSpinner",
- refreshingText: "refreshingText"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonRefresherContent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonRefresherContent = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['pullingIcon', 'pullingText', 'refreshingSpinner', 'refreshingText']
- })], IonRefresherContent);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRefresherContent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-refresher-content',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['pullingIcon', 'pullingText', 'refreshingSpinner', 'refreshingText']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonReorder = class IonReorder {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonReorder.ɵfac = function IonReorder_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonReorder.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonReorder,
- selectors: [["ion-reorder"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonReorder_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonReorder = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined
- })], IonReorder);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonReorder, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-reorder',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonReorderGroup = class IonReorderGroup {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionItemReorder']);
- }
- };
- /** @nocollapse */
- IonReorderGroup.ɵfac = function IonReorderGroup_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonReorderGroup.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonReorderGroup,
- selectors: [["ion-reorder-group"]],
- inputs: {
- disabled: "disabled"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonReorderGroup_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonReorderGroup = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['disabled'],
- methods: ['complete']
- })], IonReorderGroup);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonReorderGroup, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-reorder-group',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['disabled']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonRippleEffect = class IonRippleEffect {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonRippleEffect.ɵfac = function IonRippleEffect_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonRippleEffect.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonRippleEffect,
- selectors: [["ion-ripple-effect"]],
- inputs: {
- type: "type"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonRippleEffect_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonRippleEffect = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['type'],
- methods: ['addRipple']
- })], IonRippleEffect);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRippleEffect, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-ripple-effect',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['type']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonRow = class IonRow {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonRow.ɵfac = function IonRow_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonRow.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonRow,
- selectors: [["ion-row"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonRow_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonRow = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined
- })], IonRow);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRow, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-row',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSearchbar = class IonSearchbar {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionInput', 'ionChange', 'ionCancel', 'ionClear', 'ionBlur', 'ionFocus']);
- }
- };
- /** @nocollapse */
- IonSearchbar.ɵfac = function IonSearchbar_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSearchbar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSearchbar,
- selectors: [["ion-searchbar"]],
- inputs: {
- animated: "animated",
- autocomplete: "autocomplete",
- autocorrect: "autocorrect",
- cancelButtonIcon: "cancelButtonIcon",
- cancelButtonText: "cancelButtonText",
- clearIcon: "clearIcon",
- color: "color",
- debounce: "debounce",
- disabled: "disabled",
- enterkeyhint: "enterkeyhint",
- inputmode: "inputmode",
- mode: "mode",
- placeholder: "placeholder",
- searchIcon: "searchIcon",
- showCancelButton: "showCancelButton",
- showClearButton: "showClearButton",
- spellcheck: "spellcheck",
- type: "type",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSearchbar_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSearchbar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['animated', 'autocomplete', 'autocorrect', 'cancelButtonIcon', 'cancelButtonText', 'clearIcon', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'mode', 'placeholder', 'searchIcon', 'showCancelButton', 'showClearButton', 'spellcheck', 'type', 'value'],
- methods: ['setFocus', 'getInputElement']
- })], IonSearchbar);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSearchbar, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-searchbar',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['animated', 'autocomplete', 'autocorrect', 'cancelButtonIcon', 'cancelButtonText', 'clearIcon', 'color', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'mode', 'placeholder', 'searchIcon', 'showCancelButton', 'showClearButton', 'spellcheck', 'type', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSegment = class IonSegment {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionChange']);
- }
- };
- /** @nocollapse */
- IonSegment.ɵfac = function IonSegment_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSegment.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSegment,
- selectors: [["ion-segment"]],
- inputs: {
- color: "color",
- disabled: "disabled",
- mode: "mode",
- scrollable: "scrollable",
- selectOnFocus: "selectOnFocus",
- swipeGesture: "swipeGesture",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSegment_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSegment = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value']
- })], IonSegment);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSegment, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-segment',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'disabled', 'mode', 'scrollable', 'selectOnFocus', 'swipeGesture', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSegmentButton = class IonSegmentButton {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonSegmentButton.ɵfac = function IonSegmentButton_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSegmentButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSegmentButton,
- selectors: [["ion-segment-button"]],
- inputs: {
- disabled: "disabled",
- layout: "layout",
- mode: "mode",
- type: "type",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSegmentButton_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSegmentButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['disabled', 'layout', 'mode', 'type', 'value']
- })], IonSegmentButton);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSegmentButton, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-segment-button',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['disabled', 'layout', 'mode', 'type', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSelect = class IonSelect {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionChange', 'ionCancel', 'ionDismiss', 'ionFocus', 'ionBlur']);
- }
- };
- /** @nocollapse */
- IonSelect.ɵfac = function IonSelect_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSelect.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSelect,
- selectors: [["ion-select"]],
- inputs: {
- cancelText: "cancelText",
- compareWith: "compareWith",
- disabled: "disabled",
- interface: "interface",
- interfaceOptions: "interfaceOptions",
- mode: "mode",
- multiple: "multiple",
- name: "name",
- okText: "okText",
- placeholder: "placeholder",
- selectedText: "selectedText",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSelect_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['cancelText', 'compareWith', 'disabled', 'interface', 'interfaceOptions', 'mode', 'multiple', 'name', 'okText', 'placeholder', 'selectedText', 'value'],
- methods: ['open']
- })], IonSelect);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSelect, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-select',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['cancelText', 'compareWith', 'disabled', 'interface', 'interfaceOptions', 'mode', 'multiple', 'name', 'okText', 'placeholder', 'selectedText', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSelectOption = class IonSelectOption {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonSelectOption.ɵfac = function IonSelectOption_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSelectOption.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSelectOption,
- selectors: [["ion-select-option"]],
- inputs: {
- disabled: "disabled",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSelectOption_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSelectOption = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['disabled', 'value']
- })], IonSelectOption);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSelectOption, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-select-option',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['disabled', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSkeletonText = class IonSkeletonText {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonSkeletonText.ɵfac = function IonSkeletonText_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSkeletonText.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSkeletonText,
- selectors: [["ion-skeleton-text"]],
- inputs: {
- animated: "animated"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSkeletonText_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSkeletonText = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['animated']
- })], IonSkeletonText);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSkeletonText, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-skeleton-text',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['animated']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSlide = class IonSlide {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonSlide.ɵfac = function IonSlide_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSlide.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSlide,
- selectors: [["ion-slide"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSlide_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSlide = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined
- })], IonSlide);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSlide, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-slide',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSlides = class IonSlides {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionSlidesDidLoad', 'ionSlideTap', 'ionSlideDoubleTap', 'ionSlideWillChange', 'ionSlideDidChange', 'ionSlideNextStart', 'ionSlidePrevStart', 'ionSlideNextEnd', 'ionSlidePrevEnd', 'ionSlideTransitionStart', 'ionSlideTransitionEnd', 'ionSlideDrag', 'ionSlideReachStart', 'ionSlideReachEnd', 'ionSlideTouchStart', 'ionSlideTouchEnd']);
- }
- };
- /** @nocollapse */
- IonSlides.ɵfac = function IonSlides_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSlides.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSlides,
- selectors: [["ion-slides"]],
- inputs: {
- mode: "mode",
- options: "options",
- pager: "pager",
- scrollbar: "scrollbar"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSlides_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSlides = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['mode', 'options', 'pager', 'scrollbar'],
- methods: ['update', 'updateAutoHeight', 'slideTo', 'slideNext', 'slidePrev', 'getActiveIndex', 'getPreviousIndex', 'length', 'isEnd', 'isBeginning', 'startAutoplay', 'stopAutoplay', 'lockSwipeToNext', 'lockSwipeToPrev', 'lockSwipes', 'getSwiper']
- })], IonSlides);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSlides, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-slides',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['mode', 'options', 'pager', 'scrollbar']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSpinner = class IonSpinner {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonSpinner.ɵfac = function IonSpinner_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSpinner.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSpinner,
- selectors: [["ion-spinner"]],
- inputs: {
- color: "color",
- duration: "duration",
- name: "name",
- paused: "paused"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSpinner_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSpinner = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'duration', 'name', 'paused']
- })], IonSpinner);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSpinner, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-spinner',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'duration', 'name', 'paused']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonSplitPane = class IonSplitPane {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionSplitPaneVisible']);
- }
- };
- /** @nocollapse */
- IonSplitPane.ɵfac = function IonSplitPane_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonSplitPane.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonSplitPane,
- selectors: [["ion-split-pane"]],
- inputs: {
- contentId: "contentId",
- disabled: "disabled",
- when: "when"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonSplitPane_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonSplitPane = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['contentId', 'disabled', 'when']
- })], IonSplitPane);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonSplitPane, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-split-pane',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['contentId', 'disabled', 'when']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonTabBar = class IonTabBar {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonTabBar.ɵfac = function IonTabBar_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonTabBar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonTabBar,
- selectors: [["ion-tab-bar"]],
- inputs: {
- color: "color",
- mode: "mode",
- selectedTab: "selectedTab",
- translucent: "translucent"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonTabBar_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonTabBar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode', 'selectedTab', 'translucent']
- })], IonTabBar);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTabBar, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-tab-bar',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode', 'selectedTab', 'translucent']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonTabButton = class IonTabButton {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonTabButton.ɵfac = function IonTabButton_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonTabButton.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonTabButton,
- selectors: [["ion-tab-button"]],
- inputs: {
- disabled: "disabled",
- download: "download",
- href: "href",
- layout: "layout",
- mode: "mode",
- rel: "rel",
- selected: "selected",
- tab: "tab",
- target: "target"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonTabButton_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonTabButton = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['disabled', 'download', 'href', 'layout', 'mode', 'rel', 'selected', 'tab', 'target']
- })], IonTabButton);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTabButton, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-tab-button',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['disabled', 'download', 'href', 'layout', 'mode', 'rel', 'selected', 'tab', 'target']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonText = class IonText {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonText.ɵfac = function IonText_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonText.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonText,
- selectors: [["ion-text"]],
- inputs: {
- color: "color",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonText_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonText = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode']
- })], IonText);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonText, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-text',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonTextarea = class IonTextarea {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionChange', 'ionInput', 'ionBlur', 'ionFocus']);
- }
- };
- /** @nocollapse */
- IonTextarea.ɵfac = function IonTextarea_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonTextarea.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonTextarea,
- selectors: [["ion-textarea"]],
- inputs: {
- autoGrow: "autoGrow",
- autocapitalize: "autocapitalize",
- autofocus: "autofocus",
- clearOnEdit: "clearOnEdit",
- color: "color",
- cols: "cols",
- debounce: "debounce",
- disabled: "disabled",
- enterkeyhint: "enterkeyhint",
- inputmode: "inputmode",
- maxlength: "maxlength",
- minlength: "minlength",
- mode: "mode",
- name: "name",
- placeholder: "placeholder",
- readonly: "readonly",
- required: "required",
- rows: "rows",
- spellcheck: "spellcheck",
- value: "value",
- wrap: "wrap"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonTextarea_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonTextarea = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['autoGrow', 'autocapitalize', 'autofocus', 'clearOnEdit', 'color', 'cols', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'maxlength', 'minlength', 'mode', 'name', 'placeholder', 'readonly', 'required', 'rows', 'spellcheck', 'value', 'wrap'],
- methods: ['setFocus', 'getInputElement']
- })], IonTextarea);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTextarea, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-textarea',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['autoGrow', 'autocapitalize', 'autofocus', 'clearOnEdit', 'color', 'cols', 'debounce', 'disabled', 'enterkeyhint', 'inputmode', 'maxlength', 'minlength', 'mode', 'name', 'placeholder', 'readonly', 'required', 'rows', 'spellcheck', 'value', 'wrap']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonThumbnail = class IonThumbnail {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonThumbnail.ɵfac = function IonThumbnail_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonThumbnail.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonThumbnail,
- selectors: [["ion-thumbnail"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonThumbnail_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonThumbnail = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined
- })], IonThumbnail);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonThumbnail, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-thumbnail',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonTitle = class IonTitle {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonTitle.ɵfac = function IonTitle_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonTitle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonTitle,
- selectors: [["ion-title"]],
- inputs: {
- color: "color",
- size: "size"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonTitle_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonTitle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'size']
- })], IonTitle);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTitle, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-title',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'size']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonToggle = class IonToggle {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- proxyOutputs(this, this.el, ['ionChange', 'ionFocus', 'ionBlur']);
- }
- };
- /** @nocollapse */
- IonToggle.ɵfac = function IonToggle_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonToggle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonToggle,
- selectors: [["ion-toggle"]],
- inputs: {
- checked: "checked",
- color: "color",
- disabled: "disabled",
- enableOnOffLabels: "enableOnOffLabels",
- mode: "mode",
- name: "name",
- value: "value"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonToggle_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonToggle = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['checked', 'color', 'disabled', 'enableOnOffLabels', 'mode', 'name', 'value']
- })], IonToggle);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonToggle, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-toggle',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['checked', 'color', 'disabled', 'enableOnOffLabels', 'mode', 'name', 'value']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- let IonToolbar = class IonToolbar {
- constructor(c, r, z) {
- this.z = z;
- c.detach();
- this.el = r.nativeElement;
- }
- };
- /** @nocollapse */
- IonToolbar.ɵfac = function IonToolbar_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonToolbar.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonToolbar,
- selectors: [["ion-toolbar"]],
- inputs: {
- color: "color",
- mode: "mode"
- },
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonToolbar_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonToolbar = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- defineCustomElementFn: undefined,
- inputs: ['color', 'mode']
- })], IonToolbar);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonToolbar, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-toolbar',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: '<ng-content></ng-content>',
- inputs: ['color', 'mode']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- /**
- * @description
- * NavParams are an object that exists on a page and can contain data for that particular view.
- * Similar to how data was pass to a view in V1 with `$stateParams`, NavParams offer a much more flexible
- * option with a simple `get` method.
- *
- * @usage
- * ```ts
- * import { NavParams } from '@ionic/angular';
- *
- * export class MyClass{
- *
- * constructor(navParams: NavParams){
- * // userParams is an object we have in our nav-parameters
- * navParams.get('userParams');
- * }
- *
- * }
- * ```
- */
- class NavParams {
- constructor(data = {}) {
- this.data = data;
- }
- /**
- * Get the value of a nav-parameter for the current view
- *
- * ```ts
- * import { NavParams } from 'ionic-angular';
- *
- * export class MyClass{
- * constructor(public navParams: NavParams){
- * // userParams is an object we have in our nav-parameters
- * this.navParams.get('userParams');
- * }
- * }
- * ```
- *
- * @param param Which param you want to look up
- */
- get(param) {
- return this.data[param];
- }
- }
- class AngularDelegate {
- constructor(zone, appRef) {
- this.zone = zone;
- this.appRef = appRef;
- }
- create(resolverOrInjector, injector, location) {
- return new AngularFrameworkDelegate(resolverOrInjector, injector, location, this.appRef, this.zone);
- }
- }
- /** @nocollapse */
- AngularDelegate.ɵfac = function AngularDelegate_Factory(t) {
- 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));
- };
- /** @nocollapse */
- AngularDelegate.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: AngularDelegate,
- factory: AngularDelegate.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](AngularDelegate, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ApplicationRef
- }];
- }, null);
- })();
- class AngularFrameworkDelegate {
- constructor(resolverOrInjector, injector, location, appRef, zone) {
- this.resolverOrInjector = resolverOrInjector;
- this.injector = injector;
- this.location = location;
- this.appRef = appRef;
- this.zone = zone;
- this.elRefMap = new WeakMap();
- this.elEventsMap = new WeakMap();
- }
- attachViewToDom(container, component, params, cssClasses) {
- return this.zone.run(() => {
- return new Promise(resolve => {
- const el = attachView(this.zone, this.resolverOrInjector, this.injector, this.location, this.appRef, this.elRefMap, this.elEventsMap, container, component, params, cssClasses);
- resolve(el);
- });
- });
- }
- removeViewFromDom(_container, component) {
- return this.zone.run(() => {
- return new Promise(resolve => {
- const componentRef = this.elRefMap.get(component);
- if (componentRef) {
- componentRef.destroy();
- this.elRefMap.delete(component);
- const unbindEvents = this.elEventsMap.get(component);
- if (unbindEvents) {
- unbindEvents();
- this.elEventsMap.delete(component);
- }
- }
- resolve();
- });
- });
- }
- }
- const attachView = (zone, resolverOrInjector, injector, location, appRef, elRefMap, elEventsMap, container, component, params, cssClasses) => {
- let componentRef;
- const childInjector = _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector.create({
- providers: getProviders(params),
- parent: injector
- });
- if (resolverOrInjector && isComponentFactoryResolver(resolverOrInjector)) {
- // Angular 13 and lower
- const factory = resolverOrInjector.resolveComponentFactory(component);
- componentRef = location ? location.createComponent(factory, location.length, childInjector) : factory.create(childInjector);
- } else if (location) {
- // Angular 14
- const environmentInjector = resolverOrInjector;
- componentRef = location.createComponent(component, {
- index: location.indexOf,
- injector: childInjector,
- environmentInjector
- });
- } else {
- return null;
- }
- const instance = componentRef.instance;
- const hostElement = componentRef.location.nativeElement;
- if (params) {
- Object.assign(instance, params);
- }
- if (cssClasses) {
- for (const clazz of cssClasses) {
- hostElement.classList.add(clazz);
- }
- }
- const unbindEvents = bindLifecycleEvents(zone, instance, hostElement);
- container.appendChild(hostElement);
- if (!location) {
- appRef.attachView(componentRef.hostView);
- }
- componentRef.changeDetectorRef.reattach();
- elRefMap.set(hostElement, componentRef);
- elEventsMap.set(hostElement, unbindEvents);
- return hostElement;
- };
- 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];
- const bindLifecycleEvents = (zone, instance, element) => {
- return zone.run(() => {
- const unregisters = LIFECYCLES.filter(eventName => typeof instance[eventName] === 'function').map(eventName => {
- const handler = ev => instance[eventName](ev.detail);
- element.addEventListener(eventName, handler);
- return () => element.removeEventListener(eventName, handler);
- });
- return () => unregisters.forEach(fn => fn());
- });
- };
- const NavParamsToken = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.InjectionToken('NavParamsToken');
- const getProviders = params => {
- return [{
- provide: NavParamsToken,
- useValue: params
- }, {
- provide: NavParams,
- useFactory: provideNavParamsInjectable,
- deps: [NavParamsToken]
- }];
- };
- const provideNavParamsInjectable = params => {
- return new NavParams(params);
- };
- const insertView = (views, view, direction) => {
- if (direction === 'root') {
- return setRoot(views, view);
- } else if (direction === 'forward') {
- return setForward(views, view);
- } else {
- return setBack(views, view);
- }
- };
- const setRoot = (views, view) => {
- views = views.filter(v => v.stackId !== view.stackId);
- views.push(view);
- return views;
- };
- const setForward = (views, view) => {
- const index = views.indexOf(view);
- if (index >= 0) {
- views = views.filter(v => v.stackId !== view.stackId || v.id <= view.id);
- } else {
- views.push(view);
- }
- return views;
- };
- const setBack = (views, view) => {
- const index = views.indexOf(view);
- if (index >= 0) {
- return views.filter(v => v.stackId !== view.stackId || v.id <= view.id);
- } else {
- return setRoot(views, view);
- }
- };
- const getUrl = (router, activatedRoute) => {
- const urlTree = router.createUrlTree(['.'], {
- relativeTo: activatedRoute
- });
- return router.serializeUrl(urlTree);
- };
- const isTabSwitch = (enteringView, leavingView) => {
- if (!leavingView) {
- return true;
- }
- return enteringView.stackId !== leavingView.stackId;
- };
- const computeStackId = (prefixUrl, url) => {
- if (!prefixUrl) {
- return undefined;
- }
- const segments = toSegments(url);
- for (let i = 0; i < segments.length; i++) {
- if (i >= prefixUrl.length) {
- return segments[i];
- }
- if (segments[i] !== prefixUrl[i]) {
- return undefined;
- }
- }
- return undefined;
- };
- const toSegments = path => {
- return path.split('/').map(s => s.trim()).filter(s => s !== '');
- };
- const destroyView = view => {
- if (view) {
- // TODO lifecycle event
- view.ref.destroy();
- view.unlistenEvents();
- }
- };
- class StackController {
- constructor(tabsPrefix, containerEl, router, navCtrl, zone, location) {
- this.containerEl = containerEl;
- this.router = router;
- this.navCtrl = navCtrl;
- this.zone = zone;
- this.location = location;
- this.views = [];
- this.skipTransition = false;
- this.nextId = 0;
- this.tabsPrefix = tabsPrefix !== undefined ? toSegments(tabsPrefix) : undefined;
- }
- createView(ref, activatedRoute) {
- var _a;
- const url = getUrl(this.router, activatedRoute);
- const element = (_a = ref === null || ref === void 0 ? void 0 : ref.location) === null || _a === void 0 ? void 0 : _a.nativeElement;
- const unlistenEvents = bindLifecycleEvents(this.zone, ref.instance, element);
- return {
- id: this.nextId++,
- stackId: computeStackId(this.tabsPrefix, url),
- unlistenEvents,
- element,
- ref,
- url
- };
- }
- getExistingView(activatedRoute) {
- const activatedUrlKey = getUrl(this.router, activatedRoute);
- const view = this.views.find(vw => vw.url === activatedUrlKey);
- if (view) {
- view.ref.changeDetectorRef.reattach();
- }
- return view;
- }
- setActive(enteringView) {
- var _a, _b;
- const consumeResult = this.navCtrl.consumeTransition();
- let {
- direction,
- animation,
- animationBuilder
- } = consumeResult;
- const leavingView = this.activeView;
- const tabSwitch = isTabSwitch(enteringView, leavingView);
- if (tabSwitch) {
- direction = 'back';
- animation = undefined;
- }
- const viewsSnapshot = this.views.slice();
- let currentNavigation;
- const router = this.router; // Angular >= 7.2.0
- if (router.getCurrentNavigation) {
- currentNavigation = router.getCurrentNavigation(); // Angular < 7.2.0
- } else if ((_a = router.navigations) === null || _a === void 0 ? void 0 : _a.value) {
- currentNavigation = router.navigations.value;
- }
- /**
- * If the navigation action
- * sets `replaceUrl: true`
- * then we need to make sure
- * we remove the last item
- * from our views stack
- */
- if ((_b = currentNavigation === null || currentNavigation === void 0 ? void 0 : currentNavigation.extras) === null || _b === void 0 ? void 0 : _b.replaceUrl) {
- if (this.views.length > 0) {
- this.views.splice(-1, 1);
- }
- }
- const reused = this.views.includes(enteringView);
- const views = this.insertView(enteringView, direction); // Trigger change detection before transition starts
- // This will call ngOnInit() the first time too, just after the view
- // was attached to the dom, but BEFORE the transition starts
- if (!reused) {
- enteringView.ref.changeDetectorRef.detectChanges();
- }
- /**
- * If we are going back from a page that
- * was presented using a custom animation
- * we should default to using that
- * unless the developer explicitly
- * provided another animation.
- */
- const customAnimation = enteringView.animationBuilder;
- if (animationBuilder === undefined && direction === 'back' && !tabSwitch && customAnimation !== undefined) {
- animationBuilder = customAnimation;
- }
- /**
- * Save any custom animation so that navigating
- * back will use this custom animation by default.
- */
- if (leavingView) {
- leavingView.animationBuilder = animationBuilder;
- } // Wait until previous transitions finish
- return this.zone.runOutsideAngular(() => {
- return this.wait(() => {
- // disconnect leaving page from change detection to
- // reduce jank during the page transition
- if (leavingView) {
- leavingView.ref.changeDetectorRef.detach();
- } // In case the enteringView is the same as the leavingPage we need to reattach()
- enteringView.ref.changeDetectorRef.reattach();
- return this.transition(enteringView, leavingView, animation, this.canGoBack(1), false, animationBuilder).then(() => cleanupAsync(enteringView, views, viewsSnapshot, this.location, this.zone)).then(() => ({
- enteringView,
- direction,
- animation,
- tabSwitch
- }));
- });
- });
- }
- canGoBack(deep, stackId = this.getActiveStackId()) {
- return this.getStack(stackId).length > deep;
- }
- pop(deep, stackId = this.getActiveStackId()) {
- return this.zone.run(() => {
- var _a, _b;
- const views = this.getStack(stackId);
- if (views.length <= deep) {
- return Promise.resolve(false);
- }
- const view = views[views.length - deep - 1];
- let url = view.url;
- const viewSavedData = view.savedData;
- if (viewSavedData) {
- const primaryOutlet = viewSavedData.get('primary');
- 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) {
- url = primaryOutlet.route._routerState.snapshot.url;
- }
- }
- const {
- animationBuilder
- } = this.navCtrl.consumeTransition();
- return this.navCtrl.navigateBack(url, Object.assign(Object.assign({}, view.savedExtras), {
- animation: animationBuilder
- })).then(() => true);
- });
- }
- startBackTransition() {
- const leavingView = this.activeView;
- if (leavingView) {
- const views = this.getStack(leavingView.stackId);
- const enteringView = views[views.length - 2];
- const customAnimation = enteringView.animationBuilder;
- return this.wait(() => {
- return this.transition(enteringView, // entering view
- leavingView, // leaving view
- 'back', this.canGoBack(2), true, customAnimation);
- });
- }
- return Promise.resolve();
- }
- endBackTransition(shouldComplete) {
- if (shouldComplete) {
- this.skipTransition = true;
- this.pop(1);
- } else if (this.activeView) {
- cleanup(this.activeView, this.views, this.views, this.location, this.zone);
- }
- }
- getLastUrl(stackId) {
- const views = this.getStack(stackId);
- return views.length > 0 ? views[views.length - 1] : undefined;
- }
- /**
- * @internal
- */
- getRootUrl(stackId) {
- const views = this.getStack(stackId);
- return views.length > 0 ? views[0] : undefined;
- }
- getActiveStackId() {
- return this.activeView ? this.activeView.stackId : undefined;
- }
- hasRunningTask() {
- return this.runningTask !== undefined;
- }
- destroy() {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- this.containerEl = undefined;
- this.views.forEach(destroyView);
- this.activeView = undefined;
- this.views = [];
- }
- getStack(stackId) {
- return this.views.filter(v => v.stackId === stackId);
- }
- insertView(enteringView, direction) {
- this.activeView = enteringView;
- this.views = insertView(this.views, enteringView, direction);
- return this.views.slice();
- }
- transition(enteringView, leavingView, direction, showGoBack, progressAnimation, animationBuilder) {
- if (this.skipTransition) {
- this.skipTransition = false;
- return Promise.resolve(false);
- }
- if (leavingView === enteringView) {
- return Promise.resolve(false);
- }
- const enteringEl = enteringView ? enteringView.element : undefined;
- const leavingEl = leavingView ? leavingView.element : undefined;
- const containerEl = this.containerEl;
- if (enteringEl && enteringEl !== leavingEl) {
- enteringEl.classList.add('ion-page');
- enteringEl.classList.add('ion-page-invisible');
- if (enteringEl.parentElement !== containerEl) {
- containerEl.appendChild(enteringEl);
- }
- if (containerEl.commit) {
- return containerEl.commit(enteringEl, leavingEl, {
- deepWait: true,
- duration: direction === undefined ? 0 : undefined,
- direction,
- showGoBack,
- progressAnimation,
- animationBuilder
- });
- }
- }
- return Promise.resolve(false);
- }
- wait(task) {
- return (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__awaiter)(this, void 0, void 0, function* () {
- if (this.runningTask !== undefined) {
- yield this.runningTask;
- this.runningTask = undefined;
- }
- const promise = this.runningTask = task();
- promise.finally(() => this.runningTask = undefined);
- return promise;
- });
- }
- }
- const cleanupAsync = (activeRoute, views, viewsSnapshot, location, zone) => {
- if (typeof requestAnimationFrame === 'function') {
- return new Promise(resolve => {
- requestAnimationFrame(() => {
- cleanup(activeRoute, views, viewsSnapshot, location, zone);
- resolve();
- });
- });
- }
- return Promise.resolve();
- };
- const cleanup = (activeRoute, views, viewsSnapshot, location, zone) => {
- /**
- * Re-enter the Angular zone when destroying page components. This will allow
- * lifecycle events (`ngOnDestroy`) to be run inside the Angular zone.
- */
- zone.run(() => viewsSnapshot.filter(view => !views.includes(view)).forEach(destroyView));
- views.forEach(view => {
- /**
- * In the event that a user navigated multiple
- * times in rapid succession, we want to make sure
- * we don't pre-emptively detach a view while
- * it is in mid-transition.
- *
- * In this instance we also do not care about query
- * params or fragments as it will be the same view regardless
- */
- const locationWithoutParams = location.path().split('?')[0];
- const locationWithoutFragment = locationWithoutParams.split('#')[0];
- if (view !== activeRoute && view.url !== locationWithoutFragment) {
- const element = view.element;
- element.setAttribute('aria-hidden', 'true');
- element.classList.add('ion-page-hidden');
- view.ref.changeDetectorRef.detach();
- }
- });
- };
- class Config {
- get(key, fallback) {
- const c = getConfig();
- if (c) {
- return c.get(key, fallback);
- }
- return null;
- }
- getBoolean(key, fallback) {
- const c = getConfig();
- if (c) {
- return c.getBoolean(key, fallback);
- }
- return false;
- }
- getNumber(key, fallback) {
- const c = getConfig();
- if (c) {
- return c.getNumber(key, fallback);
- }
- return 0;
- }
- }
- /** @nocollapse */
- Config.ɵfac = function Config_Factory(t) {
- return new (t || Config)();
- };
- /** @nocollapse */
- Config.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: Config,
- factory: Config.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](Config, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- const ConfigToken = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.InjectionToken('USERCONFIG');
- const getConfig = () => {
- if (typeof window !== 'undefined') {
- const Ionic = window.Ionic;
- if (Ionic === null || Ionic === void 0 ? void 0 : Ionic.config) {
- return Ionic.config;
- }
- }
- return null;
- };
- class Platform {
- constructor(doc, zone) {
- this.doc = doc;
- /**
- * @hidden
- */
- this.backButton = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
- /**
- * The keyboardDidShow event emits when the
- * on-screen keyboard is presented.
- */
- this.keyboardDidShow = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
- /**
- * The keyboardDidHide event emits when the
- * on-screen keyboard is hidden.
- */
- this.keyboardDidHide = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
- /**
- * The pause event emits when the native platform puts the application
- * into the background, typically when the user switches to a different
- * application. This event would emit when a Cordova app is put into
- * the background, however, it would not fire on a standard web browser.
- */
- this.pause = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
- /**
- * The resume event emits when the native platform pulls the application
- * out from the background. This event would emit when a Cordova app comes
- * out from the background, however, it would not fire on a standard web browser.
- */
- this.resume = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
- /**
- * The resize event emits when the browser window has changed dimensions. This
- * could be from a browser window being physically resized, or from a device
- * changing orientation.
- */
- this.resize = new rxjs__WEBPACK_IMPORTED_MODULE_6__.Subject();
- zone.run(() => {
- var _a;
- this.win = doc.defaultView;
- this.backButton.subscribeWithPriority = function (priority, callback) {
- return this.subscribe(ev => {
- return ev.register(priority, processNextHandler => zone.run(() => callback(processNextHandler)));
- });
- };
- proxyEvent(this.pause, doc, 'pause');
- proxyEvent(this.resume, doc, 'resume');
- proxyEvent(this.backButton, doc, 'ionBackButton');
- proxyEvent(this.resize, this.win, 'resize');
- proxyEvent(this.keyboardDidShow, this.win, 'ionKeyboardDidShow');
- proxyEvent(this.keyboardDidHide, this.win, 'ionKeyboardDidHide');
- let readyResolve;
- this._readyPromise = new Promise(res => {
- readyResolve = res;
- });
- if ((_a = this.win) === null || _a === void 0 ? void 0 : _a['cordova']) {
- doc.addEventListener('deviceready', () => {
- readyResolve('cordova');
- }, {
- once: true
- });
- } else {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- readyResolve('dom');
- }
- });
- }
- /**
- * @returns returns true/false based on platform.
- * @description
- * Depending on the platform the user is on, `is(platformName)` will
- * return `true` or `false`. Note that the same app can return `true`
- * for more than one platform name. For example, an app running from
- * an iPad would return `true` for the platform names: `mobile`,
- * `ios`, `ipad`, and `tablet`. Additionally, if the app was running
- * from Cordova then `cordova` would be true, and if it was running
- * from a web browser on the iPad then `mobileweb` would be `true`.
- *
- * ```
- * import { Platform } from 'ionic-angular';
- *
- * @Component({...})
- * export MyPage {
- * constructor(public platform: Platform) {
- * if (this.platform.is('ios')) {
- * // This will only print when on iOS
- * console.log('I am an iOS device!');
- * }
- * }
- * }
- * ```
- *
- * | Platform Name | Description |
- * |-----------------|------------------------------------|
- * | android | on a device running Android. |
- * | capacitor | on a device running Capacitor. |
- * | cordova | on a device running Cordova. |
- * | ios | on a device running iOS. |
- * | ipad | on an iPad device. |
- * | iphone | on an iPhone device. |
- * | phablet | on a phablet device. |
- * | tablet | on a tablet device. |
- * | electron | in Electron on a desktop device. |
- * | pwa | as a PWA app. |
- * | mobile | on a mobile device. |
- * | mobileweb | on a mobile device in a browser. |
- * | desktop | on a desktop device. |
- * | hybrid | is a cordova or capacitor app. |
- *
- */
- is(platformName) {
- return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.isPlatform)(this.win, platformName);
- }
- /**
- * @returns the array of platforms
- * @description
- * Depending on what device you are on, `platforms` can return multiple values.
- * Each possible value is a hierarchy of platforms. For example, on an iPhone,
- * it would return `mobile`, `ios`, and `iphone`.
- *
- * ```
- * import { Platform } from 'ionic-angular';
- *
- * @Component({...})
- * export MyPage {
- * constructor(public platform: Platform) {
- * // This will print an array of the current platforms
- * console.log(this.platform.platforms());
- * }
- * }
- * ```
- */
- platforms() {
- return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.getPlatforms)(this.win);
- }
- /**
- * Returns a promise when the platform is ready and native functionality
- * can be called. If the app is running from within a web browser, then
- * the promise will resolve when the DOM is ready. When the app is running
- * from an application engine such as Cordova, then the promise will
- * resolve when Cordova triggers the `deviceready` event.
- *
- * The resolved value is the `readySource`, which states which platform
- * ready was used. For example, when Cordova is ready, the resolved ready
- * source is `cordova`. The default ready source value will be `dom`. The
- * `readySource` is useful if different logic should run depending on the
- * platform the app is running from. For example, only Cordova can execute
- * the status bar plugin, so the web should not run status bar plugin logic.
- *
- * ```
- * import { Component } from '@angular/core';
- * import { Platform } from 'ionic-angular';
- *
- * @Component({...})
- * export MyApp {
- * constructor(public platform: Platform) {
- * this.platform.ready().then((readySource) => {
- * console.log('Platform ready from', readySource);
- * // Platform now ready, execute any required native code
- * });
- * }
- * }
- * ```
- */
- ready() {
- return this._readyPromise;
- }
- /**
- * Returns if this app is using right-to-left language direction or not.
- * We recommend the app's `index.html` file already has the correct `dir`
- * attribute value set, such as `<html dir="ltr">` or `<html dir="rtl">`.
- * [W3C: Structural markup and right-to-left text in HTML](http://www.w3.org/International/questions/qa-html-dir)
- */
- get isRTL() {
- return this.doc.dir === 'rtl';
- }
- /**
- * Get the query string parameter
- */
- getQueryParam(key) {
- return readQueryParam(this.win.location.href, key);
- }
- /**
- * Returns `true` if the app is in landscape mode.
- */
- isLandscape() {
- return !this.isPortrait();
- }
- /**
- * Returns `true` if the app is in portrait mode.
- */
- isPortrait() {
- var _a, _b;
- return (_b = (_a = this.win).matchMedia) === null || _b === void 0 ? void 0 : _b.call(_a, '(orientation: portrait)').matches;
- }
- testUserAgent(expression) {
- const nav = this.win.navigator;
- return !!((nav === null || nav === void 0 ? void 0 : nav.userAgent) && nav.userAgent.indexOf(expression) >= 0);
- }
- /**
- * Get the current url.
- */
- url() {
- return this.win.location.href;
- }
- /**
- * Gets the width of the platform's viewport using `window.innerWidth`.
- */
- width() {
- return this.win.innerWidth;
- }
- /**
- * Gets the height of the platform's viewport using `window.innerHeight`.
- */
- height() {
- return this.win.innerHeight;
- }
- }
- /** @nocollapse */
- Platform.ɵfac = function Platform_Factory(t) {
- 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));
- };
- /** @nocollapse */
- Platform.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: Platform,
- factory: Platform.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](Platform, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.DOCUMENT]
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- const readQueryParam = (url, key) => {
- key = key.replace(/[[\]\\]/g, '\\$&');
- const regex = new RegExp('[\\?&]' + key + '=([^&#]*)');
- const results = regex.exec(url);
- return results ? decodeURIComponent(results[1].replace(/\+/g, ' ')) : null;
- };
- const proxyEvent = (emitter, el, eventName) => {
- if (el) {
- el.addEventListener(eventName, ev => {
- // ?? cordova might emit "null" events
- emitter.next(ev != null ? ev.detail : undefined);
- });
- }
- };
- class NavController {
- constructor(platform, location, serializer, router) {
- this.location = location;
- this.serializer = serializer;
- this.router = router;
- this.direction = DEFAULT_DIRECTION;
- this.animated = DEFAULT_ANIMATED;
- this.guessDirection = 'forward';
- this.lastNavId = -1; // Subscribe to router events to detect direction
- if (router) {
- router.events.subscribe(ev => {
- if (ev instanceof _angular_router__WEBPACK_IMPORTED_MODULE_8__.NavigationStart) {
- const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
- this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
- this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
- this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
- }
- });
- } // Subscribe to backButton events
- platform.backButton.subscribeWithPriority(0, processNextHandler => {
- this.pop();
- processNextHandler();
- });
- }
- /**
- * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
- * it's equivalent to calling `this.router.navigateByUrl()`, but it's explicit about the **direction** of the transition.
- *
- * Going **forward** means that a new page is going to be pushed to the stack of the outlet (ion-router-outlet),
- * and that it will show a "forward" animation by default.
- *
- * Navigating forward can also be triggered in a declarative manner by using the `[routerDirection]` directive:
- *
- * ```html
- * <a routerLink="/path/to/page" routerDirection="forward">Link</a>
- * ```
- */
- navigateForward(url, options = {}) {
- this.setDirection('forward', options.animated, options.animationDirection, options.animation);
- return this.navigate(url, options);
- }
- /**
- * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
- * it's equivalent to calling:
- *
- * ```ts
- * this.navController.setDirection('back');
- * this.router.navigateByUrl(path);
- * ```
- *
- * Going **back** means that all the pages in the stack until the navigated page is found will be popped,
- * and that it will show a "back" animation by default.
- *
- * Navigating back can also be triggered in a declarative manner by using the `[routerDirection]` directive:
- *
- * ```html
- * <a routerLink="/path/to/page" routerDirection="back">Link</a>
- * ```
- */
- navigateBack(url, options = {}) {
- this.setDirection('back', options.animated, options.animationDirection, options.animation);
- return this.navigate(url, options);
- }
- /**
- * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
- * it's equivalent to calling:
- *
- * ```ts
- * this.navController.setDirection('root');
- * this.router.navigateByUrl(path);
- * ```
- *
- * Going **root** means that all existing pages in the stack will be removed,
- * and the navigated page will become the single page in the stack.
- *
- * Navigating root can also be triggered in a declarative manner by using the `[routerDirection]` directive:
- *
- * ```html
- * <a routerLink="/path/to/page" routerDirection="root">Link</a>
- * ```
- */
- navigateRoot(url, options = {}) {
- this.setDirection('root', options.animated, options.animationDirection, options.animation);
- return this.navigate(url, options);
- }
- /**
- * Same as [Location](https://angular.io/api/common/Location)'s back() method.
- * It will use the standard `window.history.back()` under the hood, but featuring a `back` animation
- * by default.
- */
- back(options = {
- animated: true,
- animationDirection: 'back'
- }) {
- this.setDirection('back', options.animated, options.animationDirection, options.animation);
- return this.location.back();
- }
- /**
- * This methods goes back in the context of Ionic's stack navigation.
- *
- * It recursively finds the top active `ion-router-outlet` and calls `pop()`.
- * This is the recommended way to go back when you are using `ion-router-outlet`.
- */
- pop() {
- return (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__awaiter)(this, void 0, void 0, function* () {
- let outlet = this.topOutlet;
- while (outlet) {
- if (yield outlet.pop()) {
- break;
- } else {
- outlet = outlet.parentOutlet;
- }
- }
- });
- }
- /**
- * This methods specifies the direction of the next navigation performed by the Angular router.
- *
- * `setDirection()` does not trigger any transition, it just sets some flags to be consumed by `ion-router-outlet`.
- *
- * It's recommended to use `navigateForward()`, `navigateBack()` and `navigateRoot()` instead of `setDirection()`.
- */
- setDirection(direction, animated, animationDirection, animationBuilder) {
- this.direction = direction;
- this.animated = getAnimation(direction, animated, animationDirection);
- this.animationBuilder = animationBuilder;
- }
- /**
- * @internal
- */
- setTopOutlet(outlet) {
- this.topOutlet = outlet;
- }
- /**
- * @internal
- */
- consumeTransition() {
- let direction = 'root';
- let animation;
- const animationBuilder = this.animationBuilder;
- if (this.direction === 'auto') {
- direction = this.guessDirection;
- animation = this.guessAnimation;
- } else {
- animation = this.animated;
- direction = this.direction;
- }
- this.direction = DEFAULT_DIRECTION;
- this.animated = DEFAULT_ANIMATED;
- this.animationBuilder = undefined;
- return {
- direction,
- animation,
- animationBuilder
- };
- }
- navigate(url, options) {
- if (Array.isArray(url)) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- return this.router.navigate(url, options);
- } else {
- /**
- * navigateByUrl ignores any properties that
- * would change the url, so things like queryParams
- * would be ignored unless we create a url tree
- * More Info: https://github.com/angular/angular/issues/18798
- */
- const urlTree = this.serializer.parse(url.toString());
- if (options.queryParams !== undefined) {
- urlTree.queryParams = Object.assign({}, options.queryParams);
- }
- if (options.fragment !== undefined) {
- urlTree.fragment = options.fragment;
- }
- /**
- * `navigateByUrl` will still apply `NavigationExtras` properties
- * that do not modify the url, such as `replaceUrl` which is why
- * `options` is passed in here.
- */
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- return this.router.navigateByUrl(urlTree, options);
- }
- }
- }
- /** @nocollapse */
- NavController.ɵfac = function NavController_Factory(t) {
- 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));
- };
- /** @nocollapse */
- NavController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: NavController,
- factory: NavController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](NavController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: Platform
- }, {
- type: _angular_common__WEBPACK_IMPORTED_MODULE_7__.Location
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.UrlSerializer
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.Router,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }]
- }];
- }, null);
- })();
- const getAnimation = (direction, animated, animationDirection) => {
- if (animated === false) {
- return undefined;
- }
- if (animationDirection !== undefined) {
- return animationDirection;
- }
- if (direction === 'forward' || direction === 'back') {
- return direction;
- } else if (direction === 'root' && animated === true) {
- return 'forward';
- }
- return undefined;
- };
- const DEFAULT_DIRECTION = 'auto';
- const DEFAULT_ANIMATED = undefined; // eslint-disable-next-line @angular-eslint/directive-class-suffix
- class IonRouterOutlet {
- constructor(parentContexts, location, name, tabs, config, navCtrl, componentFactoryResolver, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
- this.parentContexts = parentContexts;
- this.location = location;
- this.config = config;
- this.navCtrl = navCtrl;
- this.componentFactoryResolver = componentFactoryResolver;
- this.parentOutlet = parentOutlet;
- this.activated = null;
- this.activatedView = null;
- this._activatedRoute = null; // Maintain map of activated route proxies for each component instance
- this.proxyMap = new WeakMap(); // Keep the latest activated route in a subject for the proxy routes to switch map to
- this.currentActivatedRoute$ = new rxjs__WEBPACK_IMPORTED_MODULE_9__.BehaviorSubject(null);
- this.stackEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter(); // eslint-disable-next-line @angular-eslint/no-output-rename
- this.activateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter(); // eslint-disable-next-line @angular-eslint/no-output-rename
- this.deactivateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
- this.nativeEl = elementRef.nativeElement;
- this.name = name || _angular_router__WEBPACK_IMPORTED_MODULE_8__.PRIMARY_OUTLET;
- this.tabsPrefix = tabs === 'true' ? getUrl(router, activatedRoute) : undefined;
- this.stackCtrl = new StackController(this.tabsPrefix, this.nativeEl, router, navCtrl, zone, commonLocation);
- parentContexts.onChildOutletCreated(this.name, this);
- }
- set animation(animation) {
- this.nativeEl.animation = animation;
- }
- set animated(animated) {
- this.nativeEl.animated = animated;
- }
- set swipeGesture(swipe) {
- this._swipeGesture = swipe;
- this.nativeEl.swipeHandler = swipe ? {
- canStart: () => this.stackCtrl.canGoBack(1) && !this.stackCtrl.hasRunningTask(),
- onStart: () => this.stackCtrl.startBackTransition(),
- onEnd: shouldContinue => this.stackCtrl.endBackTransition(shouldContinue)
- } : undefined;
- }
- ngOnDestroy() {
- this.stackCtrl.destroy();
- }
- getContext() {
- return this.parentContexts.getContext(this.name);
- }
- ngOnInit() {
- if (!this.activated) {
- // If the outlet was not instantiated at the time the route got activated we need to populate
- // the outlet when it is initialized (ie inside a NgIf)
- const context = this.getContext();
- if (context === null || context === void 0 ? void 0 : context.route) {
- this.activateWith(context.route, context.resolver || null);
- }
- }
- new Promise(resolve => (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.componentOnReady)(this.nativeEl, resolve)).then(() => {
- if (this._swipeGesture === undefined) {
- this.swipeGesture = this.config.getBoolean('swipeBackEnabled', this.nativeEl.mode === 'ios');
- }
- });
- }
- get isActivated() {
- return !!this.activated;
- }
- get component() {
- if (!this.activated) {
- throw new Error('Outlet is not activated');
- }
- return this.activated.instance;
- }
- get activatedRoute() {
- if (!this.activated) {
- throw new Error('Outlet is not activated');
- }
- return this._activatedRoute;
- }
- get activatedRouteData() {
- if (this._activatedRoute) {
- return this._activatedRoute.snapshot.data;
- }
- return {};
- }
- /**
- * Called when the `RouteReuseStrategy` instructs to detach the subtree
- */
- detach() {
- throw new Error('incompatible reuse strategy');
- }
- /**
- * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree
- */
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
- attach(_ref, _activatedRoute) {
- throw new Error('incompatible reuse strategy');
- }
- deactivate() {
- if (this.activated) {
- if (this.activatedView) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- const context = this.getContext();
- this.activatedView.savedData = new Map(context.children['contexts']);
- /**
- * Angular v11.2.10 introduced a change
- * where this route context is cleared out when
- * a router-outlet is deactivated, However,
- * we need this route information in order to
- * return a user back to the correct tab when
- * leaving and then going back to the tab context.
- */
- const primaryOutlet = this.activatedView.savedData.get('primary');
- if (primaryOutlet && context.route) {
- primaryOutlet.route = Object.assign({}, context.route);
- }
- /**
- * Ensure we are saving the NavigationExtras
- * data otherwise it will be lost
- */
- this.activatedView.savedExtras = {};
- if (context.route) {
- const contextSnapshot = context.route.snapshot;
- this.activatedView.savedExtras.queryParams = contextSnapshot.queryParams;
- this.activatedView.savedExtras.fragment = contextSnapshot.fragment;
- }
- }
- const c = this.component;
- this.activatedView = null;
- this.activated = null;
- this._activatedRoute = null;
- this.deactivateEvents.emit(c);
- }
- }
- activateWith(activatedRoute, resolverOrInjector) {
- var _a;
- if (this.isActivated) {
- throw new Error('Cannot activate an already activated outlet');
- }
- this._activatedRoute = activatedRoute;
- let cmpRef;
- let enteringView = this.stackCtrl.getExistingView(activatedRoute);
- if (enteringView) {
- cmpRef = this.activated = enteringView.ref;
- const saved = enteringView.savedData;
- if (saved) {
- // self-restore
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- const context = this.getContext();
- context.children['contexts'] = saved;
- } // Updated activated route proxy for this component
- this.updateActivatedRouteProxy(cmpRef.instance, activatedRoute);
- } else {
- const snapshot = activatedRoute._futureSnapshot;
- /**
- * Angular 14 introduces a new `loadComponent` property to the route config.
- * This function will assign a `component` property to the route snapshot.
- * We check for the presence of this property to determine if the route is
- * using standalone components.
- */
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- if (snapshot.routeConfig.component == null && this.environmentInjector == null) {
- 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>');
- return;
- }
- const childContexts = this.parentContexts.getOrCreateContext(this.name).children; // We create an activated route proxy object that will maintain future updates for this component
- // over its lifecycle in the stack.
- const component$ = new rxjs__WEBPACK_IMPORTED_MODULE_9__.BehaviorSubject(null);
- const activatedRouteProxy = this.createActivatedRouteProxy(component$, activatedRoute);
- const injector = new OutletInjector(activatedRouteProxy, childContexts, this.location.injector);
- /**
- * The resolver is not always provided and is required in Angular 12.
- * Fallback to the class-level provider when the resolver is not set.
- */
- resolverOrInjector = resolverOrInjector || this.componentFactoryResolver; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- const component = (_a = snapshot.routeConfig.component) !== null && _a !== void 0 ? _a : snapshot.component;
- if (resolverOrInjector && isComponentFactoryResolver(resolverOrInjector)) {
- // Backwards compatibility for Angular 13 and lower
- const factory = resolverOrInjector.resolveComponentFactory(component);
- cmpRef = this.activated = this.location.createComponent(factory, this.location.length, injector);
- } else {
- /**
- * Angular 14 and higher.
- *
- * TODO: FW-1641: Migrate once Angular 13 support is dropped.
- *
- * When we drop < Angular 14, we can replace the following code with:
- * ```ts
- const environmentInjector = resolverOrInjector ?? this.environmentInjector;
- cmpRef = this.activated = location.createComponent(component, {
- index: location.length,
- injector,
- environmentInjector,
- });
- * ```
- * where `this.environmentInjector` is a provider of `EnvironmentInjector` from @angular/core.
- */
- const environmentInjector = resolverOrInjector !== null && resolverOrInjector !== void 0 ? resolverOrInjector : this.environmentInjector;
- cmpRef = this.activated = this.location.createComponent(component, {
- index: this.location.length,
- injector,
- environmentInjector
- });
- } // Once the component is created we can push it to our local subject supplied to the proxy
- component$.next(cmpRef.instance); // Calling `markForCheck` to make sure we will run the change detection when the
- // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.
- enteringView = this.stackCtrl.createView(this.activated, activatedRoute); // Store references to the proxy by component
- this.proxyMap.set(cmpRef.instance, activatedRouteProxy);
- this.currentActivatedRoute$.next({
- component: cmpRef.instance,
- activatedRoute
- });
- }
- this.activatedView = enteringView;
- /**
- * The top outlet is set prior to the entering view's transition completing,
- * so that when we have nested outlets (e.g. ion-tabs inside an ion-router-outlet),
- * the tabs outlet will be assigned as the top outlet when a view inside tabs is
- * activated.
- *
- * In this scenario, activeWith is called for both the tabs and the root router outlet.
- * To avoid a race condition, we assign the top outlet synchronously.
- */
- this.navCtrl.setTopOutlet(this);
- this.stackCtrl.setActive(enteringView).then(data => {
- this.activateEvents.emit(cmpRef.instance);
- this.stackEvents.emit(data);
- });
- }
- /**
- * Returns `true` if there are pages in the stack to go back.
- */
- canGoBack(deep = 1, stackId) {
- return this.stackCtrl.canGoBack(deep, stackId);
- }
- /**
- * Resolves to `true` if it the outlet was able to sucessfully pop the last N pages.
- */
- pop(deep = 1, stackId) {
- return this.stackCtrl.pop(deep, stackId);
- }
- /**
- * Returns the URL of the active page of each stack.
- */
- getLastUrl(stackId) {
- const active = this.stackCtrl.getLastUrl(stackId);
- return active ? active.url : undefined;
- }
- /**
- * Returns the RouteView of the active page of each stack.
- * @internal
- */
- getLastRouteView(stackId) {
- return this.stackCtrl.getLastUrl(stackId);
- }
- /**
- * Returns the root view in the tab stack.
- * @internal
- */
- getRootView(stackId) {
- return this.stackCtrl.getRootUrl(stackId);
- }
- /**
- * Returns the active stack ID. In the context of ion-tabs, it means the active tab.
- */
- getActiveStackId() {
- return this.stackCtrl.getActiveStackId();
- }
- /**
- * Since the activated route can change over the life time of a component in an ion router outlet, we create
- * a proxy so that we can update the values over time as a user navigates back to components already in the stack.
- */
- createActivatedRouteProxy(component$, activatedRoute) {
- const proxy = new _angular_router__WEBPACK_IMPORTED_MODULE_8__.ActivatedRoute();
- proxy._futureSnapshot = activatedRoute._futureSnapshot;
- proxy._routerState = activatedRoute._routerState;
- proxy.snapshot = activatedRoute.snapshot;
- proxy.outlet = activatedRoute.outlet;
- 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
- proxy._paramMap = this.proxyObservable(component$, 'paramMap');
- proxy._queryParamMap = this.proxyObservable(component$, 'queryParamMap');
- proxy.url = this.proxyObservable(component$, 'url');
- proxy.params = this.proxyObservable(component$, 'params');
- proxy.queryParams = this.proxyObservable(component$, 'queryParams');
- proxy.fragment = this.proxyObservable(component$, 'fragment');
- proxy.data = this.proxyObservable(component$, 'data');
- return proxy;
- }
- /**
- * Create a wrapped observable that will switch to the latest activated route matched by the given component
- */
- proxyObservable(component$, path) {
- return component$.pipe( // First wait until the component instance is pushed
- (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)())));
- }
- /**
- * Updates the activated route proxy for the given component to the new incoming router state
- */
- updateActivatedRouteProxy(component, activatedRoute) {
- const proxy = this.proxyMap.get(component);
- if (!proxy) {
- throw new Error(`Could not find activated route proxy for view`);
- }
- proxy._futureSnapshot = activatedRoute._futureSnapshot;
- proxy._routerState = activatedRoute._routerState;
- proxy.snapshot = activatedRoute.snapshot;
- proxy.outlet = activatedRoute.outlet;
- proxy.component = activatedRoute.component;
- this.currentActivatedRoute$.next({
- component,
- activatedRoute
- });
- }
- }
- /** @nocollapse */
- IonRouterOutlet.ɵfac = function IonRouterOutlet_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonRouterOutlet.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: IonRouterOutlet,
- selectors: [["ion-router-outlet"]],
- inputs: {
- animated: "animated",
- animation: "animation",
- mode: "mode",
- swipeGesture: "swipeGesture",
- environmentInjector: "environmentInjector"
- },
- outputs: {
- stackEvents: "stackEvents",
- activateEvents: "activate",
- deactivateEvents: "deactivate"
- },
- exportAs: ["outlet"]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonRouterOutlet, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: 'ion-router-outlet',
- exportAs: 'outlet',
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
- inputs: ['animated', 'animation', 'mode', 'swipeGesture']
- }]
- }], function () {
- return [{
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.ChildrenOutletContexts
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Attribute,
- args: ['name']
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Attribute,
- args: ['tabs']
- }]
- }, {
- type: Config
- }, {
- type: NavController
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }]
- }, {
- type: _angular_common__WEBPACK_IMPORTED_MODULE_7__.Location
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.Router
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.ActivatedRoute
- }, {
- type: IonRouterOutlet,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.SkipSelf
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }]
- }];
- }, {
- environmentInjector: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
- }],
- stackEvents: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output
- }],
- activateEvents: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output,
- args: ['activate']
- }],
- deactivateEvents: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output,
- args: ['deactivate']
- }]
- });
- })();
- class OutletInjector {
- constructor(route, childContexts, parent) {
- this.route = route;
- this.childContexts = childContexts;
- this.parent = parent;
- }
- get(token, notFoundValue) {
- if (token === _angular_router__WEBPACK_IMPORTED_MODULE_8__.ActivatedRoute) {
- return this.route;
- }
- if (token === _angular_router__WEBPACK_IMPORTED_MODULE_8__.ChildrenOutletContexts) {
- return this.childContexts;
- }
- return this.parent.get(token, notFoundValue);
- }
- } // eslint-disable-next-line @angular-eslint/component-class-suffix
- class IonTabs {
- constructor(navCtrl) {
- this.navCtrl = navCtrl;
- this.ionTabsWillChange = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
- this.ionTabsDidChange = new _angular_core__WEBPACK_IMPORTED_MODULE_2__.EventEmitter();
- }
- /**
- * @internal
- */
- onPageSelected(detail) {
- const stackId = detail.enteringView.stackId;
- if (detail.tabSwitch && stackId !== undefined) {
- this.ionTabsWillChange.emit({
- tab: stackId
- });
- if (this.tabBar) {
- this.tabBar.selectedTab = stackId;
- }
- this.ionTabsDidChange.emit({
- tab: stackId
- });
- }
- }
- /**
- * When a tab button is clicked, there are several scenarios:
- * 1. If the selected tab is currently active (the tab button has been clicked
- * again), then it should go to the root view for that tab.
- *
- * a. Get the saved root view from the router outlet. If the saved root view
- * matches the tabRootUrl, set the route view to this view including the
- * navigation extras.
- * b. If the saved root view from the router outlet does
- * not match, navigate to the tabRootUrl. No navigation extras are
- * included.
- *
- * 2. If the current tab tab is not currently selected, get the last route
- * view from the router outlet.
- *
- * a. If the last route view exists, navigate to that view including any
- * navigation extras
- * b. If the last route view doesn't exist, then navigate
- * to the default tabRootUrl
- */
- select(tabOrEvent) {
- const isTabString = typeof tabOrEvent === 'string';
- const tab = isTabString ? tabOrEvent : tabOrEvent.detail.tab;
- const alreadySelected = this.outlet.getActiveStackId() === tab;
- const tabRootUrl = `${this.outlet.tabsPrefix}/${tab}`;
- /**
- * If this is a nested tab, prevent the event
- * from bubbling otherwise the outer tabs
- * will respond to this event too, causing
- * the app to get directed to the wrong place.
- */
- if (!isTabString) {
- tabOrEvent.stopPropagation();
- }
- if (alreadySelected) {
- const activeStackId = this.outlet.getActiveStackId();
- const activeView = this.outlet.getLastRouteView(activeStackId); // If on root tab, do not navigate to root tab again
- if ((activeView === null || activeView === void 0 ? void 0 : activeView.url) === tabRootUrl) {
- return;
- }
- const rootView = this.outlet.getRootView(tab);
- const navigationExtras = rootView && tabRootUrl === rootView.url && rootView.savedExtras;
- return this.navCtrl.navigateRoot(tabRootUrl, Object.assign(Object.assign({}, navigationExtras), {
- animated: true,
- animationDirection: 'back'
- }));
- } else {
- const lastRoute = this.outlet.getLastRouteView(tab);
- /**
- * If there is a lastRoute, goto that, otherwise goto the fallback url of the
- * selected tab
- */
- const url = (lastRoute === null || lastRoute === void 0 ? void 0 : lastRoute.url) || tabRootUrl;
- const navigationExtras = lastRoute === null || lastRoute === void 0 ? void 0 : lastRoute.savedExtras;
- return this.navCtrl.navigateRoot(url, Object.assign(Object.assign({}, navigationExtras), {
- animated: true,
- animationDirection: 'back'
- }));
- }
- }
- getSelected() {
- return this.outlet.getActiveStackId();
- }
- }
- /** @nocollapse */
- IonTabs.ɵfac = function IonTabs_Factory(t) {
- return new (t || IonTabs)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](NavController));
- };
- /** @nocollapse */
- IonTabs.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonTabs,
- selectors: [["ion-tabs"]],
- contentQueries: function IonTabs_ContentQueries(rf, ctx, dirIndex) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, IonTabBar, 5);
- }
- if (rf & 2) {
- let _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.tabBar = _t.first);
- }
- },
- viewQuery: function IonTabs_Query(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵviewQuery"](_c1, 5, IonRouterOutlet);
- }
- if (rf & 2) {
- let _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.outlet = _t.first);
- }
- },
- hostBindings: function IonTabs_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ionTabButtonClick", function IonTabs_ionTabButtonClick_HostBindingHandler($event) {
- return ctx.select($event);
- });
- }
- },
- inputs: {
- environmentInjector: "environmentInjector"
- },
- outputs: {
- ionTabsWillChange: "ionTabsWillChange",
- ionTabsDidChange: "ionTabsDidChange"
- },
- ngContentSelectors: _c3,
- decls: 5,
- vars: 1,
- consts: [[1, "tabs-inner"], ["tabs", "true", 3, "environmentInjector", "stackEvents"], ["outlet", ""]],
- template: function IonTabs_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"](_c2);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "div", 0)(2, "ion-router-outlet", 1, 2);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("stackEvents", function IonTabs_Template_ion_router_outlet_stackEvents_2_listener($event) {
- return ctx.onPageSelected($event);
- });
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](4, 1);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("environmentInjector", ctx.environmentInjector);
- }
- },
- dependencies: [IonRouterOutlet],
- 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 }"]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonTabs, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-tabs',
- template: ` <ng-content select="[slot=top]"></ng-content>
- <div class="tabs-inner">
- <ion-router-outlet
- #outlet
- tabs="true"
- [environmentInjector]="environmentInjector"
- (stackEvents)="onPageSelected($event)"
- ></ion-router-outlet>
- </div>
- <ng-content></ng-content>`,
- styles: [`
- :host {
- display: flex;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- flex-direction: column;
- width: 100%;
- height: 100%;
- contain: layout size style;
- z-index: $z-index-page-container;
- }
- .tabs-inner {
- position: relative;
- flex: 1;
- contain: layout size style;
- }
- `]
- }]
- }], function () {
- return [{
- type: NavController
- }];
- }, {
- outlet: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewChild,
- args: ['outlet', {
- read: IonRouterOutlet,
- static: false
- }]
- }],
- tabBar: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
- args: [IonTabBar, {
- static: false
- }]
- }],
- environmentInjector: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
- }],
- ionTabsWillChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output
- }],
- ionTabsDidChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Output
- }],
- select: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['ionTabButtonClick', ['$event']]
- }]
- });
- })();
- class IonBackButtonDelegateDirective {
- constructor(routerOutlet, navCtrl, config) {
- this.routerOutlet = routerOutlet;
- this.navCtrl = navCtrl;
- this.config = config;
- }
- /**
- * @internal
- */
- onClick(ev) {
- var _a;
- const defaultHref = this.defaultHref || this.config.get('backButtonDefaultHref');
- if ((_a = this.routerOutlet) === null || _a === void 0 ? void 0 : _a.canGoBack()) {
- this.navCtrl.setDirection('back', undefined, undefined, this.routerAnimation);
- this.routerOutlet.pop();
- ev.preventDefault();
- } else if (defaultHref != null) {
- this.navCtrl.navigateBack(defaultHref, {
- animation: this.routerAnimation
- });
- ev.preventDefault();
- }
- }
- }
- /** @nocollapse */
- IonBackButtonDelegateDirective.ɵfac = function IonBackButtonDelegateDirective_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonBackButtonDelegateDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: IonBackButtonDelegateDirective,
- selectors: [["ion-back-button"]],
- hostBindings: function IonBackButtonDelegateDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function IonBackButtonDelegateDirective_click_HostBindingHandler($event) {
- return ctx.onClick($event);
- });
- }
- },
- inputs: {
- defaultHref: "defaultHref",
- routerAnimation: "routerAnimation"
- }
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonBackButtonDelegateDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: 'ion-back-button'
- }]
- }], function () {
- return [{
- type: IonRouterOutlet,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }]
- }, {
- type: NavController
- }, {
- type: Config
- }];
- }, {
- defaultHref: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
- }],
- routerAnimation: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
- }],
- onClick: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['click', ['$event']]
- }]
- });
- })();
- let NavDelegate = class NavDelegate {
- constructor(ref, resolver, injector, angularDelegate, location) {
- this.el = ref.nativeElement;
- ref.nativeElement.delegate = angularDelegate.create(resolver, injector, location);
- proxyOutputs(this, this.el, ['ionNavDidChange', 'ionNavWillChange']);
- }
- };
- /** @nocollapse */
- NavDelegate.ɵfac = function NavDelegate_Factory(t) {
- 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));
- };
- /** @nocollapse */
- NavDelegate.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: NavDelegate,
- selectors: [["ion-nav"]]
- });
- NavDelegate = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- inputs: ['animated', 'animation', 'root', 'rootParams', 'swipeGesture'],
- methods: ['push', 'insert', 'insertPages', 'pop', 'popTo', 'popToRoot', 'removeIndex', 'setRoot', 'setPages', 'getActive', 'getByIndex', 'canGoBack', 'getPrevious']
- })], NavDelegate);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](NavDelegate, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: 'ion-nav'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: AngularDelegate
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef
- }];
- }, null);
- })();
- /**
- * Adds support for Ionic routing directions and animations to the base Angular router link directive.
- *
- * When the router link is clicked, the directive will assign the direction and
- * animation so that the routing integration will transition correctly.
- */
- class RouterLinkDelegateDirective {
- constructor(locationStrategy, navCtrl, elementRef, router, routerLink) {
- this.locationStrategy = locationStrategy;
- this.navCtrl = navCtrl;
- this.elementRef = elementRef;
- this.router = router;
- this.routerLink = routerLink;
- this.routerDirection = 'forward';
- }
- ngOnInit() {
- this.updateTargetUrlAndHref();
- }
- ngOnChanges() {
- this.updateTargetUrlAndHref();
- }
- updateTargetUrlAndHref() {
- var _a;
- if ((_a = this.routerLink) === null || _a === void 0 ? void 0 : _a.urlTree) {
- const href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));
- this.elementRef.nativeElement.href = href;
- }
- }
- /**
- * @internal
- */
- onClick(ev) {
- this.navCtrl.setDirection(this.routerDirection, undefined, undefined, this.routerAnimation);
- /**
- * This prevents the browser from
- * performing a page reload when pressing
- * an Ionic component with routerLink.
- * The page reload interferes with routing
- * and causes ion-back-button to disappear
- * since the local history is wiped on reload.
- */
- ev.preventDefault();
- }
- }
- /** @nocollapse */
- RouterLinkDelegateDirective.ɵfac = function RouterLinkDelegateDirective_Factory(t) {
- 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));
- };
- /** @nocollapse */
- RouterLinkDelegateDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: RouterLinkDelegateDirective,
- selectors: [["", "routerLink", "", 5, "a", 5, "area"]],
- hostBindings: function RouterLinkDelegateDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function RouterLinkDelegateDirective_click_HostBindingHandler($event) {
- return ctx.onClick($event);
- });
- }
- },
- inputs: {
- routerDirection: "routerDirection",
- routerAnimation: "routerAnimation"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](RouterLinkDelegateDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: ':not(a):not(area)[routerLink]'
- }]
- }], function () {
- return [{
- type: _angular_common__WEBPACK_IMPORTED_MODULE_7__.LocationStrategy
- }, {
- type: NavController
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.Router
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLink,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }]
- }];
- }, {
- routerDirection: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
- }],
- routerAnimation: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
- }],
- onClick: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['click', ['$event']]
- }]
- });
- })();
- class RouterLinkWithHrefDelegateDirective {
- constructor(locationStrategy, navCtrl, elementRef, router, routerLink) {
- this.locationStrategy = locationStrategy;
- this.navCtrl = navCtrl;
- this.elementRef = elementRef;
- this.router = router;
- this.routerLink = routerLink;
- this.routerDirection = 'forward';
- }
- ngOnInit() {
- this.updateTargetUrlAndHref();
- }
- ngOnChanges() {
- this.updateTargetUrlAndHref();
- }
- updateTargetUrlAndHref() {
- var _a;
- if ((_a = this.routerLink) === null || _a === void 0 ? void 0 : _a.urlTree) {
- const href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));
- this.elementRef.nativeElement.href = href;
- }
- }
- /**
- * @internal
- */
- onClick() {
- this.navCtrl.setDirection(this.routerDirection, undefined, undefined, this.routerAnimation);
- }
- }
- /** @nocollapse */
- RouterLinkWithHrefDelegateDirective.ɵfac = function RouterLinkWithHrefDelegateDirective_Factory(t) {
- 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));
- };
- /** @nocollapse */
- RouterLinkWithHrefDelegateDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: RouterLinkWithHrefDelegateDirective,
- selectors: [["a", "routerLink", ""], ["area", "routerLink", ""]],
- hostBindings: function RouterLinkWithHrefDelegateDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("click", function RouterLinkWithHrefDelegateDirective_click_HostBindingHandler() {
- return ctx.onClick();
- });
- }
- },
- inputs: {
- routerDirection: "routerDirection",
- routerAnimation: "routerAnimation"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](RouterLinkWithHrefDelegateDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: 'a[routerLink],area[routerLink]'
- }]
- }], function () {
- return [{
- type: _angular_common__WEBPACK_IMPORTED_MODULE_7__.LocationStrategy
- }, {
- type: NavController
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.Router
- }, {
- type: _angular_router__WEBPACK_IMPORTED_MODULE_8__.RouterLink,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }]
- }];
- }, {
- routerDirection: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
- }],
- routerAnimation: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Input
- }],
- onClick: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.HostListener,
- args: ['click']
- }]
- });
- })();
- /**
- * @hidden
- */
- class VirtualFooter {
- constructor(templateRef) {
- this.templateRef = templateRef;
- }
- }
- /** @nocollapse */
- VirtualFooter.ɵfac = function VirtualFooter_Factory(t) {
- return new (t || VirtualFooter)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef));
- };
- /** @nocollapse */
- VirtualFooter.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: VirtualFooter,
- selectors: [["", "virtualFooter", ""]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](VirtualFooter, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: '[virtualFooter]'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef
- }];
- }, null);
- })();
- /**
- * @hidden
- */
- class VirtualHeader {
- constructor(templateRef) {
- this.templateRef = templateRef;
- }
- }
- /** @nocollapse */
- VirtualHeader.ɵfac = function VirtualHeader_Factory(t) {
- return new (t || VirtualHeader)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef));
- };
- /** @nocollapse */
- VirtualHeader.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: VirtualHeader,
- selectors: [["", "virtualHeader", ""]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](VirtualHeader, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: '[virtualHeader]'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef
- }];
- }, null);
- })();
- /**
- * @hidden
- */
- class VirtualItem {
- constructor(templateRef, viewContainer) {
- this.templateRef = templateRef;
- this.viewContainer = viewContainer;
- }
- }
- /** @nocollapse */
- VirtualItem.ɵfac = function VirtualItem_Factory(t) {
- 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));
- };
- /** @nocollapse */
- VirtualItem.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineDirective"]({
- type: VirtualItem,
- selectors: [["", "virtualItem", ""]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](VirtualItem, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Directive,
- args: [{
- selector: '[virtualItem]'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ViewContainerRef
- }];
- }, null);
- })();
- let IonVirtualScroll = class IonVirtualScroll {
- constructor(z, iterableDiffers, elementRef) {
- this.z = z;
- this.iterableDiffers = iterableDiffers;
- this.refMap = new WeakMap();
- this.el = elementRef.nativeElement;
- this.el.nodeRender = this.nodeRender.bind(this);
- }
- ngOnChanges(changes) {
- if (this.trackBy && 'items' in changes) {
- // React on virtualScroll changes only once all inputs have been initialized
- const value = changes['items'].currentValue;
- if (this.differ === undefined && value != null) {
- try {
- this.differ = this.iterableDiffers.find(value).create(this.trackBy);
- } catch (e) {
- throw new Error(`Cannot find a differ supporting object '${value}'. VirtualScroll only supports binding to Iterables such as Arrays.`);
- }
- }
- }
- }
- ngDoCheck() {
- // and if there actually are changes
- const changes = this.differ !== undefined && this.items ? this.differ.diff(this.items) : null;
- if (changes === null) {
- return;
- } // TODO: optimize
- this.checkRange(0);
- }
- nodeRender(el, cell, index) {
- return this.z.run(() => {
- let node;
- if (!el) {
- node = this.itmTmp.viewContainer.createEmbeddedView(this.getComponent(cell.type), {
- $implicit: cell.value,
- index
- }, index);
- el = getElement(node);
- this.refMap.set(el, node);
- } else {
- node = this.refMap.get(el);
- const ctx = node.context;
- ctx.$implicit = cell.value;
- ctx.index = cell.index;
- } // run sync change detections
- node.detectChanges();
- return el;
- });
- }
- getComponent(type) {
- switch (type) {
- case 'item':
- return this.itmTmp.templateRef;
- case 'header':
- return this.hdrTmp.templateRef;
- case 'footer':
- return this.ftrTmp.templateRef;
- default:
- throw new Error('template for virtual item was not provided');
- }
- }
- };
- /** @nocollapse */
- IonVirtualScroll.ɵfac = function IonVirtualScroll_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonVirtualScroll.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonVirtualScroll,
- selectors: [["ion-virtual-scroll"]],
- contentQueries: function IonVirtualScroll_ContentQueries(rf, ctx, dirIndex) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, VirtualItem, 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, VirtualHeader, 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, VirtualFooter, 5);
- }
- if (rf & 2) {
- let _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.itmTmp = _t.first);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.hdrTmp = _t.first);
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.ftrTmp = _t.first);
- }
- },
- inputs: {
- approxItemHeight: "approxItemHeight",
- approxHeaderHeight: "approxHeaderHeight",
- approxFooterHeight: "approxFooterHeight",
- headerFn: "headerFn",
- footerFn: "footerFn",
- items: "items",
- itemHeight: "itemHeight",
- headerHeight: "headerHeight",
- footerHeight: "footerHeight",
- trackBy: "trackBy"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵNgOnChangesFeature"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function IonVirtualScroll_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2,
- changeDetection: 0
- });
- IonVirtualScroll = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- inputs: ['approxItemHeight', 'approxHeaderHeight', 'approxFooterHeight', 'headerFn', 'footerFn', 'items', 'itemHeight', 'headerHeight', 'footerHeight'],
- methods: ['checkEnd', 'checkRange', 'positionForItem']
- })], IonVirtualScroll);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonVirtualScroll, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-virtual-scroll',
- template: '<ng-content></ng-content>',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- inputs: ['approxItemHeight', 'approxHeaderHeight', 'approxFooterHeight', 'headerFn', 'footerFn', 'items', 'itemHeight', 'headerHeight', 'footerHeight', 'trackBy']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.IterableDiffers
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }];
- }, {
- itmTmp: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
- args: [VirtualItem, {
- static: false
- }]
- }],
- hdrTmp: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
- args: [VirtualHeader, {
- static: false
- }]
- }],
- ftrTmp: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
- args: [VirtualFooter, {
- static: false
- }]
- }]
- });
- })();
- const getElement = view => {
- const rootNodes = view.rootNodes;
- for (let i = 0; i < rootNodes.length; i++) {
- if (rootNodes[i].nodeType === 1) {
- return rootNodes[i];
- }
- }
- throw new Error('virtual element was not created');
- };
- let IonModal = class IonModal {
- constructor(c, r, z) {
- this.z = z;
- this.isCmpOpen = false;
- this.el = r.nativeElement;
- this.el.addEventListener('willPresent', () => {
- this.isCmpOpen = true;
- c.detectChanges();
- });
- this.el.addEventListener('didDismiss', () => {
- this.isCmpOpen = false;
- c.detectChanges();
- });
- proxyOutputs(this, this.el, ['ionModalDidPresent', 'ionModalWillPresent', 'ionModalWillDismiss', 'ionModalDidDismiss', 'ionBreakpointDidChange', 'didPresent', 'willPresent', 'willDismiss', 'didDismiss']);
- }
- };
- /** @nocollapse */
- IonModal.ɵfac = function IonModal_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonModal.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonModal,
- selectors: [["ion-modal"]],
- contentQueries: function IonModal_ContentQueries(rf, ctx, dirIndex) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef, 5);
- }
- if (rf & 2) {
- let _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.template = _t.first);
- }
- },
- inputs: {
- animated: "animated",
- keepContentsMounted: "keepContentsMounted",
- backdropBreakpoint: "backdropBreakpoint",
- backdropDismiss: "backdropDismiss",
- breakpoints: "breakpoints",
- canDismiss: "canDismiss",
- cssClass: "cssClass",
- enterAnimation: "enterAnimation",
- event: "event",
- handle: "handle",
- handleBehavior: "handleBehavior",
- initialBreakpoint: "initialBreakpoint",
- isOpen: "isOpen",
- keyboardClose: "keyboardClose",
- leaveAnimation: "leaveAnimation",
- mode: "mode",
- presentingElement: "presentingElement",
- showBackdrop: "showBackdrop",
- swipeToClose: "swipeToClose",
- translucent: "translucent",
- trigger: "trigger"
- },
- decls: 1,
- vars: 1,
- consts: [["class", "ion-page", 4, "ngIf"], [1, "ion-page"], [3, "ngTemplateOutlet"]],
- template: function IonModal_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, IonModal_div_0_Template, 2, 1, "div", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.isCmpOpen || ctx.keepContentsMounted);
- }
- },
- dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgTemplateOutlet],
- encapsulation: 2,
- changeDetection: 0
- });
- IonModal = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- inputs: ['animated', 'keepContentsMounted', 'backdropBreakpoint', 'backdropDismiss', 'breakpoints', 'canDismiss', 'cssClass', 'enterAnimation', 'event', 'handle', 'handleBehavior', 'initialBreakpoint', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'presentingElement', 'showBackdrop', 'swipeToClose', 'translucent', 'trigger'],
- methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss', 'setCurrentBreakpoint', 'getCurrentBreakpoint']
- })], IonModal);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonModal, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-modal',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: `<div class="ion-page" *ngIf="isCmpOpen || keepContentsMounted">
- <ng-container [ngTemplateOutlet]="template"></ng-container>
- </div>`,
- inputs: ['animated', 'keepContentsMounted', 'backdropBreakpoint', 'backdropDismiss', 'breakpoints', 'canDismiss', 'cssClass', 'enterAnimation', 'event', 'handle', 'handleBehavior', 'initialBreakpoint', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'presentingElement', 'showBackdrop', 'swipeToClose', 'translucent', 'trigger']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, {
- template: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef, {
- static: false
- }]
- }]
- });
- })();
- let IonPopover = class IonPopover {
- constructor(c, r, z) {
- this.z = z;
- this.isCmpOpen = false;
- this.el = r.nativeElement;
- this.el.addEventListener('willPresent', () => {
- this.isCmpOpen = true;
- c.detectChanges();
- });
- this.el.addEventListener('didDismiss', () => {
- this.isCmpOpen = false;
- c.detectChanges();
- });
- proxyOutputs(this, this.el, ['ionPopoverDidPresent', 'ionPopoverWillPresent', 'ionPopoverWillDismiss', 'ionPopoverDidDismiss', 'didPresent', 'willPresent', 'willDismiss', 'didDismiss']);
- }
- };
- /** @nocollapse */
- IonPopover.ɵfac = function IonPopover_Factory(t) {
- 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));
- };
- /** @nocollapse */
- IonPopover.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({
- type: IonPopover,
- selectors: [["ion-popover"]],
- contentQueries: function IonPopover_ContentQueries(rf, ctx, dirIndex) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵcontentQuery"](dirIndex, _angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef, 5);
- }
- if (rf & 2) {
- let _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵloadQuery"]()) && (ctx.template = _t.first);
- }
- },
- inputs: {
- alignment: "alignment",
- animated: "animated",
- arrow: "arrow",
- keepContentsMounted: "keepContentsMounted",
- backdropDismiss: "backdropDismiss",
- cssClass: "cssClass",
- dismissOnSelect: "dismissOnSelect",
- enterAnimation: "enterAnimation",
- event: "event",
- isOpen: "isOpen",
- keyboardClose: "keyboardClose",
- leaveAnimation: "leaveAnimation",
- mode: "mode",
- showBackdrop: "showBackdrop",
- translucent: "translucent",
- trigger: "trigger",
- triggerAction: "triggerAction",
- reference: "reference",
- size: "size",
- side: "side"
- },
- decls: 1,
- vars: 1,
- consts: [[3, "ngTemplateOutlet", 4, "ngIf"], [3, "ngTemplateOutlet"]],
- template: function IonPopover_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](0, IonPopover_ng_container_0_Template, 1, 1, "ng-container", 0);
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngIf", ctx.isCmpOpen || ctx.keepContentsMounted);
- }
- },
- dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_7__.NgTemplateOutlet],
- encapsulation: 2,
- changeDetection: 0
- });
- IonPopover = (0,tslib__WEBPACK_IMPORTED_MODULE_5__.__decorate)([ProxyCmp({
- inputs: ['alignment', 'animated', 'arrow', 'keepContentsMounted', 'backdropDismiss', 'cssClass', 'dismissOnSelect', 'enterAnimation', 'event', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'showBackdrop', 'translucent', 'trigger', 'triggerAction', 'reference', 'size', 'side'],
- methods: ['present', 'dismiss', 'onDidDismiss', 'onWillDismiss']
- })], IonPopover);
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonPopover, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Component,
- args: [{
- selector: 'ion-popover',
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectionStrategy.OnPush,
- template: `<ng-container [ngTemplateOutlet]="template" *ngIf="isCmpOpen || keepContentsMounted"></ng-container>`,
- inputs: ['alignment', 'animated', 'arrow', 'keepContentsMounted', 'backdropDismiss', 'cssClass', 'dismissOnSelect', 'enterAnimation', 'event', 'isOpen', 'keyboardClose', 'leaveAnimation', 'mode', 'showBackdrop', 'translucent', 'trigger', 'triggerAction', 'reference', 'size', 'side']
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, {
- template: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ContentChild,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_2__.TemplateRef, {
- static: false
- }]
- }]
- });
- })();
- class OverlayBaseController {
- constructor(ctrl) {
- this.ctrl = ctrl;
- }
- /**
- * Creates a new overlay
- */
- create(opts) {
- // TODO: next major release opts is not optional
- return this.ctrl.create(opts || {});
- }
- /**
- * When `id` is not provided, it dismisses the top overlay.
- */
- dismiss(data, role, id) {
- return this.ctrl.dismiss(data, role, id);
- }
- /**
- * Returns the top overlay.
- */
- getTop() {
- return this.ctrl.getTop();
- }
- }
- class ActionSheetController extends OverlayBaseController {
- constructor() {
- super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.actionSheetController);
- }
- }
- /** @nocollapse */
- ActionSheetController.ɵfac = function ActionSheetController_Factory(t) {
- return new (t || ActionSheetController)();
- };
- /** @nocollapse */
- ActionSheetController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: ActionSheetController,
- factory: ActionSheetController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](ActionSheetController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- class AlertController extends OverlayBaseController {
- constructor() {
- super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.alertController);
- }
- }
- /** @nocollapse */
- AlertController.ɵfac = function AlertController_Factory(t) {
- return new (t || AlertController)();
- };
- /** @nocollapse */
- AlertController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: AlertController,
- factory: AlertController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](AlertController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- class LoadingController extends OverlayBaseController {
- constructor() {
- super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.loadingController);
- }
- }
- /** @nocollapse */
- LoadingController.ɵfac = function LoadingController_Factory(t) {
- return new (t || LoadingController)();
- };
- /** @nocollapse */
- LoadingController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: LoadingController,
- factory: LoadingController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](LoadingController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- class MenuController {
- /**
- * Programmatically open the Menu.
- * @param [menuId] Optionally get the menu by its id, or side.
- * @return returns a promise when the menu is fully opened
- */
- open(menuId) {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.open(menuId);
- }
- /**
- * Programmatically close the Menu. If no `menuId` is given as the first
- * argument then it'll close any menu which is open. If a `menuId`
- * is given then it'll close that exact menu.
- * @param [menuId] Optionally get the menu by its id, or side.
- * @return returns a promise when the menu is fully closed
- */
- close(menuId) {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.close(menuId);
- }
- /**
- * Toggle the menu. If it's closed, it will open, and if opened, it
- * will close.
- * @param [menuId] Optionally get the menu by its id, or side.
- * @return returns a promise when the menu has been toggled
- */
- toggle(menuId) {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.toggle(menuId);
- }
- /**
- * Used to enable or disable a menu. For example, there could be multiple
- * left menus, but only one of them should be able to be opened at the same
- * time. If there are multiple menus on the same side, then enabling one menu
- * will also automatically disable all the others that are on the same side.
- * @param [menuId] Optionally get the menu by its id, or side.
- * @return Returns the instance of the menu, which is useful for chaining.
- */
- enable(shouldEnable, menuId) {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.enable(shouldEnable, menuId);
- }
- /**
- * Used to enable or disable the ability to swipe open the menu.
- * @param shouldEnable True if it should be swipe-able, false if not.
- * @param [menuId] Optionally get the menu by its id, or side.
- * @return Returns the instance of the menu, which is useful for chaining.
- */
- swipeGesture(shouldEnable, menuId) {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.swipeGesture(shouldEnable, menuId);
- }
- /**
- * @param [menuId] Optionally get the menu by its id, or side.
- * @return Returns true if the specified menu is currently open, otherwise false.
- * If the menuId is not specified, it returns true if ANY menu is currenly open.
- */
- isOpen(menuId) {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.isOpen(menuId);
- }
- /**
- * @param [menuId] Optionally get the menu by its id, or side.
- * @return Returns true if the menu is currently enabled, otherwise false.
- */
- isEnabled(menuId) {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.isEnabled(menuId);
- }
- /**
- * Used to get a menu instance. If a `menuId` is not provided then it'll
- * return the first menu found. If a `menuId` is `left` or `right`, then
- * it'll return the enabled menu on that side. Otherwise, if a `menuId` is
- * provided, then it'll try to find the menu using the menu's `id`
- * property. If a menu is not found then it'll return `null`.
- * @param [menuId] Optionally get the menu by its id, or side.
- * @return Returns the instance of the menu if found, otherwise `null`.
- */
- get(menuId) {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.get(menuId);
- }
- /**
- * @return Returns the instance of the menu already opened, otherwise `null`.
- */
- getOpen() {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.getOpen();
- }
- /**
- * @return Returns an array of all menu instances.
- */
- getMenus() {
- return _ionic_core__WEBPACK_IMPORTED_MODULE_0__.menuController.getMenus();
- }
- }
- /** @nocollapse */
- MenuController.ɵfac = function MenuController_Factory(t) {
- return new (t || MenuController)();
- };
- /** @nocollapse */
- MenuController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: MenuController,
- factory: MenuController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](MenuController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- class PickerController extends OverlayBaseController {
- constructor() {
- super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.pickerController);
- }
- }
- /** @nocollapse */
- PickerController.ɵfac = function PickerController_Factory(t) {
- return new (t || PickerController)();
- };
- /** @nocollapse */
- PickerController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: PickerController,
- factory: PickerController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](PickerController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- /**
- * An `Injector` that's part of the environment injector hierarchy, which exists outside of the
- * component tree.
- *
- * @developerPreview
- */
- class EnvironmentInjector {}
- class ModalController extends OverlayBaseController {
- constructor(angularDelegate, resolver, injector, // TODO: FW-1641: Migrate to Angular's version once Angular 13 is dropped
- environmentInjector) {
- super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.modalController);
- this.angularDelegate = angularDelegate;
- this.resolver = resolver;
- this.injector = injector;
- this.environmentInjector = environmentInjector;
- }
- create(opts) {
- var _a;
- return super.create(Object.assign(Object.assign({}, opts), {
- delegate: this.angularDelegate.create((_a = this.resolver) !== null && _a !== void 0 ? _a : this.environmentInjector, this.injector)
- }));
- }
- }
- /** @nocollapse */
- ModalController.ɵfac = function ModalController_Factory(t) {
- 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));
- };
- /** @nocollapse */
- ModalController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: ModalController,
- factory: ModalController.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](ModalController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable
- }], function () {
- return [{
- type: AngularDelegate
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: EnvironmentInjector,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }]
- }];
- }, null);
- })();
- class PopoverController extends OverlayBaseController {
- constructor(angularDelegate, resolver, injector, // TODO: FW-1641: Migrate to Angular's version once Angular 13 is dropped
- environmentInjector) {
- super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.popoverController);
- this.angularDelegate = angularDelegate;
- this.resolver = resolver;
- this.injector = injector;
- this.environmentInjector = environmentInjector;
- }
- create(opts) {
- var _a;
- return super.create(Object.assign(Object.assign({}, opts), {
- delegate: this.angularDelegate.create((_a = this.resolver) !== null && _a !== void 0 ? _a : this.environmentInjector, this.injector)
- }));
- }
- }
- /** @nocollapse */
- PopoverController.ɵfac = function PopoverController_Factory(t) {
- 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));
- };
- /** @nocollapse */
- PopoverController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: PopoverController,
- factory: PopoverController.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](PopoverController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable
- }], function () {
- return [{
- type: AngularDelegate
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.ComponentFactoryResolver
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injector
- }, {
- type: EnvironmentInjector,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional
- }]
- }];
- }, null);
- })();
- class ToastController extends OverlayBaseController {
- constructor() {
- super(_ionic_core__WEBPACK_IMPORTED_MODULE_0__.toastController);
- }
- }
- /** @nocollapse */
- ToastController.ɵfac = function ToastController_Factory(t) {
- return new (t || ToastController)();
- };
- /** @nocollapse */
- ToastController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: ToastController,
- factory: ToastController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](ToastController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- class DomController {
- /**
- * Schedules a task to run during the READ phase of the next frame.
- * This task should only read the DOM, but never modify it.
- */
- read(cb) {
- getQueue().read(cb);
- }
- /**
- * Schedules a task to run during the WRITE phase of the next frame.
- * This task should write the DOM, but never READ it.
- */
- write(cb) {
- getQueue().write(cb);
- }
- }
- /** @nocollapse */
- DomController.ɵfac = function DomController_Factory(t) {
- return new (t || DomController)();
- };
- /** @nocollapse */
- DomController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: DomController,
- factory: DomController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](DomController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- const getQueue = () => {
- const win = typeof window !== 'undefined' ? window : null;
- if (win != null) {
- const Ionic = win.Ionic;
- if (Ionic === null || Ionic === void 0 ? void 0 : Ionic.queue) {
- return Ionic.queue;
- }
- return {
- read: cb => win.requestAnimationFrame(cb),
- write: cb => win.requestAnimationFrame(cb)
- };
- }
- return {
- read: cb => cb(),
- write: cb => cb()
- };
- };
- class AnimationController {
- /**
- * Create a new animation
- */
- create(animationId) {
- return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.createAnimation)(animationId);
- }
- /**
- * EXPERIMENTAL
- *
- * Given a progression and a cubic bezier function,
- * this utility returns the time value(s) at which the
- * cubic bezier reaches the given time progression.
- *
- * If the cubic bezier never reaches the progression
- * the result will be an empty array.
- *
- * This is most useful for switching between easing curves
- * when doing a gesture animation (i.e. going from linear easing
- * during a drag, to another easing when `progressEnd` is called)
- */
- easingTime(p0, p1, p2, p3, progression) {
- return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.getTimeGivenProgression)(p0, p1, p2, p3, progression);
- }
- }
- /** @nocollapse */
- AnimationController.ɵfac = function AnimationController_Factory(t) {
- return new (t || AnimationController)();
- };
- /** @nocollapse */
- AnimationController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: AnimationController,
- factory: AnimationController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](AnimationController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- class GestureController {
- constructor(zone) {
- this.zone = zone;
- }
- /**
- * Create a new gesture
- */
- create(opts, runInsideAngularZone = false) {
- if (runInsideAngularZone) {
- Object.getOwnPropertyNames(opts).forEach(key => {
- if (typeof opts[key] === 'function') {
- const fn = opts[key];
- opts[key] = (...props) => this.zone.run(() => fn(...props));
- }
- });
- }
- return (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.createGesture)(opts);
- }
- }
- /** @nocollapse */
- GestureController.ɵfac = function GestureController_Factory(t) {
- return new (t || GestureController)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone));
- };
- /** @nocollapse */
- GestureController.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
- token: GestureController,
- factory: GestureController.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](GestureController, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone
- }];
- }, null);
- })();
- class IonicRouteStrategy {
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
- shouldDetach(_route) {
- return false;
- } // eslint-disable-next-line @typescript-eslint/no-unused-vars
- shouldAttach(_route) {
- return false;
- }
- store( // eslint-disable-next-line @typescript-eslint/no-unused-vars
- _route, // eslint-disable-next-line @typescript-eslint/no-unused-vars
- _detachedTree) {
- return;
- } // eslint-disable-next-line @typescript-eslint/no-unused-vars
- retrieve(_route) {
- return null;
- }
- shouldReuseRoute(future, curr) {
- if (future.routeConfig !== curr.routeConfig) {
- return false;
- } // checking router params
- const futureParams = future.params;
- const currentParams = curr.params;
- const keysA = Object.keys(futureParams);
- const keysB = Object.keys(currentParams);
- if (keysA.length !== keysB.length) {
- return false;
- } // Test for A's keys different from B.
- for (const key of keysA) {
- if (currentParams[key] !== futureParams[key]) {
- return false;
- }
- }
- return true;
- }
- }
- /**
- * https://ionicframework.com/docs/api/router-outlet#life-cycle-hooks
- */
- const appInitialize = (config, doc, zone) => {
- return () => {
- const win = doc.defaultView;
- if (win && typeof window !== 'undefined') {
- (0,_ionic_core__WEBPACK_IMPORTED_MODULE_0__.setupConfig)(Object.assign(Object.assign({}, config), {
- _zoneGate: h => zone.run(h)
- }));
- const aelFn = '__zone_symbol__addEventListener' in doc.body ? '__zone_symbol__addEventListener' : 'addEventListener';
- return (0,_ionic_core_loader__WEBPACK_IMPORTED_MODULE_1__.applyPolyfills)().then(() => {
- return (0,_ionic_core_loader__WEBPACK_IMPORTED_MODULE_1__.defineCustomElements)(win, {
- exclude: ['ion-tabs', 'ion-tab'],
- syncQueue: true,
- raf,
- jmp: h => zone.runOutsideAngular(h),
- ael(elm, eventName, cb, opts) {
- elm[aelFn](eventName, cb, opts);
- },
- rel(elm, eventName, cb, opts) {
- elm.removeEventListener(eventName, cb, opts);
- }
- });
- });
- }
- };
- };
- 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];
- const DECLARATIONS = [// generated proxies
- ...DIRECTIVES, // manual proxies
- IonModal, IonPopover, // ngModel accessors
- BooleanValueAccessorDirective, NumericValueAccessorDirective, RadioValueAccessorDirective, SelectValueAccessorDirective, TextValueAccessorDirective, // navigation
- IonTabs, IonRouterOutlet, IonBackButtonDelegateDirective, NavDelegate, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, // virtual scroll
- VirtualFooter, VirtualHeader, VirtualItem, IonVirtualScroll];
- class IonicModule {
- static forRoot(config) {
- return {
- ngModule: IonicModule,
- providers: [{
- provide: ConfigToken,
- useValue: config
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_2__.APP_INITIALIZER,
- useFactory: appInitialize,
- multi: true,
- deps: [ConfigToken, _angular_common__WEBPACK_IMPORTED_MODULE_7__.DOCUMENT, _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone]
- }]
- };
- }
- }
- /** @nocollapse */
- IonicModule.ɵfac = function IonicModule_Factory(t) {
- return new (t || IonicModule)();
- };
- /** @nocollapse */
- IonicModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineNgModule"]({
- type: IonicModule,
- 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
- IonModal, IonPopover, // ngModel accessors
- BooleanValueAccessorDirective, NumericValueAccessorDirective, RadioValueAccessorDirective, SelectValueAccessorDirective, TextValueAccessorDirective, // navigation
- IonTabs, IonRouterOutlet, IonBackButtonDelegateDirective, NavDelegate, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, // virtual scroll
- VirtualFooter, VirtualHeader, VirtualItem, IonVirtualScroll],
- imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule],
- 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
- IonModal, IonPopover, // ngModel accessors
- BooleanValueAccessorDirective, NumericValueAccessorDirective, RadioValueAccessorDirective, SelectValueAccessorDirective, TextValueAccessorDirective, // navigation
- IonTabs, IonRouterOutlet, IonBackButtonDelegateDirective, NavDelegate, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, // virtual scroll
- VirtualFooter, VirtualHeader, VirtualItem, IonVirtualScroll]
- });
- /** @nocollapse */
- IonicModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjector"]({
- providers: [AngularDelegate, ModalController, PopoverController],
- imports: [[_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵsetClassMetadata"](IonicModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule,
- args: [{
- declarations: DECLARATIONS,
- exports: DECLARATIONS,
- providers: [AngularDelegate, ModalController, PopoverController],
- imports: [_angular_common__WEBPACK_IMPORTED_MODULE_7__.CommonModule]
- }]
- }], null, null);
- })(); // DIRECTIVES
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 631:
- /*!*****************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/animation-2c50d24d.js ***!
- \*****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "c": () => (/* binding */ createAnimation)
- /* harmony export */ });
- /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
- /* harmony import */ var _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-33ffec25.js */ 2286);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- let animationPrefix;
- /**
- * Web Animations requires hyphenated CSS properties
- * to be written in camelCase when animating
- */
- const processKeyframes = keyframes => {
- keyframes.forEach(keyframe => {
- for (const key in keyframe) {
- // eslint-disable-next-line no-prototype-builtins
- if (keyframe.hasOwnProperty(key)) {
- const value = keyframe[key];
- if (key === 'easing') {
- const newKey = 'animation-timing-function';
- keyframe[newKey] = value;
- delete keyframe[key];
- } else {
- const newKey = convertCamelCaseToHypen(key);
- if (newKey !== key) {
- keyframe[newKey] = value;
- delete keyframe[key];
- }
- }
- }
- }
- });
- return keyframes;
- };
- const convertCamelCaseToHypen = str => {
- return str.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();
- };
- const getAnimationPrefix = el => {
- if (animationPrefix === undefined) {
- const supportsUnprefixed = el.style.animationName !== undefined;
- const supportsWebkitPrefix = el.style.webkitAnimationName !== undefined;
- animationPrefix = !supportsUnprefixed && supportsWebkitPrefix ? '-webkit-' : '';
- }
- return animationPrefix;
- };
- const setStyleProperty = (element, propertyName, value) => {
- const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';
- element.style.setProperty(prefix + propertyName, value);
- };
- const removeStyleProperty = (element, propertyName) => {
- const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';
- element.style.removeProperty(prefix + propertyName);
- };
- const animationEnd = (el, callback) => {
- let unRegTrans;
- const opts = {
- passive: true
- };
- const unregister = () => {
- if (unRegTrans) {
- unRegTrans();
- }
- };
- const onTransitionEnd = ev => {
- if (el === ev.target) {
- unregister();
- callback(ev);
- }
- };
- if (el) {
- el.addEventListener('webkitAnimationEnd', onTransitionEnd, opts);
- el.addEventListener('animationend', onTransitionEnd, opts);
- unRegTrans = () => {
- el.removeEventListener('webkitAnimationEnd', onTransitionEnd, opts);
- el.removeEventListener('animationend', onTransitionEnd, opts);
- };
- }
- return unregister;
- };
- const generateKeyframeRules = (keyframes = []) => {
- return keyframes.map(keyframe => {
- const offset = keyframe.offset;
- const frameString = [];
- for (const property in keyframe) {
- // eslint-disable-next-line no-prototype-builtins
- if (keyframe.hasOwnProperty(property) && property !== 'offset') {
- frameString.push(`${property}: ${keyframe[property]};`);
- }
- }
- return `${offset * 100}% { ${frameString.join(' ')} }`;
- }).join(' ');
- };
- const keyframeIds = [];
- const generateKeyframeName = keyframeRules => {
- let index = keyframeIds.indexOf(keyframeRules);
- if (index < 0) {
- index = keyframeIds.push(keyframeRules) - 1;
- }
- return `ion-animation-${index}`;
- };
- const getStyleContainer = element => {
- // getRootNode is not always available in SSR environments.
- const rootNode = element.getRootNode !== undefined ? element.getRootNode() : element;
- return rootNode.head || rootNode;
- };
- const createKeyframeStylesheet = (keyframeName, keyframeRules, element) => {
- var _a;
- const styleContainer = getStyleContainer(element);
- const keyframePrefix = getAnimationPrefix(element);
- const existingStylesheet = styleContainer.querySelector('#' + keyframeName);
- if (existingStylesheet) {
- return existingStylesheet;
- }
- const stylesheet = ((_a = element.ownerDocument) !== null && _a !== void 0 ? _a : document).createElement('style');
- stylesheet.id = keyframeName;
- stylesheet.textContent = `@${keyframePrefix}keyframes ${keyframeName} { ${keyframeRules} } @${keyframePrefix}keyframes ${keyframeName}-alt { ${keyframeRules} }`;
- styleContainer.appendChild(stylesheet);
- return stylesheet;
- };
- const addClassToArray = (classes = [], className) => {
- if (className !== undefined) {
- const classNameToAppend = Array.isArray(className) ? className : [className];
- return [...classes, ...classNameToAppend];
- }
- return classes;
- };
- const createAnimation = animationId => {
- let _delay;
- let _duration;
- let _easing;
- let _iterations;
- let _fill;
- let _direction;
- let _keyframes = [];
- let beforeAddClasses = [];
- let beforeRemoveClasses = [];
- let initialized = false;
- let parentAnimation;
- let beforeStylesValue = {};
- let afterAddClasses = [];
- let afterRemoveClasses = [];
- let afterStylesValue = {};
- let numAnimationsRunning = 0;
- let shouldForceLinearEasing = false;
- let shouldForceSyncPlayback = false;
- let cssAnimationsTimerFallback;
- let forceDirectionValue;
- let forceDurationValue;
- let forceDelayValue;
- let willComplete = true;
- let finished = false;
- let shouldCalculateNumAnimations = true;
- let keyframeName;
- let ani;
- let paused = false;
- const id = animationId;
- const onFinishCallbacks = [];
- const onFinishOneTimeCallbacks = [];
- const elements = [];
- const childAnimations = [];
- const stylesheets = [];
- const _beforeAddReadFunctions = [];
- const _beforeAddWriteFunctions = [];
- const _afterAddReadFunctions = [];
- const _afterAddWriteFunctions = [];
- const webAnimations = [];
- 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';
- const supportsWebAnimations = typeof Element === 'function' && typeof Element.prototype.animate === 'function' && supportsAnimationEffect;
- const ANIMATION_END_FALLBACK_PADDING_MS = 100;
- const getWebAnimations = () => {
- return webAnimations;
- };
- const destroy = clearStyleSheets => {
- childAnimations.forEach(childAnimation => {
- childAnimation.destroy(clearStyleSheets);
- });
- cleanUp(clearStyleSheets);
- elements.length = 0;
- childAnimations.length = 0;
- _keyframes.length = 0;
- clearOnFinish();
- initialized = false;
- shouldCalculateNumAnimations = true;
- return ani;
- };
- /**
- * Cancels any Web Animations, removes
- * any animation properties from the
- * animation's elements, and removes the
- * animation's stylesheets from the DOM.
- */
- const cleanUp = clearStyleSheets => {
- cleanUpElements();
- if (clearStyleSheets) {
- cleanUpStyleSheets();
- }
- };
- const resetFlags = () => {
- shouldForceLinearEasing = false;
- shouldForceSyncPlayback = false;
- shouldCalculateNumAnimations = true;
- forceDirectionValue = undefined;
- forceDurationValue = undefined;
- forceDelayValue = undefined;
- numAnimationsRunning = 0;
- finished = false;
- willComplete = true;
- paused = false;
- };
- const isRunning = () => {
- return numAnimationsRunning !== 0 && !paused;
- };
- const onFinish = (callback, opts) => {
- const callbacks = (opts === null || opts === void 0 ? void 0 : opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;
- callbacks.push({
- c: callback,
- o: opts
- });
- return ani;
- };
- const clearOnFinish = () => {
- onFinishCallbacks.length = 0;
- onFinishOneTimeCallbacks.length = 0;
- return ani;
- };
- /**
- * Cancels any Web Animations and removes
- * any animation properties from the
- * the animation's elements.
- */
- const cleanUpElements = () => {
- if (supportsWebAnimations) {
- webAnimations.forEach(animation => {
- animation.cancel();
- });
- webAnimations.length = 0;
- } else {
- const elementsArray = elements.slice();
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
- elementsArray.forEach(element => {
- removeStyleProperty(element, 'animation-name');
- removeStyleProperty(element, 'animation-duration');
- removeStyleProperty(element, 'animation-timing-function');
- removeStyleProperty(element, 'animation-iteration-count');
- removeStyleProperty(element, 'animation-delay');
- removeStyleProperty(element, 'animation-play-state');
- removeStyleProperty(element, 'animation-fill-mode');
- removeStyleProperty(element, 'animation-direction');
- });
- });
- }
- };
- /**
- * Removes the animation's stylesheets
- * from the DOM.
- */
- const cleanUpStyleSheets = () => {
- stylesheets.forEach(stylesheet => {
- /**
- * When sharing stylesheets, it's possible
- * for another animation to have already
- * cleaned up a particular stylesheet
- */
- if (stylesheet === null || stylesheet === void 0 ? void 0 : stylesheet.parentNode) {
- stylesheet.parentNode.removeChild(stylesheet);
- }
- });
- stylesheets.length = 0;
- };
- const beforeAddRead = readFn => {
- _beforeAddReadFunctions.push(readFn);
- return ani;
- };
- const beforeAddWrite = writeFn => {
- _beforeAddWriteFunctions.push(writeFn);
- return ani;
- };
- const afterAddRead = readFn => {
- _afterAddReadFunctions.push(readFn);
- return ani;
- };
- const afterAddWrite = writeFn => {
- _afterAddWriteFunctions.push(writeFn);
- return ani;
- };
- const beforeAddClass = className => {
- beforeAddClasses = addClassToArray(beforeAddClasses, className);
- return ani;
- };
- const beforeRemoveClass = className => {
- beforeRemoveClasses = addClassToArray(beforeRemoveClasses, className);
- return ani;
- };
- /**
- * Set CSS inline styles to the animation's
- * elements before the animation begins.
- */
- const beforeStyles = (styles = {}) => {
- beforeStylesValue = styles;
- return ani;
- };
- /**
- * Clear CSS inline styles from the animation's
- * elements before the animation begins.
- */
- const beforeClearStyles = (propertyNames = []) => {
- for (const property of propertyNames) {
- beforeStylesValue[property] = '';
- }
- return ani;
- };
- const afterAddClass = className => {
- afterAddClasses = addClassToArray(afterAddClasses, className);
- return ani;
- };
- const afterRemoveClass = className => {
- afterRemoveClasses = addClassToArray(afterRemoveClasses, className);
- return ani;
- };
- const afterStyles = (styles = {}) => {
- afterStylesValue = styles;
- return ani;
- };
- const afterClearStyles = (propertyNames = []) => {
- for (const property of propertyNames) {
- afterStylesValue[property] = '';
- }
- return ani;
- };
- const getFill = () => {
- if (_fill !== undefined) {
- return _fill;
- }
- if (parentAnimation) {
- return parentAnimation.getFill();
- }
- return 'both';
- };
- const getDirection = () => {
- if (forceDirectionValue !== undefined) {
- return forceDirectionValue;
- }
- if (_direction !== undefined) {
- return _direction;
- }
- if (parentAnimation) {
- return parentAnimation.getDirection();
- }
- return 'normal';
- };
- const getEasing = () => {
- if (shouldForceLinearEasing) {
- return 'linear';
- }
- if (_easing !== undefined) {
- return _easing;
- }
- if (parentAnimation) {
- return parentAnimation.getEasing();
- }
- return 'linear';
- };
- const getDuration = () => {
- if (shouldForceSyncPlayback) {
- return 0;
- }
- if (forceDurationValue !== undefined) {
- return forceDurationValue;
- }
- if (_duration !== undefined) {
- return _duration;
- }
- if (parentAnimation) {
- return parentAnimation.getDuration();
- }
- return 0;
- };
- const getIterations = () => {
- if (_iterations !== undefined) {
- return _iterations;
- }
- if (parentAnimation) {
- return parentAnimation.getIterations();
- }
- return 1;
- };
- const getDelay = () => {
- if (forceDelayValue !== undefined) {
- return forceDelayValue;
- }
- if (_delay !== undefined) {
- return _delay;
- }
- if (parentAnimation) {
- return parentAnimation.getDelay();
- }
- return 0;
- };
- const getKeyframes = () => {
- return _keyframes;
- };
- const direction = animationDirection => {
- _direction = animationDirection;
- update(true);
- return ani;
- };
- const fill = animationFill => {
- _fill = animationFill;
- update(true);
- return ani;
- };
- const delay = animationDelay => {
- _delay = animationDelay;
- update(true);
- return ani;
- };
- const easing = animationEasing => {
- _easing = animationEasing;
- update(true);
- return ani;
- };
- const duration = animationDuration => {
- /**
- * CSS Animation Durations of 0ms work fine on Chrome
- * but do not run on Safari, so force it to 1ms to
- * get it to run on both platforms.
- */
- if (!supportsWebAnimations && animationDuration === 0) {
- animationDuration = 1;
- }
- _duration = animationDuration;
- update(true);
- return ani;
- };
- const iterations = animationIterations => {
- _iterations = animationIterations;
- update(true);
- return ani;
- };
- const parent = animation => {
- parentAnimation = animation;
- return ani;
- };
- const addElement = el => {
- if (el != null) {
- if (el.nodeType === 1) {
- elements.push(el);
- } else if (el.length >= 0) {
- for (let i = 0; i < el.length; i++) {
- elements.push(el[i]);
- }
- } else {
- console.error('Invalid addElement value');
- }
- }
- return ani;
- };
- const addAnimation = animationToAdd => {
- if (animationToAdd != null) {
- if (Array.isArray(animationToAdd)) {
- for (const animation of animationToAdd) {
- animation.parent(ani);
- childAnimations.push(animation);
- }
- } else {
- animationToAdd.parent(ani);
- childAnimations.push(animationToAdd);
- }
- }
- return ani;
- };
- const keyframes = keyframeValues => {
- const different = _keyframes !== keyframeValues;
- _keyframes = keyframeValues;
- if (different) {
- updateKeyframes(_keyframes);
- }
- return ani;
- };
- const updateKeyframes = keyframeValues => {
- if (supportsWebAnimations) {
- getWebAnimations().forEach(animation => {
- if (animation.effect.setKeyframes) {
- animation.effect.setKeyframes(keyframeValues);
- } else {
- const newEffect = new KeyframeEffect(animation.effect.target, keyframeValues, animation.effect.getTiming());
- animation.effect = newEffect;
- }
- });
- } else {
- initializeCSSAnimation();
- }
- };
- /**
- * Run all "before" animation hooks.
- */
- const beforeAnimation = () => {
- // Runs all before read callbacks
- _beforeAddReadFunctions.forEach(callback => callback()); // Runs all before write callbacks
- _beforeAddWriteFunctions.forEach(callback => callback()); // Updates styles and classes before animation runs
- const addClasses = beforeAddClasses;
- const removeClasses = beforeRemoveClasses;
- const styles = beforeStylesValue;
- elements.forEach(el => {
- const elementClassList = el.classList;
- addClasses.forEach(c => elementClassList.add(c));
- removeClasses.forEach(c => elementClassList.remove(c));
- for (const property in styles) {
- // eslint-disable-next-line no-prototype-builtins
- if (styles.hasOwnProperty(property)) {
- setStyleProperty(el, property, styles[property]);
- }
- }
- });
- };
- /**
- * Run all "after" animation hooks.
- */
- const afterAnimation = () => {
- clearCSSAnimationsTimeout(); // Runs all after read callbacks
- _afterAddReadFunctions.forEach(callback => callback()); // Runs all after write callbacks
- _afterAddWriteFunctions.forEach(callback => callback()); // Updates styles and classes before animation ends
- const currentStep = willComplete ? 1 : 0;
- const addClasses = afterAddClasses;
- const removeClasses = afterRemoveClasses;
- const styles = afterStylesValue;
- elements.forEach(el => {
- const elementClassList = el.classList;
- addClasses.forEach(c => elementClassList.add(c));
- removeClasses.forEach(c => elementClassList.remove(c));
- for (const property in styles) {
- // eslint-disable-next-line no-prototype-builtins
- if (styles.hasOwnProperty(property)) {
- setStyleProperty(el, property, styles[property]);
- }
- }
- });
- onFinishCallbacks.forEach(onFinishCallback => {
- return onFinishCallback.c(currentStep, ani);
- });
- onFinishOneTimeCallbacks.forEach(onFinishCallback => {
- return onFinishCallback.c(currentStep, ani);
- });
- onFinishOneTimeCallbacks.length = 0;
- shouldCalculateNumAnimations = true;
- if (willComplete) {
- finished = true;
- }
- willComplete = true;
- };
- const animationFinish = () => {
- if (numAnimationsRunning === 0) {
- return;
- }
- numAnimationsRunning--;
- if (numAnimationsRunning === 0) {
- afterAnimation();
- if (parentAnimation) {
- parentAnimation.animationFinish();
- }
- }
- };
- const initializeCSSAnimation = (toggleAnimationName = true) => {
- cleanUpStyleSheets();
- const processedKeyframes = processKeyframes(_keyframes);
- elements.forEach(element => {
- if (processedKeyframes.length > 0) {
- const keyframeRules = generateKeyframeRules(processedKeyframes);
- keyframeName = animationId !== undefined ? animationId : generateKeyframeName(keyframeRules);
- const stylesheet = createKeyframeStylesheet(keyframeName, keyframeRules, element);
- stylesheets.push(stylesheet);
- setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);
- setStyleProperty(element, 'animation-timing-function', getEasing());
- setStyleProperty(element, 'animation-delay', `${getDelay()}ms`);
- setStyleProperty(element, 'animation-fill-mode', getFill());
- setStyleProperty(element, 'animation-direction', getDirection());
- const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();
- setStyleProperty(element, 'animation-iteration-count', iterationsCount);
- setStyleProperty(element, 'animation-play-state', 'paused');
- if (toggleAnimationName) {
- setStyleProperty(element, 'animation-name', `${stylesheet.id}-alt`);
- }
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
- setStyleProperty(element, 'animation-name', stylesheet.id || null);
- });
- }
- });
- };
- const initializeWebAnimation = () => {
- elements.forEach(element => {
- const animation = element.animate(_keyframes, {
- id,
- delay: getDelay(),
- duration: getDuration(),
- easing: getEasing(),
- iterations: getIterations(),
- fill: getFill(),
- direction: getDirection()
- });
- animation.pause();
- webAnimations.push(animation);
- });
- if (webAnimations.length > 0) {
- webAnimations[0].onfinish = () => {
- animationFinish();
- };
- }
- };
- const initializeAnimation = (toggleAnimationName = true) => {
- beforeAnimation();
- if (_keyframes.length > 0) {
- if (supportsWebAnimations) {
- initializeWebAnimation();
- } else {
- initializeCSSAnimation(toggleAnimationName);
- }
- }
- initialized = true;
- };
- const setAnimationStep = step => {
- step = Math.min(Math.max(step, 0), 0.9999);
- if (supportsWebAnimations) {
- webAnimations.forEach(animation => {
- animation.currentTime = animation.effect.getComputedTiming().delay + getDuration() * step;
- animation.pause();
- });
- } else {
- const animationDuration = `-${getDuration() * step}ms`;
- elements.forEach(element => {
- if (_keyframes.length > 0) {
- setStyleProperty(element, 'animation-delay', animationDuration);
- setStyleProperty(element, 'animation-play-state', 'paused');
- }
- });
- }
- };
- const updateWebAnimation = step => {
- webAnimations.forEach(animation => {
- animation.effect.updateTiming({
- delay: getDelay(),
- duration: getDuration(),
- easing: getEasing(),
- iterations: getIterations(),
- fill: getFill(),
- direction: getDirection()
- });
- });
- if (step !== undefined) {
- setAnimationStep(step);
- }
- };
- const updateCSSAnimation = (toggleAnimationName = true, step) => {
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
- elements.forEach(element => {
- setStyleProperty(element, 'animation-name', keyframeName || null);
- setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);
- setStyleProperty(element, 'animation-timing-function', getEasing());
- setStyleProperty(element, 'animation-delay', step !== undefined ? `-${step * getDuration()}ms` : `${getDelay()}ms`);
- setStyleProperty(element, 'animation-fill-mode', getFill() || null);
- setStyleProperty(element, 'animation-direction', getDirection() || null);
- const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();
- setStyleProperty(element, 'animation-iteration-count', iterationsCount);
- if (toggleAnimationName) {
- setStyleProperty(element, 'animation-name', `${keyframeName}-alt`);
- }
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
- setStyleProperty(element, 'animation-name', keyframeName || null);
- });
- });
- });
- };
- const update = (deep = false, toggleAnimationName = true, step) => {
- if (deep) {
- childAnimations.forEach(animation => {
- animation.update(deep, toggleAnimationName, step);
- });
- }
- if (supportsWebAnimations) {
- updateWebAnimation(step);
- } else {
- updateCSSAnimation(toggleAnimationName, step);
- }
- return ani;
- };
- const progressStart = (forceLinearEasing = false, step) => {
- childAnimations.forEach(animation => {
- animation.progressStart(forceLinearEasing, step);
- });
- pauseAnimation();
- shouldForceLinearEasing = forceLinearEasing;
- if (!initialized) {
- initializeAnimation();
- }
- update(false, true, step);
- return ani;
- };
- const progressStep = step => {
- childAnimations.forEach(animation => {
- animation.progressStep(step);
- });
- setAnimationStep(step);
- return ani;
- };
- const progressEnd = (playTo, step, dur) => {
- shouldForceLinearEasing = false;
- childAnimations.forEach(animation => {
- animation.progressEnd(playTo, step, dur);
- });
- if (dur !== undefined) {
- forceDurationValue = dur;
- }
- finished = false;
- willComplete = true;
- if (playTo === 0) {
- forceDirectionValue = getDirection() === 'reverse' ? 'normal' : 'reverse';
- if (forceDirectionValue === 'reverse') {
- willComplete = false;
- }
- if (supportsWebAnimations) {
- update();
- setAnimationStep(1 - step);
- } else {
- forceDelayValue = (1 - step) * getDuration() * -1;
- update(false, false);
- }
- } else if (playTo === 1) {
- if (supportsWebAnimations) {
- update();
- setAnimationStep(step);
- } else {
- forceDelayValue = step * getDuration() * -1;
- update(false, false);
- }
- }
- if (playTo !== undefined) {
- onFinish(() => {
- forceDurationValue = undefined;
- forceDirectionValue = undefined;
- forceDelayValue = undefined;
- }, {
- oneTimeCallback: true
- });
- if (!parentAnimation) {
- play();
- }
- }
- return ani;
- };
- const pauseAnimation = () => {
- if (initialized) {
- if (supportsWebAnimations) {
- webAnimations.forEach(animation => {
- animation.pause();
- });
- } else {
- elements.forEach(element => {
- setStyleProperty(element, 'animation-play-state', 'paused');
- });
- }
- paused = true;
- }
- };
- const pause = () => {
- childAnimations.forEach(animation => {
- animation.pause();
- });
- pauseAnimation();
- return ani;
- };
- const onAnimationEndFallback = () => {
- cssAnimationsTimerFallback = undefined;
- animationFinish();
- };
- const clearCSSAnimationsTimeout = () => {
- if (cssAnimationsTimerFallback) {
- clearTimeout(cssAnimationsTimerFallback);
- }
- };
- const playCSSAnimations = () => {
- clearCSSAnimationsTimeout();
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
- elements.forEach(element => {
- if (_keyframes.length > 0) {
- setStyleProperty(element, 'animation-play-state', 'running');
- }
- });
- });
- if (_keyframes.length === 0 || elements.length === 0) {
- animationFinish();
- } else {
- /**
- * This is a catchall in the event that a CSS Animation did not finish.
- * The Web Animations API has mechanisms in place for preventing this.
- * CSS Animations will not fire an `animationend` event
- * for elements with `display: none`. The Web Animations API
- * accounts for this, but using raw CSS Animations requires
- * this workaround.
- */
- const animationDelay = getDelay() || 0;
- const animationDuration = getDuration() || 0;
- const animationIterations = getIterations() || 1; // No need to set a timeout when animation has infinite iterations
- if (isFinite(animationIterations)) {
- cssAnimationsTimerFallback = setTimeout(onAnimationEndFallback, animationDelay + animationDuration * animationIterations + ANIMATION_END_FALLBACK_PADDING_MS);
- }
- animationEnd(elements[0], () => {
- clearCSSAnimationsTimeout();
- /**
- * Ensure that clean up
- * is always done a frame
- * before the onFinish handlers
- * are fired. Otherwise, there
- * may be flickering if a new
- * animation is started on the same
- * element too quickly
- *
- * TODO: Is there a cleaner way to do this?
- */
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(() => {
- clearCSSAnimationPlayState();
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_0__.r)(animationFinish);
- });
- });
- }
- };
- const clearCSSAnimationPlayState = () => {
- elements.forEach(element => {
- removeStyleProperty(element, 'animation-duration');
- removeStyleProperty(element, 'animation-delay');
- removeStyleProperty(element, 'animation-play-state');
- });
- };
- const playWebAnimations = () => {
- webAnimations.forEach(animation => {
- animation.play();
- });
- if (_keyframes.length === 0 || elements.length === 0) {
- animationFinish();
- }
- };
- const resetAnimation = () => {
- if (supportsWebAnimations) {
- setAnimationStep(0);
- updateWebAnimation();
- } else {
- updateCSSAnimation();
- }
- };
- const play = opts => {
- return new Promise(resolve => {
- if (opts === null || opts === void 0 ? void 0 : opts.sync) {
- shouldForceSyncPlayback = true;
- onFinish(() => shouldForceSyncPlayback = false, {
- oneTimeCallback: true
- });
- }
- if (!initialized) {
- initializeAnimation();
- }
- if (finished) {
- resetAnimation();
- finished = false;
- }
- if (shouldCalculateNumAnimations) {
- numAnimationsRunning = childAnimations.length + 1;
- shouldCalculateNumAnimations = false;
- }
- onFinish(() => resolve(), {
- oneTimeCallback: true
- });
- childAnimations.forEach(animation => {
- animation.play();
- });
- if (supportsWebAnimations) {
- playWebAnimations();
- } else {
- playCSSAnimations();
- }
- paused = false;
- });
- };
- const stop = () => {
- childAnimations.forEach(animation => {
- animation.stop();
- });
- if (initialized) {
- cleanUpElements();
- initialized = false;
- }
- resetFlags();
- };
- const from = (property, value) => {
- const firstFrame = _keyframes[0];
- if (firstFrame !== undefined && (firstFrame.offset === undefined || firstFrame.offset === 0)) {
- firstFrame[property] = value;
- } else {
- _keyframes = [{
- offset: 0,
- [property]: value
- }, ..._keyframes];
- }
- return ani;
- };
- const to = (property, value) => {
- const lastFrame = _keyframes[_keyframes.length - 1];
- if (lastFrame !== undefined && (lastFrame.offset === undefined || lastFrame.offset === 1)) {
- lastFrame[property] = value;
- } else {
- _keyframes = [..._keyframes, {
- offset: 1,
- [property]: value
- }];
- }
- return ani;
- };
- const fromTo = (property, fromValue, toValue) => {
- return from(property, fromValue).to(property, toValue);
- };
- return ani = {
- parentAnimation,
- elements,
- childAnimations,
- id,
- animationFinish,
- from,
- to,
- fromTo,
- parent,
- play,
- pause,
- stop,
- destroy,
- keyframes,
- addAnimation,
- addElement,
- update,
- fill,
- direction,
- iterations,
- duration,
- easing,
- delay,
- getWebAnimations,
- getKeyframes,
- getFill,
- getDirection,
- getDelay,
- getIterations,
- getEasing,
- getDuration,
- afterAddRead,
- afterAddWrite,
- afterClearStyles,
- afterStyles,
- afterRemoveClass,
- afterAddClass,
- beforeAddRead,
- beforeAddWrite,
- beforeClearStyles,
- beforeStyles,
- beforeRemoveClass,
- beforeAddClass,
- onFinish,
- isRunning,
- progressStart,
- progressStep,
- progressEnd
- };
- };
- /***/ }),
- /***/ 6958:
- /*!*******************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/app-globals-275fb4c9.js ***!
- \*******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "g": () => (/* binding */ globalScripts)
- /* harmony export */ });
- /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- const globalScripts = _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_0__.i;
- /***/ }),
- /***/ 1077:
- /*!********************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/cubic-bezier-c313947a.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "g": () => (/* binding */ getTimeGivenProgression)
- /* harmony export */ });
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- /**
- * Based on:
- * https://stackoverflow.com/questions/7348009/y-coordinate-for-a-given-x-cubic-bezier
- * https://math.stackexchange.com/questions/26846/is-there-an-explicit-form-for-cubic-b%C3%A9zier-curves
- * TODO: Reduce rounding error
- */
- /**
- * EXPERIMENTAL
- * Given a cubic-bezier curve, get the x value (time) given
- * the y value (progression).
- * Ex: cubic-bezier(0.32, 0.72, 0, 1);
- * P0: (0, 0)
- * P1: (0.32, 0.72)
- * P2: (0, 1)
- * P3: (1, 1)
- *
- * If you give a cubic bezier curve that never reaches the
- * provided progression, this function will return an empty array.
- */
- const getTimeGivenProgression = (p0, p1, p2, p3, progression) => {
- return solveCubicBezier(p0[1], p1[1], p2[1], p3[1], progression).map(tValue => {
- return solveCubicParametricEquation(p0[0], p1[0], p2[0], p3[0], tValue);
- });
- };
- /**
- * Solve a cubic equation in one dimension (time)
- */
- const solveCubicParametricEquation = (p0, p1, p2, p3, t) => {
- const partA = 3 * p1 * Math.pow(t - 1, 2);
- const partB = -3 * p2 * t + 3 * p2 + p3 * t;
- const partC = p0 * Math.pow(t - 1, 3);
- return t * (partA + t * partB) - partC;
- };
- /**
- * Find the `t` value for a cubic bezier using Cardano's formula
- */
- const solveCubicBezier = (p0, p1, p2, p3, refPoint) => {
- p0 -= refPoint;
- p1 -= refPoint;
- p2 -= refPoint;
- p3 -= refPoint;
- const roots = solveCubicEquation(p3 - 3 * p2 + 3 * p1 - p0, 3 * p2 - 6 * p1 + 3 * p0, 3 * p1 - 3 * p0, p0);
- return roots.filter(root => root >= 0 && root <= 1);
- };
- const solveQuadraticEquation = (a, b, c) => {
- const discriminant = b * b - 4 * a * c;
- if (discriminant < 0) {
- return [];
- } else {
- return [(-b + Math.sqrt(discriminant)) / (2 * a), (-b - Math.sqrt(discriminant)) / (2 * a)];
- }
- };
- const solveCubicEquation = (a, b, c, d) => {
- if (a === 0) {
- return solveQuadraticEquation(b, c, d);
- }
- b /= a;
- c /= a;
- d /= a;
- const p = (3 * c - b * b) / 3;
- const q = (2 * b * b * b - 9 * b * c + 27 * d) / 27;
- if (p === 0) {
- return [Math.pow(-q, 1 / 3)];
- } else if (q === 0) {
- return [Math.sqrt(-p), -Math.sqrt(-p)];
- }
- const discriminant = Math.pow(q / 2, 2) + Math.pow(p / 3, 3);
- if (discriminant === 0) {
- return [Math.pow(q / 2, 1 / 2) - b / 3];
- } else if (discriminant > 0) {
- return [Math.pow(-(q / 2) + Math.sqrt(discriminant), 1 / 3) - Math.pow(q / 2 + Math.sqrt(discriminant), 1 / 3) - b / 3];
- }
- const r = Math.sqrt(Math.pow(-(p / 3), 3));
- const phi = Math.acos(-(q / (2 * Math.sqrt(Math.pow(-(p / 3), 3)))));
- const s = 2 * Math.pow(r, 1 / 3);
- 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];
- };
- /***/ }),
- /***/ 6379:
- /*!**************************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/gesture-controller-17060b7c.js ***!
- \**************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "G": () => (/* binding */ GESTURE_CONTROLLER)
- /* harmony export */ });
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- class GestureController {
- constructor() {
- this.gestureId = 0;
- this.requestedStart = new Map();
- this.disabledGestures = new Map();
- this.disabledScroll = new Set();
- }
- /**
- * Creates a gesture delegate based on the GestureConfig passed
- */
- createGesture(config) {
- var _a;
- return new GestureDelegate(this, this.newID(), config.name, (_a = config.priority) !== null && _a !== void 0 ? _a : 0, !!config.disableScroll);
- }
- /**
- * Creates a blocker that will block any other gesture events from firing. Set in the ion-gesture component.
- */
- createBlocker(opts = {}) {
- return new BlockerDelegate(this, this.newID(), opts.disable, !!opts.disableScroll);
- }
- start(gestureName, id, priority) {
- if (!this.canStart(gestureName)) {
- this.requestedStart.delete(id);
- return false;
- }
- this.requestedStart.set(id, priority);
- return true;
- }
- capture(gestureName, id, priority) {
- if (!this.start(gestureName, id, priority)) {
- return false;
- }
- const requestedStart = this.requestedStart;
- let maxPriority = -10000;
- requestedStart.forEach(value => {
- maxPriority = Math.max(maxPriority, value);
- });
- if (maxPriority === priority) {
- this.capturedId = id;
- requestedStart.clear();
- const event = new CustomEvent('ionGestureCaptured', {
- detail: {
- gestureName
- }
- });
- document.dispatchEvent(event);
- return true;
- }
- requestedStart.delete(id);
- return false;
- }
- release(id) {
- this.requestedStart.delete(id);
- if (this.capturedId === id) {
- this.capturedId = undefined;
- }
- }
- disableGesture(gestureName, id) {
- let set = this.disabledGestures.get(gestureName);
- if (set === undefined) {
- set = new Set();
- this.disabledGestures.set(gestureName, set);
- }
- set.add(id);
- }
- enableGesture(gestureName, id) {
- const set = this.disabledGestures.get(gestureName);
- if (set !== undefined) {
- set.delete(id);
- }
- }
- disableScroll(id) {
- this.disabledScroll.add(id);
- if (this.disabledScroll.size === 1) {
- document.body.classList.add(BACKDROP_NO_SCROLL);
- }
- }
- enableScroll(id) {
- this.disabledScroll.delete(id);
- if (this.disabledScroll.size === 0) {
- document.body.classList.remove(BACKDROP_NO_SCROLL);
- }
- }
- canStart(gestureName) {
- if (this.capturedId !== undefined) {
- // a gesture already captured
- return false;
- }
- if (this.isDisabled(gestureName)) {
- return false;
- }
- return true;
- }
- isCaptured() {
- return this.capturedId !== undefined;
- }
- isScrollDisabled() {
- return this.disabledScroll.size > 0;
- }
- isDisabled(gestureName) {
- const disabled = this.disabledGestures.get(gestureName);
- if (disabled && disabled.size > 0) {
- return true;
- }
- return false;
- }
- newID() {
- this.gestureId++;
- return this.gestureId;
- }
- }
- class GestureDelegate {
- constructor(ctrl, id, name, priority, disableScroll) {
- this.id = id;
- this.name = name;
- this.disableScroll = disableScroll;
- this.priority = priority * 1000000 + id;
- this.ctrl = ctrl;
- }
- canStart() {
- if (!this.ctrl) {
- return false;
- }
- return this.ctrl.canStart(this.name);
- }
- start() {
- if (!this.ctrl) {
- return false;
- }
- return this.ctrl.start(this.name, this.id, this.priority);
- }
- capture() {
- if (!this.ctrl) {
- return false;
- }
- const captured = this.ctrl.capture(this.name, this.id, this.priority);
- if (captured && this.disableScroll) {
- this.ctrl.disableScroll(this.id);
- }
- return captured;
- }
- release() {
- if (this.ctrl) {
- this.ctrl.release(this.id);
- if (this.disableScroll) {
- this.ctrl.enableScroll(this.id);
- }
- }
- }
- destroy() {
- this.release();
- this.ctrl = undefined;
- }
- }
- class BlockerDelegate {
- constructor(ctrl, id, disable, disableScroll) {
- this.id = id;
- this.disable = disable;
- this.disableScroll = disableScroll;
- this.ctrl = ctrl;
- }
- block() {
- if (!this.ctrl) {
- return;
- }
- if (this.disable) {
- for (const gesture of this.disable) {
- this.ctrl.disableGesture(gesture, this.id);
- }
- }
- if (this.disableScroll) {
- this.ctrl.disableScroll(this.id);
- }
- }
- unblock() {
- if (!this.ctrl) {
- return;
- }
- if (this.disable) {
- for (const gesture of this.disable) {
- this.ctrl.enableGesture(gesture, this.id);
- }
- }
- if (this.disableScroll) {
- this.ctrl.enableScroll(this.id);
- }
- }
- destroy() {
- this.unblock();
- this.ctrl = undefined;
- }
- }
- const BACKDROP_NO_SCROLL = 'backdrop-no-scroll';
- const GESTURE_CONTROLLER = new GestureController();
- /***/ }),
- /***/ 159:
- /*!****************************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/hardware-back-button-490df115.js ***!
- \****************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "MENU_BACK_BUTTON_PRIORITY": () => (/* binding */ MENU_BACK_BUTTON_PRIORITY),
- /* harmony export */ "OVERLAY_BACK_BUTTON_PRIORITY": () => (/* binding */ OVERLAY_BACK_BUTTON_PRIORITY),
- /* harmony export */ "blockHardwareBackButton": () => (/* binding */ blockHardwareBackButton),
- /* harmony export */ "startHardwareBackButton": () => (/* binding */ startHardwareBackButton)
- /* harmony export */ });
- /* 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);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- /**
- * When hardwareBackButton: false in config,
- * we need to make sure we also block the default
- * webview behavior. If we don't then it will be
- * possible for users to navigate backward while
- * an overlay is still open. Additionally, it will
- * give the appearance that the hardwareBackButton
- * config is not working as the page transition
- * will still happen.
- */
- const blockHardwareBackButton = () => {
- document.addEventListener('backbutton', () => {}); // eslint-disable-line
- };
- const startHardwareBackButton = () => {
- const doc = document;
- let busy = false;
- doc.addEventListener('backbutton', () => {
- if (busy) {
- return;
- }
- let index = 0;
- let handlers = [];
- const ev = new CustomEvent('ionBackButton', {
- bubbles: false,
- detail: {
- register(priority, handler) {
- handlers.push({
- priority,
- handler,
- id: index++
- });
- }
- }
- });
- doc.dispatchEvent(ev);
- const executeAction = /*#__PURE__*/function () {
- var _ref = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (handlerRegister) {
- try {
- if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {
- const result = handlerRegister.handler(processHandlers);
- if (result != null) {
- yield result;
- }
- }
- } catch (e) {
- console.error(e);
- }
- });
- return function executeAction(_x) {
- return _ref.apply(this, arguments);
- };
- }();
- const processHandlers = () => {
- if (handlers.length > 0) {
- let selectedHandler = {
- priority: Number.MIN_SAFE_INTEGER,
- handler: () => undefined,
- id: -1
- };
- handlers.forEach(handler => {
- if (handler.priority >= selectedHandler.priority) {
- selectedHandler = handler;
- }
- });
- busy = true;
- handlers = handlers.filter(handler => handler.id !== selectedHandler.id);
- executeAction(selectedHandler).then(() => busy = false);
- }
- };
- processHandlers();
- });
- };
- const OVERLAY_BACK_BUTTON_PRIORITY = 100;
- const MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays
- /***/ }),
- /***/ 9234:
- /*!***************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/helpers-3b390e48.js ***!
- \***************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "a": () => (/* binding */ addEventListener),
- /* harmony export */ "b": () => (/* binding */ removeEventListener),
- /* harmony export */ "c": () => (/* binding */ componentOnReady),
- /* harmony export */ "d": () => (/* binding */ getAriaLabel),
- /* harmony export */ "e": () => (/* binding */ renderHiddenInput),
- /* harmony export */ "f": () => (/* binding */ focusElement),
- /* harmony export */ "g": () => (/* binding */ getElementRoot),
- /* harmony export */ "h": () => (/* binding */ debounceEvent),
- /* harmony export */ "i": () => (/* binding */ inheritAriaAttributes),
- /* harmony export */ "j": () => (/* binding */ inheritAttributes),
- /* harmony export */ "k": () => (/* binding */ findItemLabel),
- /* harmony export */ "l": () => (/* binding */ clamp),
- /* harmony export */ "m": () => (/* binding */ hasShadowDom),
- /* harmony export */ "n": () => (/* binding */ assert),
- /* harmony export */ "o": () => (/* binding */ isEndSide),
- /* harmony export */ "p": () => (/* binding */ pointerCoord),
- /* harmony export */ "q": () => (/* binding */ debounce),
- /* harmony export */ "r": () => (/* binding */ raf),
- /* harmony export */ "s": () => (/* binding */ shallowEqualStringMap),
- /* harmony export */ "t": () => (/* binding */ transitionEndAsync),
- /* harmony export */ "u": () => (/* binding */ now)
- /* harmony export */ });
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- const transitionEndAsync = (el, expectedDuration = 0) => {
- return new Promise(resolve => {
- transitionEnd(el, expectedDuration, resolve);
- });
- };
- /**
- * Allows developer to wait for a transition
- * to finish and fallback to a timer if the
- * transition is cancelled or otherwise
- * never finishes. Also see transitionEndAsync
- * which is an await-able version of this.
- */
- const transitionEnd = (el, expectedDuration = 0, callback) => {
- let unRegTrans;
- let animationTimeout;
- const opts = {
- passive: true
- };
- const ANIMATION_FALLBACK_TIMEOUT = 500;
- const unregister = () => {
- if (unRegTrans) {
- unRegTrans();
- }
- };
- const onTransitionEnd = ev => {
- if (ev === undefined || el === ev.target) {
- unregister();
- callback(ev);
- }
- };
- if (el) {
- el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);
- el.addEventListener('transitionend', onTransitionEnd, opts);
- animationTimeout = setTimeout(onTransitionEnd, expectedDuration + ANIMATION_FALLBACK_TIMEOUT);
- unRegTrans = () => {
- if (animationTimeout) {
- clearTimeout(animationTimeout);
- animationTimeout = undefined;
- }
- el.removeEventListener('webkitTransitionEnd', onTransitionEnd, opts);
- el.removeEventListener('transitionend', onTransitionEnd, opts);
- };
- }
- return unregister;
- };
- /**
- * Waits for a component to be ready for
- * both custom element and non-custom element builds.
- * If non-custom element build, el.componentOnReady
- * will be used.
- * For custom element builds, we wait a frame
- * so that the inner contents of the component
- * have a chance to render.
- *
- * Use this utility rather than calling
- * el.componentOnReady yourself.
- */
- const componentOnReady = (el, callback) => {
- if (el.componentOnReady) {
- // eslint-disable-next-line custom-rules/no-component-on-ready-method
- el.componentOnReady().then(resolvedEl => callback(resolvedEl));
- } else {
- raf(() => callback(el));
- }
- };
- /**
- * Elements inside of web components sometimes need to inherit global attributes
- * set on the host. For example, the inner input in `ion-input` should inherit
- * the `title` attribute that developers set directly on `ion-input`. This
- * helper function should be called in componentWillLoad and assigned to a variable
- * that is later used in the render function.
- *
- * This does not need to be reactive as changing attributes on the host element
- * does not trigger a re-render.
- */
- const inheritAttributes = (el, attributes = []) => {
- const attributeObject = {};
- attributes.forEach(attr => {
- if (el.hasAttribute(attr)) {
- const value = el.getAttribute(attr);
- if (value !== null) {
- attributeObject[attr] = el.getAttribute(attr);
- }
- el.removeAttribute(attr);
- }
- });
- return attributeObject;
- };
- /**
- * List of available ARIA attributes + `role`.
- * Removed deprecated attributes.
- * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
- */
- 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'];
- /**
- * Returns an array of aria attributes that should be copied from
- * the shadow host element to a target within the light DOM.
- * @param el The element that the attributes should be copied from.
- * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host.
- * Use this in instances where we manually specify aria attributes on the `<Host>` element.
- */
- const inheritAriaAttributes = (el, ignoreList) => {
- let attributesToInherit = ariaAttributes;
- if (ignoreList && ignoreList.length > 0) {
- attributesToInherit = attributesToInherit.filter(attr => !ignoreList.includes(attr));
- }
- return inheritAttributes(el, attributesToInherit);
- };
- const addEventListener = (el, eventName, callback, opts) => {
- var _a;
- if (typeof window !== 'undefined') {
- const win = window;
- const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
- if (config) {
- const ael = config.get('_ael');
- if (ael) {
- return ael(el, eventName, callback, opts);
- } else if (config._ael) {
- return config._ael(el, eventName, callback, opts);
- }
- }
- }
- return el.addEventListener(eventName, callback, opts);
- };
- const removeEventListener = (el, eventName, callback, opts) => {
- var _a;
- if (typeof window !== 'undefined') {
- const win = window;
- const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
- if (config) {
- const rel = config.get('_rel');
- if (rel) {
- return rel(el, eventName, callback, opts);
- } else if (config._rel) {
- return config._rel(el, eventName, callback, opts);
- }
- }
- }
- return el.removeEventListener(eventName, callback, opts);
- };
- /**
- * Gets the root context of a shadow dom element
- * On newer browsers this will be the shadowRoot,
- * but for older browser this may just be the
- * element itself.
- *
- * Useful for whenever you need to explicitly
- * do "myElement.shadowRoot!.querySelector(...)".
- */
- const getElementRoot = (el, fallback = el) => {
- return el.shadowRoot || fallback;
- };
- /**
- * Patched version of requestAnimationFrame that avoids ngzone
- * Use only when you know ngzone should not run
- */
- const raf = h => {
- if (typeof __zone_symbol__requestAnimationFrame === 'function') {
- return __zone_symbol__requestAnimationFrame(h);
- }
- if (typeof requestAnimationFrame === 'function') {
- return requestAnimationFrame(h);
- }
- return setTimeout(h);
- };
- const hasShadowDom = el => {
- return !!el.shadowRoot && !!el.attachShadow;
- };
- const findItemLabel = componentEl => {
- const itemEl = componentEl.closest('ion-item');
- if (itemEl) {
- return itemEl.querySelector('ion-label');
- }
- return null;
- };
- const focusElement = el => {
- el.focus();
- /**
- * When programmatically focusing an element,
- * the focus-visible utility will not run because
- * it is expecting a keyboard event to have triggered this;
- * however, there are times when we need to manually control
- * this behavior so we call the `setFocus` method on ion-app
- * which will let us explicitly set the elements to focus.
- */
- if (el.classList.contains('ion-focusable')) {
- const app = el.closest('ion-app');
- if (app) {
- app.setFocus([el]);
- }
- }
- };
- /**
- * This method is used for Ionic's input components that use Shadow DOM. In
- * order to properly label the inputs to work with screen readers, we need
- * to get the text content of the label outside of the shadow root and pass
- * it to the input inside of the shadow root.
- *
- * Referencing label elements by id from outside of the component is
- * impossible due to the shadow boundary, read more here:
- * https://developer.salesforce.com/blogs/2020/01/accessibility-for-web-components.html
- *
- * @param componentEl The shadow element that needs the aria label
- * @param inputId The unique identifier for the input
- */
- const getAriaLabel = (componentEl, inputId) => {
- let labelText; // If the user provides their own label via the aria-labelledby attr
- // we should use that instead of looking for an ion-label
- const labelledBy = componentEl.getAttribute('aria-labelledby'); // Grab the id off of the component in case they are using
- // a custom label using the label element
- const componentId = componentEl.id;
- let labelId = labelledBy !== null && labelledBy.trim() !== '' ? labelledBy : inputId + '-lbl';
- let label = labelledBy !== null && labelledBy.trim() !== '' ? document.getElementById(labelledBy) : findItemLabel(componentEl);
- if (label) {
- if (labelledBy === null) {
- label.id = labelId;
- }
- labelText = label.textContent;
- label.setAttribute('aria-hidden', 'true'); // if there is no label, check to see if the user has provided
- // one by setting an id on the component and using the label element
- } else if (componentId.trim() !== '') {
- label = document.querySelector(`label[for="${componentId}"]`);
- if (label) {
- if (label.id !== '') {
- labelId = label.id;
- } else {
- label.id = labelId = `${componentId}-lbl`;
- }
- labelText = label.textContent;
- }
- }
- return {
- label,
- labelId,
- labelText
- };
- };
- /**
- * This method is used to add a hidden input to a host element that contains
- * a Shadow DOM. It does not add the input inside of the Shadow root which
- * allows it to be picked up inside of forms. It should contain the same
- * values as the host element.
- *
- * @param always Add a hidden input even if the container does not use Shadow
- * @param container The element where the input will be added
- * @param name The name of the input
- * @param value The value of the input
- * @param disabled If true, the input is disabled
- */
- const renderHiddenInput = (always, container, name, value, disabled) => {
- if (always || hasShadowDom(container)) {
- let input = container.querySelector('input.aux-input');
- if (!input) {
- input = container.ownerDocument.createElement('input');
- input.type = 'hidden';
- input.classList.add('aux-input');
- container.appendChild(input);
- }
- input.disabled = disabled;
- input.name = name;
- input.value = value || '';
- }
- };
- const clamp = (min, n, max) => {
- return Math.max(min, Math.min(n, max));
- };
- const assert = (actual, reason) => {
- if (!actual) {
- const message = 'ASSERT: ' + reason;
- console.error(message);
- debugger; // eslint-disable-line
- throw new Error(message);
- }
- };
- const now = ev => {
- return ev.timeStamp || Date.now();
- };
- const pointerCoord = ev => {
- // get X coordinates for either a mouse click
- // or a touch depending on the given event
- if (ev) {
- const changedTouches = ev.changedTouches;
- if (changedTouches && changedTouches.length > 0) {
- const touch = changedTouches[0];
- return {
- x: touch.clientX,
- y: touch.clientY
- };
- }
- if (ev.pageX !== undefined) {
- return {
- x: ev.pageX,
- y: ev.pageY
- };
- }
- }
- return {
- x: 0,
- y: 0
- };
- };
- /**
- * @hidden
- * Given a side, return if it should be on the end
- * based on the value of dir
- * @param side the side
- * @param isRTL whether the application dir is rtl
- */
- const isEndSide = side => {
- const isRTL = document.dir === 'rtl';
- switch (side) {
- case 'start':
- return isRTL;
- case 'end':
- return !isRTL;
- default:
- throw new Error(`"${side}" is not a valid value for [side]. Use "start" or "end" instead.`);
- }
- };
- const debounceEvent = (event, wait) => {
- const original = event._original || event;
- return {
- _original: event,
- emit: debounce(original.emit.bind(original), wait)
- };
- };
- const debounce = (func, wait = 0) => {
- let timer;
- return (...args) => {
- clearTimeout(timer);
- timer = setTimeout(func, wait, ...args);
- };
- };
- /**
- * Check whether the two string maps are shallow equal.
- *
- * undefined is treated as an empty map.
- *
- * @returns whether the keys are the same and the values are shallow equal.
- */
- const shallowEqualStringMap = (map1, map2) => {
- map1 !== null && map1 !== void 0 ? map1 : map1 = {};
- map2 !== null && map2 !== void 0 ? map2 : map2 = {};
- if (map1 === map2) {
- return true;
- }
- const keys1 = Object.keys(map1);
- if (keys1.length !== Object.keys(map2).length) {
- return false;
- }
- for (const k1 of keys1) {
- if (!(k1 in map2)) {
- return false;
- }
- if (map1[k1] !== map2[k1]) {
- return false;
- }
- }
- return true;
- };
- /***/ }),
- /***/ 2286:
- /*!*************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/index-33ffec25.js ***!
- \*************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "w": () => (/* binding */ win)
- /* harmony export */ });
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- /**
- * When accessing the window, it is important
- * to account for SSR applications where the
- * window is not available. Code that accesses
- * window when it is not available will crash.
- * Even checking if `window === undefined` will cause
- * apps to crash in SSR.
- *
- * Use win below to access an SSR-safe version
- * of the window.
- *
- * Example 1:
- * Before:
- * if (window.innerWidth > 768) { ... }
- *
- * After:
- * import { win } from 'path/to/this/file';
- * if (win?.innerWidth > 768) { ... }
- *
- * Note: Code inside of this if-block will
- * not run in an SSR environment.
- */
- const win = typeof window !== 'undefined' ? window : undefined;
- /***/ }),
- /***/ 8923:
- /*!*************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/index-41145c2b.js ***!
- \*************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "m": () => (/* binding */ menuController)
- /* harmony export */ });
- /* 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);
- /* harmony import */ var _hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hardware-back-button-490df115.js */ 159);
- /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
- /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
- /* harmony import */ var _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./animation-2c50d24d.js */ 631);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- /**
- * baseAnimation
- * Base class which is extended by the various types. Each
- * type will provide their own animations for open and close
- * and registers itself with Menu.
- */
- const baseAnimation = isIos => {
- // https://material.io/guidelines/motion/movement.html#movement-movement-in-out-of-screen-bounds
- // https://material.io/guidelines/motion/duration-easing.html#duration-easing-natural-easing-curves
- /**
- * "Apply the sharp curve to items temporarily leaving the screen that may return
- * from the same exit point. When they return, use the deceleration curve. On mobile,
- * this transition typically occurs over 300ms" -- MD Motion Guide
- */
- return (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().duration(isIos ? 400 : 300);
- };
- /**
- * Menu Overlay Type
- * The menu slides over the content. The content
- * itself, which is under the menu, does not move.
- */
- const menuOverlayAnimation = menu => {
- let closedX;
- let openedX;
- const width = menu.width + 8;
- const menuAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)();
- const backdropAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)();
- if (menu.isEndSide) {
- // right side
- closedX = width + 'px';
- openedX = '0px';
- } else {
- // left side
- closedX = -width + 'px';
- openedX = '0px';
- }
- menuAnimation.addElement(menu.menuInnerEl).fromTo('transform', `translateX(${closedX})`, `translateX(${openedX})`);
- const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_3__.b)(menu);
- const isIos = mode === 'ios';
- const opacity = isIos ? 0.2 : 0.25;
- backdropAnimation.addElement(menu.backdropEl).fromTo('opacity', 0.01, opacity);
- return baseAnimation(isIos).addAnimation([menuAnimation, backdropAnimation]);
- };
- /**
- * Menu Push Type
- * The content slides over to reveal the menu underneath.
- * The menu itself also slides over to reveal its bad self.
- */
- const menuPushAnimation = menu => {
- let contentOpenedX;
- let menuClosedX;
- const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_3__.b)(menu);
- const width = menu.width;
- if (menu.isEndSide) {
- contentOpenedX = -width + 'px';
- menuClosedX = width + 'px';
- } else {
- contentOpenedX = width + 'px';
- menuClosedX = -width + 'px';
- }
- const menuAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().addElement(menu.menuInnerEl).fromTo('transform', `translateX(${menuClosedX})`, 'translateX(0px)');
- const contentAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().addElement(menu.contentEl).fromTo('transform', 'translateX(0px)', `translateX(${contentOpenedX})`);
- const backdropAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().addElement(menu.backdropEl).fromTo('opacity', 0.01, 0.32);
- return baseAnimation(mode === 'ios').addAnimation([menuAnimation, contentAnimation, backdropAnimation]);
- };
- /**
- * Menu Reveal Type
- * The content slides over to reveal the menu underneath.
- * The menu itself, which is under the content, does not move.
- */
- const menuRevealAnimation = menu => {
- const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_3__.b)(menu);
- const openedX = menu.width * (menu.isEndSide ? -1 : 1) + 'px';
- const contentOpen = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_4__.c)().addElement(menu.contentEl) // REVIEW
- .fromTo('transform', 'translateX(0px)', `translateX(${openedX})`);
- return baseAnimation(mode === 'ios').addAnimation(contentOpen);
- };
- const createMenuController = () => {
- const menuAnimations = new Map();
- const menus = [];
- const open = /*#__PURE__*/function () {
- var _ref = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
- const menuEl = yield get(menu);
- if (menuEl) {
- return menuEl.open();
- }
- return false;
- });
- return function open(_x) {
- return _ref.apply(this, arguments);
- };
- }();
- const close = /*#__PURE__*/function () {
- var _ref2 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
- const menuEl = yield menu !== undefined ? get(menu) : getOpen();
- if (menuEl !== undefined) {
- return menuEl.close();
- }
- return false;
- });
- return function close(_x2) {
- return _ref2.apply(this, arguments);
- };
- }();
- const toggle = /*#__PURE__*/function () {
- var _ref3 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
- const menuEl = yield get(menu);
- if (menuEl) {
- return menuEl.toggle();
- }
- return false;
- });
- return function toggle(_x3) {
- return _ref3.apply(this, arguments);
- };
- }();
- const enable = /*#__PURE__*/function () {
- var _ref4 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (shouldEnable, menu) {
- const menuEl = yield get(menu);
- if (menuEl) {
- menuEl.disabled = !shouldEnable;
- }
- return menuEl;
- });
- return function enable(_x4, _x5) {
- return _ref4.apply(this, arguments);
- };
- }();
- const swipeGesture = /*#__PURE__*/function () {
- var _ref5 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (shouldEnable, menu) {
- const menuEl = yield get(menu);
- if (menuEl) {
- menuEl.swipeGesture = shouldEnable;
- }
- return menuEl;
- });
- return function swipeGesture(_x6, _x7) {
- return _ref5.apply(this, arguments);
- };
- }();
- const isOpen = /*#__PURE__*/function () {
- var _ref6 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
- if (menu != null) {
- const menuEl = yield get(menu); // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
- return menuEl !== undefined && menuEl.isOpen();
- } else {
- const menuEl = yield getOpen();
- return menuEl !== undefined;
- }
- });
- return function isOpen(_x8) {
- return _ref6.apply(this, arguments);
- };
- }();
- const isEnabled = /*#__PURE__*/function () {
- var _ref7 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
- const menuEl = yield get(menu);
- if (menuEl) {
- return !menuEl.disabled;
- }
- return false;
- });
- return function isEnabled(_x9) {
- return _ref7.apply(this, arguments);
- };
- }();
- const get = /*#__PURE__*/function () {
- var _ref8 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (menu) {
- yield waitUntilReady();
- if (menu === 'start' || menu === 'end') {
- // there could be more than one menu on the same side
- // so first try to get the enabled one
- const menuRef = find(m => m.side === menu && !m.disabled);
- if (menuRef) {
- return menuRef;
- } // didn't find a menu side that is enabled
- // so try to get the first menu side found
- return find(m => m.side === menu);
- } else if (menu != null) {
- // the menuId was not left or right
- // so try to get the menu by its "id"
- return find(m => m.menuId === menu);
- } // return the first enabled menu
- const menuEl = find(m => !m.disabled);
- if (menuEl) {
- return menuEl;
- } // get the first menu in the array, if one exists
- return menus.length > 0 ? menus[0].el : undefined;
- });
- return function get(_x10) {
- return _ref8.apply(this, arguments);
- };
- }();
- /**
- * Get the instance of the opened menu. Returns `null` if a menu is not found.
- */
- const getOpen = /*#__PURE__*/function () {
- var _ref9 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
- yield waitUntilReady();
- return _getOpenSync();
- });
- return function getOpen() {
- return _ref9.apply(this, arguments);
- };
- }();
- /**
- * Get all menu instances.
- */
- const getMenus = /*#__PURE__*/function () {
- var _ref10 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
- yield waitUntilReady();
- return getMenusSync();
- });
- return function getMenus() {
- return _ref10.apply(this, arguments);
- };
- }();
- /**
- * Get whether or not a menu is animating. Returns `true` if any
- * menu is currently animating.
- */
- const isAnimating = /*#__PURE__*/function () {
- var _ref11 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
- yield waitUntilReady();
- return isAnimatingSync();
- });
- return function isAnimating() {
- return _ref11.apply(this, arguments);
- };
- }();
- const registerAnimation = (name, animation) => {
- menuAnimations.set(name, animation);
- };
- const _register = menu => {
- if (menus.indexOf(menu) < 0) {
- if (!menu.disabled) {
- _setActiveMenu(menu);
- }
- menus.push(menu);
- }
- };
- const _unregister = menu => {
- const index = menus.indexOf(menu);
- if (index > -1) {
- menus.splice(index, 1);
- }
- };
- const _setActiveMenu = menu => {
- // if this menu should be enabled
- // then find all the other menus on this same side
- // and automatically disable other same side menus
- const side = menu.side;
- menus.filter(m => m.side === side && m !== menu).forEach(m => m.disabled = true);
- };
- const _setOpen = /*#__PURE__*/function () {
- 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) {
- if (isAnimatingSync()) {
- return false;
- }
- if (shouldOpen) {
- const openedMenu = yield getOpen();
- if (openedMenu && menu.el !== openedMenu) {
- yield openedMenu.setOpen(false, false);
- }
- }
- return menu._setOpen(shouldOpen, animated);
- });
- return function _setOpen(_x11, _x12, _x13) {
- return _ref12.apply(this, arguments);
- };
- }();
- const _createAnimation = (type, menuCmp) => {
- const animationBuilder = menuAnimations.get(type);
- if (!animationBuilder) {
- throw new Error('animation not registered');
- }
- const animation = animationBuilder(menuCmp);
- return animation;
- };
- const _getOpenSync = () => {
- return find(m => m._isOpen);
- };
- const getMenusSync = () => {
- return menus.map(menu => menu.el);
- };
- const isAnimatingSync = () => {
- return menus.some(menu => menu.isAnimating);
- };
- const find = predicate => {
- const instance = menus.find(predicate);
- if (instance !== undefined) {
- return instance.el;
- }
- return undefined;
- };
- const waitUntilReady = () => {
- 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))));
- };
- registerAnimation('reveal', menuRevealAnimation);
- registerAnimation('push', menuPushAnimation);
- registerAnimation('overlay', menuOverlayAnimation);
- if (typeof document !== 'undefined') {
- document.addEventListener('ionBackButton', ev => {
- const openMenu = _getOpenSync();
- if (openMenu) {
- ev.detail.register(_hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_1__.MENU_BACK_BUTTON_PRIORITY, () => {
- return openMenu.close();
- });
- }
- });
- }
- return {
- registerAnimation,
- get,
- getMenus,
- getOpen,
- isEnabled,
- swipeGesture,
- isAnimating,
- isOpen,
- enable,
- toggle,
- close,
- open,
- _getOpenSync,
- _createAnimation,
- _register,
- _unregister,
- _setOpen,
- _setActiveMenu
- };
- };
- const menuController = /*@__PURE__*/createMenuController();
- /***/ }),
- /***/ 1559:
- /*!*************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/index-8e692445.js ***!
- \*************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "B": () => (/* binding */ Build),
- /* harmony export */ "H": () => (/* binding */ Host),
- /* harmony export */ "N": () => (/* binding */ NAMESPACE),
- /* harmony export */ "a": () => (/* binding */ setMode),
- /* harmony export */ "b": () => (/* binding */ bootstrapLazy),
- /* harmony export */ "c": () => (/* binding */ writeTask),
- /* harmony export */ "d": () => (/* binding */ doc),
- /* harmony export */ "e": () => (/* binding */ createEvent),
- /* harmony export */ "f": () => (/* binding */ readTask),
- /* harmony export */ "g": () => (/* binding */ getMode),
- /* harmony export */ "h": () => (/* binding */ h),
- /* harmony export */ "i": () => (/* binding */ getElement),
- /* harmony export */ "j": () => (/* binding */ forceUpdate),
- /* harmony export */ "k": () => (/* binding */ getAssetPath),
- /* harmony export */ "p": () => (/* binding */ promiseResolve),
- /* harmony export */ "r": () => (/* binding */ registerInstance),
- /* harmony export */ "s": () => (/* binding */ setPlatformHelpers),
- /* harmony export */ "w": () => (/* binding */ win)
- /* harmony export */ });
- /* 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);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- const NAMESPACE = 'ionic';
- let scopeId;
- let contentRef;
- let hostTagName;
- let useNativeShadowDom = false;
- let checkSlotFallbackVisibility = false;
- let checkSlotRelocate = false;
- let isSvgMode = false;
- let queuePending = false;
- const win = typeof window !== 'undefined' ? window : {};
- const doc = win.document || {
- head: {}
- };
- const plt = {
- $flags$: 0,
- $resourcesUrl$: '',
- jmp: h => h(),
- raf: h => requestAnimationFrame(h),
- ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
- rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
- ce: (eventName, opts) => new CustomEvent(eventName, opts)
- };
- const setPlatformHelpers = helpers => {
- Object.assign(plt, helpers);
- };
- const supportsShadow = true;
- const promiseResolve = v => Promise.resolve(v);
- const supportsConstructableStylesheets = /*@__PURE__*/(() => {
- try {
- new CSSStyleSheet();
- return typeof new CSSStyleSheet().replaceSync === 'function';
- } catch (e) {}
- return false;
- })();
- const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
- if (listeners) {
- listeners.map(([flags, name, method]) => {
- const target = getHostListenerTarget(elm, flags);
- const handler = hostListenerProxy(hostRef, method);
- const opts = hostListenerOpts(flags);
- plt.ael(target, name, handler, opts);
- (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
- });
- }
- };
- const hostListenerProxy = (hostRef, methodName) => ev => {
- try {
- {
- if (hostRef.$flags$ & 256
- /* HOST_FLAGS.isListenReady */
- ) {
- // instance is ready, let's call it's member method for this event
- hostRef.$lazyInstance$[methodName](ev);
- } else {
- (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
- }
- }
- } catch (e) {
- consoleError(e);
- }
- };
- const getHostListenerTarget = (elm, flags) => {
- if (flags & 4
- /* LISTENER_FLAGS.TargetDocument */
- ) return doc;
- if (flags & 8
- /* LISTENER_FLAGS.TargetWindow */
- ) return win;
- if (flags & 16
- /* LISTENER_FLAGS.TargetBody */
- ) return doc.body;
- return elm;
- }; // prettier-ignore
- const hostListenerOpts = flags => (flags & 2
- /* LISTENER_FLAGS.Capture */
- ) !== 0;
- const CONTENT_REF_ID = 'r';
- const ORG_LOCATION_ID = 'o';
- const SLOT_NODE_ID = 's';
- const TEXT_NODE_ID = 't';
- const HYDRATE_ID = 's-id';
- const HYDRATED_STYLE_ID = 'sty-id';
- const HYDRATE_CHILD_ID = 'c-id';
- const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
- const XLINK_NS = 'http://www.w3.org/1999/xlink';
- const createTime = (fnName, tagName = '') => {
- {
- return () => {
- return;
- };
- }
- };
- const uniqueTime = (key, measureText) => {
- {
- return () => {
- return;
- };
- }
- };
- const rootAppliedStyles = /*@__PURE__*/new WeakMap();
- const registerStyle = (scopeId, cssText, allowCS) => {
- let style = styles.get(scopeId);
- if (supportsConstructableStylesheets && allowCS) {
- style = style || new CSSStyleSheet();
- if (typeof style === 'string') {
- style = cssText;
- } else {
- style.replaceSync(cssText);
- }
- } else {
- style = cssText;
- }
- styles.set(scopeId, style);
- };
- const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
- let scopeId = getScopeId(cmpMeta, mode);
- const style = styles.get(scopeId); // if an element is NOT connected then getRootNode() will return the wrong root node
- // so the fallback is to always use the document for the root node in those cases
- styleContainerNode = styleContainerNode.nodeType === 11
- /* NODE_TYPE.DocumentFragment */
- ? styleContainerNode : doc;
- if (style) {
- if (typeof style === 'string') {
- styleContainerNode = styleContainerNode.head || styleContainerNode;
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
- let styleElm;
- if (!appliedStyles) {
- rootAppliedStyles.set(styleContainerNode, appliedStyles = new Set());
- }
- if (!appliedStyles.has(scopeId)) {
- if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
- // This is only happening on native shadow-dom, do not needs CSS var shim
- styleElm.innerHTML = style;
- } else {
- {
- styleElm = doc.createElement('style');
- styleElm.innerHTML = style;
- }
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
- }
- if (appliedStyles) {
- appliedStyles.add(scopeId);
- }
- }
- } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
- }
- }
- return scopeId;
- };
- const attachStyles = hostRef => {
- const cmpMeta = hostRef.$cmpMeta$;
- const elm = hostRef.$hostElement$;
- const flags = cmpMeta.$flags$;
- const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
- const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$);
- if (flags & 10
- /* CMP_FLAGS.needsScopedEncapsulation */
- ) {
- // only required when we're NOT using native shadow dom (slot)
- // or this browser doesn't support native shadow dom
- // and this host element was NOT created with SSR
- // let's pick out the inner content for slot projection
- // create a node to represent where the original
- // content was first placed, which is useful later on
- // DOM WRITE!!
- elm['s-sc'] = scopeId;
- elm.classList.add(scopeId + '-h');
- if (flags & 2
- /* CMP_FLAGS.scopedCssEncapsulation */
- ) {
- elm.classList.add(scopeId + '-s');
- }
- }
- endAttachStyles();
- };
- const getScopeId = (cmp, mode) => 'sc-' + (mode && cmp.$flags$ & 32
- /* CMP_FLAGS.hasMode */
- ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);
- const convertScopedToShadow = css => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{'); // Private
- const computeMode = elm => modeResolutionChain.map(h => h(elm)).find(m => !!m); // Public
- const setMode = handler => modeResolutionChain.push(handler);
- const getMode = ref => getHostRef(ref).$modeName$;
- /**
- * Default style mode id
- */
- /**
- * Reusable empty obj/array
- * Don't add values to these!!
- */
- const EMPTY_OBJ = {};
- /**
- * Namespaces
- */
- const SVG_NS = 'http://www.w3.org/2000/svg';
- const HTML_NS = 'http://www.w3.org/1999/xhtml';
- const isDef = v => v != null;
- const isComplexType = o => {
- // https://jsperf.com/typeof-fn-object/5
- o = typeof o;
- return o === 'object' || o === 'function';
- };
- /**
- * Production h() function based on Preact by
- * Jason Miller (@developit)
- * Licensed under the MIT License
- * https://github.com/developit/preact/blob/master/LICENSE
- *
- * Modified for Stencil's compiler and vdom
- */
- // const stack: any[] = [];
- // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
- // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
- const h = (nodeName, vnodeData, ...children) => {
- let child = null;
- let key = null;
- let slotName = null;
- let simple = false;
- let lastSimple = false;
- const vNodeChildren = [];
- const walk = c => {
- for (let i = 0; i < c.length; i++) {
- child = c[i];
- if (Array.isArray(child)) {
- walk(child);
- } else if (child != null && typeof child !== 'boolean') {
- if (simple = typeof nodeName !== 'function' && !isComplexType(child)) {
- child = String(child);
- }
- if (simple && lastSimple) {
- // If the previous child was simple (string), we merge both
- vNodeChildren[vNodeChildren.length - 1].$text$ += child;
- } else {
- // Append a new vNode, if it's text, we create a text vNode
- vNodeChildren.push(simple ? newVNode(null, child) : child);
- }
- lastSimple = simple;
- }
- }
- };
- walk(children);
- if (vnodeData) {
- // normalize class / classname attributes
- if (vnodeData.key) {
- key = vnodeData.key;
- }
- if (vnodeData.name) {
- slotName = vnodeData.name;
- }
- {
- const classData = vnodeData.className || vnodeData.class;
- if (classData) {
- vnodeData.class = typeof classData !== 'object' ? classData : Object.keys(classData).filter(k => classData[k]).join(' ');
- }
- }
- }
- if (typeof nodeName === 'function') {
- // nodeName is a functional component
- return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
- }
- const vnode = newVNode(nodeName, null);
- vnode.$attrs$ = vnodeData;
- if (vNodeChildren.length > 0) {
- vnode.$children$ = vNodeChildren;
- }
- {
- vnode.$key$ = key;
- }
- {
- vnode.$name$ = slotName;
- }
- return vnode;
- };
- const newVNode = (tag, text) => {
- const vnode = {
- $flags$: 0,
- $tag$: tag,
- $text$: text,
- $elm$: null,
- $children$: null
- };
- {
- vnode.$attrs$ = null;
- }
- {
- vnode.$key$ = null;
- }
- {
- vnode.$name$ = null;
- }
- return vnode;
- };
- const Host = {};
- const isHost = node => node && node.$tag$ === Host;
- const vdomFnUtils = {
- forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
- map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
- };
- const convertToPublic = node => ({
- vattrs: node.$attrs$,
- vchildren: node.$children$,
- vkey: node.$key$,
- vname: node.$name$,
- vtag: node.$tag$,
- vtext: node.$text$
- });
- const convertToPrivate = node => {
- if (typeof node.vtag === 'function') {
- const vnodeData = Object.assign({}, node.vattrs);
- if (node.vkey) {
- vnodeData.key = node.vkey;
- }
- if (node.vname) {
- vnodeData.name = node.vname;
- }
- return h(node.vtag, vnodeData, ...(node.vchildren || []));
- }
- const vnode = newVNode(node.vtag, node.vtext);
- vnode.$attrs$ = node.vattrs;
- vnode.$children$ = node.vchildren;
- vnode.$key$ = node.vkey;
- vnode.$name$ = node.vname;
- return vnode;
- };
- /**
- * Production setAccessor() function based on Preact by
- * Jason Miller (@developit)
- * Licensed under the MIT License
- * https://github.com/developit/preact/blob/master/LICENSE
- *
- * Modified for Stencil's compiler and vdom
- */
- const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
- if (oldValue !== newValue) {
- let isProp = isMemberInElement(elm, memberName);
- let ln = memberName.toLowerCase();
- if (memberName === 'class') {
- const classList = elm.classList;
- const oldClasses = parseClassList(oldValue);
- const newClasses = parseClassList(newValue);
- classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));
- classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));
- } else if (memberName === 'style') {
- // update style attribute, css properties and values
- {
- for (const prop in oldValue) {
- if (!newValue || newValue[prop] == null) {
- if (prop.includes('-')) {
- elm.style.removeProperty(prop);
- } else {
- elm.style[prop] = '';
- }
- }
- }
- }
- for (const prop in newValue) {
- if (!oldValue || newValue[prop] !== oldValue[prop]) {
- if (prop.includes('-')) {
- elm.style.setProperty(prop, newValue[prop]);
- } else {
- elm.style[prop] = newValue[prop];
- }
- }
- }
- } else if (memberName === 'key') ;else if (memberName === 'ref') {
- // minifier will clean this up
- if (newValue) {
- newValue(elm);
- }
- } else if (!isProp && memberName[0] === 'o' && memberName[1] === 'n') {
- // Event Handlers
- // so if the member name starts with "on" and the 3rd characters is
- // a capital letter, and it's not already a member on the element,
- // then we're assuming it's an event listener
- if (memberName[2] === '-') {
- // on- prefixed events
- // allows to be explicit about the dom event to listen without any magic
- // under the hood:
- // <my-cmp on-click> // listens for "click"
- // <my-cmp on-Click> // listens for "Click"
- // <my-cmp on-ionChange> // listens for "ionChange"
- // <my-cmp on-EVENTS> // listens for "EVENTS"
- memberName = memberName.slice(3);
- } else if (isMemberInElement(win, ln)) {
- // standard event
- // the JSX attribute could have been "onMouseOver" and the
- // member name "onmouseover" is on the window's prototype
- // so let's add the listener "mouseover", which is all lowercased
- memberName = ln.slice(2);
- } else {
- // custom event
- // the JSX attribute could have been "onMyCustomEvent"
- // so let's trim off the "on" prefix and lowercase the first character
- // and add the listener "myCustomEvent"
- // except for the first character, we keep the event name case
- memberName = ln[2] + memberName.slice(3);
- }
- if (oldValue) {
- plt.rel(elm, memberName, oldValue, false);
- }
- if (newValue) {
- plt.ael(elm, memberName, newValue, false);
- }
- } else {
- // Set property if it exists and it's not a SVG
- const isComplex = isComplexType(newValue);
- if ((isProp || isComplex && newValue !== null) && !isSvg) {
- try {
- if (!elm.tagName.includes('-')) {
- const n = newValue == null ? '' : newValue; // Workaround for Safari, moving the <input> caret when re-assigning the same valued
- if (memberName === 'list') {
- isProp = false;
- } else if (oldValue == null || elm[memberName] != n) {
- elm[memberName] = n;
- }
- } else {
- elm[memberName] = newValue;
- }
- } catch (e) {}
- }
- /**
- * Need to manually update attribute if:
- * - memberName is not an attribute
- * - if we are rendering the host element in order to reflect attribute
- * - if it's a SVG, since properties might not work in <svg>
- * - if the newValue is null/undefined or 'false'.
- */
- let xlink = false;
- {
- if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
- memberName = ln;
- xlink = true;
- }
- }
- if (newValue == null || newValue === false) {
- if (newValue !== false || elm.getAttribute(memberName) === '') {
- if (xlink) {
- elm.removeAttributeNS(XLINK_NS, memberName);
- } else {
- elm.removeAttribute(memberName);
- }
- }
- } else if ((!isProp || flags & 4
- /* VNODE_FLAGS.isHost */
- || isSvg) && !isComplex) {
- newValue = newValue === true ? '' : newValue;
- if (xlink) {
- elm.setAttributeNS(XLINK_NS, memberName, newValue);
- } else {
- elm.setAttribute(memberName, newValue);
- }
- }
- }
- }
- };
- const parseClassListRegex = /\s/;
- const parseClassList = value => !value ? [] : value.split(parseClassListRegex);
- const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
- // if the element passed in is a shadow root, which is a document fragment
- // then we want to be adding attrs/props to the shadow root's "host" element
- // if it's not a shadow root, then we add attrs/props to the same element
- const elm = newVnode.$elm$.nodeType === 11
- /* NODE_TYPE.DocumentFragment */
- && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
- {
- // remove attributes no longer present on the vnode by setting them to undefined
- for (memberName in oldVnodeAttrs) {
- if (!(memberName in newVnodeAttrs)) {
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
- }
- }
- } // add new & update changed attributes
- for (memberName in newVnodeAttrs) {
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
- }
- };
- /**
- * Create a DOM Node corresponding to one of the children of a given VNode.
- *
- * @param oldParentVNode the parent VNode from the previous render
- * @param newParentVNode the parent VNode from the current render
- * @param childIndex the index of the VNode, in the _new_ parent node's
- * children, for which we will create a new DOM node
- * @param parentElm the parent DOM node which our new node will be a child of
- * @returns the newly created node
- */
- const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
- // tslint:disable-next-line: prefer-const
- const newVNode = newParentVNode.$children$[childIndex];
- let i = 0;
- let elm;
- let childNode;
- let oldVNode;
- if (!useNativeShadowDom) {
- // remember for later we need to check to relocate nodes
- checkSlotRelocate = true;
- if (newVNode.$tag$ === 'slot') {
- if (scopeId) {
- // scoped css needs to add its scoped id to the parent element
- parentElm.classList.add(scopeId + '-s');
- }
- newVNode.$flags$ |= newVNode.$children$ ? // slot element has fallback content
- 2
- /* VNODE_FLAGS.isSlotFallback */
- : // slot element does not have fallback content
- 1
- /* VNODE_FLAGS.isSlotReference */
- ;
- }
- }
- if (newVNode.$text$ !== null) {
- // create text node
- elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
- } else if (newVNode.$flags$ & 1
- /* VNODE_FLAGS.isSlotReference */
- ) {
- // create a slot reference node
- elm = newVNode.$elm$ = doc.createTextNode('');
- } else {
- if (!isSvgMode) {
- isSvgMode = newVNode.$tag$ === 'svg';
- } // create element
- elm = newVNode.$elm$ = doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2
- /* VNODE_FLAGS.isSlotFallback */
- ? 'slot-fb' : newVNode.$tag$);
- if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
- isSvgMode = false;
- } // add css classes, attrs, props, listeners, etc.
- {
- updateElement(null, newVNode, isSvgMode);
- }
- if (isDef(scopeId) && elm['s-si'] !== scopeId) {
- // if there is a scopeId and this is the initial render
- // then let's add the scopeId as a css class
- elm.classList.add(elm['s-si'] = scopeId);
- }
- if (newVNode.$children$) {
- for (i = 0; i < newVNode.$children$.length; ++i) {
- // create the node
- childNode = createElm(oldParentVNode, newVNode, i, elm); // return node could have been null
- if (childNode) {
- // append our new node
- elm.appendChild(childNode);
- }
- }
- }
- {
- if (newVNode.$tag$ === 'svg') {
- // Only reset the SVG context when we're exiting <svg> element
- isSvgMode = false;
- } else if (elm.tagName === 'foreignObject') {
- // Reenter SVG context when we're exiting <foreignObject> element
- isSvgMode = true;
- }
- }
- }
- {
- elm['s-hn'] = hostTagName;
- if (newVNode.$flags$ & (2
- /* VNODE_FLAGS.isSlotFallback */
- | 1
- /* VNODE_FLAGS.isSlotReference */
- )) {
- // remember the content reference comment
- elm['s-sr'] = true; // remember the content reference comment
- elm['s-cr'] = contentRef; // remember the slot name, or empty string for default slot
- elm['s-sn'] = newVNode.$name$ || ''; // check if we've got an old vnode for this slot
- oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
- if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
- // we've got an old slot vnode and the wrapper is being replaced
- // so let's move the old slot content back to it's original location
- putBackInOriginalLocation(oldParentVNode.$elm$, false);
- }
- }
- }
- return elm;
- };
- const putBackInOriginalLocation = (parentElm, recursive) => {
- plt.$flags$ |= 1
- /* PLATFORM_FLAGS.isTmpDisconnected */
- ;
- const oldSlotChildNodes = parentElm.childNodes;
- for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
- const childNode = oldSlotChildNodes[i];
- if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
- // // this child node in the old element is from another component
- // // remove this node from the old slot's parent
- // childNode.remove();
- // and relocate it back to it's original location
- parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode)); // remove the old original location comment entirely
- // later on the patch function will know what to do
- // and move this to the correct spot in need be
- childNode['s-ol'].remove();
- childNode['s-ol'] = undefined;
- checkSlotRelocate = true;
- }
- if (recursive) {
- putBackInOriginalLocation(childNode, recursive);
- }
- }
- plt.$flags$ &= ~1
- /* PLATFORM_FLAGS.isTmpDisconnected */
- ;
- };
- const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
- let containerElm = parentElm['s-cr'] && parentElm['s-cr'].parentNode || parentElm;
- let childNode;
- if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
- containerElm = containerElm.shadowRoot;
- }
- for (; startIdx <= endIdx; ++startIdx) {
- if (vnodes[startIdx]) {
- childNode = createElm(null, parentVNode, startIdx, parentElm);
- if (childNode) {
- vnodes[startIdx].$elm$ = childNode;
- containerElm.insertBefore(childNode, referenceNode(before));
- }
- }
- }
- };
- const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
- for (; startIdx <= endIdx; ++startIdx) {
- if (vnode = vnodes[startIdx]) {
- elm = vnode.$elm$;
- callNodeRefs(vnode);
- {
- // we're removing this element
- // so it's possible we need to show slot fallback content now
- checkSlotFallbackVisibility = true;
- if (elm['s-ol']) {
- // remove the original location comment
- elm['s-ol'].remove();
- } else {
- // it's possible that child nodes of the node
- // that's being removed are slot nodes
- putBackInOriginalLocation(elm, true);
- }
- } // remove the vnode's element from the dom
- elm.remove();
- }
- }
- };
- /**
- * Reconcile the children of a new VNode with the children of an old VNode by
- * traversing the two collections of children, identifying nodes that are
- * conserved or changed, calling out to `patch` to make any necessary
- * updates to the DOM, and rearranging DOM nodes as needed.
- *
- * The algorithm for reconciling children works by analyzing two 'windows' onto
- * the two arrays of children (`oldCh` and `newCh`). We keep track of the
- * 'windows' by storing start and end indices and references to the
- * corresponding array entries. Initially the two 'windows' are basically equal
- * to the entire array, but we progressively narrow the windows until there are
- * no children left to update by doing the following:
- *
- * 1. Skip any `null` entries at the beginning or end of the two arrays, so
- * that if we have an initial array like the following we'll end up dealing
- * only with a window bounded by the highlighted elements:
- *
- * [null, null, VNode1 , ... , VNode2, null, null]
- * ^^^^^^ ^^^^^^
- *
- * 2. Check to see if the elements at the head and tail positions are equal
- * across the windows. This will basically detect elements which haven't
- * been added, removed, or changed position, i.e. if you had the following
- * VNode elements (represented as HTML):
- *
- * oldVNode: `<div><p><span>HEY</span></p></div>`
- * newVNode: `<div><p><span>THERE</span></p></div>`
- *
- * Then when comparing the children of the `<div>` tag we check the equality
- * of the VNodes corresponding to the `<p>` tags and, since they are the
- * same tag in the same position, we'd be able to avoid completely
- * re-rendering the subtree under them with a new DOM element and would just
- * call out to `patch` to handle reconciling their children and so on.
- *
- * 3. Check, for both windows, to see if the element at the beginning of the
- * window corresponds to the element at the end of the other window. This is
- * a heuristic which will let us identify _some_ situations in which
- * elements have changed position, for instance it _should_ detect that the
- * children nodes themselves have not changed but merely moved in the
- * following example:
- *
- * oldVNode: `<div><element-one /><element-two /></div>`
- * newVNode: `<div><element-two /><element-one /></div>`
- *
- * If we find cases like this then we also need to move the concrete DOM
- * elements corresponding to the moved children to write the re-order to the
- * DOM.
- *
- * 4. Finally, if VNodes have the `key` attribute set on them we check for any
- * nodes in the old children which have the same key as the first element in
- * our window on the new children. If we find such a node we handle calling
- * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
- * what we find.
- *
- * Finally, once we've narrowed our 'windows' to the point that either of them
- * collapse (i.e. they have length 0) we then handle any remaining VNode
- * insertion or deletion that needs to happen to get a DOM state that correctly
- * reflects the new child VNodes. If, for instance, after our window on the old
- * children has collapsed we still have more nodes on the new children that
- * we haven't dealt with yet then we need to add them, or if the new children
- * collapse but we still have unhandled _old_ children then we need to make
- * sure the corresponding DOM nodes are removed.
- *
- * @param parentElm the node into which the parent VNode is rendered
- * @param oldCh the old children of the parent node
- * @param newVNode the new VNode which will replace the parent
- * @param newCh the new children of the parent node
- */
- const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
- let oldStartIdx = 0;
- let newStartIdx = 0;
- let idxInOld = 0;
- let i = 0;
- let oldEndIdx = oldCh.length - 1;
- let oldStartVnode = oldCh[0];
- let oldEndVnode = oldCh[oldEndIdx];
- let newEndIdx = newCh.length - 1;
- let newStartVnode = newCh[0];
- let newEndVnode = newCh[newEndIdx];
- let node;
- let elmToMove;
- while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
- if (oldStartVnode == null) {
- // VNode might have been moved left
- oldStartVnode = oldCh[++oldStartIdx];
- } else if (oldEndVnode == null) {
- oldEndVnode = oldCh[--oldEndIdx];
- } else if (newStartVnode == null) {
- newStartVnode = newCh[++newStartIdx];
- } else if (newEndVnode == null) {
- newEndVnode = newCh[--newEndIdx];
- } else if (isSameVnode(oldStartVnode, newStartVnode)) {
- // if the start nodes are the same then we should patch the new VNode
- // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
- // indices to reflect that. We don't need to move any DOM Nodes around
- // since things are matched up in order.
- patch(oldStartVnode, newStartVnode);
- oldStartVnode = oldCh[++oldStartIdx];
- newStartVnode = newCh[++newStartIdx];
- } else if (isSameVnode(oldEndVnode, newEndVnode)) {
- // likewise, if the end nodes are the same we patch new onto old and
- // decrement our end indices, and also likewise in this case we don't
- // need to move any DOM Nodes.
- patch(oldEndVnode, newEndVnode);
- oldEndVnode = oldCh[--oldEndIdx];
- newEndVnode = newCh[--newEndIdx];
- } else if (isSameVnode(oldStartVnode, newEndVnode)) {
- // case: "Vnode moved right"
- //
- // We've found that the last node in our window on the new children is
- // the same VNode as the _first_ node in our window on the old children
- // we're dealing with now. Visually, this is the layout of these two
- // nodes:
- //
- // newCh: [..., newStartVnode , ... , newEndVnode , ...]
- // ^^^^^^^^^^^
- // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
- // ^^^^^^^^^^^^^
- //
- // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
- // and move the DOM element for `oldStartVnode`.
- if (oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot') {
- putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
- }
- patch(oldStartVnode, newEndVnode); // We need to move the element for `oldStartVnode` into a position which
- // will be appropriate for `newEndVnode`. For this we can use
- // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
- // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
- // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
- //
- // <old-start-node />
- // <some-intervening-node />
- // <old-end-node />
- // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
- // <next-sibling />
- //
- // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
- // the node for `oldStartVnode` at the end of the children of
- // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
- // aren't any siblings, and passing `null` to `Node.insertBefore` will
- // append it to the children of the parent element.
- parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
- oldStartVnode = oldCh[++oldStartIdx];
- newEndVnode = newCh[--newEndIdx];
- } else if (isSameVnode(oldEndVnode, newStartVnode)) {
- // case: "Vnode moved left"
- //
- // We've found that the first node in our window on the new children is
- // the same VNode as the _last_ node in our window on the old children.
- // Visually, this is the layout of these two nodes:
- //
- // newCh: [..., newStartVnode , ... , newEndVnode , ...]
- // ^^^^^^^^^^^^^
- // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
- // ^^^^^^^^^^^
- //
- // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
- // (which will handle updating any changed attributes, reconciling their
- // children etc) but we also need to move the DOM node to which
- // `oldEndVnode` corresponds.
- if (oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot') {
- putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
- }
- patch(oldEndVnode, newStartVnode); // We've already checked above if `oldStartVnode` and `newStartVnode` are
- // the same node, so since we're here we know that they are not. Thus we
- // can move the element for `oldEndVnode` _before_ the element for
- // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
- // future.
- parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
- oldEndVnode = oldCh[--oldEndIdx];
- newStartVnode = newCh[++newStartIdx];
- } else {
- // Here we do some checks to match up old and new nodes based on the
- // `$key$` attribute, which is set by putting a `key="my-key"` attribute
- // in the JSX for a DOM element in the implementation of a Stencil
- // component.
- //
- // First we check to see if there are any nodes in the array of old
- // children which have the same key as the first node in the new
- // children.
- idxInOld = -1;
- {
- for (i = oldStartIdx; i <= oldEndIdx; ++i) {
- if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
- idxInOld = i;
- break;
- }
- }
- }
- if (idxInOld >= 0) {
- // We found a node in the old children which matches up with the first
- // node in the new children! So let's deal with that
- elmToMove = oldCh[idxInOld];
- if (elmToMove.$tag$ !== newStartVnode.$tag$) {
- // the tag doesn't match so we'll need a new DOM element
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
- } else {
- patch(elmToMove, newStartVnode); // invalidate the matching old node so that we won't try to update it
- // again later on
- oldCh[idxInOld] = undefined;
- node = elmToMove.$elm$;
- }
- newStartVnode = newCh[++newStartIdx];
- } else {
- // We either didn't find an element in the old children that matches
- // the key of the first new child OR the build is not using `key`
- // attributes at all. In either case we need to create a new element
- // for the new node.
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
- newStartVnode = newCh[++newStartIdx];
- }
- if (node) {
- // if we created a new node then handle inserting it to the DOM
- {
- parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
- }
- }
- }
- }
- if (oldStartIdx > oldEndIdx) {
- // we have some more new nodes to add which don't match up with old nodes
- addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
- } else if (newStartIdx > newEndIdx) {
- // there are nodes in the `oldCh` array which no longer correspond to nodes
- // in the new array, so lets remove them (which entails cleaning up the
- // relevant DOM nodes)
- removeVnodes(oldCh, oldStartIdx, oldEndIdx);
- }
- };
- /**
- * Compare two VNodes to determine if they are the same
- *
- * **NB**: This function is an equality _heuristic_ based on the available
- * information set on the two VNodes and can be misleading under certain
- * circumstances. In particular, if the two nodes do not have `key` attrs
- * (available under `$key$` on VNodes) then the function falls back on merely
- * checking that they have the same tag.
- *
- * So, in other words, if `key` attrs are not set on VNodes which may be
- * changing order within a `children` array or something along those lines then
- * we could obtain a false positive and then have to do needless re-rendering.
- *
- * @param leftVNode the first VNode to check
- * @param rightVNode the second VNode to check
- * @returns whether they're equal or not
- */
- const isSameVnode = (leftVNode, rightVNode) => {
- // compare if two vnode to see if they're "technically" the same
- // need to have the same element tag, and same key to be the same
- if (leftVNode.$tag$ === rightVNode.$tag$) {
- if (leftVNode.$tag$ === 'slot') {
- return leftVNode.$name$ === rightVNode.$name$;
- } // this will be set if components in the build have `key` attrs set on them
- {
- return leftVNode.$key$ === rightVNode.$key$;
- }
- }
- return false;
- };
- const referenceNode = node => {
- // this node was relocated to a new location in the dom
- // because of some other component's slot
- // but we still have an html comment in place of where
- // it's original location was according to it's original vdom
- return node && node['s-ol'] || node;
- };
- const parentReferenceNode = node => (node['s-ol'] ? node['s-ol'] : node).parentNode;
- /**
- * Handle reconciling an outdated VNode with a new one which corresponds to
- * it. This function handles flushing updates to the DOM and reconciling the
- * children of the two nodes (if any).
- *
- * @param oldVNode an old VNode whose DOM element and children we want to update
- * @param newVNode a new VNode representing an updated version of the old one
- */
- const patch = (oldVNode, newVNode) => {
- const elm = newVNode.$elm$ = oldVNode.$elm$;
- const oldChildren = oldVNode.$children$;
- const newChildren = newVNode.$children$;
- const tag = newVNode.$tag$;
- const text = newVNode.$text$;
- let defaultHolder;
- if (text === null) {
- {
- // test if we're rendering an svg element, or still rendering nodes inside of one
- // only add this to the when the compiler sees we're using an svg somewhere
- isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
- }
- {
- if (tag === 'slot') ;else {
- // either this is the first render of an element OR it's an update
- // AND we already know it's possible it could have changed
- // this updates the element's css classes, attrs, props, listeners, etc.
- updateElement(oldVNode, newVNode, isSvgMode);
- }
- }
- if (oldChildren !== null && newChildren !== null) {
- // looks like there's child vnodes for both the old and new vnodes
- // so we need to call `updateChildren` to reconcile them
- updateChildren(elm, oldChildren, newVNode, newChildren);
- } else if (newChildren !== null) {
- // no old child vnodes, but there are new child vnodes to add
- if (oldVNode.$text$ !== null) {
- // the old vnode was text, so be sure to clear it out
- elm.textContent = '';
- } // add the new vnode children
- addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
- } else if (oldChildren !== null) {
- // no new child vnodes, but there are old child vnodes to remove
- removeVnodes(oldChildren, 0, oldChildren.length - 1);
- }
- if (isSvgMode && tag === 'svg') {
- isSvgMode = false;
- }
- } else if (defaultHolder = elm['s-cr']) {
- // this element has slotted content
- defaultHolder.parentNode.textContent = text;
- } else if (oldVNode.$text$ !== text) {
- // update the text content for the text only vnode
- // and also only if the text is different than before
- elm.data = text;
- }
- };
- const updateFallbackSlotVisibility = elm => {
- // tslint:disable-next-line: prefer-const
- const childNodes = elm.childNodes;
- let childNode;
- let i;
- let ilen;
- let j;
- let slotNameAttr;
- let nodeType;
- for (i = 0, ilen = childNodes.length; i < ilen; i++) {
- childNode = childNodes[i];
- if (childNode.nodeType === 1
- /* NODE_TYPE.ElementNode */
- ) {
- if (childNode['s-sr']) {
- // this is a slot fallback node
- // get the slot name for this slot reference node
- slotNameAttr = childNode['s-sn']; // by default always show a fallback slot node
- // then hide it if there are other slots in the light dom
- childNode.hidden = false;
- for (j = 0; j < ilen; j++) {
- nodeType = childNodes[j].nodeType;
- if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
- // this sibling node is from a different component OR is a named fallback slot node
- if (nodeType === 1
- /* NODE_TYPE.ElementNode */
- && slotNameAttr === childNodes[j].getAttribute('slot')) {
- childNode.hidden = true;
- break;
- }
- } else {
- // this is a default fallback slot node
- // any element or text node (with content)
- // should hide the default fallback slot node
- if (nodeType === 1
- /* NODE_TYPE.ElementNode */
- || nodeType === 3
- /* NODE_TYPE.TextNode */
- && childNodes[j].textContent.trim() !== '') {
- childNode.hidden = true;
- break;
- }
- }
- }
- } // keep drilling down
- updateFallbackSlotVisibility(childNode);
- }
- }
- };
- const relocateNodes = [];
- const relocateSlotContent = elm => {
- // tslint:disable-next-line: prefer-const
- let childNode;
- let node;
- let hostContentNodes;
- let slotNameAttr;
- let relocateNodeData;
- let j;
- let i = 0;
- const childNodes = elm.childNodes;
- const ilen = childNodes.length;
- for (; i < ilen; i++) {
- childNode = childNodes[i];
- if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
- // first got the content reference comment node
- // then we got it's parent, which is where all the host content is in now
- hostContentNodes = node.parentNode.childNodes;
- slotNameAttr = childNode['s-sn'];
- for (j = hostContentNodes.length - 1; j >= 0; j--) {
- node = hostContentNodes[j];
- if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
- // let's do some relocating to its new home
- // but never relocate a content reference node
- // that is suppose to always represent the original content location
- if (isNodeLocatedInSlot(node, slotNameAttr)) {
- // it's possible we've already decided to relocate this node
- relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node); // made some changes to slots
- // let's make sure we also double check
- // fallbacks are correctly hidden or shown
- checkSlotFallbackVisibility = true;
- node['s-sn'] = node['s-sn'] || slotNameAttr;
- if (relocateNodeData) {
- // previously we never found a slot home for this node
- // but turns out we did, so let's remember it now
- relocateNodeData.$slotRefNode$ = childNode;
- } else {
- // add to our list of nodes to relocate
- relocateNodes.push({
- $slotRefNode$: childNode,
- $nodeToRelocate$: node
- });
- }
- if (node['s-sr']) {
- relocateNodes.map(relocateNode => {
- if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
- relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);
- if (relocateNodeData && !relocateNode.$slotRefNode$) {
- relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
- }
- }
- });
- }
- } else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {
- // so far this element does not have a slot home, not setting slotRefNode on purpose
- // if we never find a home for this element then we'll need to hide it
- relocateNodes.push({
- $nodeToRelocate$: node
- });
- }
- }
- }
- }
- if (childNode.nodeType === 1
- /* NODE_TYPE.ElementNode */
- ) {
- relocateSlotContent(childNode);
- }
- }
- };
- const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
- if (nodeToRelocate.nodeType === 1
- /* NODE_TYPE.ElementNode */
- ) {
- if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
- return true;
- }
- if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
- return true;
- }
- return false;
- }
- if (nodeToRelocate['s-sn'] === slotNameAttr) {
- return true;
- }
- return slotNameAttr === '';
- };
- const callNodeRefs = vNode => {
- {
- vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
- vNode.$children$ && vNode.$children$.map(callNodeRefs);
- }
- };
- const renderVdom = (hostRef, renderFnResults) => {
- const hostElm = hostRef.$hostElement$;
- const cmpMeta = hostRef.$cmpMeta$;
- const oldVNode = hostRef.$vnode$ || newVNode(null, null);
- const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
- hostTagName = hostElm.tagName;
- if (cmpMeta.$attrsToReflect$) {
- rootVnode.$attrs$ = rootVnode.$attrs$ || {};
- cmpMeta.$attrsToReflect$.map(([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]);
- }
- rootVnode.$tag$ = null;
- rootVnode.$flags$ |= 4
- /* VNODE_FLAGS.isHost */
- ;
- hostRef.$vnode$ = rootVnode;
- rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm;
- {
- scopeId = hostElm['s-sc'];
- }
- {
- contentRef = hostElm['s-cr'];
- useNativeShadowDom = (cmpMeta.$flags$ & 1
- /* CMP_FLAGS.shadowDomEncapsulation */
- ) !== 0; // always reset
- checkSlotFallbackVisibility = false;
- } // synchronous patch
- patch(oldVNode, rootVnode);
- {
- // while we're moving nodes around existing nodes, temporarily disable
- // the disconnectCallback from working
- plt.$flags$ |= 1
- /* PLATFORM_FLAGS.isTmpDisconnected */
- ;
- if (checkSlotRelocate) {
- relocateSlotContent(rootVnode.$elm$);
- let relocateData;
- let nodeToRelocate;
- let orgLocationNode;
- let parentNodeRef;
- let insertBeforeNode;
- let refNode;
- let i = 0;
- for (; i < relocateNodes.length; i++) {
- relocateData = relocateNodes[i];
- nodeToRelocate = relocateData.$nodeToRelocate$;
- if (!nodeToRelocate['s-ol']) {
- // add a reference node marking this node's original location
- // keep a reference to this node for later lookups
- orgLocationNode = doc.createTextNode('');
- orgLocationNode['s-nr'] = nodeToRelocate;
- nodeToRelocate.parentNode.insertBefore(nodeToRelocate['s-ol'] = orgLocationNode, nodeToRelocate);
- }
- }
- for (i = 0; i < relocateNodes.length; i++) {
- relocateData = relocateNodes[i];
- nodeToRelocate = relocateData.$nodeToRelocate$;
- if (relocateData.$slotRefNode$) {
- // by default we're just going to insert it directly
- // after the slot reference node
- parentNodeRef = relocateData.$slotRefNode$.parentNode;
- insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
- orgLocationNode = nodeToRelocate['s-ol'];
- while (orgLocationNode = orgLocationNode.previousSibling) {
- refNode = orgLocationNode['s-nr'];
- if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
- refNode = refNode.nextSibling;
- if (!refNode || !refNode['s-nr']) {
- insertBeforeNode = refNode;
- break;
- }
- }
- }
- if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
- // we've checked that it's worth while to relocate
- // since that the node to relocate
- // has a different next sibling or parent relocated
- if (nodeToRelocate !== insertBeforeNode) {
- if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
- // probably a component in the index.html that doesn't have it's hostname set
- nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
- } // add it back to the dom but in its new home
- parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
- }
- }
- } else {
- // this node doesn't have a slot home to go to, so let's hide it
- if (nodeToRelocate.nodeType === 1
- /* NODE_TYPE.ElementNode */
- ) {
- nodeToRelocate.hidden = true;
- }
- }
- }
- }
- if (checkSlotFallbackVisibility) {
- updateFallbackSlotVisibility(rootVnode.$elm$);
- } // done moving nodes around
- // allow the disconnect callback to work again
- plt.$flags$ &= ~1
- /* PLATFORM_FLAGS.isTmpDisconnected */
- ; // always reset
- relocateNodes.length = 0;
- }
- };
- const getElement = ref => getHostRef(ref).$hostElement$;
- const createEvent = (ref, name, flags) => {
- const elm = getElement(ref);
- return {
- emit: detail => {
- return emitEvent(elm, name, {
- bubbles: !!(flags & 4
- /* EVENT_FLAGS.Bubbles */
- ),
- composed: !!(flags & 2
- /* EVENT_FLAGS.Composed */
- ),
- cancelable: !!(flags & 1
- /* EVENT_FLAGS.Cancellable */
- ),
- detail
- });
- }
- };
- };
- /**
- * Helper function to create & dispatch a custom Event on a provided target
- * @param elm the target of the Event
- * @param name the name to give the custom Event
- * @param opts options for configuring a custom Event
- * @returns the custom Event
- */
- const emitEvent = (elm, name, opts) => {
- const ev = plt.ce(name, opts);
- elm.dispatchEvent(ev);
- return ev;
- };
- const attachToAncestor = (hostRef, ancestorComponent) => {
- if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
- ancestorComponent['s-p'].push(new Promise(r => hostRef.$onRenderResolve$ = r));
- }
- };
- const scheduleUpdate = (hostRef, isInitialLoad) => {
- {
- hostRef.$flags$ |= 16
- /* HOST_FLAGS.isQueuedForUpdate */
- ;
- }
- if (hostRef.$flags$ & 4
- /* HOST_FLAGS.isWaitingForChildren */
- ) {
- hostRef.$flags$ |= 512
- /* HOST_FLAGS.needsRerender */
- ;
- return;
- }
- attachToAncestor(hostRef, hostRef.$ancestorComponent$); // there is no ancestor component or the ancestor component
- // has already fired off its lifecycle update then
- // fire off the initial update
- const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
- return writeTask(dispatch);
- };
- const dispatchHooks = (hostRef, isInitialLoad) => {
- const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
- const instance = hostRef.$lazyInstance$;
- let promise;
- if (isInitialLoad) {
- {
- hostRef.$flags$ |= 256
- /* HOST_FLAGS.isListenReady */
- ;
- if (hostRef.$queuedListeners$) {
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
- hostRef.$queuedListeners$ = null;
- }
- }
- {
- promise = safeCall(instance, 'componentWillLoad');
- }
- }
- {
- promise = then(promise, () => safeCall(instance, 'componentWillRender'));
- }
- endSchedule();
- return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
- };
- const updateComponent = /*#__PURE__*/function () {
- 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) {
- // updateComponent
- const elm = hostRef.$hostElement$;
- const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
- const rc = elm['s-rc'];
- if (isInitialLoad) {
- // DOM WRITE!
- attachStyles(hostRef);
- }
- const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
- {
- callRender(hostRef, instance);
- }
- if (rc) {
- // ok, so turns out there are some child host elements
- // waiting on this parent element to load
- // let's fire off all update callbacks waiting
- rc.map(cb => cb());
- elm['s-rc'] = undefined;
- }
- endRender();
- endUpdate();
- {
- const childrenPromises = elm['s-p'];
- const postUpdate = () => postUpdateComponent(hostRef);
- if (childrenPromises.length === 0) {
- postUpdate();
- } else {
- Promise.all(childrenPromises).then(postUpdate);
- hostRef.$flags$ |= 4
- /* HOST_FLAGS.isWaitingForChildren */
- ;
- childrenPromises.length = 0;
- }
- }
- });
- return function updateComponent(_x, _x2, _x3) {
- return _ref.apply(this, arguments);
- };
- }();
- const callRender = (hostRef, instance, elm) => {
- try {
- instance = instance.render && instance.render();
- {
- hostRef.$flags$ &= ~16
- /* HOST_FLAGS.isQueuedForUpdate */
- ;
- }
- {
- hostRef.$flags$ |= 2
- /* HOST_FLAGS.hasRendered */
- ;
- }
- {
- {
- // looks like we've got child nodes to render into this host element
- // or we need to update the css class/attrs on the host element
- // DOM WRITE!
- {
- renderVdom(hostRef, instance);
- }
- }
- }
- } catch (e) {
- consoleError(e, hostRef.$hostElement$);
- }
- return null;
- };
- const postUpdateComponent = hostRef => {
- const tagName = hostRef.$cmpMeta$.$tagName$;
- const elm = hostRef.$hostElement$;
- const endPostUpdate = createTime('postUpdate', tagName);
- const instance = hostRef.$lazyInstance$;
- const ancestorComponent = hostRef.$ancestorComponent$;
- {
- safeCall(instance, 'componentDidRender');
- }
- if (!(hostRef.$flags$ & 64
- /* HOST_FLAGS.hasLoadedComponent */
- )) {
- hostRef.$flags$ |= 64
- /* HOST_FLAGS.hasLoadedComponent */
- ;
- {
- // DOM WRITE!
- addHydratedFlag(elm);
- }
- {
- safeCall(instance, 'componentDidLoad');
- }
- endPostUpdate();
- {
- hostRef.$onReadyResolve$(elm);
- if (!ancestorComponent) {
- appDidLoad();
- }
- }
- } else {
- {
- safeCall(instance, 'componentDidUpdate');
- }
- endPostUpdate();
- }
- {
- hostRef.$onInstanceResolve$(elm);
- } // load events fire from bottom to top
- // the deepest elements load first then bubbles up
- {
- if (hostRef.$onRenderResolve$) {
- hostRef.$onRenderResolve$();
- hostRef.$onRenderResolve$ = undefined;
- }
- if (hostRef.$flags$ & 512
- /* HOST_FLAGS.needsRerender */
- ) {
- nextTick(() => scheduleUpdate(hostRef, false));
- }
- hostRef.$flags$ &= ~(4
- /* HOST_FLAGS.isWaitingForChildren */
- | 512
- /* HOST_FLAGS.needsRerender */
- );
- } // ( •_•)
- // ( •_•)>⌐■-■
- // (⌐■_■)
- };
- const forceUpdate = ref => {
- {
- const hostRef = getHostRef(ref);
- const isConnected = hostRef.$hostElement$.isConnected;
- if (isConnected && (hostRef.$flags$ & (2
- /* HOST_FLAGS.hasRendered */
- | 16
- /* HOST_FLAGS.isQueuedForUpdate */
- )) === 2
- /* HOST_FLAGS.hasRendered */
- ) {
- scheduleUpdate(hostRef, false);
- } // Returns "true" when the forced update was successfully scheduled
- return isConnected;
- }
- };
- const appDidLoad = who => {
- // on appload
- // we have finish the first big initial render
- {
- addHydratedFlag(doc.documentElement);
- }
- nextTick(() => emitEvent(win, 'appload', {
- detail: {
- namespace: NAMESPACE
- }
- }));
- };
- const safeCall = (instance, method, arg) => {
- if (instance && instance[method]) {
- try {
- return instance[method](arg);
- } catch (e) {
- consoleError(e);
- }
- }
- return undefined;
- };
- const then = (promise, thenFn) => {
- return promise && promise.then ? promise.then(thenFn) : thenFn();
- };
- const addHydratedFlag = elm => elm.classList.add('hydrated');
- const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
- const endHydrate = createTime('hydrateClient', tagName);
- const shadowRoot = hostElm.shadowRoot;
- const childRenderNodes = [];
- const slotNodes = [];
- const shadowRootNodes = shadowRoot ? [] : null;
- const vnode = hostRef.$vnode$ = newVNode(tagName, null);
- if (!plt.$orgLocNodes$) {
- initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = new Map());
- }
- hostElm[HYDRATE_ID] = hostId;
- hostElm.removeAttribute(HYDRATE_ID);
- clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
- childRenderNodes.map(c => {
- const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
- const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
- const node = c.$elm$;
- if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
- orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
- }
- if (!shadowRoot) {
- node['s-hn'] = tagName;
- if (orgLocationNode) {
- node['s-ol'] = orgLocationNode;
- node['s-ol']['s-nr'] = node;
- }
- }
- plt.$orgLocNodes$.delete(orgLocationId);
- });
- if (shadowRoot) {
- shadowRootNodes.map(shadowRootNode => {
- if (shadowRootNode) {
- shadowRoot.appendChild(shadowRootNode);
- }
- });
- }
- endHydrate();
- };
- const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
- let childNodeType;
- let childIdSplt;
- let childVNode;
- let i;
- if (node.nodeType === 1
- /* NODE_TYPE.ElementNode */
- ) {
- childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
- if (childNodeType) {
- // got the node data from the element's attribute
- // `${hostId}.${nodeId}.${depth}.${index}`
- childIdSplt = childNodeType.split('.');
- if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
- childVNode = {
- $flags$: 0,
- $hostId$: childIdSplt[0],
- $nodeId$: childIdSplt[1],
- $depth$: childIdSplt[2],
- $index$: childIdSplt[3],
- $tag$: node.tagName.toLowerCase(),
- $elm$: node,
- $attrs$: null,
- $children$: null,
- $key$: null,
- $name$: null,
- $text$: null
- };
- childRenderNodes.push(childVNode);
- node.removeAttribute(HYDRATE_CHILD_ID); // this is a new child vnode
- // so ensure its parent vnode has the vchildren array
- if (!parentVNode.$children$) {
- parentVNode.$children$ = [];
- } // add our child vnode to a specific index of the vnode's children
- parentVNode.$children$[childVNode.$index$] = childVNode; // this is now the new parent vnode for all the next child checks
- parentVNode = childVNode;
- if (shadowRootNodes && childVNode.$depth$ === '0') {
- shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
- }
- }
- } // recursively drill down, end to start so we can remove nodes
- for (i = node.childNodes.length - 1; i >= 0; i--) {
- clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
- }
- if (node.shadowRoot) {
- // keep drilling down through the shadow root nodes
- for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
- clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
- }
- }
- } else if (node.nodeType === 8
- /* NODE_TYPE.CommentNode */
- ) {
- // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
- childIdSplt = node.nodeValue.split('.');
- if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
- // comment node for either the host id or a 0 host id
- childNodeType = childIdSplt[0];
- childVNode = {
- $flags$: 0,
- $hostId$: childIdSplt[1],
- $nodeId$: childIdSplt[2],
- $depth$: childIdSplt[3],
- $index$: childIdSplt[4],
- $elm$: node,
- $attrs$: null,
- $children$: null,
- $key$: null,
- $name$: null,
- $tag$: null,
- $text$: null
- };
- if (childNodeType === TEXT_NODE_ID) {
- childVNode.$elm$ = node.nextSibling;
- if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3
- /* NODE_TYPE.TextNode */
- ) {
- childVNode.$text$ = childVNode.$elm$.textContent;
- childRenderNodes.push(childVNode); // remove the text comment since it's no longer needed
- node.remove();
- if (!parentVNode.$children$) {
- parentVNode.$children$ = [];
- }
- parentVNode.$children$[childVNode.$index$] = childVNode;
- if (shadowRootNodes && childVNode.$depth$ === '0') {
- shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
- }
- }
- } else if (childVNode.$hostId$ === hostId) {
- // this comment node is specifcally for this host id
- if (childNodeType === SLOT_NODE_ID) {
- // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
- childVNode.$tag$ = 'slot';
- if (childIdSplt[5]) {
- node['s-sn'] = childVNode.$name$ = childIdSplt[5];
- } else {
- node['s-sn'] = '';
- }
- node['s-sr'] = true;
- if (shadowRootNodes) {
- // browser support shadowRoot and this is a shadow dom component
- // create an actual slot element
- childVNode.$elm$ = doc.createElement(childVNode.$tag$);
- if (childVNode.$name$) {
- // add the slot name attribute
- childVNode.$elm$.setAttribute('name', childVNode.$name$);
- } // insert the new slot element before the slot comment
- node.parentNode.insertBefore(childVNode.$elm$, node); // remove the slot comment since it's not needed for shadow
- node.remove();
- if (childVNode.$depth$ === '0') {
- shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
- }
- }
- slotNodes.push(childVNode);
- if (!parentVNode.$children$) {
- parentVNode.$children$ = [];
- }
- parentVNode.$children$[childVNode.$index$] = childVNode;
- } else if (childNodeType === CONTENT_REF_ID) {
- // `${CONTENT_REF_ID}.${hostId}`;
- if (shadowRootNodes) {
- // remove the content ref comment since it's not needed for shadow
- node.remove();
- } else {
- hostElm['s-cr'] = node;
- node['s-cn'] = true;
- }
- }
- }
- }
- } else if (parentVNode && parentVNode.$tag$ === 'style') {
- const vnode = newVNode(null, node.textContent);
- vnode.$elm$ = node;
- vnode.$index$ = '0';
- parentVNode.$children$ = [vnode];
- }
- };
- const initializeDocumentHydrate = (node, orgLocNodes) => {
- if (node.nodeType === 1
- /* NODE_TYPE.ElementNode */
- ) {
- let i = 0;
- for (; i < node.childNodes.length; i++) {
- initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
- }
- if (node.shadowRoot) {
- for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
- initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
- }
- }
- } else if (node.nodeType === 8
- /* NODE_TYPE.CommentNode */
- ) {
- const childIdSplt = node.nodeValue.split('.');
- if (childIdSplt[0] === ORG_LOCATION_ID) {
- orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
- node.nodeValue = ''; // useful to know if the original location is
- // the root light-dom of a shadow dom component
- node['s-en'] = childIdSplt[3];
- }
- }
- };
- /**
- * Parse a new property value for a given property type.
- *
- * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
- * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
- * 1. `any`, the type given to `propValue` in the function signature
- * 2. the type stored from `propType`.
- *
- * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
- *
- * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
- * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
- * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
- * ```tsx
- * <my-cmp prop-val={0}></my-cmp>
- * ```
- *
- * HTML prop values on the other hand, will always a string
- *
- * @param propValue the new value to coerce to some type
- * @param propType the type of the prop, expressed as a binary number
- * @returns the parsed/coerced value
- */
- const parsePropertyValue = (propValue, propType) => {
- // ensure this value is of the correct prop type
- if (propValue != null && !isComplexType(propValue)) {
- if (propType & 4
- /* MEMBER_FLAGS.Boolean */
- ) {
- // per the HTML spec, any string value means it is a boolean true value
- // but we'll cheat here and say that the string "false" is the boolean false
- return propValue === 'false' ? false : propValue === '' || !!propValue;
- }
- if (propType & 2
- /* MEMBER_FLAGS.Number */
- ) {
- // force it to be a number
- return parseFloat(propValue);
- }
- if (propType & 1
- /* MEMBER_FLAGS.String */
- ) {
- // could have been passed as a number or boolean
- // but we still want it as a string
- return String(propValue);
- } // redundant return here for better minification
- return propValue;
- } // not sure exactly what type we want
- // so no need to change to a different type
- return propValue;
- };
- const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
- const setValue = (ref, propName, newVal, cmpMeta) => {
- // check our new property value against our internal value
- const hostRef = getHostRef(ref);
- const elm = hostRef.$hostElement$;
- const oldVal = hostRef.$instanceValues$.get(propName);
- const flags = hostRef.$flags$;
- const instance = hostRef.$lazyInstance$;
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]); // explicitly check for NaN on both sides, as `NaN === NaN` is always false
- const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
- const didValueChange = newVal !== oldVal && !areBothNaN;
- if ((!(flags & 8
- /* HOST_FLAGS.isConstructingInstance */
- ) || oldVal === undefined) && didValueChange) {
- // gadzooks! the property's value has changed!!
- // set our new value!
- hostRef.$instanceValues$.set(propName, newVal);
- if (instance) {
- // get an array of method names of watch functions to call
- if (cmpMeta.$watchers$ && flags & 128
- /* HOST_FLAGS.isWatchReady */
- ) {
- const watchMethods = cmpMeta.$watchers$[propName];
- if (watchMethods) {
- // this instance is watching for when this property changed
- watchMethods.map(watchMethodName => {
- try {
- // fire off each of the watch methods that are watching this property
- instance[watchMethodName](newVal, oldVal, propName);
- } catch (e) {
- consoleError(e, elm);
- }
- });
- }
- }
- if ((flags & (2
- /* HOST_FLAGS.hasRendered */
- | 16
- /* HOST_FLAGS.isQueuedForUpdate */
- )) === 2
- /* HOST_FLAGS.hasRendered */
- ) {
- // looks like this value actually changed, so we've got work to do!
- // but only if we've already rendered, otherwise just chill out
- // queue that we need to do an update, but don't worry about queuing
- // up millions cuz this function ensures it only runs once
- scheduleUpdate(hostRef, false);
- }
- }
- }
- };
- const proxyComponent = (Cstr, cmpMeta, flags) => {
- if (cmpMeta.$members$) {
- if (Cstr.watchers) {
- cmpMeta.$watchers$ = Cstr.watchers;
- } // It's better to have a const than two Object.entries()
- const members = Object.entries(cmpMeta.$members$);
- const prototype = Cstr.prototype;
- members.map(([memberName, [memberFlags]]) => {
- if (memberFlags & 31
- /* MEMBER_FLAGS.Prop */
- || flags & 2
- /* PROXY_FLAGS.proxyState */
- && memberFlags & 32
- /* MEMBER_FLAGS.State */
- ) {
- // proxyComponent - prop
- Object.defineProperty(prototype, memberName, {
- get() {
- // proxyComponent, get value
- return getValue(this, memberName);
- },
- set(newValue) {
- // proxyComponent, set value
- setValue(this, memberName, newValue, cmpMeta);
- },
- configurable: true,
- enumerable: true
- });
- } else if (flags & 1
- /* PROXY_FLAGS.isElementConstructor */
- && memberFlags & 64
- /* MEMBER_FLAGS.Method */
- ) {
- // proxyComponent - method
- Object.defineProperty(prototype, memberName, {
- value(...args) {
- const ref = getHostRef(this);
- return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
- }
- });
- }
- });
- if (flags & 1
- /* PROXY_FLAGS.isElementConstructor */
- ) {
- const attrNameToPropName = new Map();
- prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
- plt.jmp(() => {
- const propName = attrNameToPropName.get(attrName); // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
- // in the case where an attribute was set inline.
- // ```html
- // <my-component some-attribute="some-value"></my-component>
- // ```
- //
- // There is an edge case where a developer sets the attribute inline on a custom element and then
- // programmatically changes it before it has been upgraded as shown below:
- //
- // ```html
- // <!-- this component has _not_ been upgraded yet -->
- // <my-component id="test" some-attribute="some-value"></my-component>
- // <script>
- // // grab non-upgraded component
- // el = document.querySelector("#test");
- // el.someAttribute = "another-value";
- // // upgrade component
- // customElements.define('my-component', MyComponent);
- // </script>
- // ```
- // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
- // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
- // to the value that was set inline i.e. "some-value" from above example. When
- // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
- //
- // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
- // by connectedCallback as this attributeChangedCallback will not fire.
- //
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
- //
- // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
- // properties here given that this goes against best practices outlined here
- // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
- if (this.hasOwnProperty(propName)) {
- newValue = this[propName];
- delete this[propName];
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === 'number' && this[propName] == newValue) {
- // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
- // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
- // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
- return;
- }
- this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
- });
- }; // create an array of attributes to observe
- // and also create a map of html attribute name to js property name
- Cstr.observedAttributes = members.filter(([_, m]) => m[0] & 15
- /* MEMBER_FLAGS.HasAttribute */
- ) // filter to only keep props that should match attributes
- .map(([propName, m]) => {
- const attrName = m[1] || propName;
- attrNameToPropName.set(attrName, propName);
- if (m[0] & 512
- /* MEMBER_FLAGS.ReflectAttr */
- ) {
- cmpMeta.$attrsToReflect$.push([propName, attrName]);
- }
- return attrName;
- });
- }
- }
- return Cstr;
- };
- const initializeComponent = /*#__PURE__*/function () {
- 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) {
- // initializeComponent
- if ((hostRef.$flags$ & 32
- /* HOST_FLAGS.hasInitializedComponent */
- ) === 0) {
- {
- // we haven't initialized this element yet
- hostRef.$flags$ |= 32
- /* HOST_FLAGS.hasInitializedComponent */
- ; // lazy loaded components
- // request the component's implementation to be
- // wired up with the host element
- Cstr = loadModule(cmpMeta);
- if (Cstr.then) {
- // Await creates a micro-task avoid if possible
- const endLoad = uniqueTime();
- Cstr = yield Cstr;
- endLoad();
- }
- if (!Cstr.isProxied) {
- // we've never proxied this Constructor before
- // let's add the getters/setters to its prototype before
- // the first time we create an instance of the implementation
- {
- cmpMeta.$watchers$ = Cstr.watchers;
- }
- proxyComponent(Cstr, cmpMeta, 2
- /* PROXY_FLAGS.proxyState */
- );
- Cstr.isProxied = true;
- }
- const endNewInstance = createTime('createInstance', cmpMeta.$tagName$); // ok, time to construct the instance
- // but let's keep track of when we start and stop
- // so that the getters/setters don't incorrectly step on data
- {
- hostRef.$flags$ |= 8
- /* HOST_FLAGS.isConstructingInstance */
- ;
- } // construct the lazy-loaded component implementation
- // passing the hostRef is very important during
- // construction in order to directly wire together the
- // host element and the lazy-loaded instance
- try {
- new Cstr(hostRef);
- } catch (e) {
- consoleError(e);
- }
- {
- hostRef.$flags$ &= ~8
- /* HOST_FLAGS.isConstructingInstance */
- ;
- }
- {
- hostRef.$flags$ |= 128
- /* HOST_FLAGS.isWatchReady */
- ;
- }
- endNewInstance();
- fireConnectedCallback(hostRef.$lazyInstance$);
- }
- if (Cstr.style) {
- // this component has styles but we haven't registered them yet
- let style = Cstr.style;
- if (typeof style !== 'string') {
- style = style[hostRef.$modeName$ = computeMode(elm)];
- }
- const scopeId = getScopeId(cmpMeta, hostRef.$modeName$);
- if (!styles.has(scopeId)) {
- const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
- registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1
- /* CMP_FLAGS.shadowDomEncapsulation */
- ));
- endRegisterStyles();
- }
- }
- } // we've successfully created a lazy instance
- const ancestorComponent = hostRef.$ancestorComponent$;
- const schedule = () => scheduleUpdate(hostRef, true);
- if (ancestorComponent && ancestorComponent['s-rc']) {
- // this is the initial load and this component it has an ancestor component
- // but the ancestor component has NOT fired its will update lifecycle yet
- // so let's just cool our jets and wait for the ancestor to continue first
- // this will get fired off when the ancestor component
- // finally gets around to rendering its lazy self
- // fire off the initial update
- ancestorComponent['s-rc'].push(schedule);
- } else {
- schedule();
- }
- });
- return function initializeComponent(_x4, _x5, _x6, _x7, _x8) {
- return _ref2.apply(this, arguments);
- };
- }();
- const fireConnectedCallback = instance => {
- {
- safeCall(instance, 'connectedCallback');
- }
- };
- const connectedCallback = elm => {
- if ((plt.$flags$ & 1
- /* PLATFORM_FLAGS.isTmpDisconnected */
- ) === 0) {
- const hostRef = getHostRef(elm);
- const cmpMeta = hostRef.$cmpMeta$;
- const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
- if (!(hostRef.$flags$ & 1
- /* HOST_FLAGS.hasConnected */
- )) {
- // first time this component has connected
- hostRef.$flags$ |= 1
- /* HOST_FLAGS.hasConnected */
- ;
- let hostId;
- {
- hostId = elm.getAttribute(HYDRATE_ID);
- if (hostId) {
- if (cmpMeta.$flags$ & 1
- /* CMP_FLAGS.shadowDomEncapsulation */
- ) {
- const scopeId = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute('s-mode'));
- elm.classList.remove(scopeId + '-h', scopeId + '-s');
- }
- initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
- }
- }
- if (!hostId) {
- // initUpdate
- // if the slot polyfill is required we'll need to put some nodes
- // in here to act as original content anchors as we move nodes around
- // host element has been connected to the DOM
- if (cmpMeta.$flags$ & (4
- /* CMP_FLAGS.hasSlotRelocation */
- | 8
- /* CMP_FLAGS.needsShadowDomShim */
- )) {
- setContentReference(elm);
- }
- }
- {
- // find the first ancestor component (if there is one) and register
- // this component as one of the actively loading child components for its ancestor
- let ancestorComponent = elm;
- while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
- // climb up the ancestors looking for the first
- // component that hasn't finished its lifecycle update yet
- if (ancestorComponent.nodeType === 1
- /* NODE_TYPE.ElementNode */
- && ancestorComponent.hasAttribute('s-id') && ancestorComponent['s-p'] || ancestorComponent['s-p']) {
- // we found this components first ancestor component
- // keep a reference to this component's ancestor component
- attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
- break;
- }
- }
- } // Lazy properties
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
- if (cmpMeta.$members$) {
- Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
- if (memberFlags & 31
- /* MEMBER_FLAGS.Prop */
- && elm.hasOwnProperty(memberName)) {
- const value = elm[memberName];
- delete elm[memberName];
- elm[memberName] = value;
- }
- });
- }
- {
- // connectedCallback, taskQueue, initialLoad
- // angular sets attribute AFTER connectCallback
- // https://github.com/angular/angular/issues/18909
- // https://github.com/angular/angular/issues/19940
- nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
- }
- } else {
- // not the first time this has connected
- // reattach any event listeners to the host
- // since they would have been removed when disconnected
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$); // fire off connectedCallback() on component instance
- fireConnectedCallback(hostRef.$lazyInstance$);
- }
- endConnected();
- }
- };
- const setContentReference = elm => {
- // only required when we're NOT using native shadow dom (slot)
- // or this browser doesn't support native shadow dom
- // and this host element was NOT created with SSR
- // let's pick out the inner content for slot projection
- // create a node to represent where the original
- // content was first placed, which is useful later on
- const contentRefElm = elm['s-cr'] = doc.createComment('');
- contentRefElm['s-cn'] = true;
- elm.insertBefore(contentRefElm, elm.firstChild);
- };
- const disconnectedCallback = elm => {
- if ((plt.$flags$ & 1
- /* PLATFORM_FLAGS.isTmpDisconnected */
- ) === 0) {
- const hostRef = getHostRef(elm);
- const instance = hostRef.$lazyInstance$;
- {
- if (hostRef.$rmListeners$) {
- hostRef.$rmListeners$.map(rmListener => rmListener());
- hostRef.$rmListeners$ = undefined;
- }
- }
- {
- safeCall(instance, 'disconnectedCallback');
- }
- }
- };
- const bootstrapLazy = (lazyBundles, options = {}) => {
- const endBootstrap = createTime();
- const cmpTags = [];
- const exclude = options.exclude || [];
- const customElements = win.customElements;
- const head = doc.head;
- const metaCharset = /*@__PURE__*/head.querySelector('meta[charset]');
- const visibilityStyle = /*@__PURE__*/doc.createElement('style');
- const deferredConnectedCallbacks = [];
- const styles = /*@__PURE__*/doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
- let appLoadFallback;
- let isBootstrapping = true;
- let i = 0;
- Object.assign(plt, options);
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
- {
- // If the app is already hydrated there is not point to disable the
- // async queue. This will improve the first input delay
- plt.$flags$ |= 2
- /* PLATFORM_FLAGS.appLoaded */
- ;
- }
- {
- for (; i < styles.length; i++) {
- registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
- }
- }
- lazyBundles.map(lazyBundle => {
- lazyBundle[1].map(compactMeta => {
- const cmpMeta = {
- $flags$: compactMeta[0],
- $tagName$: compactMeta[1],
- $members$: compactMeta[2],
- $listeners$: compactMeta[3]
- };
- {
- cmpMeta.$members$ = compactMeta[2];
- }
- {
- cmpMeta.$listeners$ = compactMeta[3];
- }
- {
- cmpMeta.$attrsToReflect$ = [];
- }
- {
- cmpMeta.$watchers$ = {};
- }
- const tagName = cmpMeta.$tagName$;
- const HostElement = class extends HTMLElement {
- // StencilLazyHost
- constructor(self) {
- // @ts-ignore
- super(self);
- self = this;
- registerHost(self, cmpMeta);
- if (cmpMeta.$flags$ & 1
- /* CMP_FLAGS.shadowDomEncapsulation */
- ) {
- // this component is using shadow dom
- // and this browser supports shadow dom
- // add the read-only property "shadowRoot" to the host element
- // adding the shadow root build conditionals to minimize runtime
- {
- {
- self.attachShadow({
- mode: 'open',
- delegatesFocus: !!(cmpMeta.$flags$ & 16
- /* CMP_FLAGS.shadowDelegatesFocus */
- )
- });
- }
- }
- }
- }
- connectedCallback() {
- if (appLoadFallback) {
- clearTimeout(appLoadFallback);
- appLoadFallback = null;
- }
- if (isBootstrapping) {
- // connectedCallback will be processed once all components have been registered
- deferredConnectedCallbacks.push(this);
- } else {
- plt.jmp(() => connectedCallback(this));
- }
- }
- disconnectedCallback() {
- plt.jmp(() => disconnectedCallback(this));
- }
- componentOnReady() {
- return getHostRef(this).$onReadyPromise$;
- }
- };
- cmpMeta.$lazyBundleId$ = lazyBundle[0];
- if (!exclude.includes(tagName) && !customElements.get(tagName)) {
- cmpTags.push(tagName);
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1
- /* PROXY_FLAGS.isElementConstructor */
- ));
- }
- });
- });
- {
- visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
- visibilityStyle.setAttribute('data-styles', '');
- head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
- } // Process deferred connectedCallbacks now all components have been registered
- isBootstrapping = false;
- if (deferredConnectedCallbacks.length) {
- deferredConnectedCallbacks.map(host => host.connectedCallback());
- } else {
- {
- plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));
- }
- } // Fallback appLoad event
- endBootstrap();
- };
- const getAssetPath = path => {
- const assetUrl = new URL(path, plt.$resourcesUrl$);
- return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
- };
- const hostRefs = /*@__PURE__*/new WeakMap();
- const getHostRef = ref => hostRefs.get(ref);
- const registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
- const registerHost = (elm, cmpMeta) => {
- const hostRef = {
- $flags$: 0,
- $hostElement$: elm,
- $cmpMeta$: cmpMeta,
- $instanceValues$: new Map()
- };
- {
- hostRef.$onInstancePromise$ = new Promise(r => hostRef.$onInstanceResolve$ = r);
- }
- {
- hostRef.$onReadyPromise$ = new Promise(r => hostRef.$onReadyResolve$ = r);
- elm['s-p'] = [];
- elm['s-rc'] = [];
- }
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
- return hostRefs.set(elm, hostRef);
- };
- const isMemberInElement = (elm, memberName) => memberName in elm;
- const consoleError = (e, el) => (0, console.error)(e, el);
- const cmpModules = /*@__PURE__*/new Map();
- const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
- // loadModuleImport
- const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
- const bundleId = cmpMeta.$lazyBundleId$;
- const module = cmpModules.get(bundleId);
- if (module) {
- return module[exportName];
- }
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
- return __webpack_require__(863)(`./${bundleId}.entry.js`).then(importedModule => {
- {
- cmpModules.set(bundleId, importedModule);
- }
- return importedModule[exportName];
- }, consoleError);
- };
- const styles = /*@__PURE__*/new Map();
- const modeResolutionChain = [];
- const queueDomReads = [];
- const queueDomWrites = [];
- const queueTask = (queue, write) => cb => {
- queue.push(cb);
- if (!queuePending) {
- queuePending = true;
- if (write && plt.$flags$ & 4
- /* PLATFORM_FLAGS.queueSync */
- ) {
- nextTick(flush);
- } else {
- plt.raf(flush);
- }
- }
- };
- const consume = queue => {
- for (let i = 0; i < queue.length; i++) {
- try {
- queue[i](performance.now());
- } catch (e) {
- consoleError(e);
- }
- }
- queue.length = 0;
- };
- const flush = () => {
- // always force a bunch of medium callbacks to run, but still have
- // a throttle on how many can run in a certain time
- // DOM READS!!!
- consume(queueDomReads); // DOM WRITES!!!
- {
- consume(queueDomWrites);
- if (queuePending = queueDomReads.length > 0) {
- // still more to do yet, but we've run out of time
- // let's let this thing cool off and try again in the next tick
- plt.raf(flush);
- }
- }
- };
- const nextTick = /*@__PURE__*/cb => promiseResolve().then(cb);
- const readTask = /*@__PURE__*/queueTask(queueDomReads, false);
- const writeTask = /*@__PURE__*/queueTask(queueDomWrites, true);
- const Build = {
- isDev: false,
- isBrowser: true,
- isServer: false,
- isTesting: false
- };
- /***/ }),
- /***/ 1652:
- /*!*************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/index-dff497fb.js ***!
- \*************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "I": () => (/* binding */ IonicSafeString),
- /* harmony export */ "s": () => (/* binding */ sanitizeDOMString)
- /* harmony export */ });
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- /**
- * Does a simple sanitization of all elements
- * in an untrusted string
- */
- const sanitizeDOMString = untrustedString => {
- try {
- if (untrustedString instanceof IonicSafeString) {
- return untrustedString.value;
- }
- if (!isSanitizerEnabled() || typeof untrustedString !== 'string' || untrustedString === '') {
- return untrustedString;
- }
- /**
- * Create a document fragment
- * separate from the main DOM,
- * create a div to do our work in
- */
- const documentFragment = document.createDocumentFragment();
- const workingDiv = document.createElement('div');
- documentFragment.appendChild(workingDiv);
- workingDiv.innerHTML = untrustedString;
- /**
- * Remove any elements
- * that are blocked
- */
- blockedTags.forEach(blockedTag => {
- const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);
- for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {
- const element = getElementsToRemove[elementIndex];
- if (element.parentNode) {
- element.parentNode.removeChild(element);
- } else {
- documentFragment.removeChild(element);
- }
- /**
- * We still need to sanitize
- * the children of this element
- * as they are left behind
- */
- const childElements = getElementChildren(element);
- /* eslint-disable-next-line */
- for (let childIndex = 0; childIndex < childElements.length; childIndex++) {
- sanitizeElement(childElements[childIndex]);
- }
- }
- });
- /**
- * Go through remaining elements and remove
- * non-allowed attribs
- */
- // IE does not support .children on document fragments, only .childNodes
- const dfChildren = getElementChildren(documentFragment);
- /* eslint-disable-next-line */
- for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {
- sanitizeElement(dfChildren[childIndex]);
- } // Append document fragment to div
- const fragmentDiv = document.createElement('div');
- fragmentDiv.appendChild(documentFragment); // First child is always the div we did our work in
- const getInnerDiv = fragmentDiv.querySelector('div');
- return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;
- } catch (err) {
- console.error(err);
- return '';
- }
- };
- /**
- * Clean up current element based on allowed attributes
- * and then recursively dig down into any child elements to
- * clean those up as well
- */
- const sanitizeElement = element => {
- // IE uses childNodes, so ignore nodes that are not elements
- if (element.nodeType && element.nodeType !== 1) {
- return;
- }
- for (let i = element.attributes.length - 1; i >= 0; i--) {
- const attribute = element.attributes.item(i);
- const attributeName = attribute.name; // remove non-allowed attribs
- if (!allowedAttributes.includes(attributeName.toLowerCase())) {
- element.removeAttribute(attributeName);
- continue;
- } // clean up any allowed attribs
- // that attempt to do any JS funny-business
- const attributeValue = attribute.value;
- /* eslint-disable-next-line */
- if (attributeValue != null && attributeValue.toLowerCase().includes('javascript:')) {
- element.removeAttribute(attributeName);
- }
- }
- /**
- * Sanitize any nested children
- */
- const childElements = getElementChildren(element);
- /* eslint-disable-next-line */
- for (let i = 0; i < childElements.length; i++) {
- sanitizeElement(childElements[i]);
- }
- };
- /**
- * IE doesn't always support .children
- * so we revert to .childNodes instead
- */
- const getElementChildren = el => {
- return el.children != null ? el.children : el.childNodes;
- };
- const isSanitizerEnabled = () => {
- var _a;
- const win = window;
- const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
- if (config) {
- if (config.get) {
- return config.get('sanitizerEnabled', true);
- } else {
- return config.sanitizerEnabled === true || config.sanitizerEnabled === undefined;
- }
- }
- return true;
- };
- const allowedAttributes = ['class', 'id', 'href', 'src', 'name', 'slot'];
- const blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed'];
- class IonicSafeString {
- constructor(value) {
- this.value = value;
- }
- }
- /***/ }),
- /***/ 9287:
- /*!*************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/index-e6cecce9.js ***!
- \*************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "L": () => (/* binding */ LIFECYCLE_WILL_ENTER),
- /* harmony export */ "a": () => (/* binding */ LIFECYCLE_DID_ENTER),
- /* harmony export */ "b": () => (/* binding */ LIFECYCLE_WILL_LEAVE),
- /* harmony export */ "c": () => (/* binding */ LIFECYCLE_DID_LEAVE),
- /* harmony export */ "d": () => (/* binding */ LIFECYCLE_WILL_UNLOAD),
- /* harmony export */ "e": () => (/* binding */ deepReady),
- /* harmony export */ "g": () => (/* binding */ getIonPageElement),
- /* harmony export */ "l": () => (/* binding */ lifecycle),
- /* harmony export */ "s": () => (/* binding */ setPageHidden),
- /* harmony export */ "t": () => (/* binding */ transition)
- /* harmony export */ });
- /* 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);
- /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
- /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
- const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
- const LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';
- const LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';
- const LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';
- const iosTransitionAnimation = () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./ios.transition-a4006a5a.js */ 7938));
- const mdTransitionAnimation = () => Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./md.transition-3924e170.js */ 4844));
- const transition = opts => {
- return new Promise((resolve, reject) => {
- (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_1__.c)(() => {
- beforeTransition(opts);
- runTransition(opts).then(result => {
- if (result.animation) {
- result.animation.destroy();
- }
- afterTransition(opts);
- resolve(result);
- }, error => {
- afterTransition(opts);
- reject(error);
- });
- });
- });
- };
- const beforeTransition = opts => {
- const enteringEl = opts.enteringEl;
- const leavingEl = opts.leavingEl;
- setZIndex(enteringEl, leavingEl, opts.direction);
- if (opts.showGoBack) {
- enteringEl.classList.add('can-go-back');
- } else {
- enteringEl.classList.remove('can-go-back');
- }
- setPageHidden(enteringEl, false);
- /**
- * When transitioning, the page should not
- * respond to click events. This resolves small
- * issues like users double tapping the ion-back-button.
- * These pointer events are removed in `afterTransition`.
- */
- enteringEl.style.setProperty('pointer-events', 'none');
- if (leavingEl) {
- setPageHidden(leavingEl, false);
- leavingEl.style.setProperty('pointer-events', 'none');
- }
- };
- const runTransition = /*#__PURE__*/function () {
- var _ref = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (opts) {
- const animationBuilder = yield getAnimationBuilder(opts);
- const ani = animationBuilder && _index_8e692445_js__WEBPACK_IMPORTED_MODULE_1__.B.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation
- return ani;
- });
- return function runTransition(_x) {
- return _ref.apply(this, arguments);
- };
- }();
- const afterTransition = opts => {
- const enteringEl = opts.enteringEl;
- const leavingEl = opts.leavingEl;
- enteringEl.classList.remove('ion-page-invisible');
- enteringEl.style.removeProperty('pointer-events');
- if (leavingEl !== undefined) {
- leavingEl.classList.remove('ion-page-invisible');
- leavingEl.style.removeProperty('pointer-events');
- }
- };
- const getAnimationBuilder = /*#__PURE__*/function () {
- var _ref2 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (opts) {
- if (!opts.leavingEl || !opts.animated || opts.duration === 0) {
- return undefined;
- }
- if (opts.animationBuilder) {
- return opts.animationBuilder;
- }
- const getAnimation = opts.mode === 'ios' ? (yield iosTransitionAnimation()).iosTransitionAnimation : (yield mdTransitionAnimation()).mdTransitionAnimation;
- return getAnimation;
- });
- return function getAnimationBuilder(_x2) {
- return _ref2.apply(this, arguments);
- };
- }();
- const animation = /*#__PURE__*/function () {
- var _ref3 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (animationBuilder, opts) {
- yield waitForReady(opts, true);
- const trans = animationBuilder(opts.baseEl, opts);
- fireWillEvents(opts.enteringEl, opts.leavingEl);
- const didComplete = yield playTransition(trans, opts);
- if (opts.progressCallback) {
- opts.progressCallback(undefined);
- }
- if (didComplete) {
- fireDidEvents(opts.enteringEl, opts.leavingEl);
- }
- return {
- hasCompleted: didComplete,
- animation: trans
- };
- });
- return function animation(_x3, _x4) {
- return _ref3.apply(this, arguments);
- };
- }();
- const noAnimation = /*#__PURE__*/function () {
- var _ref4 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (opts) {
- const enteringEl = opts.enteringEl;
- const leavingEl = opts.leavingEl;
- yield waitForReady(opts, false);
- fireWillEvents(enteringEl, leavingEl);
- fireDidEvents(enteringEl, leavingEl);
- return {
- hasCompleted: true
- };
- });
- return function noAnimation(_x5) {
- return _ref4.apply(this, arguments);
- };
- }();
- const waitForReady = /*#__PURE__*/function () {
- var _ref5 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (opts, defaultDeep) {
- const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;
- const promises = deep ? [deepReady(opts.enteringEl), deepReady(opts.leavingEl)] : [shallowReady(opts.enteringEl), shallowReady(opts.leavingEl)];
- yield Promise.all(promises);
- yield notifyViewReady(opts.viewIsReady, opts.enteringEl);
- });
- return function waitForReady(_x6, _x7) {
- return _ref5.apply(this, arguments);
- };
- }();
- const notifyViewReady = /*#__PURE__*/function () {
- var _ref6 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (viewIsReady, enteringEl) {
- if (viewIsReady) {
- yield viewIsReady(enteringEl);
- }
- });
- return function notifyViewReady(_x8, _x9) {
- return _ref6.apply(this, arguments);
- };
- }();
- const playTransition = (trans, opts) => {
- const progressCallback = opts.progressCallback;
- const promise = new Promise(resolve => {
- trans.onFinish(currentStep => resolve(currentStep === 1));
- }); // cool, let's do this, start the transition
- if (progressCallback) {
- // this is a swipe to go back, just get the transition progress ready
- // kick off the swipe animation start
- trans.progressStart(true);
- progressCallback(trans);
- } else {
- // only the top level transition should actually start "play"
- // kick it off and let it play through
- // ******** DOM WRITE ****************
- trans.play();
- } // create a callback for when the animation is done
- return promise;
- };
- const fireWillEvents = (enteringEl, leavingEl) => {
- lifecycle(leavingEl, LIFECYCLE_WILL_LEAVE);
- lifecycle(enteringEl, LIFECYCLE_WILL_ENTER);
- };
- const fireDidEvents = (enteringEl, leavingEl) => {
- lifecycle(enteringEl, LIFECYCLE_DID_ENTER);
- lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);
- };
- const lifecycle = (el, eventName) => {
- if (el) {
- const ev = new CustomEvent(eventName, {
- bubbles: false,
- cancelable: false
- });
- el.dispatchEvent(ev);
- }
- };
- const shallowReady = el => {
- if (el) {
- return new Promise(resolve => (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__.c)(el, resolve));
- }
- return Promise.resolve();
- };
- const deepReady = /*#__PURE__*/function () {
- var _ref7 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (el) {
- const element = el;
- if (element) {
- if (element.componentOnReady != null) {
- // eslint-disable-next-line custom-rules/no-component-on-ready-method
- const stencilEl = yield element.componentOnReady();
- if (stencilEl != null) {
- return;
- }
- /**
- * Custom elements in Stencil will have __registerHost.
- */
- } else if (element.__registerHost != null) {
- /**
- * Non-lazy loaded custom elements need to wait
- * one frame for component to be loaded.
- */
- const waitForCustomElement = new Promise(resolve => (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__.r)(resolve));
- yield waitForCustomElement;
- return;
- }
- yield Promise.all(Array.from(element.children).map(deepReady));
- }
- });
- return function deepReady(_x10) {
- return _ref7.apply(this, arguments);
- };
- }();
- const setPageHidden = (el, hidden) => {
- if (hidden) {
- el.setAttribute('aria-hidden', 'true');
- el.classList.add('ion-page-hidden');
- } else {
- el.hidden = false;
- el.removeAttribute('aria-hidden');
- el.classList.remove('ion-page-hidden');
- }
- };
- const setZIndex = (enteringEl, leavingEl, direction) => {
- if (enteringEl !== undefined) {
- enteringEl.style.zIndex = direction === 'back' ? '99' : '101';
- }
- if (leavingEl !== undefined) {
- leavingEl.style.zIndex = '100';
- }
- };
- const getIonPageElement = element => {
- if (element.classList.contains('ion-page')) {
- return element;
- }
- const ionPage = element.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs');
- if (ionPage) {
- return ionPage;
- } // idk, return the original element so at least something animates and we don't have a null pointer
- return element;
- };
- /***/ }),
- /***/ 9286:
- /*!*************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/index-f8d8aa5a.js ***!
- \*************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "GESTURE_CONTROLLER": () => (/* reexport safe */ _gesture_controller_17060b7c_js__WEBPACK_IMPORTED_MODULE_0__.G),
- /* harmony export */ "createGesture": () => (/* binding */ createGesture)
- /* harmony export */ });
- /* harmony import */ var _gesture_controller_17060b7c_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./gesture-controller-17060b7c.js */ 6379);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- const addEventListener = (el, eventName, callback, opts) => {
- // use event listener options when supported
- // otherwise it's just a boolean for the "capture" arg
- const listenerOpts = supportsPassive(el) ? {
- capture: !!opts.capture,
- passive: !!opts.passive
- } : !!opts.capture;
- let add;
- let remove;
- if (el['__zone_symbol__addEventListener']) {
- add = '__zone_symbol__addEventListener';
- remove = '__zone_symbol__removeEventListener';
- } else {
- add = 'addEventListener';
- remove = 'removeEventListener';
- }
- el[add](eventName, callback, listenerOpts);
- return () => {
- el[remove](eventName, callback, listenerOpts);
- };
- };
- const supportsPassive = node => {
- if (_sPassive === undefined) {
- try {
- const opts = Object.defineProperty({}, 'passive', {
- get: () => {
- _sPassive = true;
- }
- });
- node.addEventListener('optsTest', () => {
- return;
- }, opts);
- } catch (e) {
- _sPassive = false;
- }
- }
- return !!_sPassive;
- };
- let _sPassive;
- const MOUSE_WAIT = 2000;
- const createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) => {
- let rmTouchStart;
- let rmTouchMove;
- let rmTouchEnd;
- let rmTouchCancel;
- let rmMouseStart;
- let rmMouseMove;
- let rmMouseUp;
- let lastTouchEvent = 0;
- const handleTouchStart = ev => {
- lastTouchEvent = Date.now() + MOUSE_WAIT;
- if (!pointerDown(ev)) {
- return;
- }
- if (!rmTouchMove && pointerMove) {
- rmTouchMove = addEventListener(el, 'touchmove', pointerMove, options);
- }
- /**
- * Events are dispatched on the element that is tapped and bubble up to
- * the reference element in the gesture. In the event that the element this
- * event was first dispatched on is removed from the DOM, the event will no
- * longer bubble up to our reference element. This leaves the gesture in an
- * unusable state. To account for this, the touchend and touchcancel listeners
- * should be added to the event target so that they still fire even if the target
- * is removed from the DOM.
- */
- if (!rmTouchEnd) {
- rmTouchEnd = addEventListener(ev.target, 'touchend', handleTouchEnd, options);
- }
- if (!rmTouchCancel) {
- rmTouchCancel = addEventListener(ev.target, 'touchcancel', handleTouchEnd, options);
- }
- };
- const handleMouseDown = ev => {
- if (lastTouchEvent > Date.now()) {
- return;
- }
- if (!pointerDown(ev)) {
- return;
- }
- if (!rmMouseMove && pointerMove) {
- rmMouseMove = addEventListener(getDocument(el), 'mousemove', pointerMove, options);
- }
- if (!rmMouseUp) {
- rmMouseUp = addEventListener(getDocument(el), 'mouseup', handleMouseUp, options);
- }
- };
- const handleTouchEnd = ev => {
- stopTouch();
- if (pointerUp) {
- pointerUp(ev);
- }
- };
- const handleMouseUp = ev => {
- stopMouse();
- if (pointerUp) {
- pointerUp(ev);
- }
- };
- const stopTouch = () => {
- if (rmTouchMove) {
- rmTouchMove();
- }
- if (rmTouchEnd) {
- rmTouchEnd();
- }
- if (rmTouchCancel) {
- rmTouchCancel();
- }
- rmTouchMove = rmTouchEnd = rmTouchCancel = undefined;
- };
- const stopMouse = () => {
- if (rmMouseMove) {
- rmMouseMove();
- }
- if (rmMouseUp) {
- rmMouseUp();
- }
- rmMouseMove = rmMouseUp = undefined;
- };
- const stop = () => {
- stopTouch();
- stopMouse();
- };
- const enable = (isEnabled = true) => {
- if (!isEnabled) {
- if (rmTouchStart) {
- rmTouchStart();
- }
- if (rmMouseStart) {
- rmMouseStart();
- }
- rmTouchStart = rmMouseStart = undefined;
- stop();
- } else {
- if (!rmTouchStart) {
- rmTouchStart = addEventListener(el, 'touchstart', handleTouchStart, options);
- }
- if (!rmMouseStart) {
- rmMouseStart = addEventListener(el, 'mousedown', handleMouseDown, options);
- }
- }
- };
- const destroy = () => {
- enable(false);
- pointerUp = pointerMove = pointerDown = undefined;
- };
- return {
- enable,
- stop,
- destroy
- };
- };
- const getDocument = node => {
- return node instanceof Document ? node : node.ownerDocument;
- };
- const createPanRecognizer = (direction, thresh, maxAngle) => {
- const radians = maxAngle * (Math.PI / 180);
- const isDirX = direction === 'x';
- const maxCosine = Math.cos(radians);
- const threshold = thresh * thresh;
- let startX = 0;
- let startY = 0;
- let dirty = false;
- let isPan = 0;
- return {
- start(x, y) {
- startX = x;
- startY = y;
- isPan = 0;
- dirty = true;
- },
- detect(x, y) {
- if (!dirty) {
- return false;
- }
- const deltaX = x - startX;
- const deltaY = y - startY;
- const distance = deltaX * deltaX + deltaY * deltaY;
- if (distance < threshold) {
- return false;
- }
- const hypotenuse = Math.sqrt(distance);
- const cosine = (isDirX ? deltaX : deltaY) / hypotenuse;
- if (cosine > maxCosine) {
- isPan = 1;
- } else if (cosine < -maxCosine) {
- isPan = -1;
- } else {
- isPan = 0;
- }
- dirty = false;
- return true;
- },
- isGesture() {
- return isPan !== 0;
- },
- getDirection() {
- return isPan;
- }
- };
- };
- const createGesture = config => {
- let hasCapturedPan = false;
- let hasStartedPan = false;
- let hasFiredStart = true;
- let isMoveQueued = false;
- const finalConfig = Object.assign({
- disableScroll: false,
- direction: 'x',
- gesturePriority: 0,
- passive: true,
- maxAngle: 40,
- threshold: 10
- }, config);
- const canStart = finalConfig.canStart;
- const onWillStart = finalConfig.onWillStart;
- const onStart = finalConfig.onStart;
- const onEnd = finalConfig.onEnd;
- const notCaptured = finalConfig.notCaptured;
- const onMove = finalConfig.onMove;
- const threshold = finalConfig.threshold;
- const passive = finalConfig.passive;
- const blurOnStart = finalConfig.blurOnStart;
- const detail = {
- type: 'pan',
- startX: 0,
- startY: 0,
- startTime: 0,
- currentX: 0,
- currentY: 0,
- velocityX: 0,
- velocityY: 0,
- deltaX: 0,
- deltaY: 0,
- currentTime: 0,
- event: undefined,
- data: undefined
- };
- const pan = createPanRecognizer(finalConfig.direction, finalConfig.threshold, finalConfig.maxAngle);
- const gesture = _gesture_controller_17060b7c_js__WEBPACK_IMPORTED_MODULE_0__.G.createGesture({
- name: config.gestureName,
- priority: config.gesturePriority,
- disableScroll: config.disableScroll
- });
- const pointerDown = ev => {
- const timeStamp = now(ev);
- if (hasStartedPan || !hasFiredStart) {
- return false;
- }
- updateDetail(ev, detail);
- detail.startX = detail.currentX;
- detail.startY = detail.currentY;
- detail.startTime = detail.currentTime = timeStamp;
- detail.velocityX = detail.velocityY = detail.deltaX = detail.deltaY = 0;
- detail.event = ev; // Check if gesture can start
- if (canStart && canStart(detail) === false) {
- return false;
- } // Release fallback
- gesture.release(); // Start gesture
- if (!gesture.start()) {
- return false;
- }
- hasStartedPan = true;
- if (threshold === 0) {
- return tryToCapturePan();
- }
- pan.start(detail.startX, detail.startY);
- return true;
- };
- const pointerMove = ev => {
- // fast path, if gesture is currently captured
- // do minimum job to get user-land even dispatched
- if (hasCapturedPan) {
- if (!isMoveQueued && hasFiredStart) {
- isMoveQueued = true;
- calcGestureData(detail, ev);
- requestAnimationFrame(fireOnMove);
- }
- return;
- } // gesture is currently being detected
- calcGestureData(detail, ev);
- if (pan.detect(detail.currentX, detail.currentY)) {
- if (!pan.isGesture() || !tryToCapturePan()) {
- abortGesture();
- }
- }
- };
- const fireOnMove = () => {
- // Since fireOnMove is called inside a RAF, onEnd() might be called,
- // we must double check hasCapturedPan
- if (!hasCapturedPan) {
- return;
- }
- isMoveQueued = false;
- if (onMove) {
- onMove(detail);
- }
- };
- const tryToCapturePan = () => {
- if (!gesture.capture()) {
- return false;
- }
- hasCapturedPan = true;
- hasFiredStart = false; // reset start position since the real user-land event starts here
- // If the pan detector threshold is big, not resetting the start position
- // will cause a jump in the animation equal to the detector threshold.
- // the array of positions used to calculate the gesture velocity does not
- // need to be cleaned, more points in the positions array always results in a
- // more accurate value of the velocity.
- detail.startX = detail.currentX;
- detail.startY = detail.currentY;
- detail.startTime = detail.currentTime;
- if (onWillStart) {
- onWillStart(detail).then(fireOnStart);
- } else {
- fireOnStart();
- }
- return true;
- };
- const blurActiveElement = () => {
- if (typeof document !== 'undefined') {
- const activeElement = document.activeElement;
- if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) {
- activeElement.blur();
- }
- }
- };
- const fireOnStart = () => {
- if (blurOnStart) {
- blurActiveElement();
- }
- if (onStart) {
- onStart(detail);
- }
- hasFiredStart = true;
- };
- const reset = () => {
- hasCapturedPan = false;
- hasStartedPan = false;
- isMoveQueued = false;
- hasFiredStart = true;
- gesture.release();
- }; // END *************************
- const pointerUp = ev => {
- const tmpHasCaptured = hasCapturedPan;
- const tmpHasFiredStart = hasFiredStart;
- reset();
- if (!tmpHasFiredStart) {
- return;
- }
- calcGestureData(detail, ev); // Try to capture press
- if (tmpHasCaptured) {
- if (onEnd) {
- onEnd(detail);
- }
- return;
- } // Not captured any event
- if (notCaptured) {
- notCaptured(detail);
- }
- };
- const pointerEvents = createPointerEvents(finalConfig.el, pointerDown, pointerMove, pointerUp, {
- capture: false,
- passive
- });
- const abortGesture = () => {
- reset();
- pointerEvents.stop();
- if (notCaptured) {
- notCaptured(detail);
- }
- };
- return {
- enable(enable = true) {
- if (!enable) {
- if (hasCapturedPan) {
- pointerUp(undefined);
- }
- reset();
- }
- pointerEvents.enable(enable);
- },
- destroy() {
- gesture.destroy();
- pointerEvents.destroy();
- }
- };
- };
- const calcGestureData = (detail, ev) => {
- if (!ev) {
- return;
- }
- const prevX = detail.currentX;
- const prevY = detail.currentY;
- const prevT = detail.currentTime;
- updateDetail(ev, detail);
- const currentX = detail.currentX;
- const currentY = detail.currentY;
- const timestamp = detail.currentTime = now(ev);
- const timeDelta = timestamp - prevT;
- if (timeDelta > 0 && timeDelta < 100) {
- const velocityX = (currentX - prevX) / timeDelta;
- const velocityY = (currentY - prevY) / timeDelta;
- detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;
- detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;
- }
- detail.deltaX = currentX - detail.startX;
- detail.deltaY = currentY - detail.startY;
- detail.event = ev;
- };
- const updateDetail = (ev, detail) => {
- // get X coordinates for either a mouse click
- // or a touch depending on the given event
- let x = 0;
- let y = 0;
- if (ev) {
- const changedTouches = ev.changedTouches;
- if (changedTouches && changedTouches.length > 0) {
- const touch = changedTouches[0];
- x = touch.clientX;
- y = touch.clientY;
- } else if (ev.pageX !== undefined) {
- x = ev.pageX;
- y = ev.pageY;
- }
- }
- detail.currentX = x;
- detail.currentY = y;
- };
- const now = ev => {
- return ev.timeStamp || Date.now();
- };
- /***/ }),
- /***/ 6710:
- /*!****************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/index.js ***!
- \****************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "IonicSafeString": () => (/* reexport safe */ _index_dff497fb_js__WEBPACK_IMPORTED_MODULE_7__.I),
- /* harmony export */ "IonicSlides": () => (/* binding */ IonicSlides),
- /* harmony export */ "IonicSwiper": () => (/* binding */ IonicSwiper),
- /* harmony export */ "LIFECYCLE_DID_ENTER": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.a),
- /* harmony export */ "LIFECYCLE_DID_LEAVE": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.c),
- /* harmony export */ "LIFECYCLE_WILL_ENTER": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.L),
- /* harmony export */ "LIFECYCLE_WILL_LEAVE": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.b),
- /* harmony export */ "LIFECYCLE_WILL_UNLOAD": () => (/* reexport safe */ _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__.d),
- /* harmony export */ "actionSheetController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.b),
- /* harmony export */ "alertController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.a),
- /* harmony export */ "componentOnReady": () => (/* reexport safe */ _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.c),
- /* harmony export */ "createAnimation": () => (/* reexport safe */ _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c),
- /* harmony export */ "createGesture": () => (/* reexport safe */ _index_f8d8aa5a_js__WEBPACK_IMPORTED_MODULE_4__.createGesture),
- /* harmony export */ "getMode": () => (/* binding */ getMode),
- /* harmony export */ "getPlatforms": () => (/* reexport safe */ _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_5__.g),
- /* harmony export */ "getTimeGivenProgression": () => (/* reexport safe */ _cubic_bezier_c313947a_js__WEBPACK_IMPORTED_MODULE_3__.g),
- /* harmony export */ "initialize": () => (/* reexport safe */ _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_5__.i),
- /* harmony export */ "iosTransitionAnimation": () => (/* reexport safe */ _ios_transition_a4006a5a_js__WEBPACK_IMPORTED_MODULE_1__.iosTransitionAnimation),
- /* harmony export */ "isPlatform": () => (/* reexport safe */ _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_5__.a),
- /* harmony export */ "loadingController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.l),
- /* harmony export */ "mdTransitionAnimation": () => (/* reexport safe */ _md_transition_3924e170_js__WEBPACK_IMPORTED_MODULE_2__.mdTransitionAnimation),
- /* harmony export */ "menuController": () => (/* reexport safe */ _index_41145c2b_js__WEBPACK_IMPORTED_MODULE_9__.m),
- /* harmony export */ "modalController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.m),
- /* harmony export */ "pickerController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.p),
- /* harmony export */ "popoverController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.c),
- /* harmony export */ "setupConfig": () => (/* binding */ setupConfig),
- /* harmony export */ "toastController": () => (/* reexport safe */ _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__.t)
- /* harmony export */ });
- /* harmony import */ var _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./animation-2c50d24d.js */ 631);
- /* harmony import */ var _ios_transition_a4006a5a_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ios.transition-a4006a5a.js */ 7938);
- /* harmony import */ var _md_transition_3924e170_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./md.transition-3924e170.js */ 4844);
- /* harmony import */ var _cubic_bezier_c313947a_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cubic-bezier-c313947a.js */ 1077);
- /* harmony import */ var _index_f8d8aa5a_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index-f8d8aa5a.js */ 9286);
- /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
- /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
- /* harmony import */ var _index_dff497fb_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./index-dff497fb.js */ 1652);
- /* harmony import */ var _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./index-e6cecce9.js */ 9287);
- /* harmony import */ var _index_41145c2b_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./index-41145c2b.js */ 8923);
- /* harmony import */ var _overlays_87c7c7cb_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./overlays-87c7c7cb.js */ 2752);
- /* harmony import */ var _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./index-33ffec25.js */ 2286);
- /* harmony import */ var _gesture_controller_17060b7c_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./gesture-controller-17060b7c.js */ 6379);
- /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
- /* harmony import */ var _hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./hardware-back-button-490df115.js */ 159);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- const setupConfig = config => {
- const win = window;
- const Ionic = win.Ionic; // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
- if (Ionic && Ionic.config && Ionic.config.constructor.name !== 'Object') {
- return;
- }
- win.Ionic = win.Ionic || {};
- win.Ionic.config = Object.assign(Object.assign({}, win.Ionic.config), config);
- return win.Ionic.config;
- };
- const getMode = () => {
- var _a;
- const win = window;
- const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;
- if (config) {
- if (config.mode) {
- return config.mode;
- } else {
- return config.get('mode');
- }
- }
- return 'md';
- };
- /**
- * This is a plugin for Swiper that allows it to work
- * with Ionic Framework and the routing integrations.
- * Without this plugin, Swiper would be incapable of correctly
- * determining the dimensions of the slides component as
- * each view is initially hidden before transitioning in.
- */
- const setupSwiperInIonic = (swiper, watchForIonPageChanges = true) => {
- if (typeof window === 'undefined') {
- return;
- }
- const swiperEl = swiper.el;
- const ionPage = swiperEl.closest('.ion-page');
- if (!ionPage) {
- if (watchForIonPageChanges) {
- /**
- * If no ion page found, it is possible
- * that we are in the overlay setup step
- * where the inner component has been
- * created but not attached to the DOM yet.
- * If so, wait for the .ion-page class to
- * appear on the root div and re-run setup.
- */
- const rootNode = swiperEl.getRootNode();
- if (rootNode.tagName === 'DIV') {
- const mo = new MutationObserver(m => {
- const mutation = m[0];
- const wasEmpty = mutation.oldValue === null;
- const hasIonPage = rootNode.classList.contains('ion-page');
- /**
- * Now that we have an .ion-page class
- * we can safely attempt setup again.
- */
- if (wasEmpty && hasIonPage) {
- mo.disconnect();
- /**
- * Set false here so we do not
- * get infinite loops
- */
- setupSwiperInIonic(swiper, false);
- }
- });
- mo.observe(rootNode, {
- attributeFilter: ['class'],
- attributeOldValue: true
- });
- }
- }
- return;
- }
- /**
- * If using slides in a modal or
- * popover we need to wait for the
- * overlay to be shown as these components
- * are hidden when they are initially created.
- */
- const modalOrPopover = swiperEl.closest('ion-modal, ion-popover');
- if (modalOrPopover) {
- const eventName = modalOrPopover.tagName === 'ION-MODAL' ? 'ionModalWillPresent' : 'ionPopoverWillPresent';
- const overlayCallback = () => {
- /**
- * We need an raf here so the update
- * is fired one tick after the overlay is shown.
- */
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.r)(() => {
- swiperEl.swiper.update();
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.b)(modalOrPopover, eventName, overlayCallback);
- });
- };
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.a)(modalOrPopover, eventName, overlayCallback);
- } else {
- /**
- * If using slides in a page
- * we need to wait for the ion-page-invisible
- * class to be removed so Swiper can correctly
- * compute the dimensions of the slides.
- */
- const mo = new MutationObserver(m => {
- var _a;
- const mutation = m[0];
- const wasPageHidden = (_a = mutation.oldValue) === null || _a === void 0 ? void 0 : _a.includes('ion-page-invisible');
- const isPageHidden = ionPage.classList.contains('ion-page-invisible');
- /**
- * Only update Swiper if the page was
- * hidden but is no longer hidden.
- */
- if (!isPageHidden && isPageHidden !== wasPageHidden) {
- swiperEl.swiper.update();
- }
- });
- mo.observe(ionPage, {
- attributeFilter: ['class'],
- attributeOldValue: true
- });
- }
- /**
- * We also need to listen for the appload event
- * which is emitted by Stencil in the
- * event that Swiper is being used on the
- * view that is rendered initially.
- */
- const onAppLoad = () => {
- swiperEl.swiper.update();
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.b)(window, 'appload', onAppLoad);
- };
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_6__.a)(window, 'appload', onAppLoad);
- };
- const IonicSwiper = {
- name: 'ionic',
- on: {
- afterInit(swiper) {
- 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.');
- setupSwiperInIonic(swiper);
- }
- }
- };
- const IonicSlides = opts => {
- const {
- swiper,
- extendParams
- } = opts;
- const slidesParams = {
- effect: undefined,
- direction: 'horizontal',
- initialSlide: 0,
- loop: false,
- parallax: false,
- slidesPerView: 1,
- spaceBetween: 0,
- speed: 300,
- slidesPerColumn: 1,
- slidesPerColumnFill: 'column',
- slidesPerGroup: 1,
- centeredSlides: false,
- slidesOffsetBefore: 0,
- slidesOffsetAfter: 0,
- touchEventsTarget: 'container',
- autoplay: false,
- freeMode: false,
- freeModeMomentum: true,
- freeModeMomentumRatio: 1,
- freeModeMomentumBounce: true,
- freeModeMomentumBounceRatio: 1,
- freeModeMomentumVelocityRatio: 1,
- freeModeSticky: false,
- freeModeMinimumVelocity: 0.02,
- autoHeight: false,
- setWrapperSize: false,
- zoom: {
- maxRatio: 3,
- minRatio: 1,
- toggle: false
- },
- touchRatio: 1,
- touchAngle: 45,
- simulateTouch: true,
- touchStartPreventDefault: false,
- shortSwipes: true,
- longSwipes: true,
- longSwipesRatio: 0.5,
- longSwipesMs: 300,
- followFinger: true,
- threshold: 0,
- touchMoveStopPropagation: true,
- touchReleaseOnEdges: false,
- iOSEdgeSwipeDetection: false,
- iOSEdgeSwipeThreshold: 20,
- resistance: true,
- resistanceRatio: 0.85,
- watchSlidesProgress: false,
- watchSlidesVisibility: false,
- preventClicks: true,
- preventClicksPropagation: true,
- slideToClickedSlide: false,
- loopAdditionalSlides: 0,
- noSwiping: true,
- runCallbacksOnInit: true,
- coverflowEffect: {
- rotate: 50,
- stretch: 0,
- depth: 100,
- modifier: 1,
- slideShadows: true
- },
- flipEffect: {
- slideShadows: true,
- limitRotation: true
- },
- cubeEffect: {
- slideShadows: true,
- shadow: true,
- shadowOffset: 20,
- shadowScale: 0.94
- },
- fadeEffect: {
- crossFade: false
- },
- a11y: {
- prevSlideMessage: 'Previous slide',
- nextSlideMessage: 'Next slide',
- firstSlideMessage: 'This is the first slide',
- lastSlideMessage: 'This is the last slide'
- }
- };
- if (swiper.pagination) {
- slidesParams.pagination = {
- type: 'bullets',
- clickable: false,
- hideOnClick: false
- };
- }
- if (swiper.scrollbar) {
- slidesParams.scrollbar = {
- hide: true
- };
- }
- extendParams(slidesParams);
- };
- /***/ }),
- /***/ 8607:
- /*!********************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/ionic-global-c95cf239.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "a": () => (/* binding */ isPlatform),
- /* harmony export */ "b": () => (/* binding */ getIonMode),
- /* harmony export */ "c": () => (/* binding */ config),
- /* harmony export */ "g": () => (/* binding */ getPlatforms),
- /* harmony export */ "i": () => (/* binding */ initialize)
- /* harmony export */ });
- /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- class Config {
- constructor() {
- this.m = new Map();
- }
- reset(configObj) {
- this.m = new Map(Object.entries(configObj));
- }
- get(key, fallback) {
- const value = this.m.get(key);
- return value !== undefined ? value : fallback;
- }
- getBoolean(key, fallback = false) {
- const val = this.m.get(key);
- if (val === undefined) {
- return fallback;
- }
- if (typeof val === 'string') {
- return val === 'true';
- }
- return !!val;
- }
- getNumber(key, fallback) {
- const val = parseFloat(this.m.get(key));
- return isNaN(val) ? fallback !== undefined ? fallback : NaN : val;
- }
- set(key, value) {
- this.m.set(key, value);
- }
- }
- const config = /*@__PURE__*/new Config();
- const configFromSession = win => {
- try {
- const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);
- return configStr !== null ? JSON.parse(configStr) : {};
- } catch (e) {
- return {};
- }
- };
- const saveConfig = (win, c) => {
- try {
- win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));
- } catch (e) {
- return;
- }
- };
- const configFromURL = win => {
- const configObj = {};
- 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]) => {
- configObj[key] = value;
- });
- return configObj;
- };
- const startsWith = (input, search) => {
- return input.substr(0, search.length) === search;
- };
- const IONIC_PREFIX = 'ionic:';
- const IONIC_SESSION_KEY = 'ionic-persist-config';
- const getPlatforms = win => setupPlatforms(win);
- const isPlatform = (winOrPlatform, platform) => {
- if (typeof winOrPlatform === 'string') {
- platform = winOrPlatform;
- winOrPlatform = undefined;
- }
- return getPlatforms(winOrPlatform).includes(platform);
- };
- const setupPlatforms = (win = window) => {
- if (typeof win === 'undefined') {
- return [];
- }
- win.Ionic = win.Ionic || {};
- let platforms = win.Ionic.platforms;
- if (platforms == null) {
- platforms = win.Ionic.platforms = detectPlatforms(win);
- platforms.forEach(p => win.document.documentElement.classList.add(`plt-${p}`));
- }
- return platforms;
- };
- const detectPlatforms = win => {
- const customPlatformMethods = config.get('platform');
- return Object.keys(PLATFORMS_MAP).filter(p => {
- const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];
- return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);
- });
- };
- const isMobileWeb = win => isMobile(win) && !isHybrid(win);
- const isIpad = win => {
- // iOS 12 and below
- if (testUserAgent(win, /iPad/i)) {
- return true;
- } // iOS 13+
- if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {
- return true;
- }
- return false;
- };
- const isIphone = win => testUserAgent(win, /iPhone/i);
- const isIOS = win => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);
- const isAndroid = win => testUserAgent(win, /android|sink/i);
- const isAndroidTablet = win => {
- return isAndroid(win) && !testUserAgent(win, /mobile/i);
- };
- const isPhablet = win => {
- const width = win.innerWidth;
- const height = win.innerHeight;
- const smallest = Math.min(width, height);
- const largest = Math.max(width, height);
- return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;
- };
- const isTablet = win => {
- const width = win.innerWidth;
- const height = win.innerHeight;
- const smallest = Math.min(width, height);
- const largest = Math.max(width, height);
- return isIpad(win) || isAndroidTablet(win) || smallest > 460 && smallest < 820 && largest > 780 && largest < 1400;
- };
- const isMobile = win => matchMedia(win, '(any-pointer:coarse)');
- const isDesktop = win => !isMobile(win);
- const isHybrid = win => isCordova(win) || isCapacitorNative(win);
- const isCordova = win => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);
- const isCapacitorNative = win => {
- const capacitor = win['Capacitor'];
- return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);
- };
- const isElectron = win => testUserAgent(win, /electron/i);
- const isPWA = win => {
- var _a;
- return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone);
- };
- const testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);
- const matchMedia = (win, query) => {
- var _a;
- return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches;
- };
- const PLATFORMS_MAP = {
- ipad: isIpad,
- iphone: isIphone,
- ios: isIOS,
- android: isAndroid,
- phablet: isPhablet,
- tablet: isTablet,
- cordova: isCordova,
- capacitor: isCapacitorNative,
- electron: isElectron,
- pwa: isPWA,
- mobile: isMobile,
- mobileweb: isMobileWeb,
- desktop: isDesktop,
- hybrid: isHybrid
- };
- let defaultMode;
- const getIonMode = ref => {
- return ref && (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.g)(ref) || defaultMode;
- };
- const initialize = (userConfig = {}) => {
- if (typeof window === 'undefined') {
- return;
- }
- const doc = window.document;
- const win = window;
- const Ionic = win.Ionic = win.Ionic || {};
- const platformHelpers = {};
- if (userConfig._ael) {
- platformHelpers.ael = userConfig._ael;
- }
- if (userConfig._rel) {
- platformHelpers.rel = userConfig._rel;
- }
- if (userConfig._ce) {
- platformHelpers.ce = userConfig._ce;
- }
- (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.s)(platformHelpers); // create the Ionic.config from raw config object (if it exists)
- // and convert Ionic.config into a ConfigApi that has a get() fn
- const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), {
- persistConfig: false
- }), Ionic.config), configFromURL(win)), userConfig);
- config.reset(configObj);
- if (config.getBoolean('persistConfig')) {
- saveConfig(win, configObj);
- } // Setup platforms
- setupPlatforms(win); // first see if the mode was set as an attribute on <html>
- // which could have been set by the user, or by pre-rendering
- // otherwise get the mode via config settings, and fallback to md
- Ionic.config = config;
- Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));
- config.set('mode', defaultMode);
- doc.documentElement.setAttribute('mode', defaultMode);
- doc.documentElement.classList.add(defaultMode);
- if (config.getBoolean('_testing')) {
- config.set('animated', false);
- }
- const isIonicElement = elm => {
- var _a;
- return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-');
- };
- const isAllowedIonicModeValue = elmMode => ['ios', 'md'].includes(elmMode);
- (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.a)(elm => {
- while (elm) {
- const elmMode = elm.mode || elm.getAttribute('mode');
- if (elmMode) {
- if (isAllowedIonicModeValue(elmMode)) {
- return elmMode;
- } else if (isIonicElement(elm)) {
- console.warn('Invalid ionic mode: "' + elmMode + '", expected: "ios" or "md"');
- }
- }
- elm = elm.parentElement;
- }
- return defaultMode;
- });
- };
- /***/ }),
- /***/ 7938:
- /*!**********************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/ios.transition-a4006a5a.js ***!
- \**********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "iosTransitionAnimation": () => (/* binding */ iosTransitionAnimation),
- /* harmony export */ "shadow": () => (/* binding */ shadow)
- /* harmony export */ });
- /* harmony import */ var _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./animation-2c50d24d.js */ 631);
- /* harmony import */ var _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-e6cecce9.js */ 9287);
- /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
- /* harmony import */ var _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index-33ffec25.js */ 2286);
- /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- const DURATION = 540;
- const getClonedElement = tagName => {
- return document.querySelector(`${tagName}.ion-cloned-element`);
- };
- const shadow = el => {
- return el.shadowRoot || el;
- };
- const getLargeTitle = refEl => {
- const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');
- const query = 'ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large';
- if (tabs != null) {
- const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');
- return activeTab != null ? activeTab.querySelector(query) : null;
- }
- return refEl.querySelector(query);
- };
- const getBackButton = (refEl, backDirection) => {
- const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');
- let buttonsList = [];
- if (tabs != null) {
- const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');
- if (activeTab != null) {
- buttonsList = activeTab.querySelectorAll('ion-buttons');
- }
- } else {
- buttonsList = refEl.querySelectorAll('ion-buttons');
- }
- for (const buttons of buttonsList) {
- const parentHeader = buttons.closest('ion-header');
- const activeHeader = parentHeader && !parentHeader.classList.contains('header-collapse-condense-inactive');
- const backButton = buttons.querySelector('ion-back-button');
- const buttonsCollapse = buttons.classList.contains('buttons-collapse');
- const startSlot = buttons.slot === 'start' || buttons.slot === '';
- if (backButton !== null && startSlot && (buttonsCollapse && activeHeader && backDirection || !buttonsCollapse)) {
- return backButton;
- }
- }
- return null;
- };
- const createLargeTitleTransition = (rootAnimation, rtl, backDirection, enteringEl, leavingEl) => {
- const enteringBackButton = getBackButton(enteringEl, backDirection);
- const leavingLargeTitle = getLargeTitle(leavingEl);
- const enteringLargeTitle = getLargeTitle(enteringEl);
- const leavingBackButton = getBackButton(leavingEl, backDirection);
- const shouldAnimationForward = enteringBackButton !== null && leavingLargeTitle !== null && !backDirection;
- const shouldAnimationBackward = enteringLargeTitle !== null && leavingBackButton !== null && backDirection;
- if (shouldAnimationForward) {
- const leavingLargeTitleBox = leavingLargeTitle.getBoundingClientRect();
- const enteringBackButtonBox = enteringBackButton.getBoundingClientRect();
- animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, enteringBackButtonBox);
- animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton, leavingLargeTitleBox, enteringBackButtonBox);
- } else if (shouldAnimationBackward) {
- const enteringLargeTitleBox = enteringLargeTitle.getBoundingClientRect();
- const leavingBackButtonBox = leavingBackButton.getBoundingClientRect();
- animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, leavingBackButtonBox);
- animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton, enteringLargeTitleBox, leavingBackButtonBox);
- }
- return {
- forward: shouldAnimationForward,
- backward: shouldAnimationBackward
- };
- };
- const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, largeTitleBox, backButtonBox) => {
- const BACK_BUTTON_START_OFFSET = rtl ? `calc(100% - ${backButtonBox.right + 4}px)` : `${backButtonBox.left - 4}px`;
- const START_TEXT_TRANSLATE = rtl ? '7px' : '-7px';
- const END_TEXT_TRANSLATE = rtl ? '-4px' : '4px';
- const ICON_TRANSLATE = rtl ? '-4px' : '4px';
- const TEXT_ORIGIN_X = rtl ? 'right' : 'left';
- const ICON_ORIGIN_X = rtl ? 'left' : 'right';
- const FORWARD_TEXT_KEYFRAMES = [{
- offset: 0,
- opacity: 0,
- transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`
- }, {
- offset: 1,
- opacity: 1,
- transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)`
- }];
- const BACKWARD_TEXT_KEYFRAMES = [{
- offset: 0,
- opacity: 1,
- transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)`
- }, {
- offset: 0.6,
- opacity: 0
- }, {
- offset: 1,
- opacity: 0,
- transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`
- }];
- const TEXT_KEYFRAMES = backDirection ? BACKWARD_TEXT_KEYFRAMES : FORWARD_TEXT_KEYFRAMES;
- const FORWARD_ICON_KEYFRAMES = [{
- offset: 0,
- opacity: 0,
- transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)`
- }, {
- offset: 1,
- opacity: 1,
- transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)`
- }];
- const BACKWARD_ICON_KEYFRAMES = [{
- offset: 0,
- opacity: 1,
- transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)`
- }, {
- offset: 0.2,
- opacity: 0,
- transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)`
- }, {
- offset: 1,
- opacity: 0,
- transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)`
- }];
- const ICON_KEYFRAMES = backDirection ? BACKWARD_ICON_KEYFRAMES : FORWARD_ICON_KEYFRAMES;
- const enteringBackButtonTextAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const enteringBackButtonIconAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const clonedBackButtonEl = getClonedElement('ion-back-button');
- const backButtonTextEl = shadow(clonedBackButtonEl).querySelector('.button-text');
- const backButtonIconEl = shadow(clonedBackButtonEl).querySelector('ion-icon');
- clonedBackButtonEl.text = backButtonEl.text;
- clonedBackButtonEl.mode = backButtonEl.mode;
- clonedBackButtonEl.icon = backButtonEl.icon;
- clonedBackButtonEl.color = backButtonEl.color;
- clonedBackButtonEl.disabled = backButtonEl.disabled;
- clonedBackButtonEl.style.setProperty('display', 'block');
- clonedBackButtonEl.style.setProperty('position', 'fixed');
- enteringBackButtonIconAnimation.addElement(backButtonIconEl);
- enteringBackButtonTextAnimation.addElement(backButtonTextEl);
- enteringBackButtonTextAnimation.beforeStyles({
- 'transform-origin': `${TEXT_ORIGIN_X} center`
- }).beforeAddWrite(() => {
- backButtonEl.style.setProperty('display', 'none');
- clonedBackButtonEl.style.setProperty(TEXT_ORIGIN_X, BACK_BUTTON_START_OFFSET);
- }).afterAddWrite(() => {
- backButtonEl.style.setProperty('display', '');
- clonedBackButtonEl.style.setProperty('display', 'none');
- clonedBackButtonEl.style.removeProperty(TEXT_ORIGIN_X);
- }).keyframes(TEXT_KEYFRAMES);
- enteringBackButtonIconAnimation.beforeStyles({
- 'transform-origin': `${ICON_ORIGIN_X} center`
- }).keyframes(ICON_KEYFRAMES);
- rootAnimation.addAnimation([enteringBackButtonTextAnimation, enteringBackButtonIconAnimation]);
- };
- const animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, backButtonBox) => {
- const TITLE_START_OFFSET = rtl ? `calc(100% - ${largeTitleBox.right}px)` : `${largeTitleBox.left}px`;
- const START_TRANSLATE = rtl ? '-18px' : '18px';
- const ORIGIN_X = rtl ? 'right' : 'left';
- const BACKWARDS_KEYFRAMES = [{
- offset: 0,
- opacity: 0,
- transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.49)`
- }, {
- offset: 0.1,
- opacity: 0
- }, {
- offset: 1,
- opacity: 1,
- transform: `translate3d(0, ${largeTitleBox.top - 2}px, 0) scale(1)`
- }];
- const FORWARDS_KEYFRAMES = [{
- offset: 0,
- opacity: 0.99,
- transform: `translate3d(0, ${largeTitleBox.top - 2}px, 0) scale(1)`
- }, {
- offset: 0.6,
- opacity: 0
- }, {
- offset: 1,
- opacity: 0,
- transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.5)`
- }];
- const KEYFRAMES = backDirection ? BACKWARDS_KEYFRAMES : FORWARDS_KEYFRAMES;
- const clonedTitleEl = getClonedElement('ion-title');
- const clonedLargeTitleAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- clonedTitleEl.innerText = largeTitleEl.innerText;
- clonedTitleEl.size = largeTitleEl.size;
- clonedTitleEl.color = largeTitleEl.color;
- clonedLargeTitleAnimation.addElement(clonedTitleEl);
- clonedLargeTitleAnimation.beforeStyles({
- 'transform-origin': `${ORIGIN_X} center`,
- height: '46px',
- display: '',
- position: 'relative',
- [ORIGIN_X]: TITLE_START_OFFSET
- }).beforeAddWrite(() => {
- largeTitleEl.style.setProperty('display', 'none');
- }).afterAddWrite(() => {
- largeTitleEl.style.setProperty('display', '');
- clonedTitleEl.style.setProperty('display', 'none');
- }).keyframes(KEYFRAMES);
- rootAnimation.addAnimation(clonedLargeTitleAnimation);
- };
- const iosTransitionAnimation = (navEl, opts) => {
- var _a;
- try {
- const EASING = 'cubic-bezier(0.32,0.72,0,1)';
- const OPACITY = 'opacity';
- const TRANSFORM = 'transform';
- const CENTER = '0%';
- const OFF_OPACITY = 0.8;
- const isRTL = navEl.ownerDocument.dir === 'rtl';
- const OFF_RIGHT = isRTL ? '-99.5%' : '99.5%';
- const OFF_LEFT = isRTL ? '33%' : '-33%';
- const enteringEl = opts.enteringEl;
- const leavingEl = opts.leavingEl;
- const backDirection = opts.direction === 'back';
- const contentEl = enteringEl.querySelector(':scope > ion-content');
- const headerEls = enteringEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');
- const enteringToolBarEls = enteringEl.querySelectorAll(':scope > ion-header > ion-toolbar');
- const rootAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const enteringContentAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- rootAnimation.addElement(enteringEl).duration(((_a = opts.duration) !== null && _a !== void 0 ? _a : 0) || DURATION).easing(opts.easing || EASING).fill('both').beforeRemoveClass('ion-page-invisible');
- if (leavingEl && navEl !== null && navEl !== undefined) {
- const navDecorAnimation = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- navDecorAnimation.addElement(navEl);
- rootAnimation.addAnimation(navDecorAnimation);
- }
- if (!contentEl && enteringToolBarEls.length === 0 && headerEls.length === 0) {
- enteringContentAnimation.addElement(enteringEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW
- } else {
- enteringContentAnimation.addElement(contentEl); // REVIEW
- enteringContentAnimation.addElement(headerEls);
- }
- rootAnimation.addAnimation(enteringContentAnimation);
- if (backDirection) {
- enteringContentAnimation.beforeClearStyles([OPACITY]).fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`).fromTo(OPACITY, OFF_OPACITY, 1);
- } else {
- // entering content, forward direction
- enteringContentAnimation.beforeClearStyles([OPACITY]).fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);
- }
- if (contentEl) {
- const enteringTransitionEffectEl = shadow(contentEl).querySelector('.transition-effect');
- if (enteringTransitionEffectEl) {
- const enteringTransitionCoverEl = enteringTransitionEffectEl.querySelector('.transition-cover');
- const enteringTransitionShadowEl = enteringTransitionEffectEl.querySelector('.transition-shadow');
- const enteringTransitionEffect = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const enteringTransitionCover = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const enteringTransitionShadow = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- enteringTransitionEffect.addElement(enteringTransitionEffectEl).beforeStyles({
- opacity: '1',
- display: 'block'
- }).afterStyles({
- opacity: '',
- display: ''
- });
- enteringTransitionCover.addElement(enteringTransitionCoverEl) // REVIEW
- .beforeClearStyles([OPACITY]).fromTo(OPACITY, 0, 0.1);
- enteringTransitionShadow.addElement(enteringTransitionShadowEl) // REVIEW
- .beforeClearStyles([OPACITY]).fromTo(OPACITY, 0.03, 0.7);
- enteringTransitionEffect.addAnimation([enteringTransitionCover, enteringTransitionShadow]);
- enteringContentAnimation.addAnimation([enteringTransitionEffect]);
- }
- }
- const enteringContentHasLargeTitle = enteringEl.querySelector('ion-header.header-collapse-condense');
- const {
- forward,
- backward
- } = createLargeTitleTransition(rootAnimation, isRTL, backDirection, enteringEl, leavingEl);
- enteringToolBarEls.forEach(enteringToolBarEl => {
- const enteringToolBar = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- enteringToolBar.addElement(enteringToolBarEl);
- rootAnimation.addAnimation(enteringToolBar);
- const enteringTitle = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- enteringTitle.addElement(enteringToolBarEl.querySelector('ion-title')); // REVIEW
- const enteringToolBarButtons = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const buttons = Array.from(enteringToolBarEl.querySelectorAll('ion-buttons,[menuToggle]'));
- const parentHeader = enteringToolBarEl.closest('ion-header');
- const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');
- let buttonsToAnimate;
- if (backDirection) {
- buttonsToAnimate = buttons.filter(button => {
- const isCollapseButton = button.classList.contains('buttons-collapse');
- return isCollapseButton && !inactiveHeader || !isCollapseButton;
- });
- } else {
- buttonsToAnimate = buttons.filter(button => !button.classList.contains('buttons-collapse'));
- }
- enteringToolBarButtons.addElement(buttonsToAnimate);
- const enteringToolBarItems = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- enteringToolBarItems.addElement(enteringToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])'));
- const enteringToolBarBg = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- enteringToolBarBg.addElement(shadow(enteringToolBarEl).querySelector('.toolbar-background')); // REVIEW
- const enteringBackButton = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const backButtonEl = enteringToolBarEl.querySelector('ion-back-button');
- if (backButtonEl) {
- enteringBackButton.addElement(backButtonEl);
- }
- enteringToolBar.addAnimation([enteringTitle, enteringToolBarButtons, enteringToolBarItems, enteringToolBarBg, enteringBackButton]);
- enteringToolBarButtons.fromTo(OPACITY, 0.01, 1);
- enteringToolBarItems.fromTo(OPACITY, 0.01, 1);
- if (backDirection) {
- if (!inactiveHeader) {
- enteringTitle.fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`).fromTo(OPACITY, 0.01, 1);
- }
- enteringToolBarItems.fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`); // back direction, entering page has a back button
- enteringBackButton.fromTo(OPACITY, 0.01, 1);
- } else {
- // entering toolbar, forward direction
- if (!enteringContentHasLargeTitle) {
- enteringTitle.fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`).fromTo(OPACITY, 0.01, 1);
- }
- enteringToolBarItems.fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);
- enteringToolBarBg.beforeClearStyles([OPACITY, 'transform']);
- const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;
- if (!translucentHeader) {
- enteringToolBarBg.fromTo(OPACITY, 0.01, 'var(--opacity)');
- } else {
- enteringToolBarBg.fromTo('transform', isRTL ? 'translateX(-100%)' : 'translateX(100%)', 'translateX(0px)');
- } // forward direction, entering page has a back button
- if (!forward) {
- enteringBackButton.fromTo(OPACITY, 0.01, 1);
- }
- if (backButtonEl && !forward) {
- const enteringBackBtnText = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- enteringBackBtnText.addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW
- .fromTo(`transform`, isRTL ? 'translateX(-100px)' : 'translateX(100px)', 'translateX(0px)');
- enteringToolBar.addAnimation(enteringBackBtnText);
- }
- }
- }); // setup leaving view
- if (leavingEl) {
- const leavingContent = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const leavingContentEl = leavingEl.querySelector(':scope > ion-content');
- const leavingToolBarEls = leavingEl.querySelectorAll(':scope > ion-header > ion-toolbar');
- const leavingHeaderEls = leavingEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');
- if (!leavingContentEl && leavingToolBarEls.length === 0 && leavingHeaderEls.length === 0) {
- leavingContent.addElement(leavingEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW
- } else {
- leavingContent.addElement(leavingContentEl); // REVIEW
- leavingContent.addElement(leavingHeaderEls);
- }
- rootAnimation.addAnimation(leavingContent);
- if (backDirection) {
- // leaving content, back direction
- leavingContent.beforeClearStyles([OPACITY]).fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');
- const leavingPage = (0,_index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__.g)(leavingEl);
- rootAnimation.afterAddWrite(() => {
- if (rootAnimation.getDirection() === 'normal') {
- leavingPage.style.setProperty('display', 'none');
- }
- });
- } else {
- // leaving content, forward direction
- leavingContent.fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`).fromTo(OPACITY, 1, OFF_OPACITY);
- }
- if (leavingContentEl) {
- const leavingTransitionEffectEl = shadow(leavingContentEl).querySelector('.transition-effect');
- if (leavingTransitionEffectEl) {
- const leavingTransitionCoverEl = leavingTransitionEffectEl.querySelector('.transition-cover');
- const leavingTransitionShadowEl = leavingTransitionEffectEl.querySelector('.transition-shadow');
- const leavingTransitionEffect = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const leavingTransitionCover = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const leavingTransitionShadow = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- leavingTransitionEffect.addElement(leavingTransitionEffectEl).beforeStyles({
- opacity: '1',
- display: 'block'
- }).afterStyles({
- opacity: '',
- display: ''
- });
- leavingTransitionCover.addElement(leavingTransitionCoverEl) // REVIEW
- .beforeClearStyles([OPACITY]).fromTo(OPACITY, 0.1, 0);
- leavingTransitionShadow.addElement(leavingTransitionShadowEl) // REVIEW
- .beforeClearStyles([OPACITY]).fromTo(OPACITY, 0.7, 0.03);
- leavingTransitionEffect.addAnimation([leavingTransitionCover, leavingTransitionShadow]);
- leavingContent.addAnimation([leavingTransitionEffect]);
- }
- }
- leavingToolBarEls.forEach(leavingToolBarEl => {
- const leavingToolBar = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- leavingToolBar.addElement(leavingToolBarEl);
- const leavingTitle = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- leavingTitle.addElement(leavingToolBarEl.querySelector('ion-title')); // REVIEW
- const leavingToolBarButtons = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const buttons = leavingToolBarEl.querySelectorAll('ion-buttons,[menuToggle]');
- const parentHeader = leavingToolBarEl.closest('ion-header');
- const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');
- const buttonsToAnimate = Array.from(buttons).filter(button => {
- const isCollapseButton = button.classList.contains('buttons-collapse');
- return isCollapseButton && !inactiveHeader || !isCollapseButton;
- });
- leavingToolBarButtons.addElement(buttonsToAnimate);
- const leavingToolBarItems = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const leavingToolBarItemEls = leavingToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])');
- if (leavingToolBarItemEls.length > 0) {
- leavingToolBarItems.addElement(leavingToolBarItemEls);
- }
- const leavingToolBarBg = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- leavingToolBarBg.addElement(shadow(leavingToolBarEl).querySelector('.toolbar-background')); // REVIEW
- const leavingBackButton = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- const backButtonEl = leavingToolBarEl.querySelector('ion-back-button');
- if (backButtonEl) {
- leavingBackButton.addElement(backButtonEl);
- }
- leavingToolBar.addAnimation([leavingTitle, leavingToolBarButtons, leavingToolBarItems, leavingBackButton, leavingToolBarBg]);
- rootAnimation.addAnimation(leavingToolBar); // fade out leaving toolbar items
- leavingBackButton.fromTo(OPACITY, 0.99, 0);
- leavingToolBarButtons.fromTo(OPACITY, 0.99, 0);
- leavingToolBarItems.fromTo(OPACITY, 0.99, 0);
- if (backDirection) {
- if (!inactiveHeader) {
- // leaving toolbar, back direction
- leavingTitle.fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)').fromTo(OPACITY, 0.99, 0);
- }
- leavingToolBarItems.fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');
- leavingToolBarBg.beforeClearStyles([OPACITY, 'transform']); // leaving toolbar, back direction, and there's no entering toolbar
- // should just slide out, no fading out
- const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;
- if (!translucentHeader) {
- leavingToolBarBg.fromTo(OPACITY, 'var(--opacity)', 0);
- } else {
- leavingToolBarBg.fromTo('transform', 'translateX(0px)', isRTL ? 'translateX(-100%)' : 'translateX(100%)');
- }
- if (backButtonEl && !backward) {
- const leavingBackBtnText = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- leavingBackBtnText.addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW
- .fromTo('transform', `translateX(${CENTER})`, `translateX(${(isRTL ? -124 : 124) + 'px'})`);
- leavingToolBar.addAnimation(leavingBackBtnText);
- }
- } else {
- // leaving toolbar, forward direction
- if (!inactiveHeader) {
- leavingTitle.fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`).fromTo(OPACITY, 0.99, 0).afterClearStyles([TRANSFORM, OPACITY]);
- }
- leavingToolBarItems.fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`).afterClearStyles([TRANSFORM, OPACITY]);
- leavingBackButton.afterClearStyles([OPACITY]);
- leavingTitle.afterClearStyles([OPACITY]);
- leavingToolBarButtons.afterClearStyles([OPACITY]);
- }
- });
- }
- return rootAnimation;
- } catch (err) {
- throw err;
- }
- };
- /***/ }),
- /***/ 8652:
- /*!*****************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/loader.js ***!
- \*****************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "defineCustomElements": () => (/* binding */ defineCustomElements)
- /* harmony export */ });
- /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
- /* harmony import */ var _app_globals_275fb4c9_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./app-globals-275fb4c9.js */ 6958);
- /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- /*
- Stencil Client Patch Esm v2.18.0 | MIT Licensed | https://stenciljs.com
- */
- const patchEsm = () => {
- return (0,_index_8e692445_js__WEBPACK_IMPORTED_MODULE_0__.p)();
- };
- const defineCustomElements = (win, options) => {
- if (typeof window === 'undefined') return Promise.resolve();
- return patchEsm().then(() => {
- (0,_app_globals_275fb4c9_js__WEBPACK_IMPORTED_MODULE_1__.g)();
- 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);
- });
- };
- /***/ }),
- /***/ 4844:
- /*!*********************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/md.transition-3924e170.js ***!
- \*********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "mdTransitionAnimation": () => (/* binding */ mdTransitionAnimation)
- /* harmony export */ });
- /* harmony import */ var _animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./animation-2c50d24d.js */ 631);
- /* harmony import */ var _index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index-e6cecce9.js */ 9287);
- /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
- /* harmony import */ var _index_33ffec25_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index-33ffec25.js */ 2286);
- /* harmony import */ var _index_8e692445_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index-8e692445.js */ 1559);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- const mdTransitionAnimation = (_, opts) => {
- var _a, _b, _c;
- const OFF_BOTTOM = '40px';
- const CENTER = '0px';
- const backDirection = opts.direction === 'back';
- const enteringEl = opts.enteringEl;
- const leavingEl = opts.leavingEl;
- const ionPageElement = (0,_index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__.g)(enteringEl);
- const enteringToolbarEle = ionPageElement.querySelector('ion-toolbar');
- const rootTransition = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- rootTransition.addElement(ionPageElement).fill('both').beforeRemoveClass('ion-page-invisible'); // animate the component itself
- if (backDirection) {
- rootTransition.duration(((_a = opts.duration) !== null && _a !== void 0 ? _a : 0) || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');
- } else {
- 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);
- } // Animate toolbar if it's there
- if (enteringToolbarEle) {
- const enteringToolBar = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- enteringToolBar.addElement(enteringToolbarEle);
- rootTransition.addAnimation(enteringToolBar);
- } // setup leaving view
- if (leavingEl && backDirection) {
- // leaving content
- rootTransition.duration(((_c = opts.duration) !== null && _c !== void 0 ? _c : 0) || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');
- const leavingPage = (0,_animation_2c50d24d_js__WEBPACK_IMPORTED_MODULE_0__.c)();
- leavingPage.addElement((0,_index_e6cecce9_js__WEBPACK_IMPORTED_MODULE_1__.g)(leavingEl)).onFinish(currentStep => {
- if (currentStep === 1 && leavingPage.elements.length > 0) {
- leavingPage.elements[0].style.setProperty('display', 'none');
- }
- }).fromTo('transform', `translateY(${CENTER})`, `translateY(${OFF_BOTTOM})`).fromTo('opacity', 1, 0);
- rootTransition.addAnimation(leavingPage);
- }
- return rootTransition;
- };
- /***/ }),
- /***/ 2752:
- /*!****************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/overlays-87c7c7cb.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "B": () => (/* binding */ BACKDROP),
- /* harmony export */ "a": () => (/* binding */ alertController),
- /* harmony export */ "b": () => (/* binding */ actionSheetController),
- /* harmony export */ "c": () => (/* binding */ popoverController),
- /* harmony export */ "d": () => (/* binding */ present),
- /* harmony export */ "e": () => (/* binding */ prepareOverlay),
- /* harmony export */ "f": () => (/* binding */ dismiss),
- /* harmony export */ "g": () => (/* binding */ eventMethod),
- /* harmony export */ "h": () => (/* binding */ activeAnimations),
- /* harmony export */ "i": () => (/* binding */ isCancel),
- /* harmony export */ "j": () => (/* binding */ focusFirstDescendant),
- /* harmony export */ "k": () => (/* binding */ getOverlay),
- /* harmony export */ "l": () => (/* binding */ loadingController),
- /* harmony export */ "m": () => (/* binding */ modalController),
- /* harmony export */ "p": () => (/* binding */ pickerController),
- /* harmony export */ "s": () => (/* binding */ safeCall),
- /* harmony export */ "t": () => (/* binding */ toastController)
- /* harmony export */ });
- /* 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);
- /* harmony import */ var _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ionic-global-c95cf239.js */ 8607);
- /* harmony import */ var _hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./hardware-back-button-490df115.js */ 159);
- /* harmony import */ var _helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./helpers-3b390e48.js */ 9234);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- let lastId = 0;
- const activeAnimations = new WeakMap();
- const createController = tagName => {
- return {
- create(options) {
- return createOverlay(tagName, options);
- },
- dismiss(data, role, id) {
- return dismissOverlay(document, data, role, tagName, id);
- },
- getTop() {
- return (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
- return getOverlay(document, tagName);
- })();
- }
- };
- };
- const alertController = /*@__PURE__*/createController('ion-alert');
- const actionSheetController = /*@__PURE__*/createController('ion-action-sheet');
- const loadingController = /*@__PURE__*/createController('ion-loading');
- const modalController = /*@__PURE__*/createController('ion-modal');
- const pickerController = /*@__PURE__*/createController('ion-picker');
- const popoverController = /*@__PURE__*/createController('ion-popover');
- const toastController = /*@__PURE__*/createController('ion-toast');
- const prepareOverlay = el => {
- if (typeof document !== 'undefined') {
- connectListeners(document);
- }
- const overlayIndex = lastId++;
- el.overlayIndex = overlayIndex;
- if (!el.hasAttribute('id')) {
- el.id = `ion-overlay-${overlayIndex}`;
- }
- };
- const createOverlay = (tagName, opts) => {
- if (typeof window !== 'undefined' && typeof window.customElements !== 'undefined') {
- return window.customElements.whenDefined(tagName).then(() => {
- const element = document.createElement(tagName);
- element.classList.add('overlay-hidden');
- /**
- * Convert the passed in overlay options into props
- * that get passed down into the new overlay.
- */
- Object.assign(element, Object.assign(Object.assign({}, opts), {
- hasController: true
- })); // append the overlay element to the document body
- getAppRoot(document).appendChild(element);
- return new Promise(resolve => (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.c)(element, resolve));
- });
- }
- return Promise.resolve();
- };
- /**
- * This query string selects elements that
- * are eligible to receive focus. We select
- * interactive elements that meet the following
- * criteria:
- * 1. Element does not have a negative tabindex
- * 2. Element does not have `hidden`
- * 3. Element does not have `disabled` for non-Ionic components.
- * 4. Element does not have `disabled` or `disabled="true"` for Ionic components.
- * Note: We need this distinction because `disabled="false"` is
- * valid usage for the disabled property on ion-button.
- */
- 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])';
- const focusFirstDescendant = (ref, overlay) => {
- let firstInput = ref.querySelector(focusableQueryString);
- const shadowRoot = firstInput === null || firstInput === void 0 ? void 0 : firstInput.shadowRoot;
- if (shadowRoot) {
- // If there are no inner focusable elements, just focus the host element.
- firstInput = shadowRoot.querySelector(focusableQueryString) || firstInput;
- }
- if (firstInput) {
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.f)(firstInput);
- } else {
- // Focus overlay instead of letting focus escape
- overlay.focus();
- }
- };
- const isOverlayHidden = overlay => overlay.classList.contains('overlay-hidden');
- const focusLastDescendant = (ref, overlay) => {
- const inputs = Array.from(ref.querySelectorAll(focusableQueryString));
- let lastInput = inputs.length > 0 ? inputs[inputs.length - 1] : null;
- const shadowRoot = lastInput === null || lastInput === void 0 ? void 0 : lastInput.shadowRoot;
- if (shadowRoot) {
- // If there are no inner focusable elements, just focus the host element.
- lastInput = shadowRoot.querySelector(focusableQueryString) || lastInput;
- }
- if (lastInput) {
- lastInput.focus();
- } else {
- // Focus overlay instead of letting focus escape
- overlay.focus();
- }
- };
- /**
- * Traps keyboard focus inside of overlay components.
- * Based on https://w3c.github.io/aria-practices/examples/dialog-modal/alertdialog.html
- * This includes the following components: Action Sheet, Alert, Loading, Modal,
- * Picker, and Popover.
- * Should NOT include: Toast
- */
- const trapKeyboardFocus = (ev, doc) => {
- const lastOverlay = getOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover');
- const target = ev.target;
- /**
- * If no active overlay, ignore this event.
- *
- * If this component uses the shadow dom,
- * this global listener is pointless
- * since it will not catch the focus
- * traps as they are inside the shadow root.
- * We need to add a listener to the shadow root
- * itself to ensure the focus trap works.
- */
- if (!lastOverlay || !target) {
- return;
- }
- /**
- * If the ion-disable-focus-trap class
- * is present on an overlay, then this component
- * instance has opted out of focus trapping.
- * An example of this is when the sheet modal
- * has a backdrop that is disabled. The content
- * behind the sheet should be focusable until
- * the backdrop is enabled.
- */
- if (lastOverlay.classList.contains('ion-disable-focus-trap')) {
- return;
- }
- const trapScopedFocus = () => {
- /**
- * If we are focusing the overlay, clear
- * the last focused element so that hitting
- * tab activates the first focusable element
- * in the overlay wrapper.
- */
- if (lastOverlay === target) {
- lastOverlay.lastFocus = undefined;
- /**
- * Otherwise, we must be focusing an element
- * inside of the overlay. The two possible options
- * here are an input/button/etc or the ion-focus-trap
- * element. The focus trap element is used to prevent
- * the keyboard focus from leaving the overlay when
- * using Tab or screen assistants.
- */
- } else {
- /**
- * We do not want to focus the traps, so get the overlay
- * wrapper element as the traps live outside of the wrapper.
- */
- const overlayRoot = (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.g)(lastOverlay);
- if (!overlayRoot.contains(target)) {
- return;
- }
- const overlayWrapper = overlayRoot.querySelector('.ion-overlay-wrapper');
- if (!overlayWrapper) {
- return;
- }
- /**
- * If the target is inside the wrapper, let the browser
- * focus as normal and keep a log of the last focused element.
- */
- if (overlayWrapper.contains(target)) {
- lastOverlay.lastFocus = target;
- } else {
- /**
- * Otherwise, we must have focused one of the focus traps.
- * We need to wrap the focus to either the first element
- * or the last element.
- */
- /**
- * Once we call `focusFirstDescendant` and focus the first
- * descendant, another focus event will fire which will
- * cause `lastOverlay.lastFocus` to be updated before
- * we can run the code after that. We will cache the value
- * here to avoid that.
- */
- const lastFocus = lastOverlay.lastFocus; // Focus the first element in the overlay wrapper
- focusFirstDescendant(overlayWrapper, lastOverlay);
- /**
- * If the cached last focused element is the
- * same as the active element, then we need
- * to wrap focus to the last descendant. This happens
- * when the first descendant is focused, and the user
- * presses Shift + Tab. The previous line will focus
- * the same descendant again (the first one), causing
- * last focus to equal the active element.
- */
- if (lastFocus === doc.activeElement) {
- focusLastDescendant(overlayWrapper, lastOverlay);
- }
- lastOverlay.lastFocus = doc.activeElement;
- }
- }
- };
- const trapShadowFocus = () => {
- /**
- * If the target is inside the wrapper, let the browser
- * focus as normal and keep a log of the last focused element.
- */
- if (lastOverlay.contains(target)) {
- lastOverlay.lastFocus = target;
- } else {
- /**
- * Otherwise, we are about to have focus
- * go out of the overlay. We need to wrap
- * the focus to either the first element
- * or the last element.
- */
- /**
- * Once we call `focusFirstDescendant` and focus the first
- * descendant, another focus event will fire which will
- * cause `lastOverlay.lastFocus` to be updated before
- * we can run the code after that. We will cache the value
- * here to avoid that.
- */
- const lastFocus = lastOverlay.lastFocus; // Focus the first element in the overlay wrapper
- focusFirstDescendant(lastOverlay, lastOverlay);
- /**
- * If the cached last focused element is the
- * same as the active element, then we need
- * to wrap focus to the last descendant. This happens
- * when the first descendant is focused, and the user
- * presses Shift + Tab. The previous line will focus
- * the same descendant again (the first one), causing
- * last focus to equal the active element.
- */
- if (lastFocus === doc.activeElement) {
- focusLastDescendant(lastOverlay, lastOverlay);
- }
- lastOverlay.lastFocus = doc.activeElement;
- }
- };
- if (lastOverlay.shadowRoot) {
- trapShadowFocus();
- } else {
- trapScopedFocus();
- }
- };
- const connectListeners = doc => {
- if (lastId === 0) {
- lastId = 1;
- doc.addEventListener('focus', ev => {
- trapKeyboardFocus(ev, doc);
- }, true); // handle back-button click
- doc.addEventListener('ionBackButton', ev => {
- const lastOverlay = getOverlay(doc);
- if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {
- ev.detail.register(_hardware_back_button_490df115_js__WEBPACK_IMPORTED_MODULE_2__.OVERLAY_BACK_BUTTON_PRIORITY, () => {
- return lastOverlay.dismiss(undefined, BACKDROP);
- });
- }
- }); // handle ESC to close overlay
- doc.addEventListener('keyup', ev => {
- if (ev.key === 'Escape') {
- const lastOverlay = getOverlay(doc);
- if (lastOverlay === null || lastOverlay === void 0 ? void 0 : lastOverlay.backdropDismiss) {
- lastOverlay.dismiss(undefined, BACKDROP);
- }
- }
- });
- }
- };
- const dismissOverlay = (doc, data, role, overlayTag, id) => {
- const overlay = getOverlay(doc, overlayTag, id);
- if (!overlay) {
- return Promise.reject('overlay does not exist');
- }
- return overlay.dismiss(data, role);
- };
- const getOverlays = (doc, selector) => {
- if (selector === undefined) {
- selector = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast';
- }
- return Array.from(doc.querySelectorAll(selector)).filter(c => c.overlayIndex > 0);
- };
- /**
- * Returns an overlay element
- * @param doc The document to find the element within.
- * @param overlayTag The selector for the overlay, defaults to Ionic overlay components.
- * @param id The unique identifier for the overlay instance.
- * @returns The overlay element or `undefined` if no overlay element is found.
- */
- const getOverlay = (doc, overlayTag, id) => {
- const overlays = getOverlays(doc, overlayTag).filter(o => !isOverlayHidden(o));
- return id === undefined ? overlays[overlays.length - 1] : overlays.find(o => o.id === id);
- };
- /**
- * When an overlay is presented, the main
- * focus is the overlay not the page content.
- * We need to remove the page content from the
- * accessibility tree otherwise when
- * users use "read screen from top" gestures with
- * TalkBack and VoiceOver, the screen reader will begin
- * to read the content underneath the overlay.
- *
- * We need a container where all page components
- * exist that is separate from where the overlays
- * are added in the DOM. For most apps, this element
- * is the top most ion-router-outlet. In the event
- * that devs are not using a router,
- * they will need to add the "ion-view-container-root"
- * id to the element that contains all of their views.
- *
- * TODO: If Framework supports having multiple top
- * level router outlets we would need to update this.
- * Example: One outlet for side menu and one outlet
- * for main content.
- */
- const setRootAriaHidden = (hidden = false) => {
- const root = getAppRoot(document);
- const viewContainer = root.querySelector('ion-router-outlet, ion-nav, #ion-view-container-root');
- if (!viewContainer) {
- return;
- }
- if (hidden) {
- viewContainer.setAttribute('aria-hidden', 'true');
- } else {
- viewContainer.removeAttribute('aria-hidden');
- }
- };
- const present = /*#__PURE__*/function () {
- 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) {
- var _a, _b;
- if (overlay.presented) {
- return;
- }
- setRootAriaHidden(true);
- overlay.presented = true;
- overlay.willPresent.emit();
- (_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
- const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.b)(overlay); // get the user's animation fn if one was provided
- const animationBuilder = overlay.enterAnimation ? overlay.enterAnimation : _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.c.get(name, mode === 'ios' ? iosEnterAnimation : mdEnterAnimation);
- const completed = yield overlayAnimation(overlay, animationBuilder, overlay.el, opts);
- if (completed) {
- overlay.didPresent.emit();
- (_b = overlay.didPresentShorthand) === null || _b === void 0 ? void 0 : _b.emit();
- }
- /**
- * When an overlay that steals focus
- * is dismissed, focus should be returned
- * to the element that was focused
- * prior to the overlay opening. Toast
- * does not steal focus and is excluded
- * from returning focus as a result.
- */
- if (overlay.el.tagName !== 'ION-TOAST') {
- focusPreviousElementOnDismiss(overlay.el);
- }
- /**
- * If the focused element is already
- * inside the overlay component then
- * focus should not be moved from that
- * to the overlay container.
- */
- if (overlay.keyboardClose && (document.activeElement === null || !overlay.el.contains(document.activeElement))) {
- overlay.el.focus();
- }
- });
- return function present(_x, _x2, _x3, _x4, _x5) {
- return _ref.apply(this, arguments);
- };
- }();
- /**
- * When an overlay component is dismissed,
- * focus should be returned to the element
- * that presented the overlay. Otherwise
- * focus will be set on the body which
- * means that people using screen readers
- * or tabbing will need to re-navigate
- * to where they were before they
- * opened the overlay.
- */
- const focusPreviousElementOnDismiss = /*#__PURE__*/function () {
- var _ref2 = (0,_Volumes_App_fm99_app_rev_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (overlayEl) {
- let previousElement = document.activeElement;
- if (!previousElement) {
- return;
- }
- const shadowRoot = previousElement === null || previousElement === void 0 ? void 0 : previousElement.shadowRoot;
- if (shadowRoot) {
- // If there are no inner focusable elements, just focus the host element.
- previousElement = shadowRoot.querySelector(focusableQueryString) || previousElement;
- }
- yield overlayEl.onDidDismiss();
- previousElement.focus();
- });
- return function focusPreviousElementOnDismiss(_x6) {
- return _ref2.apply(this, arguments);
- };
- }();
- const dismiss = /*#__PURE__*/function () {
- 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) {
- var _a, _b;
- if (!overlay.presented) {
- return false;
- }
- setRootAriaHidden(false);
- overlay.presented = false;
- try {
- // Overlay contents should not be clickable during dismiss
- overlay.el.style.setProperty('pointer-events', 'none');
- overlay.willDismiss.emit({
- data,
- role
- });
- (_a = overlay.willDismissShorthand) === null || _a === void 0 ? void 0 : _a.emit({
- data,
- role
- });
- const mode = (0,_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.b)(overlay);
- 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
- if (role !== 'gesture') {
- yield overlayAnimation(overlay, animationBuilder, overlay.el, opts);
- }
- overlay.didDismiss.emit({
- data,
- role
- });
- (_b = overlay.didDismissShorthand) === null || _b === void 0 ? void 0 : _b.emit({
- data,
- role
- });
- activeAnimations.delete(overlay);
- /**
- * Make overlay hidden again in case it is being reused.
- * We can safely remove pointer-events: none as
- * overlay-hidden will set display: none.
- */
- overlay.el.classList.add('overlay-hidden');
- overlay.el.style.removeProperty('pointer-events');
- } catch (err) {
- console.error(err);
- }
- overlay.el.remove();
- return true;
- });
- return function dismiss(_x7, _x8, _x9, _x10, _x11, _x12, _x13) {
- return _ref3.apply(this, arguments);
- };
- }();
- const getAppRoot = doc => {
- return doc.querySelector('ion-app') || doc.body;
- };
- const overlayAnimation = /*#__PURE__*/function () {
- 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) {
- // Make overlay visible in case it's hidden
- baseEl.classList.remove('overlay-hidden');
- const aniRoot = overlay.el;
- const animation = animationBuilder(aniRoot, opts);
- if (!overlay.animated || !_ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.c.getBoolean('animated', true)) {
- animation.duration(0);
- }
- if (overlay.keyboardClose) {
- animation.beforeAddWrite(() => {
- const activeElement = baseEl.ownerDocument.activeElement;
- if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.matches('input,ion-input, ion-textarea')) {
- activeElement.blur();
- }
- });
- }
- const activeAni = activeAnimations.get(overlay) || [];
- activeAnimations.set(overlay, [...activeAni, animation]);
- yield animation.play();
- return true;
- });
- return function overlayAnimation(_x14, _x15, _x16, _x17) {
- return _ref4.apply(this, arguments);
- };
- }();
- const eventMethod = (element, eventName) => {
- let resolve;
- const promise = new Promise(r => resolve = r);
- onceEvent(element, eventName, event => {
- resolve(event.detail);
- });
- return promise;
- };
- const onceEvent = (element, eventName, callback) => {
- const handler = ev => {
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.b)(element, eventName, handler);
- callback(ev);
- };
- (0,_helpers_3b390e48_js__WEBPACK_IMPORTED_MODULE_3__.a)(element, eventName, handler);
- };
- const isCancel = role => {
- return role === 'cancel' || role === BACKDROP;
- };
- const defaultGate = h => h();
- /**
- * Calls a developer provided method while avoiding
- * Angular Zones. Since the handler is provided by
- * the developer, we should throw any errors
- * received so that developer-provided bug
- * tracking software can log it.
- */
- const safeCall = (handler, arg) => {
- if (typeof handler === 'function') {
- const jmp = _ionic_global_c95cf239_js__WEBPACK_IMPORTED_MODULE_1__.c.get('_zoneGate', defaultGate);
- return jmp(() => {
- try {
- return handler(arg);
- } catch (e) {
- throw e;
- }
- });
- }
- return undefined;
- };
- const BACKDROP = 'backdrop';
- /***/ }),
- /***/ 4449:
- /*!**************************************************************!*\
- !*** ./node_modules/@ionic/core/dist/esm/polyfills/index.js ***!
- \**************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "applyPolyfills": () => (/* binding */ applyPolyfills)
- /* harmony export */ });
- function applyPolyfills() {
- var promises = [];
- if (typeof window !== 'undefined') {
- var win = window;
- if (!win.customElements || win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove || !win.Element.prototype.getRootNode)) {
- promises.push(__webpack_require__.e(/*! import() | polyfills-dom */ "polyfills-dom").then(__webpack_require__.t.bind(__webpack_require__, /*! ./dom.js */ 3314, 23)));
- }
- var checkIfURLIsSupported = function () {
- try {
- var u = new URL('b', 'http://a');
- u.pathname = 'c%20d';
- return u.href === 'http://a/c%20d' && u.searchParams;
- } catch (e) {
- return false;
- }
- };
- 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') {
- promises.push(__webpack_require__.e(/*! import() | polyfills-core-js */ "polyfills-core-js").then(__webpack_require__.t.bind(__webpack_require__, /*! ./core-js.js */ 7320, 23)));
- }
- }
- return Promise.all(promises);
- }
- /***/ }),
- /***/ 3714:
- /*!*********************************************************!*\
- !*** ./node_modules/@ionic/core/loader/index.es2017.js ***!
- \*********************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "applyPolyfills": () => (/* reexport safe */ _dist_esm_polyfills_index_js__WEBPACK_IMPORTED_MODULE_0__.applyPolyfills),
- /* harmony export */ "defineCustomElements": () => (/* reexport safe */ _dist_esm_loader_js__WEBPACK_IMPORTED_MODULE_1__.defineCustomElements)
- /* harmony export */ });
- /* harmony import */ var _dist_esm_polyfills_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dist/esm/polyfills/index.js */ 4449);
- /* harmony import */ var _dist_esm_loader_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../dist/esm/loader.js */ 8652);
- /*!
- * (C) Ionic http://ionicframework.com - MIT License
- */
- /***/ }),
- /***/ 4505:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/BehaviorSubject.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "BehaviorSubject": () => (/* binding */ BehaviorSubject)
- /* harmony export */ });
- /* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subject */ 2218);
- /* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ 9086);
- class BehaviorSubject extends _Subject__WEBPACK_IMPORTED_MODULE_0__.Subject {
- constructor(_value) {
- super();
- this._value = _value;
- }
- get value() {
- return this.getValue();
- }
- _subscribe(subscriber) {
- const subscription = super._subscribe(subscriber);
- if (subscription && !subscription.closed) {
- subscriber.next(this._value);
- }
- return subscription;
- }
- getValue() {
- if (this.hasError) {
- throw this.thrownError;
- } else if (this.closed) {
- throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_1__.ObjectUnsubscribedError();
- } else {
- return this._value;
- }
- }
- next(value) {
- super.next(this._value = value);
- }
- }
- /***/ }),
- /***/ 472:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/InnerSubscriber.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "InnerSubscriber": () => (/* binding */ InnerSubscriber)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 14);
- class InnerSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(parent, outerValue, outerIndex) {
- super();
- this.parent = parent;
- this.outerValue = outerValue;
- this.outerIndex = outerIndex;
- this.index = 0;
- }
- _next(value) {
- this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);
- }
- _error(error) {
- this.parent.notifyError(error, this);
- this.unsubscribe();
- }
- _complete() {
- this.parent.notifyComplete(this);
- this.unsubscribe();
- }
- }
- /***/ }),
- /***/ 2378:
- /*!***********************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/Observable.js ***!
- \***********************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "Observable": () => (/* binding */ Observable)
- /* harmony export */ });
- /* harmony import */ var _util_canReportError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/canReportError */ 5739);
- /* harmony import */ var _util_toSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/toSubscriber */ 8333);
- /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./symbol/observable */ 6831);
- /* harmony import */ var _util_pipe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util/pipe */ 6800);
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./config */ 146);
- class Observable {
- constructor(subscribe) {
- this._isScalar = false;
- if (subscribe) {
- this._subscribe = subscribe;
- }
- }
- lift(operator) {
- const observable = new Observable();
- observable.source = this;
- observable.operator = operator;
- return observable;
- }
- subscribe(observerOrNext, error, complete) {
- const {
- operator
- } = this;
- const sink = (0,_util_toSubscriber__WEBPACK_IMPORTED_MODULE_0__.toSubscriber)(observerOrNext, error, complete);
- if (operator) {
- sink.add(operator.call(sink, this.source));
- } else {
- sink.add(this.source || _config__WEBPACK_IMPORTED_MODULE_1__.config.useDeprecatedSynchronousErrorHandling && !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink));
- }
- if (_config__WEBPACK_IMPORTED_MODULE_1__.config.useDeprecatedSynchronousErrorHandling) {
- if (sink.syncErrorThrowable) {
- sink.syncErrorThrowable = false;
- if (sink.syncErrorThrown) {
- throw sink.syncErrorValue;
- }
- }
- }
- return sink;
- }
- _trySubscribe(sink) {
- try {
- return this._subscribe(sink);
- } catch (err) {
- if (_config__WEBPACK_IMPORTED_MODULE_1__.config.useDeprecatedSynchronousErrorHandling) {
- sink.syncErrorThrown = true;
- sink.syncErrorValue = err;
- }
- if ((0,_util_canReportError__WEBPACK_IMPORTED_MODULE_2__.canReportError)(sink)) {
- sink.error(err);
- } else {
- console.warn(err);
- }
- }
- }
- forEach(next, promiseCtor) {
- promiseCtor = getPromiseCtor(promiseCtor);
- return new promiseCtor((resolve, reject) => {
- let subscription;
- subscription = this.subscribe(value => {
- try {
- next(value);
- } catch (err) {
- reject(err);
- if (subscription) {
- subscription.unsubscribe();
- }
- }
- }, reject, resolve);
- });
- }
- _subscribe(subscriber) {
- const {
- source
- } = this;
- return source && source.subscribe(subscriber);
- }
- [_symbol_observable__WEBPACK_IMPORTED_MODULE_3__.observable]() {
- return this;
- }
- pipe(...operations) {
- if (operations.length === 0) {
- return this;
- }
- return (0,_util_pipe__WEBPACK_IMPORTED_MODULE_4__.pipeFromArray)(operations)(this);
- }
- toPromise(promiseCtor) {
- promiseCtor = getPromiseCtor(promiseCtor);
- return new promiseCtor((resolve, reject) => {
- let value;
- this.subscribe(x => value = x, err => reject(err), () => resolve(value));
- });
- }
- }
- Observable.create = subscribe => {
- return new Observable(subscribe);
- };
- function getPromiseCtor(promiseCtor) {
- if (!promiseCtor) {
- promiseCtor = _config__WEBPACK_IMPORTED_MODULE_1__.config.Promise || Promise;
- }
- if (!promiseCtor) {
- throw new Error('no Promise impl found');
- }
- return promiseCtor;
- }
- /***/ }),
- /***/ 9957:
- /*!*********************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/Observer.js ***!
- \*********************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "empty": () => (/* binding */ empty)
- /* harmony export */ });
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ 146);
- /* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/hostReportError */ 8897);
- const empty = {
- closed: true,
- next(value) {},
- error(err) {
- if (_config__WEBPACK_IMPORTED_MODULE_0__.config.useDeprecatedSynchronousErrorHandling) {
- throw err;
- } else {
- (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_1__.hostReportError)(err);
- }
- },
- complete() {}
- };
- /***/ }),
- /***/ 5266:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/OuterSubscriber.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "OuterSubscriber": () => (/* binding */ OuterSubscriber)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 14);
- class OuterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- notifyNext(outerValue, innerValue, outerIndex, innerIndex, innerSub) {
- this.destination.next(innerValue);
- }
- notifyError(error, innerSub) {
- this.destination.error(error);
- }
- notifyComplete(innerSub) {
- this.destination.complete();
- }
- }
- /***/ }),
- /***/ 2218:
- /*!********************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/Subject.js ***!
- \********************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "AnonymousSubject": () => (/* binding */ AnonymousSubject),
- /* harmony export */ "Subject": () => (/* binding */ Subject),
- /* harmony export */ "SubjectSubscriber": () => (/* binding */ SubjectSubscriber)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Observable */ 2378);
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 14);
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Subscription */ 2425);
- /* harmony import */ var _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/ObjectUnsubscribedError */ 9086);
- /* harmony import */ var _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SubjectSubscription */ 1722);
- /* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ 1482);
- class SubjectSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination) {
- super(destination);
- this.destination = destination;
- }
- }
- class Subject extends _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable {
- constructor() {
- super();
- this.observers = [];
- this.closed = false;
- this.isStopped = false;
- this.hasError = false;
- this.thrownError = null;
- }
- [_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_2__.rxSubscriber]() {
- return new SubjectSubscriber(this);
- }
- lift(operator) {
- const subject = new AnonymousSubject(this, this);
- subject.operator = operator;
- return subject;
- }
- next(value) {
- if (this.closed) {
- throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
- }
- if (!this.isStopped) {
- const {
- observers
- } = this;
- const len = observers.length;
- const copy = observers.slice();
- for (let i = 0; i < len; i++) {
- copy[i].next(value);
- }
- }
- }
- error(err) {
- if (this.closed) {
- throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
- }
- this.hasError = true;
- this.thrownError = err;
- this.isStopped = true;
- const {
- observers
- } = this;
- const len = observers.length;
- const copy = observers.slice();
- for (let i = 0; i < len; i++) {
- copy[i].error(err);
- }
- this.observers.length = 0;
- }
- complete() {
- if (this.closed) {
- throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
- }
- this.isStopped = true;
- const {
- observers
- } = this;
- const len = observers.length;
- const copy = observers.slice();
- for (let i = 0; i < len; i++) {
- copy[i].complete();
- }
- this.observers.length = 0;
- }
- unsubscribe() {
- this.isStopped = true;
- this.closed = true;
- this.observers = null;
- }
- _trySubscribe(subscriber) {
- if (this.closed) {
- throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
- } else {
- return super._trySubscribe(subscriber);
- }
- }
- _subscribe(subscriber) {
- if (this.closed) {
- throw new _util_ObjectUnsubscribedError__WEBPACK_IMPORTED_MODULE_3__.ObjectUnsubscribedError();
- } else if (this.hasError) {
- subscriber.error(this.thrownError);
- return _Subscription__WEBPACK_IMPORTED_MODULE_4__.Subscription.EMPTY;
- } else if (this.isStopped) {
- subscriber.complete();
- return _Subscription__WEBPACK_IMPORTED_MODULE_4__.Subscription.EMPTY;
- } else {
- this.observers.push(subscriber);
- return new _SubjectSubscription__WEBPACK_IMPORTED_MODULE_5__.SubjectSubscription(this, subscriber);
- }
- }
- asObservable() {
- const observable = new _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable();
- observable.source = this;
- return observable;
- }
- }
- Subject.create = (destination, source) => {
- return new AnonymousSubject(destination, source);
- };
- class AnonymousSubject extends Subject {
- constructor(destination, source) {
- super();
- this.destination = destination;
- this.source = source;
- }
- next(value) {
- const {
- destination
- } = this;
- if (destination && destination.next) {
- destination.next(value);
- }
- }
- error(err) {
- const {
- destination
- } = this;
- if (destination && destination.error) {
- this.destination.error(err);
- }
- }
- complete() {
- const {
- destination
- } = this;
- if (destination && destination.complete) {
- this.destination.complete();
- }
- }
- _subscribe(subscriber) {
- const {
- source
- } = this;
- if (source) {
- return this.source.subscribe(subscriber);
- } else {
- return _Subscription__WEBPACK_IMPORTED_MODULE_4__.Subscription.EMPTY;
- }
- }
- }
- /***/ }),
- /***/ 1722:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/SubjectSubscription.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "SubjectSubscription": () => (/* binding */ SubjectSubscription)
- /* harmony export */ });
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscription */ 2425);
- class SubjectSubscription extends _Subscription__WEBPACK_IMPORTED_MODULE_0__.Subscription {
- constructor(subject, subscriber) {
- super();
- this.subject = subject;
- this.subscriber = subscriber;
- this.closed = false;
- }
- unsubscribe() {
- if (this.closed) {
- return;
- }
- this.closed = true;
- const subject = this.subject;
- const observers = subject.observers;
- this.subject = null;
- if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {
- return;
- }
- const subscriberIndex = observers.indexOf(this.subscriber);
- if (subscriberIndex !== -1) {
- observers.splice(subscriberIndex, 1);
- }
- }
- }
- /***/ }),
- /***/ 14:
- /*!***********************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/Subscriber.js ***!
- \***********************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "SafeSubscriber": () => (/* binding */ SafeSubscriber),
- /* harmony export */ "Subscriber": () => (/* binding */ Subscriber)
- /* harmony export */ });
- /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/isFunction */ 1900);
- /* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Observer */ 9957);
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscription */ 2425);
- /* harmony import */ var _internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../internal/symbol/rxSubscriber */ 1482);
- /* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ 146);
- /* harmony import */ var _util_hostReportError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util/hostReportError */ 8897);
- class Subscriber extends _Subscription__WEBPACK_IMPORTED_MODULE_0__.Subscription {
- constructor(destinationOrNext, error, complete) {
- super();
- this.syncErrorValue = null;
- this.syncErrorThrown = false;
- this.syncErrorThrowable = false;
- this.isStopped = false;
- switch (arguments.length) {
- case 0:
- this.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__.empty;
- break;
- case 1:
- if (!destinationOrNext) {
- this.destination = _Observer__WEBPACK_IMPORTED_MODULE_1__.empty;
- break;
- }
- if (typeof destinationOrNext === 'object') {
- if (destinationOrNext instanceof Subscriber) {
- this.syncErrorThrowable = destinationOrNext.syncErrorThrowable;
- this.destination = destinationOrNext;
- destinationOrNext.add(this);
- } else {
- this.syncErrorThrowable = true;
- this.destination = new SafeSubscriber(this, destinationOrNext);
- }
- break;
- }
- default:
- this.syncErrorThrowable = true;
- this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);
- break;
- }
- }
- [_internal_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_2__.rxSubscriber]() {
- return this;
- }
- static create(next, error, complete) {
- const subscriber = new Subscriber(next, error, complete);
- subscriber.syncErrorThrowable = false;
- return subscriber;
- }
- next(value) {
- if (!this.isStopped) {
- this._next(value);
- }
- }
- error(err) {
- if (!this.isStopped) {
- this.isStopped = true;
- this._error(err);
- }
- }
- complete() {
- if (!this.isStopped) {
- this.isStopped = true;
- this._complete();
- }
- }
- unsubscribe() {
- if (this.closed) {
- return;
- }
- this.isStopped = true;
- super.unsubscribe();
- }
- _next(value) {
- this.destination.next(value);
- }
- _error(err) {
- this.destination.error(err);
- this.unsubscribe();
- }
- _complete() {
- this.destination.complete();
- this.unsubscribe();
- }
- _unsubscribeAndRecycle() {
- const {
- _parentOrParents
- } = this;
- this._parentOrParents = null;
- this.unsubscribe();
- this.closed = false;
- this.isStopped = false;
- this._parentOrParents = _parentOrParents;
- return this;
- }
- }
- class SafeSubscriber extends Subscriber {
- constructor(_parentSubscriber, observerOrNext, error, complete) {
- super();
- this._parentSubscriber = _parentSubscriber;
- let next;
- let context = this;
- if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_3__.isFunction)(observerOrNext)) {
- next = observerOrNext;
- } else if (observerOrNext) {
- next = observerOrNext.next;
- error = observerOrNext.error;
- complete = observerOrNext.complete;
- if (observerOrNext !== _Observer__WEBPACK_IMPORTED_MODULE_1__.empty) {
- context = Object.create(observerOrNext);
- if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_3__.isFunction)(context.unsubscribe)) {
- this.add(context.unsubscribe.bind(context));
- }
- context.unsubscribe = this.unsubscribe.bind(this);
- }
- }
- this._context = context;
- this._next = next;
- this._error = error;
- this._complete = complete;
- }
- next(value) {
- if (!this.isStopped && this._next) {
- const {
- _parentSubscriber
- } = this;
- if (!_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
- this.__tryOrUnsub(this._next, value);
- } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) {
- this.unsubscribe();
- }
- }
- }
- error(err) {
- if (!this.isStopped) {
- const {
- _parentSubscriber
- } = this;
- const {
- useDeprecatedSynchronousErrorHandling
- } = _config__WEBPACK_IMPORTED_MODULE_4__.config;
- if (this._error) {
- if (!useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
- this.__tryOrUnsub(this._error, err);
- this.unsubscribe();
- } else {
- this.__tryOrSetError(_parentSubscriber, this._error, err);
- this.unsubscribe();
- }
- } else if (!_parentSubscriber.syncErrorThrowable) {
- this.unsubscribe();
- if (useDeprecatedSynchronousErrorHandling) {
- throw err;
- }
- (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__.hostReportError)(err);
- } else {
- if (useDeprecatedSynchronousErrorHandling) {
- _parentSubscriber.syncErrorValue = err;
- _parentSubscriber.syncErrorThrown = true;
- } else {
- (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__.hostReportError)(err);
- }
- this.unsubscribe();
- }
- }
- }
- complete() {
- if (!this.isStopped) {
- const {
- _parentSubscriber
- } = this;
- if (this._complete) {
- const wrappedComplete = () => this._complete.call(this._context);
- if (!_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling || !_parentSubscriber.syncErrorThrowable) {
- this.__tryOrUnsub(wrappedComplete);
- this.unsubscribe();
- } else {
- this.__tryOrSetError(_parentSubscriber, wrappedComplete);
- this.unsubscribe();
- }
- } else {
- this.unsubscribe();
- }
- }
- }
- __tryOrUnsub(fn, value) {
- try {
- fn.call(this._context, value);
- } catch (err) {
- this.unsubscribe();
- if (_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling) {
- throw err;
- } else {
- (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__.hostReportError)(err);
- }
- }
- }
- __tryOrSetError(parent, fn, value) {
- if (!_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling) {
- throw new Error('bad call');
- }
- try {
- fn.call(this._context, value);
- } catch (err) {
- if (_config__WEBPACK_IMPORTED_MODULE_4__.config.useDeprecatedSynchronousErrorHandling) {
- parent.syncErrorValue = err;
- parent.syncErrorThrown = true;
- return true;
- } else {
- (0,_util_hostReportError__WEBPACK_IMPORTED_MODULE_5__.hostReportError)(err);
- return true;
- }
- }
- return false;
- }
- _unsubscribe() {
- const {
- _parentSubscriber
- } = this;
- this._context = null;
- this._parentSubscriber = null;
- _parentSubscriber.unsubscribe();
- }
- }
- /***/ }),
- /***/ 2425:
- /*!*************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/Subscription.js ***!
- \*************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "Subscription": () => (/* binding */ Subscription)
- /* harmony export */ });
- /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/isArray */ 4327);
- /* harmony import */ var _util_isObject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util/isObject */ 6549);
- /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/isFunction */ 1900);
- /* harmony import */ var _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/UnsubscriptionError */ 7875);
- class Subscription {
- constructor(unsubscribe) {
- this.closed = false;
- this._parentOrParents = null;
- this._subscriptions = null;
- if (unsubscribe) {
- this._ctorUnsubscribe = true;
- this._unsubscribe = unsubscribe;
- }
- }
- unsubscribe() {
- let errors;
- if (this.closed) {
- return;
- }
- let {
- _parentOrParents,
- _ctorUnsubscribe,
- _unsubscribe,
- _subscriptions
- } = this;
- this.closed = true;
- this._parentOrParents = null;
- this._subscriptions = null;
- if (_parentOrParents instanceof Subscription) {
- _parentOrParents.remove(this);
- } else if (_parentOrParents !== null) {
- for (let index = 0; index < _parentOrParents.length; ++index) {
- const parent = _parentOrParents[index];
- parent.remove(this);
- }
- }
- if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(_unsubscribe)) {
- if (_ctorUnsubscribe) {
- this._unsubscribe = undefined;
- }
- try {
- _unsubscribe.call(this);
- } catch (e) {
- errors = e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__.UnsubscriptionError ? flattenUnsubscriptionErrors(e.errors) : [e];
- }
- }
- if ((0,_util_isArray__WEBPACK_IMPORTED_MODULE_2__.isArray)(_subscriptions)) {
- let index = -1;
- let len = _subscriptions.length;
- while (++index < len) {
- const sub = _subscriptions[index];
- if ((0,_util_isObject__WEBPACK_IMPORTED_MODULE_3__.isObject)(sub)) {
- try {
- sub.unsubscribe();
- } catch (e) {
- errors = errors || [];
- if (e instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__.UnsubscriptionError) {
- errors = errors.concat(flattenUnsubscriptionErrors(e.errors));
- } else {
- errors.push(e);
- }
- }
- }
- }
- }
- if (errors) {
- throw new _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__.UnsubscriptionError(errors);
- }
- }
- add(teardown) {
- let subscription = teardown;
- if (!teardown) {
- return Subscription.EMPTY;
- }
- switch (typeof teardown) {
- case 'function':
- subscription = new Subscription(teardown);
- case 'object':
- if (subscription === this || subscription.closed || typeof subscription.unsubscribe !== 'function') {
- return subscription;
- } else if (this.closed) {
- subscription.unsubscribe();
- return subscription;
- } else if (!(subscription instanceof Subscription)) {
- const tmp = subscription;
- subscription = new Subscription();
- subscription._subscriptions = [tmp];
- }
- break;
- default:
- {
- throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');
- }
- }
- let {
- _parentOrParents
- } = subscription;
- if (_parentOrParents === null) {
- subscription._parentOrParents = this;
- } else if (_parentOrParents instanceof Subscription) {
- if (_parentOrParents === this) {
- return subscription;
- }
- subscription._parentOrParents = [_parentOrParents, this];
- } else if (_parentOrParents.indexOf(this) === -1) {
- _parentOrParents.push(this);
- } else {
- return subscription;
- }
- const subscriptions = this._subscriptions;
- if (subscriptions === null) {
- this._subscriptions = [subscription];
- } else {
- subscriptions.push(subscription);
- }
- return subscription;
- }
- remove(subscription) {
- const subscriptions = this._subscriptions;
- if (subscriptions) {
- const subscriptionIndex = subscriptions.indexOf(subscription);
- if (subscriptionIndex !== -1) {
- subscriptions.splice(subscriptionIndex, 1);
- }
- }
- }
- }
- Subscription.EMPTY = function (empty) {
- empty.closed = true;
- return empty;
- }(new Subscription());
- function flattenUnsubscriptionErrors(errors) {
- return errors.reduce((errs, err) => errs.concat(err instanceof _util_UnsubscriptionError__WEBPACK_IMPORTED_MODULE_1__.UnsubscriptionError ? err.errors : err), []);
- }
- /***/ }),
- /***/ 146:
- /*!*******************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/config.js ***!
- \*******************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "config": () => (/* binding */ config)
- /* harmony export */ });
- let _enable_super_gross_mode_that_will_cause_bad_things = false;
- const config = {
- Promise: undefined,
- set useDeprecatedSynchronousErrorHandling(value) {
- if (value) {
- const error = new Error();
- console.warn('DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n' + error.stack);
- } else if (_enable_super_gross_mode_that_will_cause_bad_things) {
- console.log('RxJS: Back to a better error behavior. Thank you. <3');
- }
- _enable_super_gross_mode_that_will_cause_bad_things = value;
- },
- get useDeprecatedSynchronousErrorHandling() {
- return _enable_super_gross_mode_that_will_cause_bad_things;
- }
- };
- /***/ }),
- /***/ 2831:
- /*!***************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/innerSubscribe.js ***!
- \***************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "ComplexInnerSubscriber": () => (/* binding */ ComplexInnerSubscriber),
- /* harmony export */ "ComplexOuterSubscriber": () => (/* binding */ ComplexOuterSubscriber),
- /* harmony export */ "SimpleInnerSubscriber": () => (/* binding */ SimpleInnerSubscriber),
- /* harmony export */ "SimpleOuterSubscriber": () => (/* binding */ SimpleOuterSubscriber),
- /* harmony export */ "innerSubscribe": () => (/* binding */ innerSubscribe)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Subscriber */ 14);
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Observable */ 2378);
- /* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util/subscribeTo */ 6983);
- class SimpleInnerSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(parent) {
- super();
- this.parent = parent;
- }
- _next(value) {
- this.parent.notifyNext(value);
- }
- _error(error) {
- this.parent.notifyError(error);
- this.unsubscribe();
- }
- _complete() {
- this.parent.notifyComplete();
- this.unsubscribe();
- }
- }
- class ComplexInnerSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(parent, outerValue, outerIndex) {
- super();
- this.parent = parent;
- this.outerValue = outerValue;
- this.outerIndex = outerIndex;
- }
- _next(value) {
- this.parent.notifyNext(this.outerValue, value, this.outerIndex, this);
- }
- _error(error) {
- this.parent.notifyError(error);
- this.unsubscribe();
- }
- _complete() {
- this.parent.notifyComplete(this);
- this.unsubscribe();
- }
- }
- class SimpleOuterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- notifyNext(innerValue) {
- this.destination.next(innerValue);
- }
- notifyError(err) {
- this.destination.error(err);
- }
- notifyComplete() {
- this.destination.complete();
- }
- }
- class ComplexOuterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- notifyNext(_outerValue, innerValue, _outerIndex, _innerSub) {
- this.destination.next(innerValue);
- }
- notifyError(error) {
- this.destination.error(error);
- }
- notifyComplete(_innerSub) {
- this.destination.complete();
- }
- }
- function innerSubscribe(result, innerSubscriber) {
- if (innerSubscriber.closed) {
- return undefined;
- }
- if (result instanceof _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable) {
- return result.subscribe(innerSubscriber);
- }
- let subscription;
- try {
- subscription = (0,_util_subscribeTo__WEBPACK_IMPORTED_MODULE_2__.subscribeTo)(result)(innerSubscriber);
- } catch (error) {
- innerSubscriber.error(error);
- }
- return subscription;
- }
- /***/ }),
- /***/ 4483:
- /*!*********************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/ConnectableObservable.js ***!
- \*********************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "ConnectableObservable": () => (/* binding */ ConnectableObservable),
- /* harmony export */ "connectableObservableDescriptor": () => (/* binding */ connectableObservableDescriptor)
- /* harmony export */ });
- /* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Subject */ 2218);
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../Subscriber */ 14);
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
- /* harmony import */ var _operators_refCount__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/refCount */ 8331);
- class ConnectableObservable extends _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable {
- constructor(source, subjectFactory) {
- super();
- this.source = source;
- this.subjectFactory = subjectFactory;
- this._refCount = 0;
- this._isComplete = false;
- }
- _subscribe(subscriber) {
- return this.getSubject().subscribe(subscriber);
- }
- getSubject() {
- const subject = this._subject;
- if (!subject || subject.isStopped) {
- this._subject = this.subjectFactory();
- }
- return this._subject;
- }
- connect() {
- let connection = this._connection;
- if (!connection) {
- this._isComplete = false;
- connection = this._connection = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
- connection.add(this.source.subscribe(new ConnectableSubscriber(this.getSubject(), this)));
- if (connection.closed) {
- this._connection = null;
- connection = _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription.EMPTY;
- }
- }
- return connection;
- }
- refCount() {
- return (0,_operators_refCount__WEBPACK_IMPORTED_MODULE_2__.refCount)()(this);
- }
- }
- const connectableObservableDescriptor = (() => {
- const connectableProto = ConnectableObservable.prototype;
- return {
- operator: {
- value: null
- },
- _refCount: {
- value: 0,
- writable: true
- },
- _subject: {
- value: null,
- writable: true
- },
- _connection: {
- value: null,
- writable: true
- },
- _subscribe: {
- value: connectableProto._subscribe
- },
- _isComplete: {
- value: connectableProto._isComplete,
- writable: true
- },
- getSubject: {
- value: connectableProto.getSubject
- },
- connect: {
- value: connectableProto.connect
- },
- refCount: {
- value: connectableProto.refCount
- }
- };
- })();
- class ConnectableSubscriber extends _Subject__WEBPACK_IMPORTED_MODULE_3__.SubjectSubscriber {
- constructor(destination, connectable) {
- super(destination);
- this.connectable = connectable;
- }
- _error(err) {
- this._unsubscribe();
- super._error(err);
- }
- _complete() {
- this.connectable._isComplete = true;
- this._unsubscribe();
- super._complete();
- }
- _unsubscribe() {
- const connectable = this.connectable;
- if (connectable) {
- this.connectable = null;
- const connection = connectable._connection;
- connectable._refCount = 0;
- connectable._subject = null;
- connectable._connection = null;
- if (connection) {
- connection.unsubscribe();
- }
- }
- }
- }
- class RefCountOperator {
- constructor(connectable) {
- this.connectable = connectable;
- }
- call(subscriber, source) {
- const {
- connectable
- } = this;
- connectable._refCount++;
- const refCounter = new RefCountSubscriber(subscriber, connectable);
- const subscription = source.subscribe(refCounter);
- if (!refCounter.closed) {
- refCounter.connection = connectable.connect();
- }
- return subscription;
- }
- }
- class RefCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_4__.Subscriber {
- constructor(destination, connectable) {
- super(destination);
- this.connectable = connectable;
- }
- _unsubscribe() {
- const {
- connectable
- } = this;
- if (!connectable) {
- this.connection = null;
- return;
- }
- this.connectable = null;
- const refCount = connectable._refCount;
- if (refCount <= 0) {
- this.connection = null;
- return;
- }
- connectable._refCount = refCount - 1;
- if (refCount > 1) {
- this.connection = null;
- return;
- }
- const {
- connection
- } = this;
- const sharedConnection = connectable._connection;
- this.connection = null;
- if (sharedConnection && (!connection || sharedConnection === connection)) {
- sharedConnection.unsubscribe();
- }
- }
- }
- /***/ }),
- /***/ 9193:
- /*!*************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/combineLatest.js ***!
- \*************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "CombineLatestOperator": () => (/* binding */ CombineLatestOperator),
- /* harmony export */ "CombineLatestSubscriber": () => (/* binding */ CombineLatestSubscriber),
- /* harmony export */ "combineLatest": () => (/* binding */ combineLatest)
- /* harmony export */ });
- /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ 7507);
- /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isArray */ 4327);
- /* harmony import */ var _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../OuterSubscriber */ 5266);
- /* harmony import */ var _util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/subscribeToResult */ 640);
- /* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fromArray */ 8005);
- const NONE = {};
- function combineLatest(...observables) {
- let resultSelector = undefined;
- let scheduler = undefined;
- if ((0,_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__.isScheduler)(observables[observables.length - 1])) {
- scheduler = observables.pop();
- }
- if (typeof observables[observables.length - 1] === 'function') {
- resultSelector = observables.pop();
- }
- if (observables.length === 1 && (0,_util_isArray__WEBPACK_IMPORTED_MODULE_1__.isArray)(observables[0])) {
- observables = observables[0];
- }
- return (0,_fromArray__WEBPACK_IMPORTED_MODULE_2__.fromArray)(observables, scheduler).lift(new CombineLatestOperator(resultSelector));
- }
- class CombineLatestOperator {
- constructor(resultSelector) {
- this.resultSelector = resultSelector;
- }
- call(subscriber, source) {
- return source.subscribe(new CombineLatestSubscriber(subscriber, this.resultSelector));
- }
- }
- class CombineLatestSubscriber extends _OuterSubscriber__WEBPACK_IMPORTED_MODULE_3__.OuterSubscriber {
- constructor(destination, resultSelector) {
- super(destination);
- this.resultSelector = resultSelector;
- this.active = 0;
- this.values = [];
- this.observables = [];
- }
- _next(observable) {
- this.values.push(NONE);
- this.observables.push(observable);
- }
- _complete() {
- const observables = this.observables;
- const len = observables.length;
- if (len === 0) {
- this.destination.complete();
- } else {
- this.active = len;
- this.toRespond = len;
- for (let i = 0; i < len; i++) {
- const observable = observables[i];
- this.add((0,_util_subscribeToResult__WEBPACK_IMPORTED_MODULE_4__.subscribeToResult)(this, observable, undefined, i));
- }
- }
- }
- notifyComplete(unused) {
- if ((this.active -= 1) === 0) {
- this.destination.complete();
- }
- }
- notifyNext(_outerValue, innerValue, outerIndex) {
- const values = this.values;
- const oldVal = values[outerIndex];
- const toRespond = !this.toRespond ? 0 : oldVal === NONE ? --this.toRespond : this.toRespond;
- values[outerIndex] = innerValue;
- if (toRespond === 0) {
- if (this.resultSelector) {
- this._tryResultSelector(values);
- } else {
- this.destination.next(values.slice());
- }
- }
- }
- _tryResultSelector(values) {
- let result;
- try {
- result = this.resultSelector.apply(this, values);
- } catch (err) {
- this.destination.error(err);
- return;
- }
- this.destination.next(result);
- }
- }
- /***/ }),
- /***/ 5828:
- /*!******************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/concat.js ***!
- \******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "concat": () => (/* binding */ concat)
- /* harmony export */ });
- /* harmony import */ var _of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./of */ 4139);
- /* harmony import */ var _operators_concatAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../operators/concatAll */ 2692);
- function concat(...observables) {
- return (0,_operators_concatAll__WEBPACK_IMPORTED_MODULE_0__.concatAll)()((0,_of__WEBPACK_IMPORTED_MODULE_1__.of)(...observables));
- }
- /***/ }),
- /***/ 2160:
- /*!*****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/defer.js ***!
- \*****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "defer": () => (/* binding */ defer)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./from */ 4383);
- /* harmony import */ var _empty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./empty */ 6439);
- function defer(observableFactory) {
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
- let input;
- try {
- input = observableFactory();
- } catch (err) {
- subscriber.error(err);
- return undefined;
- }
- const source = input ? (0,_from__WEBPACK_IMPORTED_MODULE_1__.from)(input) : (0,_empty__WEBPACK_IMPORTED_MODULE_2__.empty)();
- return source.subscribe(subscriber);
- });
- }
- /***/ }),
- /***/ 6439:
- /*!*****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/empty.js ***!
- \*****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "EMPTY": () => (/* binding */ EMPTY),
- /* harmony export */ "empty": () => (/* binding */ empty)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- const EMPTY = new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => subscriber.complete());
- function empty(scheduler) {
- return scheduler ? emptyScheduled(scheduler) : EMPTY;
- }
- function emptyScheduled(scheduler) {
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => scheduler.schedule(() => subscriber.complete()));
- }
- /***/ }),
- /***/ 4350:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/forkJoin.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "forkJoin": () => (/* binding */ forkJoin)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isArray */ 4327);
- /* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/map */ 6942);
- /* harmony import */ var _util_isObject__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/isObject */ 6549);
- /* harmony import */ var _from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./from */ 4383);
- function forkJoin(...sources) {
- if (sources.length === 1) {
- const first = sources[0];
- if ((0,_util_isArray__WEBPACK_IMPORTED_MODULE_0__.isArray)(first)) {
- return forkJoinInternal(first, null);
- }
- if ((0,_util_isObject__WEBPACK_IMPORTED_MODULE_1__.isObject)(first) && Object.getPrototypeOf(first) === Object.prototype) {
- const keys = Object.keys(first);
- return forkJoinInternal(keys.map(key => first[key]), keys);
- }
- }
- if (typeof sources[sources.length - 1] === 'function') {
- const resultSelector = sources.pop();
- sources = sources.length === 1 && (0,_util_isArray__WEBPACK_IMPORTED_MODULE_0__.isArray)(sources[0]) ? sources[0] : sources;
- return forkJoinInternal(sources, null).pipe((0,_operators_map__WEBPACK_IMPORTED_MODULE_2__.map)(args => resultSelector(...args)));
- }
- return forkJoinInternal(sources, null);
- }
- function forkJoinInternal(sources, keys) {
- return new _Observable__WEBPACK_IMPORTED_MODULE_3__.Observable(subscriber => {
- const len = sources.length;
- if (len === 0) {
- subscriber.complete();
- return;
- }
- const values = new Array(len);
- let completed = 0;
- let emitted = 0;
- for (let i = 0; i < len; i++) {
- const source = (0,_from__WEBPACK_IMPORTED_MODULE_4__.from)(sources[i]);
- let hasValue = false;
- subscriber.add(source.subscribe({
- next: value => {
- if (!hasValue) {
- hasValue = true;
- emitted++;
- }
- values[i] = value;
- },
- error: err => subscriber.error(err),
- complete: () => {
- completed++;
- if (completed === len || !hasValue) {
- if (emitted === len) {
- subscriber.next(keys ? keys.reduce((result, key, i) => (result[key] = values[i], result), {}) : values);
- }
- subscriber.complete();
- }
- }
- }));
- }
- });
- }
- /***/ }),
- /***/ 4383:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/from.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "from": () => (/* binding */ from)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeTo */ 6983);
- /* harmony import */ var _scheduled_scheduled__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduled/scheduled */ 2476);
- function from(input, scheduler) {
- if (!scheduler) {
- if (input instanceof _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable) {
- return input;
- }
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable((0,_util_subscribeTo__WEBPACK_IMPORTED_MODULE_1__.subscribeTo)(input));
- } else {
- return (0,_scheduled_scheduled__WEBPACK_IMPORTED_MODULE_2__.scheduled)(input, scheduler);
- }
- }
- /***/ }),
- /***/ 8005:
- /*!*********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/fromArray.js ***!
- \*********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "fromArray": () => (/* binding */ fromArray)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _util_subscribeToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/subscribeToArray */ 5414);
- /* harmony import */ var _scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduled/scheduleArray */ 8403);
- function fromArray(input, scheduler) {
- if (!scheduler) {
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable((0,_util_subscribeToArray__WEBPACK_IMPORTED_MODULE_1__.subscribeToArray)(input));
- } else {
- return (0,_scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_2__.scheduleArray)(input, scheduler);
- }
- }
- /***/ }),
- /***/ 6312:
- /*!*********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/fromEvent.js ***!
- \*********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "fromEvent": () => (/* binding */ fromEvent)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _util_isArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isArray */ 4327);
- /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isFunction */ 1900);
- /* harmony import */ var _operators_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../operators/map */ 6942);
- const toString = (() => Object.prototype.toString)();
- function fromEvent(target, eventName, options, resultSelector) {
- if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_0__.isFunction)(options)) {
- resultSelector = options;
- options = undefined;
- }
- if (resultSelector) {
- 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)));
- }
- return new _Observable__WEBPACK_IMPORTED_MODULE_3__.Observable(subscriber => {
- function handler(e) {
- if (arguments.length > 1) {
- subscriber.next(Array.prototype.slice.call(arguments));
- } else {
- subscriber.next(e);
- }
- }
- setupSubscription(target, eventName, handler, subscriber, options);
- });
- }
- function setupSubscription(sourceObj, eventName, handler, subscriber, options) {
- let unsubscribe;
- if (isEventTarget(sourceObj)) {
- const source = sourceObj;
- sourceObj.addEventListener(eventName, handler, options);
- unsubscribe = () => source.removeEventListener(eventName, handler, options);
- } else if (isJQueryStyleEventEmitter(sourceObj)) {
- const source = sourceObj;
- sourceObj.on(eventName, handler);
- unsubscribe = () => source.off(eventName, handler);
- } else if (isNodeStyleEventEmitter(sourceObj)) {
- const source = sourceObj;
- sourceObj.addListener(eventName, handler);
- unsubscribe = () => source.removeListener(eventName, handler);
- } else if (sourceObj && sourceObj.length) {
- for (let i = 0, len = sourceObj.length; i < len; i++) {
- setupSubscription(sourceObj[i], eventName, handler, subscriber, options);
- }
- } else {
- throw new TypeError('Invalid event target');
- }
- subscriber.add(unsubscribe);
- }
- function isNodeStyleEventEmitter(sourceObj) {
- return sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';
- }
- function isJQueryStyleEventEmitter(sourceObj) {
- return sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';
- }
- function isEventTarget(sourceObj) {
- return sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';
- }
- /***/ }),
- /***/ 8623:
- /*!*****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/merge.js ***!
- \*****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "merge": () => (/* binding */ merge)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ 7507);
- /* harmony import */ var _operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../operators/mergeAll */ 6675);
- /* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fromArray */ 8005);
- function merge(...observables) {
- let concurrent = Number.POSITIVE_INFINITY;
- let scheduler = null;
- let last = observables[observables.length - 1];
- if ((0,_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__.isScheduler)(last)) {
- scheduler = observables.pop();
- if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {
- concurrent = observables.pop();
- }
- } else if (typeof last === 'number') {
- concurrent = observables.pop();
- }
- if (scheduler === null && observables.length === 1 && observables[0] instanceof _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable) {
- return observables[0];
- }
- return (0,_operators_mergeAll__WEBPACK_IMPORTED_MODULE_2__.mergeAll)(concurrent)((0,_fromArray__WEBPACK_IMPORTED_MODULE_3__.fromArray)(observables, scheduler));
- }
- /***/ }),
- /***/ 4139:
- /*!**************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/of.js ***!
- \**************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "of": () => (/* binding */ of)
- /* harmony export */ });
- /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ 7507);
- /* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fromArray */ 8005);
- /* harmony import */ var _scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduled/scheduleArray */ 8403);
- function of(...args) {
- let scheduler = args[args.length - 1];
- if ((0,_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__.isScheduler)(scheduler)) {
- args.pop();
- return (0,_scheduled_scheduleArray__WEBPACK_IMPORTED_MODULE_1__.scheduleArray)(args, scheduler);
- } else {
- return (0,_fromArray__WEBPACK_IMPORTED_MODULE_2__.fromArray)(args);
- }
- }
- /***/ }),
- /***/ 6587:
- /*!**********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/observable/throwError.js ***!
- \**********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "throwError": () => (/* binding */ throwError)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- function throwError(error, scheduler) {
- if (!scheduler) {
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => subscriber.error(error));
- } else {
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => scheduler.schedule(dispatch, 0, {
- error,
- subscriber
- }));
- }
- }
- function dispatch({
- error,
- subscriber
- }) {
- subscriber.error(error);
- }
- /***/ }),
- /***/ 7418:
- /*!*********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/catchError.js ***!
- \*********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "catchError": () => (/* binding */ catchError)
- /* harmony export */ });
- /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../innerSubscribe */ 2831);
- function catchError(selector) {
- return function catchErrorOperatorFunction(source) {
- const operator = new CatchOperator(selector);
- const caught = source.lift(operator);
- return operator.caught = caught;
- };
- }
- class CatchOperator {
- constructor(selector) {
- this.selector = selector;
- }
- call(subscriber, source) {
- return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));
- }
- }
- class CatchSubscriber extends _innerSubscribe__WEBPACK_IMPORTED_MODULE_0__.SimpleOuterSubscriber {
- constructor(destination, selector, caught) {
- super(destination);
- this.selector = selector;
- this.caught = caught;
- }
- error(err) {
- if (!this.isStopped) {
- let result;
- try {
- result = this.selector(err, this.caught);
- } catch (err2) {
- super.error(err2);
- return;
- }
- this._unsubscribeAndRecycle();
- const innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_0__.SimpleInnerSubscriber(this);
- this.add(innerSubscriber);
- const innerSubscription = (0,_innerSubscribe__WEBPACK_IMPORTED_MODULE_0__.innerSubscribe)(result, innerSubscriber);
- if (innerSubscription !== innerSubscriber) {
- this.add(innerSubscription);
- }
- }
- }
- }
- /***/ }),
- /***/ 2692:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/concatAll.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "concatAll": () => (/* binding */ concatAll)
- /* harmony export */ });
- /* harmony import */ var _mergeAll__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeAll */ 6675);
- function concatAll() {
- return (0,_mergeAll__WEBPACK_IMPORTED_MODULE_0__.mergeAll)(1);
- }
- /***/ }),
- /***/ 1133:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/concatMap.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "concatMap": () => (/* binding */ concatMap)
- /* harmony export */ });
- /* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ 522);
- function concatMap(project, resultSelector) {
- return (0,_mergeMap__WEBPACK_IMPORTED_MODULE_0__.mergeMap)(project, resultSelector, 1);
- }
- /***/ }),
- /***/ 9701:
- /*!*************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/defaultIfEmpty.js ***!
- \*************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "defaultIfEmpty": () => (/* binding */ defaultIfEmpty)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function defaultIfEmpty(defaultValue = null) {
- return source => source.lift(new DefaultIfEmptyOperator(defaultValue));
- }
- class DefaultIfEmptyOperator {
- constructor(defaultValue) {
- this.defaultValue = defaultValue;
- }
- call(subscriber, source) {
- return source.subscribe(new DefaultIfEmptySubscriber(subscriber, this.defaultValue));
- }
- }
- class DefaultIfEmptySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, defaultValue) {
- super(destination);
- this.defaultValue = defaultValue;
- this.isEmpty = true;
- }
- _next(value) {
- this.isEmpty = false;
- this.destination.next(value);
- }
- _complete() {
- if (this.isEmpty) {
- this.destination.next(this.defaultValue);
- }
- this.destination.complete();
- }
- }
- /***/ }),
- /***/ 3298:
- /*!*******************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/distinctUntilChanged.js ***!
- \*******************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "distinctUntilChanged": () => (/* binding */ distinctUntilChanged)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function distinctUntilChanged(compare, keySelector) {
- return source => source.lift(new DistinctUntilChangedOperator(compare, keySelector));
- }
- class DistinctUntilChangedOperator {
- constructor(compare, keySelector) {
- this.compare = compare;
- this.keySelector = keySelector;
- }
- call(subscriber, source) {
- return source.subscribe(new DistinctUntilChangedSubscriber(subscriber, this.compare, this.keySelector));
- }
- }
- class DistinctUntilChangedSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, compare, keySelector) {
- super(destination);
- this.keySelector = keySelector;
- this.hasKey = false;
- if (typeof compare === 'function') {
- this.compare = compare;
- }
- }
- compare(x, y) {
- return x === y;
- }
- _next(value) {
- let key;
- try {
- const {
- keySelector
- } = this;
- key = keySelector ? keySelector(value) : value;
- } catch (err) {
- return this.destination.error(err);
- }
- let result = false;
- if (this.hasKey) {
- try {
- const {
- compare
- } = this;
- result = compare(this.key, key);
- } catch (err) {
- return this.destination.error(err);
- }
- } else {
- this.hasKey = true;
- }
- if (!result) {
- this.key = key;
- this.destination.next(value);
- }
- }
- }
- /***/ }),
- /***/ 9151:
- /*!*****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/filter.js ***!
- \*****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "filter": () => (/* binding */ filter)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function filter(predicate, thisArg) {
- return function filterOperatorFunction(source) {
- return source.lift(new FilterOperator(predicate, thisArg));
- };
- }
- class FilterOperator {
- constructor(predicate, thisArg) {
- this.predicate = predicate;
- this.thisArg = thisArg;
- }
- call(subscriber, source) {
- return source.subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));
- }
- }
- class FilterSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, predicate, thisArg) {
- super(destination);
- this.predicate = predicate;
- this.thisArg = thisArg;
- this.count = 0;
- }
- _next(value) {
- let result;
- try {
- result = this.predicate.call(this.thisArg, value, this.count++);
- } catch (err) {
- this.destination.error(err);
- return;
- }
- if (result) {
- this.destination.next(value);
- }
- }
- }
- /***/ }),
- /***/ 4661:
- /*!*******************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/finalize.js ***!
- \*******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "finalize": () => (/* binding */ finalize)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
- function finalize(callback) {
- return source => source.lift(new FinallyOperator(callback));
- }
- class FinallyOperator {
- constructor(callback) {
- this.callback = callback;
- }
- call(subscriber, source) {
- return source.subscribe(new FinallySubscriber(subscriber, this.callback));
- }
- }
- class FinallySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, callback) {
- super(destination);
- this.add(new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription(callback));
- }
- }
- /***/ }),
- /***/ 5670:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/first.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "first": () => (/* binding */ first)
- /* harmony export */ });
- /* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/EmptyError */ 213);
- /* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ 9151);
- /* harmony import */ var _take__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./take */ 3910);
- /* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ 9701);
- /* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./throwIfEmpty */ 2013);
- /* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 1356);
- function first(predicate, defaultValue) {
- const hasDefaultValue = arguments.length >= 2;
- 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()));
- }
- /***/ }),
- /***/ 5690:
- /*!***************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/last.js ***!
- \***************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "last": () => (/* binding */ last)
- /* harmony export */ });
- /* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../util/EmptyError */ 213);
- /* harmony import */ var _filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./filter */ 9151);
- /* harmony import */ var _takeLast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./takeLast */ 7760);
- /* harmony import */ var _throwIfEmpty__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./throwIfEmpty */ 2013);
- /* harmony import */ var _defaultIfEmpty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultIfEmpty */ 9701);
- /* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 1356);
- function last(predicate, defaultValue) {
- const hasDefaultValue = arguments.length >= 2;
- 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()));
- }
- /***/ }),
- /***/ 6942:
- /*!**************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/map.js ***!
- \**************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "MapOperator": () => (/* binding */ MapOperator),
- /* harmony export */ "map": () => (/* binding */ map)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function map(project, thisArg) {
- return function mapOperation(source) {
- if (typeof project !== 'function') {
- throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');
- }
- return source.lift(new MapOperator(project, thisArg));
- };
- }
- class MapOperator {
- constructor(project, thisArg) {
- this.project = project;
- this.thisArg = thisArg;
- }
- call(subscriber, source) {
- return source.subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));
- }
- }
- class MapSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, project, thisArg) {
- super(destination);
- this.project = project;
- this.count = 0;
- this.thisArg = thisArg || this;
- }
- _next(value) {
- let result;
- try {
- result = this.project.call(this.thisArg, value, this.count++);
- } catch (err) {
- this.destination.error(err);
- return;
- }
- this.destination.next(result);
- }
- }
- /***/ }),
- /***/ 9361:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/mapTo.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "mapTo": () => (/* binding */ mapTo)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function mapTo(value) {
- return source => source.lift(new MapToOperator(value));
- }
- class MapToOperator {
- constructor(value) {
- this.value = value;
- }
- call(subscriber, source) {
- return source.subscribe(new MapToSubscriber(subscriber, this.value));
- }
- }
- class MapToSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, value) {
- super(destination);
- this.value = value;
- }
- _next(x) {
- this.destination.next(this.value);
- }
- }
- /***/ }),
- /***/ 6675:
- /*!*******************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeAll.js ***!
- \*******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "mergeAll": () => (/* binding */ mergeAll)
- /* harmony export */ });
- /* harmony import */ var _mergeMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeMap */ 522);
- /* harmony import */ var _util_identity__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/identity */ 1356);
- function mergeAll(concurrent = Number.POSITIVE_INFINITY) {
- return (0,_mergeMap__WEBPACK_IMPORTED_MODULE_0__.mergeMap)(_util_identity__WEBPACK_IMPORTED_MODULE_1__.identity, concurrent);
- }
- /***/ }),
- /***/ 522:
- /*!*******************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/mergeMap.js ***!
- \*******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "MergeMapOperator": () => (/* binding */ MergeMapOperator),
- /* harmony export */ "MergeMapSubscriber": () => (/* binding */ MergeMapSubscriber),
- /* harmony export */ "flatMap": () => (/* binding */ flatMap),
- /* harmony export */ "mergeMap": () => (/* binding */ mergeMap)
- /* harmony export */ });
- /* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ 6942);
- /* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/from */ 4383);
- /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../innerSubscribe */ 2831);
- function mergeMap(project, resultSelector, concurrent = Number.POSITIVE_INFINITY) {
- if (typeof resultSelector === 'function') {
- 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));
- } else if (typeof resultSelector === 'number') {
- concurrent = resultSelector;
- }
- return source => source.lift(new MergeMapOperator(project, concurrent));
- }
- class MergeMapOperator {
- constructor(project, concurrent = Number.POSITIVE_INFINITY) {
- this.project = project;
- this.concurrent = concurrent;
- }
- call(observer, source) {
- return source.subscribe(new MergeMapSubscriber(observer, this.project, this.concurrent));
- }
- }
- class MergeMapSubscriber extends _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.SimpleOuterSubscriber {
- constructor(destination, project, concurrent = Number.POSITIVE_INFINITY) {
- super(destination);
- this.project = project;
- this.concurrent = concurrent;
- this.hasCompleted = false;
- this.buffer = [];
- this.active = 0;
- this.index = 0;
- }
- _next(value) {
- if (this.active < this.concurrent) {
- this._tryNext(value);
- } else {
- this.buffer.push(value);
- }
- }
- _tryNext(value) {
- let result;
- const index = this.index++;
- try {
- result = this.project(value, index);
- } catch (err) {
- this.destination.error(err);
- return;
- }
- this.active++;
- this._innerSub(result);
- }
- _innerSub(ish) {
- const innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.SimpleInnerSubscriber(this);
- const destination = this.destination;
- destination.add(innerSubscriber);
- const innerSubscription = (0,_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.innerSubscribe)(ish, innerSubscriber);
- if (innerSubscription !== innerSubscriber) {
- destination.add(innerSubscription);
- }
- }
- _complete() {
- this.hasCompleted = true;
- if (this.active === 0 && this.buffer.length === 0) {
- this.destination.complete();
- }
- this.unsubscribe();
- }
- notifyNext(innerValue) {
- this.destination.next(innerValue);
- }
- notifyComplete() {
- const buffer = this.buffer;
- this.active--;
- if (buffer.length > 0) {
- this._next(buffer.shift());
- } else if (this.active === 0 && this.hasCompleted) {
- this.destination.complete();
- }
- }
- }
- const flatMap = mergeMap;
- /***/ }),
- /***/ 2787:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/multicast.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "MulticastOperator": () => (/* binding */ MulticastOperator),
- /* harmony export */ "multicast": () => (/* binding */ multicast)
- /* harmony export */ });
- /* harmony import */ var _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/ConnectableObservable */ 4483);
- function multicast(subjectOrSubjectFactory, selector) {
- return function multicastOperatorFunction(source) {
- let subjectFactory;
- if (typeof subjectOrSubjectFactory === 'function') {
- subjectFactory = subjectOrSubjectFactory;
- } else {
- subjectFactory = function subjectFactory() {
- return subjectOrSubjectFactory;
- };
- }
- if (typeof selector === 'function') {
- return source.lift(new MulticastOperator(subjectFactory, selector));
- }
- const connectable = Object.create(source, _observable_ConnectableObservable__WEBPACK_IMPORTED_MODULE_0__.connectableObservableDescriptor);
- connectable.source = source;
- connectable.subjectFactory = subjectFactory;
- return connectable;
- };
- }
- class MulticastOperator {
- constructor(subjectFactory, selector) {
- this.subjectFactory = subjectFactory;
- this.selector = selector;
- }
- call(subscriber, source) {
- const {
- selector
- } = this;
- const subject = this.subjectFactory();
- const subscription = selector(subject).subscribe(subscriber);
- subscription.add(source.subscribe(subject));
- return subscription;
- }
- }
- /***/ }),
- /***/ 8331:
- /*!*******************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/refCount.js ***!
- \*******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "refCount": () => (/* binding */ refCount)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function refCount() {
- return function refCountOperatorFunction(source) {
- return source.lift(new RefCountOperator(source));
- };
- }
- class RefCountOperator {
- constructor(connectable) {
- this.connectable = connectable;
- }
- call(subscriber, source) {
- const {
- connectable
- } = this;
- connectable._refCount++;
- const refCounter = new RefCountSubscriber(subscriber, connectable);
- const subscription = source.subscribe(refCounter);
- if (!refCounter.closed) {
- refCounter.connection = connectable.connect();
- }
- return subscription;
- }
- }
- class RefCountSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, connectable) {
- super(destination);
- this.connectable = connectable;
- }
- _unsubscribe() {
- const {
- connectable
- } = this;
- if (!connectable) {
- this.connection = null;
- return;
- }
- this.connectable = null;
- const refCount = connectable._refCount;
- if (refCount <= 0) {
- this.connection = null;
- return;
- }
- connectable._refCount = refCount - 1;
- if (refCount > 1) {
- this.connection = null;
- return;
- }
- const {
- connection
- } = this;
- const sharedConnection = connectable._connection;
- this.connection = null;
- if (sharedConnection && (!connection || sharedConnection === connection)) {
- sharedConnection.unsubscribe();
- }
- }
- }
- /***/ }),
- /***/ 2647:
- /*!***************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/scan.js ***!
- \***************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "scan": () => (/* binding */ scan)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function scan(accumulator, seed) {
- let hasSeed = false;
- if (arguments.length >= 2) {
- hasSeed = true;
- }
- return function scanOperatorFunction(source) {
- return source.lift(new ScanOperator(accumulator, seed, hasSeed));
- };
- }
- class ScanOperator {
- constructor(accumulator, seed, hasSeed = false) {
- this.accumulator = accumulator;
- this.seed = seed;
- this.hasSeed = hasSeed;
- }
- call(subscriber, source) {
- return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed));
- }
- }
- class ScanSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, accumulator, _seed, hasSeed) {
- super(destination);
- this.accumulator = accumulator;
- this._seed = _seed;
- this.hasSeed = hasSeed;
- this.index = 0;
- }
- get seed() {
- return this._seed;
- }
- set seed(value) {
- this.hasSeed = true;
- this._seed = value;
- }
- _next(value) {
- if (!this.hasSeed) {
- this.seed = value;
- this.destination.next(value);
- } else {
- return this._tryNext(value);
- }
- }
- _tryNext(value) {
- const index = this.index++;
- let result;
- try {
- result = this.accumulator(this.seed, value, index);
- } catch (err) {
- this.destination.error(err);
- }
- this.seed = result;
- this.destination.next(result);
- }
- }
- /***/ }),
- /***/ 4514:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/share.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "share": () => (/* binding */ share)
- /* harmony export */ });
- /* harmony import */ var _multicast__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./multicast */ 2787);
- /* harmony import */ var _refCount__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./refCount */ 8331);
- /* harmony import */ var _Subject__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subject */ 2218);
- function shareSubjectFactory() {
- return new _Subject__WEBPACK_IMPORTED_MODULE_0__.Subject();
- }
- function share() {
- return source => (0,_refCount__WEBPACK_IMPORTED_MODULE_1__.refCount)()((0,_multicast__WEBPACK_IMPORTED_MODULE_2__.multicast)(shareSubjectFactory)(source));
- }
- /***/ }),
- /***/ 5722:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/startWith.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "startWith": () => (/* binding */ startWith)
- /* harmony export */ });
- /* harmony import */ var _observable_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../observable/concat */ 5828);
- /* harmony import */ var _util_isScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isScheduler */ 7507);
- function startWith(...array) {
- const scheduler = array[array.length - 1];
- if ((0,_util_isScheduler__WEBPACK_IMPORTED_MODULE_0__.isScheduler)(scheduler)) {
- array.pop();
- return source => (0,_observable_concat__WEBPACK_IMPORTED_MODULE_1__.concat)(array, source, scheduler);
- } else {
- return source => (0,_observable_concat__WEBPACK_IMPORTED_MODULE_1__.concat)(array, source);
- }
- }
- /***/ }),
- /***/ 9095:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/switchMap.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "switchMap": () => (/* binding */ switchMap)
- /* harmony export */ });
- /* harmony import */ var _map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map */ 6942);
- /* harmony import */ var _observable_from__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/from */ 4383);
- /* harmony import */ var _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../innerSubscribe */ 2831);
- function switchMap(project, resultSelector) {
- if (typeof resultSelector === 'function') {
- 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)))));
- }
- return source => source.lift(new SwitchMapOperator(project));
- }
- class SwitchMapOperator {
- constructor(project) {
- this.project = project;
- }
- call(subscriber, source) {
- return source.subscribe(new SwitchMapSubscriber(subscriber, this.project));
- }
- }
- class SwitchMapSubscriber extends _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.SimpleOuterSubscriber {
- constructor(destination, project) {
- super(destination);
- this.project = project;
- this.index = 0;
- }
- _next(value) {
- let result;
- const index = this.index++;
- try {
- result = this.project(value, index);
- } catch (error) {
- this.destination.error(error);
- return;
- }
- this._innerSub(result);
- }
- _innerSub(result) {
- const innerSubscription = this.innerSubscription;
- if (innerSubscription) {
- innerSubscription.unsubscribe();
- }
- const innerSubscriber = new _innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.SimpleInnerSubscriber(this);
- const destination = this.destination;
- destination.add(innerSubscriber);
- this.innerSubscription = (0,_innerSubscribe__WEBPACK_IMPORTED_MODULE_2__.innerSubscribe)(result, innerSubscriber);
- if (this.innerSubscription !== innerSubscriber) {
- destination.add(this.innerSubscription);
- }
- }
- _complete() {
- const {
- innerSubscription
- } = this;
- if (!innerSubscription || innerSubscription.closed) {
- super._complete();
- }
- this.unsubscribe();
- }
- _unsubscribe() {
- this.innerSubscription = undefined;
- }
- notifyComplete() {
- this.innerSubscription = undefined;
- if (this.isStopped) {
- super._complete();
- }
- }
- notifyNext(innerValue) {
- this.destination.next(innerValue);
- }
- }
- /***/ }),
- /***/ 3910:
- /*!***************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/take.js ***!
- \***************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "take": () => (/* binding */ take)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ 14);
- /* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ 2846);
- /* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/empty */ 6439);
- function take(count) {
- return source => {
- if (count === 0) {
- return (0,_observable_empty__WEBPACK_IMPORTED_MODULE_0__.empty)();
- } else {
- return source.lift(new TakeOperator(count));
- }
- };
- }
- class TakeOperator {
- constructor(total) {
- this.total = total;
- if (this.total < 0) {
- throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__.ArgumentOutOfRangeError();
- }
- }
- call(subscriber, source) {
- return source.subscribe(new TakeSubscriber(subscriber, this.total));
- }
- }
- class TakeSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_2__.Subscriber {
- constructor(destination, total) {
- super(destination);
- this.total = total;
- this.count = 0;
- }
- _next(value) {
- const total = this.total;
- const count = ++this.count;
- if (count <= total) {
- this.destination.next(value);
- if (count === total) {
- this.destination.complete();
- this.unsubscribe();
- }
- }
- }
- }
- /***/ }),
- /***/ 7760:
- /*!*******************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/takeLast.js ***!
- \*******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "takeLast": () => (/* binding */ takeLast)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Subscriber */ 14);
- /* harmony import */ var _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/ArgumentOutOfRangeError */ 2846);
- /* harmony import */ var _observable_empty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../observable/empty */ 6439);
- function takeLast(count) {
- return function takeLastOperatorFunction(source) {
- if (count === 0) {
- return (0,_observable_empty__WEBPACK_IMPORTED_MODULE_0__.empty)();
- } else {
- return source.lift(new TakeLastOperator(count));
- }
- };
- }
- class TakeLastOperator {
- constructor(total) {
- this.total = total;
- if (this.total < 0) {
- throw new _util_ArgumentOutOfRangeError__WEBPACK_IMPORTED_MODULE_1__.ArgumentOutOfRangeError();
- }
- }
- call(subscriber, source) {
- return source.subscribe(new TakeLastSubscriber(subscriber, this.total));
- }
- }
- class TakeLastSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_2__.Subscriber {
- constructor(destination, total) {
- super(destination);
- this.total = total;
- this.ring = new Array();
- this.count = 0;
- }
- _next(value) {
- const ring = this.ring;
- const total = this.total;
- const count = this.count++;
- if (ring.length < total) {
- ring.push(value);
- } else {
- const index = count % total;
- ring[index] = value;
- }
- }
- _complete() {
- const destination = this.destination;
- let count = this.count;
- if (count > 0) {
- const total = this.count >= this.total ? this.total : this.count;
- const ring = this.ring;
- for (let i = 0; i < total; i++) {
- const idx = count++ % total;
- destination.next(ring[idx]);
- }
- }
- destination.complete();
- }
- }
- /***/ }),
- /***/ 5050:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/takeWhile.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "takeWhile": () => (/* binding */ takeWhile)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function takeWhile(predicate, inclusive = false) {
- return source => source.lift(new TakeWhileOperator(predicate, inclusive));
- }
- class TakeWhileOperator {
- constructor(predicate, inclusive) {
- this.predicate = predicate;
- this.inclusive = inclusive;
- }
- call(subscriber, source) {
- return source.subscribe(new TakeWhileSubscriber(subscriber, this.predicate, this.inclusive));
- }
- }
- class TakeWhileSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, predicate, inclusive) {
- super(destination);
- this.predicate = predicate;
- this.inclusive = inclusive;
- this.index = 0;
- }
- _next(value) {
- const destination = this.destination;
- let result;
- try {
- result = this.predicate(value, this.index++);
- } catch (err) {
- destination.error(err);
- return;
- }
- this.nextOrComplete(value, result);
- }
- nextOrComplete(value, predicateResult) {
- const destination = this.destination;
- if (Boolean(predicateResult)) {
- destination.next(value);
- } else {
- if (this.inclusive) {
- destination.next(value);
- }
- destination.complete();
- }
- }
- }
- /***/ }),
- /***/ 8759:
- /*!**************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/tap.js ***!
- \**************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "tap": () => (/* binding */ tap)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- /* harmony import */ var _util_noop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/noop */ 6882);
- /* harmony import */ var _util_isFunction__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isFunction */ 1900);
- function tap(nextOrObserver, error, complete) {
- return function tapOperatorFunction(source) {
- return source.lift(new DoOperator(nextOrObserver, error, complete));
- };
- }
- class DoOperator {
- constructor(nextOrObserver, error, complete) {
- this.nextOrObserver = nextOrObserver;
- this.error = error;
- this.complete = complete;
- }
- call(subscriber, source) {
- return source.subscribe(new TapSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));
- }
- }
- class TapSubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, observerOrNext, error, complete) {
- super(destination);
- this._tapNext = _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
- this._tapError = _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
- this._tapComplete = _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
- this._tapError = error || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
- this._tapComplete = complete || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
- if ((0,_util_isFunction__WEBPACK_IMPORTED_MODULE_2__.isFunction)(observerOrNext)) {
- this._context = this;
- this._tapNext = observerOrNext;
- } else if (observerOrNext) {
- this._context = observerOrNext;
- this._tapNext = observerOrNext.next || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
- this._tapError = observerOrNext.error || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
- this._tapComplete = observerOrNext.complete || _util_noop__WEBPACK_IMPORTED_MODULE_1__.noop;
- }
- }
- _next(value) {
- try {
- this._tapNext.call(this._context, value);
- } catch (err) {
- this.destination.error(err);
- return;
- }
- this.destination.next(value);
- }
- _error(err) {
- try {
- this._tapError.call(this._context, err);
- } catch (err) {
- this.destination.error(err);
- return;
- }
- this.destination.error(err);
- }
- _complete() {
- try {
- this._tapComplete.call(this._context);
- } catch (err) {
- this.destination.error(err);
- return;
- }
- return this.destination.complete();
- }
- }
- /***/ }),
- /***/ 2013:
- /*!***********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/operators/throwIfEmpty.js ***!
- \***********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "throwIfEmpty": () => (/* binding */ throwIfEmpty)
- /* harmony export */ });
- /* harmony import */ var _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../util/EmptyError */ 213);
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function throwIfEmpty(errorFactory = defaultErrorFactory) {
- return source => {
- return source.lift(new ThrowIfEmptyOperator(errorFactory));
- };
- }
- class ThrowIfEmptyOperator {
- constructor(errorFactory) {
- this.errorFactory = errorFactory;
- }
- call(subscriber, source) {
- return source.subscribe(new ThrowIfEmptySubscriber(subscriber, this.errorFactory));
- }
- }
- class ThrowIfEmptySubscriber extends _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber {
- constructor(destination, errorFactory) {
- super(destination);
- this.errorFactory = errorFactory;
- this.hasValue = false;
- }
- _next(value) {
- this.hasValue = true;
- this.destination.next(value);
- }
- _complete() {
- if (!this.hasValue) {
- let err;
- try {
- err = this.errorFactory();
- } catch (e) {
- err = e;
- }
- this.destination.error(err);
- } else {
- return this.destination.complete();
- }
- }
- }
- function defaultErrorFactory() {
- return new _util_EmptyError__WEBPACK_IMPORTED_MODULE_1__.EmptyError();
- }
- /***/ }),
- /***/ 8403:
- /*!************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleArray.js ***!
- \************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "scheduleArray": () => (/* binding */ scheduleArray)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
- function scheduleArray(input, scheduler) {
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
- const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
- let i = 0;
- sub.add(scheduler.schedule(function () {
- if (i === input.length) {
- subscriber.complete();
- return;
- }
- subscriber.next(input[i++]);
- if (!subscriber.closed) {
- sub.add(this.schedule());
- }
- }));
- return sub;
- });
- }
- /***/ }),
- /***/ 1232:
- /*!***************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleIterable.js ***!
- \***************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "scheduleIterable": () => (/* binding */ scheduleIterable)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
- /* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/iterator */ 2803);
- function scheduleIterable(input, scheduler) {
- if (!input) {
- throw new Error('Iterable cannot be null');
- }
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
- const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
- let iterator;
- sub.add(() => {
- if (iterator && typeof iterator.return === 'function') {
- iterator.return();
- }
- });
- sub.add(scheduler.schedule(() => {
- iterator = input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_2__.iterator]();
- sub.add(scheduler.schedule(function () {
- if (subscriber.closed) {
- return;
- }
- let value;
- let done;
- try {
- const result = iterator.next();
- value = result.value;
- done = result.done;
- } catch (err) {
- subscriber.error(err);
- return;
- }
- if (done) {
- subscriber.complete();
- } else {
- subscriber.next(value);
- this.schedule();
- }
- }));
- }));
- return sub;
- });
- }
- /***/ }),
- /***/ 1145:
- /*!*****************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduleObservable.js ***!
- \*****************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "scheduleObservable": () => (/* binding */ scheduleObservable)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
- /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../symbol/observable */ 6831);
- function scheduleObservable(input, scheduler) {
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
- const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
- sub.add(scheduler.schedule(() => {
- const observable = input[_symbol_observable__WEBPACK_IMPORTED_MODULE_2__.observable]();
- sub.add(observable.subscribe({
- next(value) {
- sub.add(scheduler.schedule(() => subscriber.next(value)));
- },
- error(err) {
- sub.add(scheduler.schedule(() => subscriber.error(err)));
- },
- complete() {
- sub.add(scheduler.schedule(() => subscriber.complete()));
- }
- }));
- }));
- return sub;
- });
- }
- /***/ }),
- /***/ 467:
- /*!**************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/scheduled/schedulePromise.js ***!
- \**************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "schedulePromise": () => (/* binding */ schedulePromise)
- /* harmony export */ });
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Observable */ 2378);
- /* harmony import */ var _Subscription__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Subscription */ 2425);
- function schedulePromise(input, scheduler) {
- return new _Observable__WEBPACK_IMPORTED_MODULE_0__.Observable(subscriber => {
- const sub = new _Subscription__WEBPACK_IMPORTED_MODULE_1__.Subscription();
- sub.add(scheduler.schedule(() => input.then(value => {
- sub.add(scheduler.schedule(() => {
- subscriber.next(value);
- sub.add(scheduler.schedule(() => subscriber.complete()));
- }));
- }, err => {
- sub.add(scheduler.schedule(() => subscriber.error(err)));
- })));
- return sub;
- });
- }
- /***/ }),
- /***/ 2476:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/scheduled/scheduled.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "scheduled": () => (/* binding */ scheduled)
- /* harmony export */ });
- /* harmony import */ var _scheduleObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduleObservable */ 1145);
- /* harmony import */ var _schedulePromise__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./schedulePromise */ 467);
- /* harmony import */ var _scheduleArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./scheduleArray */ 8403);
- /* harmony import */ var _scheduleIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./scheduleIterable */ 1232);
- /* harmony import */ var _util_isInteropObservable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/isInteropObservable */ 5781);
- /* harmony import */ var _util_isPromise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util/isPromise */ 5192);
- /* harmony import */ var _util_isArrayLike__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../util/isArrayLike */ 5122);
- /* harmony import */ var _util_isIterable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util/isIterable */ 9674);
- function scheduled(input, scheduler) {
- if (input != null) {
- if ((0,_util_isInteropObservable__WEBPACK_IMPORTED_MODULE_0__.isInteropObservable)(input)) {
- return (0,_scheduleObservable__WEBPACK_IMPORTED_MODULE_1__.scheduleObservable)(input, scheduler);
- } else if ((0,_util_isPromise__WEBPACK_IMPORTED_MODULE_2__.isPromise)(input)) {
- return (0,_schedulePromise__WEBPACK_IMPORTED_MODULE_3__.schedulePromise)(input, scheduler);
- } else if ((0,_util_isArrayLike__WEBPACK_IMPORTED_MODULE_4__.isArrayLike)(input)) {
- return (0,_scheduleArray__WEBPACK_IMPORTED_MODULE_5__.scheduleArray)(input, scheduler);
- } else if ((0,_util_isIterable__WEBPACK_IMPORTED_MODULE_6__.isIterable)(input) || typeof input === 'string') {
- return (0,_scheduleIterable__WEBPACK_IMPORTED_MODULE_7__.scheduleIterable)(input, scheduler);
- }
- }
- throw new TypeError((input !== null && typeof input || input) + ' is not observable');
- }
- /***/ }),
- /***/ 2803:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/symbol/iterator.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "$$iterator": () => (/* binding */ $$iterator),
- /* harmony export */ "getSymbolIterator": () => (/* binding */ getSymbolIterator),
- /* harmony export */ "iterator": () => (/* binding */ iterator)
- /* harmony export */ });
- function getSymbolIterator() {
- if (typeof Symbol !== 'function' || !Symbol.iterator) {
- return '@@iterator';
- }
- return Symbol.iterator;
- }
- const iterator = getSymbolIterator();
- const $$iterator = iterator;
- /***/ }),
- /***/ 6831:
- /*!******************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/symbol/observable.js ***!
- \******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "observable": () => (/* binding */ observable)
- /* harmony export */ });
- const observable = (() => typeof Symbol === 'function' && Symbol.observable || '@@observable')();
- /***/ }),
- /***/ 1482:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/symbol/rxSubscriber.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "$$rxSubscriber": () => (/* binding */ $$rxSubscriber),
- /* harmony export */ "rxSubscriber": () => (/* binding */ rxSubscriber)
- /* harmony export */ });
- const rxSubscriber = (() => typeof Symbol === 'function' ? Symbol('rxSubscriber') : '@@rxSubscriber_' + Math.random())();
- const $$rxSubscriber = rxSubscriber;
- /***/ }),
- /***/ 2846:
- /*!*****************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/ArgumentOutOfRangeError.js ***!
- \*****************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "ArgumentOutOfRangeError": () => (/* binding */ ArgumentOutOfRangeError)
- /* harmony export */ });
- const ArgumentOutOfRangeErrorImpl = (() => {
- function ArgumentOutOfRangeErrorImpl() {
- Error.call(this);
- this.message = 'argument out of range';
- this.name = 'ArgumentOutOfRangeError';
- return this;
- }
- ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype);
- return ArgumentOutOfRangeErrorImpl;
- })();
- const ArgumentOutOfRangeError = ArgumentOutOfRangeErrorImpl;
- /***/ }),
- /***/ 213:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/EmptyError.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "EmptyError": () => (/* binding */ EmptyError)
- /* harmony export */ });
- const EmptyErrorImpl = (() => {
- function EmptyErrorImpl() {
- Error.call(this);
- this.message = 'no elements in sequence';
- this.name = 'EmptyError';
- return this;
- }
- EmptyErrorImpl.prototype = Object.create(Error.prototype);
- return EmptyErrorImpl;
- })();
- const EmptyError = EmptyErrorImpl;
- /***/ }),
- /***/ 9086:
- /*!*****************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/ObjectUnsubscribedError.js ***!
- \*****************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "ObjectUnsubscribedError": () => (/* binding */ ObjectUnsubscribedError)
- /* harmony export */ });
- const ObjectUnsubscribedErrorImpl = (() => {
- function ObjectUnsubscribedErrorImpl() {
- Error.call(this);
- this.message = 'object unsubscribed';
- this.name = 'ObjectUnsubscribedError';
- return this;
- }
- ObjectUnsubscribedErrorImpl.prototype = Object.create(Error.prototype);
- return ObjectUnsubscribedErrorImpl;
- })();
- const ObjectUnsubscribedError = ObjectUnsubscribedErrorImpl;
- /***/ }),
- /***/ 7875:
- /*!*************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/UnsubscriptionError.js ***!
- \*************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "UnsubscriptionError": () => (/* binding */ UnsubscriptionError)
- /* harmony export */ });
- const UnsubscriptionErrorImpl = (() => {
- function UnsubscriptionErrorImpl(errors) {
- Error.call(this);
- this.message = errors ? `${errors.length} errors occurred during unsubscription:
- ${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\n ')}` : '';
- this.name = 'UnsubscriptionError';
- this.errors = errors;
- return this;
- }
- UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);
- return UnsubscriptionErrorImpl;
- })();
- const UnsubscriptionError = UnsubscriptionErrorImpl;
- /***/ }),
- /***/ 5739:
- /*!********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/canReportError.js ***!
- \********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "canReportError": () => (/* binding */ canReportError)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- function canReportError(observer) {
- while (observer) {
- const {
- closed,
- destination,
- isStopped
- } = observer;
- if (closed || isStopped) {
- return false;
- } else if (destination && destination instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber) {
- observer = destination;
- } else {
- observer = null;
- }
- }
- return true;
- }
- /***/ }),
- /***/ 8897:
- /*!*********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/hostReportError.js ***!
- \*********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "hostReportError": () => (/* binding */ hostReportError)
- /* harmony export */ });
- function hostReportError(err) {
- setTimeout(() => {
- throw err;
- }, 0);
- }
- /***/ }),
- /***/ 1356:
- /*!**************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/identity.js ***!
- \**************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "identity": () => (/* binding */ identity)
- /* harmony export */ });
- function identity(x) {
- return x;
- }
- /***/ }),
- /***/ 4327:
- /*!*************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/isArray.js ***!
- \*************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "isArray": () => (/* binding */ isArray)
- /* harmony export */ });
- const isArray = (() => Array.isArray || (x => x && typeof x.length === 'number'))();
- /***/ }),
- /***/ 5122:
- /*!*****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/isArrayLike.js ***!
- \*****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "isArrayLike": () => (/* binding */ isArrayLike)
- /* harmony export */ });
- const isArrayLike = x => x && typeof x.length === 'number' && typeof x !== 'function';
- /***/ }),
- /***/ 1900:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/isFunction.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "isFunction": () => (/* binding */ isFunction)
- /* harmony export */ });
- function isFunction(x) {
- return typeof x === 'function';
- }
- /***/ }),
- /***/ 5781:
- /*!*************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/isInteropObservable.js ***!
- \*************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "isInteropObservable": () => (/* binding */ isInteropObservable)
- /* harmony export */ });
- /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ 6831);
- function isInteropObservable(input) {
- return input && typeof input[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__.observable] === 'function';
- }
- /***/ }),
- /***/ 9674:
- /*!****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/isIterable.js ***!
- \****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "isIterable": () => (/* binding */ isIterable)
- /* harmony export */ });
- /* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/iterator */ 2803);
- function isIterable(input) {
- return input && typeof input[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__.iterator] === 'function';
- }
- /***/ }),
- /***/ 6549:
- /*!**************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/isObject.js ***!
- \**************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "isObject": () => (/* binding */ isObject)
- /* harmony export */ });
- function isObject(x) {
- return x !== null && typeof x === 'object';
- }
- /***/ }),
- /***/ 5192:
- /*!***************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/isPromise.js ***!
- \***************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "isPromise": () => (/* binding */ isPromise)
- /* harmony export */ });
- function isPromise(value) {
- return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
- }
- /***/ }),
- /***/ 7507:
- /*!*****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/isScheduler.js ***!
- \*****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "isScheduler": () => (/* binding */ isScheduler)
- /* harmony export */ });
- function isScheduler(value) {
- return value && typeof value.schedule === 'function';
- }
- /***/ }),
- /***/ 6882:
- /*!**********************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/noop.js ***!
- \**********************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "noop": () => (/* binding */ noop)
- /* harmony export */ });
- function noop() {}
- /***/ }),
- /***/ 6800:
- /*!**********************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/pipe.js ***!
- \**********************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "pipe": () => (/* binding */ pipe),
- /* harmony export */ "pipeFromArray": () => (/* binding */ pipeFromArray)
- /* harmony export */ });
- /* harmony import */ var _identity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./identity */ 1356);
- function pipe(...fns) {
- return pipeFromArray(fns);
- }
- function pipeFromArray(fns) {
- if (fns.length === 0) {
- return _identity__WEBPACK_IMPORTED_MODULE_0__.identity;
- }
- if (fns.length === 1) {
- return fns[0];
- }
- return function piped(input) {
- return fns.reduce((prev, fn) => fn(prev), input);
- };
- }
- /***/ }),
- /***/ 6983:
- /*!*****************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeTo.js ***!
- \*****************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "subscribeTo": () => (/* binding */ subscribeTo)
- /* harmony export */ });
- /* harmony import */ var _subscribeToArray__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./subscribeToArray */ 5414);
- /* harmony import */ var _subscribeToPromise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./subscribeToPromise */ 4276);
- /* harmony import */ var _subscribeToIterable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./subscribeToIterable */ 6473);
- /* harmony import */ var _subscribeToObservable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./subscribeToObservable */ 1492);
- /* harmony import */ var _isArrayLike__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isArrayLike */ 5122);
- /* harmony import */ var _isPromise__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./isPromise */ 5192);
- /* harmony import */ var _isObject__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./isObject */ 6549);
- /* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../symbol/iterator */ 2803);
- /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ 6831);
- const subscribeTo = result => {
- if (!!result && typeof result[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__.observable] === 'function') {
- return (0,_subscribeToObservable__WEBPACK_IMPORTED_MODULE_1__.subscribeToObservable)(result);
- } else if ((0,_isArrayLike__WEBPACK_IMPORTED_MODULE_2__.isArrayLike)(result)) {
- return (0,_subscribeToArray__WEBPACK_IMPORTED_MODULE_3__.subscribeToArray)(result);
- } else if ((0,_isPromise__WEBPACK_IMPORTED_MODULE_4__.isPromise)(result)) {
- return (0,_subscribeToPromise__WEBPACK_IMPORTED_MODULE_5__.subscribeToPromise)(result);
- } else if (!!result && typeof result[_symbol_iterator__WEBPACK_IMPORTED_MODULE_6__.iterator] === 'function') {
- return (0,_subscribeToIterable__WEBPACK_IMPORTED_MODULE_7__.subscribeToIterable)(result);
- } else {
- const value = (0,_isObject__WEBPACK_IMPORTED_MODULE_8__.isObject)(result) ? 'an invalid object' : `'${result}'`;
- const msg = `You provided ${value} where a stream was expected.` + ' You can provide an Observable, Promise, Array, or Iterable.';
- throw new TypeError(msg);
- }
- };
- /***/ }),
- /***/ 5414:
- /*!**********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToArray.js ***!
- \**********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "subscribeToArray": () => (/* binding */ subscribeToArray)
- /* harmony export */ });
- const subscribeToArray = array => subscriber => {
- for (let i = 0, len = array.length; i < len && !subscriber.closed; i++) {
- subscriber.next(array[i]);
- }
- subscriber.complete();
- };
- /***/ }),
- /***/ 6473:
- /*!*************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToIterable.js ***!
- \*************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "subscribeToIterable": () => (/* binding */ subscribeToIterable)
- /* harmony export */ });
- /* harmony import */ var _symbol_iterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/iterator */ 2803);
- const subscribeToIterable = iterable => subscriber => {
- const iterator = iterable[_symbol_iterator__WEBPACK_IMPORTED_MODULE_0__.iterator]();
- do {
- let item;
- try {
- item = iterator.next();
- } catch (err) {
- subscriber.error(err);
- return subscriber;
- }
- if (item.done) {
- subscriber.complete();
- break;
- }
- subscriber.next(item.value);
- if (subscriber.closed) {
- break;
- }
- } while (true);
- if (typeof iterator.return === 'function') {
- subscriber.add(() => {
- if (iterator.return) {
- iterator.return();
- }
- });
- }
- return subscriber;
- };
- /***/ }),
- /***/ 1492:
- /*!***************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js ***!
- \***************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "subscribeToObservable": () => (/* binding */ subscribeToObservable)
- /* harmony export */ });
- /* harmony import */ var _symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../symbol/observable */ 6831);
- const subscribeToObservable = obj => subscriber => {
- const obs = obj[_symbol_observable__WEBPACK_IMPORTED_MODULE_0__.observable]();
- if (typeof obs.subscribe !== 'function') {
- throw new TypeError('Provided object does not correctly implement Symbol.observable');
- } else {
- return obs.subscribe(subscriber);
- }
- };
- /***/ }),
- /***/ 4276:
- /*!************************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js ***!
- \************************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "subscribeToPromise": () => (/* binding */ subscribeToPromise)
- /* harmony export */ });
- /* harmony import */ var _hostReportError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hostReportError */ 8897);
- const subscribeToPromise = promise => subscriber => {
- promise.then(value => {
- if (!subscriber.closed) {
- subscriber.next(value);
- subscriber.complete();
- }
- }, err => subscriber.error(err)).then(null, _hostReportError__WEBPACK_IMPORTED_MODULE_0__.hostReportError);
- return subscriber;
- };
- /***/ }),
- /***/ 640:
- /*!***********************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/subscribeToResult.js ***!
- \***********************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "subscribeToResult": () => (/* binding */ subscribeToResult)
- /* harmony export */ });
- /* harmony import */ var _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../InnerSubscriber */ 472);
- /* harmony import */ var _subscribeTo__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./subscribeTo */ 6983);
- /* harmony import */ var _Observable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../Observable */ 2378);
- function subscribeToResult(outerSubscriber, result, outerValue, outerIndex, innerSubscriber = new _InnerSubscriber__WEBPACK_IMPORTED_MODULE_0__.InnerSubscriber(outerSubscriber, outerValue, outerIndex)) {
- if (innerSubscriber.closed) {
- return undefined;
- }
- if (result instanceof _Observable__WEBPACK_IMPORTED_MODULE_1__.Observable) {
- return result.subscribe(innerSubscriber);
- }
- return (0,_subscribeTo__WEBPACK_IMPORTED_MODULE_2__.subscribeTo)(result)(innerSubscriber);
- }
- /***/ }),
- /***/ 8333:
- /*!******************************************************************!*\
- !*** ./node_modules/rxjs/_esm2015/internal/util/toSubscriber.js ***!
- \******************************************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "toSubscriber": () => (/* binding */ toSubscriber)
- /* harmony export */ });
- /* harmony import */ var _Subscriber__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Subscriber */ 14);
- /* harmony import */ var _symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../symbol/rxSubscriber */ 1482);
- /* harmony import */ var _Observer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Observer */ 9957);
- function toSubscriber(nextOrObserver, error, complete) {
- if (nextOrObserver) {
- if (nextOrObserver instanceof _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber) {
- return nextOrObserver;
- }
- if (nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__.rxSubscriber]) {
- return nextOrObserver[_symbol_rxSubscriber__WEBPACK_IMPORTED_MODULE_1__.rxSubscriber]();
- }
- }
- if (!nextOrObserver && !error && !complete) {
- return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber(_Observer__WEBPACK_IMPORTED_MODULE_2__.empty);
- }
- return new _Subscriber__WEBPACK_IMPORTED_MODULE_0__.Subscriber(nextOrObserver, error, complete);
- }
- /***/ }),
- /***/ 4929:
- /*!*****************************************!*\
- !*** ./node_modules/tslib/tslib.es6.js ***!
- \*****************************************/
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "__assign": () => (/* binding */ __assign),
- /* harmony export */ "__asyncDelegator": () => (/* binding */ __asyncDelegator),
- /* harmony export */ "__asyncGenerator": () => (/* binding */ __asyncGenerator),
- /* harmony export */ "__asyncValues": () => (/* binding */ __asyncValues),
- /* harmony export */ "__await": () => (/* binding */ __await),
- /* harmony export */ "__awaiter": () => (/* binding */ __awaiter),
- /* harmony export */ "__classPrivateFieldGet": () => (/* binding */ __classPrivateFieldGet),
- /* harmony export */ "__classPrivateFieldIn": () => (/* binding */ __classPrivateFieldIn),
- /* harmony export */ "__classPrivateFieldSet": () => (/* binding */ __classPrivateFieldSet),
- /* harmony export */ "__createBinding": () => (/* binding */ __createBinding),
- /* harmony export */ "__decorate": () => (/* binding */ __decorate),
- /* harmony export */ "__exportStar": () => (/* binding */ __exportStar),
- /* harmony export */ "__extends": () => (/* binding */ __extends),
- /* harmony export */ "__generator": () => (/* binding */ __generator),
- /* harmony export */ "__importDefault": () => (/* binding */ __importDefault),
- /* harmony export */ "__importStar": () => (/* binding */ __importStar),
- /* harmony export */ "__makeTemplateObject": () => (/* binding */ __makeTemplateObject),
- /* harmony export */ "__metadata": () => (/* binding */ __metadata),
- /* harmony export */ "__param": () => (/* binding */ __param),
- /* harmony export */ "__read": () => (/* binding */ __read),
- /* harmony export */ "__rest": () => (/* binding */ __rest),
- /* harmony export */ "__spread": () => (/* binding */ __spread),
- /* harmony export */ "__spreadArray": () => (/* binding */ __spreadArray),
- /* harmony export */ "__spreadArrays": () => (/* binding */ __spreadArrays),
- /* harmony export */ "__values": () => (/* binding */ __values)
- /* harmony export */ });
- /******************************************************************************
- Copyright (c) Microsoft Corporation.
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
-
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */
- /* global Reflect, Promise */
-
- var extendStatics = function(d, b) {
- extendStatics = Object.setPrototypeOf ||
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
- return extendStatics(d, b);
- };
-
- function __extends(d, b) {
- if (typeof b !== "function" && b !== null)
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
- extendStatics(d, b);
- function __() { this.constructor = d; }
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
- }
-
- var __assign = function() {
- __assign = Object.assign || function __assign(t) {
- for (var s, i = 1, n = arguments.length; i < n; i++) {
- s = arguments[i];
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
- }
- return t;
- }
- return __assign.apply(this, arguments);
- }
-
- function __rest(s, e) {
- var t = {};
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
- t[p] = s[p];
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
- t[p[i]] = s[p[i]];
- }
- return t;
- }
-
- function __decorate(decorators, target, key, desc) {
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
- 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;
- return c > 3 && r && Object.defineProperty(target, key, r), r;
- }
-
- function __param(paramIndex, decorator) {
- return function (target, key) { decorator(target, key, paramIndex); }
- }
-
- function __metadata(metadataKey, metadataValue) {
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
- }
-
- function __awaiter(thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
- }
-
- function __generator(thisArg, body) {
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
- function verb(n) { return function (v) { return step([n, v]); }; }
- function step(op) {
- if (f) throw new TypeError("Generator is already executing.");
- while (_) try {
- 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;
- if (y = 0, t) op = [op[0] & 2, t.value];
- switch (op[0]) {
- case 0: case 1: t = op; break;
- case 4: _.label++; return { value: op[1], done: false };
- case 5: _.label++; y = op[1]; op = [0]; continue;
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
- default:
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
- if (t[2]) _.ops.pop();
- _.trys.pop(); continue;
- }
- op = body.call(thisArg, _);
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
- }
- }
-
- var __createBinding = Object.create ? (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- var desc = Object.getOwnPropertyDescriptor(m, k);
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
- desc = { enumerable: true, get: function() { return m[k]; } };
- }
- Object.defineProperty(o, k2, desc);
- }) : (function(o, m, k, k2) {
- if (k2 === undefined) k2 = k;
- o[k2] = m[k];
- });
-
- function __exportStar(m, o) {
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
- }
-
- function __values(o) {
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
- if (m) return m.call(o);
- if (o && typeof o.length === "number") return {
- next: function () {
- if (o && i >= o.length) o = void 0;
- return { value: o && o[i++], done: !o };
- }
- };
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
- }
-
- function __read(o, n) {
- var m = typeof Symbol === "function" && o[Symbol.iterator];
- if (!m) return o;
- var i = m.call(o), r, ar = [], e;
- try {
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
- }
- catch (error) { e = { error: error }; }
- finally {
- try {
- if (r && !r.done && (m = i["return"])) m.call(i);
- }
- finally { if (e) throw e.error; }
- }
- return ar;
- }
-
- /** @deprecated */
- function __spread() {
- for (var ar = [], i = 0; i < arguments.length; i++)
- ar = ar.concat(__read(arguments[i]));
- return ar;
- }
-
- /** @deprecated */
- function __spreadArrays() {
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
- r[k] = a[j];
- return r;
- }
-
- function __spreadArray(to, from, pack) {
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
- if (ar || !(i in from)) {
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
- ar[i] = from[i];
- }
- }
- return to.concat(ar || Array.prototype.slice.call(from));
- }
-
- function __await(v) {
- return this instanceof __await ? (this.v = v, this) : new __await(v);
- }
-
- function __asyncGenerator(thisArg, _arguments, generator) {
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
- 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); }); }; }
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
- function fulfill(value) { resume("next", value); }
- function reject(value) { resume("throw", value); }
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
- }
-
- function __asyncDelegator(o) {
- var i, p;
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
- 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; }
- }
-
- function __asyncValues(o) {
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
- var m = o[Symbol.asyncIterator], i;
- 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);
- 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); }); }; }
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
- }
-
- function __makeTemplateObject(cooked, raw) {
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
- return cooked;
- };
-
- var __setModuleDefault = Object.create ? (function(o, v) {
- Object.defineProperty(o, "default", { enumerable: true, value: v });
- }) : function(o, v) {
- o["default"] = v;
- };
-
- function __importStar(mod) {
- if (mod && mod.__esModule) return mod;
- var result = {};
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
- __setModuleDefault(result, mod);
- return result;
- }
-
- function __importDefault(mod) {
- return (mod && mod.__esModule) ? mod : { default: mod };
- }
-
- function __classPrivateFieldGet(receiver, state, kind, f) {
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
- 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");
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
- }
-
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
- if (kind === "m") throw new TypeError("Private method is not writable");
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
- 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");
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
- }
-
- function __classPrivateFieldIn(state, receiver) {
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
- return typeof state === "function" ? receiver === state : state.has(receiver);
- }
- /***/ }),
- /***/ 6362:
- /*!**********************************************************!*\
- !*** ./node_modules/@angular/common/fesm2015/common.mjs ***!
- \**********************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "APP_BASE_HREF": () => (/* binding */ APP_BASE_HREF),
- /* harmony export */ "AsyncPipe": () => (/* binding */ AsyncPipe),
- /* harmony export */ "CommonModule": () => (/* binding */ CommonModule),
- /* harmony export */ "CurrencyPipe": () => (/* binding */ CurrencyPipe),
- /* harmony export */ "DATE_PIPE_DEFAULT_TIMEZONE": () => (/* binding */ DATE_PIPE_DEFAULT_TIMEZONE),
- /* harmony export */ "DOCUMENT": () => (/* binding */ DOCUMENT),
- /* harmony export */ "DatePipe": () => (/* binding */ DatePipe),
- /* harmony export */ "DecimalPipe": () => (/* binding */ DecimalPipe),
- /* harmony export */ "FormStyle": () => (/* binding */ FormStyle),
- /* harmony export */ "FormatWidth": () => (/* binding */ FormatWidth),
- /* harmony export */ "HashLocationStrategy": () => (/* binding */ HashLocationStrategy),
- /* harmony export */ "I18nPluralPipe": () => (/* binding */ I18nPluralPipe),
- /* harmony export */ "I18nSelectPipe": () => (/* binding */ I18nSelectPipe),
- /* harmony export */ "IMAGE_LOADER": () => (/* binding */ IMAGE_LOADER),
- /* harmony export */ "JsonPipe": () => (/* binding */ JsonPipe),
- /* harmony export */ "KeyValuePipe": () => (/* binding */ KeyValuePipe),
- /* harmony export */ "LOCATION_INITIALIZED": () => (/* binding */ LOCATION_INITIALIZED),
- /* harmony export */ "Location": () => (/* binding */ Location),
- /* harmony export */ "LocationStrategy": () => (/* binding */ LocationStrategy),
- /* harmony export */ "LowerCasePipe": () => (/* binding */ LowerCasePipe),
- /* harmony export */ "NgClass": () => (/* binding */ NgClass),
- /* harmony export */ "NgComponentOutlet": () => (/* binding */ NgComponentOutlet),
- /* harmony export */ "NgFor": () => (/* binding */ NgForOf),
- /* harmony export */ "NgForOf": () => (/* binding */ NgForOf),
- /* harmony export */ "NgForOfContext": () => (/* binding */ NgForOfContext),
- /* harmony export */ "NgIf": () => (/* binding */ NgIf),
- /* harmony export */ "NgIfContext": () => (/* binding */ NgIfContext),
- /* harmony export */ "NgLocaleLocalization": () => (/* binding */ NgLocaleLocalization),
- /* harmony export */ "NgLocalization": () => (/* binding */ NgLocalization),
- /* harmony export */ "NgOptimizedImage": () => (/* binding */ NgOptimizedImage),
- /* harmony export */ "NgPlural": () => (/* binding */ NgPlural),
- /* harmony export */ "NgPluralCase": () => (/* binding */ NgPluralCase),
- /* harmony export */ "NgStyle": () => (/* binding */ NgStyle),
- /* harmony export */ "NgSwitch": () => (/* binding */ NgSwitch),
- /* harmony export */ "NgSwitchCase": () => (/* binding */ NgSwitchCase),
- /* harmony export */ "NgSwitchDefault": () => (/* binding */ NgSwitchDefault),
- /* harmony export */ "NgTemplateOutlet": () => (/* binding */ NgTemplateOutlet),
- /* harmony export */ "NumberFormatStyle": () => (/* binding */ NumberFormatStyle),
- /* harmony export */ "NumberSymbol": () => (/* binding */ NumberSymbol),
- /* harmony export */ "PRECONNECT_CHECK_BLOCKLIST": () => (/* binding */ PRECONNECT_CHECK_BLOCKLIST),
- /* harmony export */ "PathLocationStrategy": () => (/* binding */ PathLocationStrategy),
- /* harmony export */ "PercentPipe": () => (/* binding */ PercentPipe),
- /* harmony export */ "PlatformLocation": () => (/* binding */ PlatformLocation),
- /* harmony export */ "Plural": () => (/* binding */ Plural),
- /* harmony export */ "SlicePipe": () => (/* binding */ SlicePipe),
- /* harmony export */ "TitleCasePipe": () => (/* binding */ TitleCasePipe),
- /* harmony export */ "TranslationWidth": () => (/* binding */ TranslationWidth),
- /* harmony export */ "UpperCasePipe": () => (/* binding */ UpperCasePipe),
- /* harmony export */ "VERSION": () => (/* binding */ VERSION),
- /* harmony export */ "ViewportScroller": () => (/* binding */ ViewportScroller),
- /* harmony export */ "WeekDay": () => (/* binding */ WeekDay),
- /* harmony export */ "XhrFactory": () => (/* binding */ XhrFactory),
- /* harmony export */ "formatCurrency": () => (/* binding */ formatCurrency),
- /* harmony export */ "formatDate": () => (/* binding */ formatDate),
- /* harmony export */ "formatNumber": () => (/* binding */ formatNumber),
- /* harmony export */ "formatPercent": () => (/* binding */ formatPercent),
- /* harmony export */ "getCurrencySymbol": () => (/* binding */ getCurrencySymbol),
- /* harmony export */ "getLocaleCurrencyCode": () => (/* binding */ getLocaleCurrencyCode),
- /* harmony export */ "getLocaleCurrencyName": () => (/* binding */ getLocaleCurrencyName),
- /* harmony export */ "getLocaleCurrencySymbol": () => (/* binding */ getLocaleCurrencySymbol),
- /* harmony export */ "getLocaleDateFormat": () => (/* binding */ getLocaleDateFormat),
- /* harmony export */ "getLocaleDateTimeFormat": () => (/* binding */ getLocaleDateTimeFormat),
- /* harmony export */ "getLocaleDayNames": () => (/* binding */ getLocaleDayNames),
- /* harmony export */ "getLocaleDayPeriods": () => (/* binding */ getLocaleDayPeriods),
- /* harmony export */ "getLocaleDirection": () => (/* binding */ getLocaleDirection),
- /* harmony export */ "getLocaleEraNames": () => (/* binding */ getLocaleEraNames),
- /* harmony export */ "getLocaleExtraDayPeriodRules": () => (/* binding */ getLocaleExtraDayPeriodRules),
- /* harmony export */ "getLocaleExtraDayPeriods": () => (/* binding */ getLocaleExtraDayPeriods),
- /* harmony export */ "getLocaleFirstDayOfWeek": () => (/* binding */ getLocaleFirstDayOfWeek),
- /* harmony export */ "getLocaleId": () => (/* binding */ getLocaleId),
- /* harmony export */ "getLocaleMonthNames": () => (/* binding */ getLocaleMonthNames),
- /* harmony export */ "getLocaleNumberFormat": () => (/* binding */ getLocaleNumberFormat),
- /* harmony export */ "getLocaleNumberSymbol": () => (/* binding */ getLocaleNumberSymbol),
- /* harmony export */ "getLocalePluralCase": () => (/* binding */ getLocalePluralCase),
- /* harmony export */ "getLocaleTimeFormat": () => (/* binding */ getLocaleTimeFormat),
- /* harmony export */ "getLocaleWeekEndRange": () => (/* binding */ getLocaleWeekEndRange),
- /* harmony export */ "getNumberOfCurrencyDigits": () => (/* binding */ getNumberOfCurrencyDigits),
- /* harmony export */ "isPlatformBrowser": () => (/* binding */ isPlatformBrowser),
- /* harmony export */ "isPlatformServer": () => (/* binding */ isPlatformServer),
- /* harmony export */ "isPlatformWorkerApp": () => (/* binding */ isPlatformWorkerApp),
- /* harmony export */ "isPlatformWorkerUi": () => (/* binding */ isPlatformWorkerUi),
- /* harmony export */ "provideCloudflareLoader": () => (/* binding */ provideCloudflareLoader),
- /* harmony export */ "provideCloudinaryLoader": () => (/* binding */ provideCloudinaryLoader),
- /* harmony export */ "provideImageKitLoader": () => (/* binding */ provideImageKitLoader),
- /* harmony export */ "provideImgixLoader": () => (/* binding */ provideImgixLoader),
- /* harmony export */ "registerLocaleData": () => (/* binding */ registerLocaleData),
- /* harmony export */ "ɵBrowserPlatformLocation": () => (/* binding */ BrowserPlatformLocation),
- /* harmony export */ "ɵDomAdapter": () => (/* binding */ DomAdapter),
- /* harmony export */ "ɵNullViewportScroller": () => (/* binding */ NullViewportScroller),
- /* harmony export */ "ɵPLATFORM_BROWSER_ID": () => (/* binding */ PLATFORM_BROWSER_ID),
- /* harmony export */ "ɵPLATFORM_SERVER_ID": () => (/* binding */ PLATFORM_SERVER_ID),
- /* harmony export */ "ɵPLATFORM_WORKER_APP_ID": () => (/* binding */ PLATFORM_WORKER_APP_ID),
- /* harmony export */ "ɵPLATFORM_WORKER_UI_ID": () => (/* binding */ PLATFORM_WORKER_UI_ID),
- /* harmony export */ "ɵgetDOM": () => (/* binding */ getDOM),
- /* harmony export */ "ɵparseCookieValue": () => (/* binding */ parseCookieValue),
- /* harmony export */ "ɵsetRootDomAdapter": () => (/* binding */ setRootDomAdapter)
- /* harmony export */ });
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 3184);
- /**
- * @license Angular v14.2.7
- * (c) 2010-2022 Google LLC. https://angular.io/
- * License: MIT
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- let _DOM = null;
- function getDOM() {
- return _DOM;
- }
- function setDOM(adapter) {
- _DOM = adapter;
- }
- function setRootDomAdapter(adapter) {
- if (!_DOM) {
- _DOM = adapter;
- }
- }
- /* tslint:disable:requireParameterType */
- /**
- * Provides DOM operations in an environment-agnostic way.
- *
- * @security Tread carefully! Interacting with the DOM directly is dangerous and
- * can introduce XSS risks.
- */
- class DomAdapter {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A DI Token representing the main rendering context. In a browser this is the DOM Document.
- *
- * Note: Document might not be available in the Application Context when Application and Rendering
- * Contexts are not the same (e.g. when running the application in a Web Worker).
- *
- * @publicApi
- */
- const DOCUMENT = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('DocumentToken');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This class should not be used directly by an application developer. Instead, use
- * {@link Location}.
- *
- * `PlatformLocation` encapsulates all calls to DOM APIs, which allows the Router to be
- * platform-agnostic.
- * This means that we can have different implementation of `PlatformLocation` for the different
- * platforms that Angular supports. For example, `@angular/platform-browser` provides an
- * implementation specific to the browser environment, while `@angular/platform-server` provides
- * one suitable for use with server-side rendering.
- *
- * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}
- * when they need to interact with the DOM APIs like pushState, popState, etc.
- *
- * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly
- * by the {@link Router} in order to navigate between routes. Since all interactions between {@link
- * Router} /
- * {@link Location} / {@link LocationStrategy} and DOM APIs flow through the `PlatformLocation`
- * class, they are all platform-agnostic.
- *
- * @publicApi
- */
- class PlatformLocation {
- historyGo(relativePosition) {
- throw new Error('Not implemented');
- }
- }
- PlatformLocation.ɵfac = function PlatformLocation_Factory(t) {
- return new (t || PlatformLocation)();
- };
- PlatformLocation.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: PlatformLocation,
- factory: function () {
- return useBrowserPlatformLocation();
- },
- providedIn: 'platform'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PlatformLocation, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'platform',
- // See #23917
- useFactory: useBrowserPlatformLocation
- }]
- }], null, null);
- })();
- function useBrowserPlatformLocation() {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(BrowserPlatformLocation);
- }
- /**
- * @description
- * Indicates when a location is initialized.
- *
- * @publicApi
- */
- const LOCATION_INITIALIZED = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('Location Initialized');
- /**
- * `PlatformLocation` encapsulates all of the direct calls to platform APIs.
- * This class should not be used directly by an application developer. Instead, use
- * {@link Location}.
- */
- class BrowserPlatformLocation extends PlatformLocation {
- constructor(_doc) {
- super();
- this._doc = _doc;
- this._init();
- } // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it
- /** @internal */
- _init() {
- this.location = window.location;
- this._history = window.history;
- }
- getBaseHrefFromDOM() {
- return getDOM().getBaseHref(this._doc);
- }
- onPopState(fn) {
- const window = getDOM().getGlobalEventTarget(this._doc, 'window');
- window.addEventListener('popstate', fn, false);
- return () => window.removeEventListener('popstate', fn);
- }
- onHashChange(fn) {
- const window = getDOM().getGlobalEventTarget(this._doc, 'window');
- window.addEventListener('hashchange', fn, false);
- return () => window.removeEventListener('hashchange', fn);
- }
- get href() {
- return this.location.href;
- }
- get protocol() {
- return this.location.protocol;
- }
- get hostname() {
- return this.location.hostname;
- }
- get port() {
- return this.location.port;
- }
- get pathname() {
- return this.location.pathname;
- }
- get search() {
- return this.location.search;
- }
- get hash() {
- return this.location.hash;
- }
- set pathname(newPath) {
- this.location.pathname = newPath;
- }
- pushState(state, title, url) {
- if (supportsState()) {
- this._history.pushState(state, title, url);
- } else {
- this.location.hash = url;
- }
- }
- replaceState(state, title, url) {
- if (supportsState()) {
- this._history.replaceState(state, title, url);
- } else {
- this.location.hash = url;
- }
- }
- forward() {
- this._history.forward();
- }
- back() {
- this._history.back();
- }
- historyGo(relativePosition = 0) {
- this._history.go(relativePosition);
- }
- getState() {
- return this._history.state;
- }
- }
- BrowserPlatformLocation.ɵfac = function BrowserPlatformLocation_Factory(t) {
- return new (t || BrowserPlatformLocation)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](DOCUMENT));
- };
- BrowserPlatformLocation.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: BrowserPlatformLocation,
- factory: function () {
- return createBrowserPlatformLocation();
- },
- providedIn: 'platform'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BrowserPlatformLocation, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'platform',
- // See #23917
- useFactory: createBrowserPlatformLocation
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [DOCUMENT]
- }]
- }];
- }, null);
- })();
- function supportsState() {
- return !!window.history.pushState;
- }
- function createBrowserPlatformLocation() {
- return new BrowserPlatformLocation((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(DOCUMENT));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Joins two parts of a URL with a slash if needed.
- *
- * @param start URL string
- * @param end URL string
- *
- *
- * @returns The joined URL string.
- */
- function joinWithSlash(start, end) {
- if (start.length == 0) {
- return end;
- }
- if (end.length == 0) {
- return start;
- }
- let slashes = 0;
- if (start.endsWith('/')) {
- slashes++;
- }
- if (end.startsWith('/')) {
- slashes++;
- }
- if (slashes == 2) {
- return start + end.substring(1);
- }
- if (slashes == 1) {
- return start + end;
- }
- return start + '/' + end;
- }
- /**
- * Removes a trailing slash from a URL string if needed.
- * Looks for the first occurrence of either `#`, `?`, or the end of the
- * line as `/` characters and removes the trailing slash if one exists.
- *
- * @param url URL string.
- *
- * @returns The URL string, modified if needed.
- */
- function stripTrailingSlash(url) {
- const match = url.match(/#|\?|$/);
- const pathEndIdx = match && match.index || url.length;
- const droppedSlashIdx = pathEndIdx - (url[pathEndIdx - 1] === '/' ? 1 : 0);
- return url.slice(0, droppedSlashIdx) + url.slice(pathEndIdx);
- }
- /**
- * Normalizes URL parameters by prepending with `?` if needed.
- *
- * @param params String of URL parameters.
- *
- * @returns The normalized URL parameters string.
- */
- function normalizeQueryParams(params) {
- return params && params[0] !== '?' ? '?' + params : params;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Enables the `Location` service to read route state from the browser's URL.
- * Angular provides two strategies:
- * `HashLocationStrategy` and `PathLocationStrategy`.
- *
- * Applications should use the `Router` or `Location` services to
- * interact with application route state.
- *
- * For instance, `HashLocationStrategy` produces URLs like
- * <code class="no-auto-link">http://example.com#/foo</code>,
- * and `PathLocationStrategy` produces
- * <code class="no-auto-link">http://example.com/foo</code> as an equivalent URL.
- *
- * See these two classes for more.
- *
- * @publicApi
- */
- class LocationStrategy {
- historyGo(relativePosition) {
- throw new Error('Not implemented');
- }
- }
- LocationStrategy.ɵfac = function LocationStrategy_Factory(t) {
- return new (t || LocationStrategy)();
- };
- LocationStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: LocationStrategy,
- factory: function () {
- return (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PathLocationStrategy))();
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LocationStrategy, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PathLocationStrategy)
- }]
- }], null, null);
- })();
- /**
- * A predefined [DI token](guide/glossary#di-token) for the base href
- * to be used with the `PathLocationStrategy`.
- * The base href is the URL prefix that should be preserved when generating
- * and recognizing URLs.
- *
- * @usageNotes
- *
- * The following example shows how to use this token to configure the root app injector
- * with a base href value, so that the DI framework can supply the dependency anywhere in the app.
- *
- * ```typescript
- * import {Component, NgModule} from '@angular/core';
- * import {APP_BASE_HREF} from '@angular/common';
- *
- * @NgModule({
- * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]
- * })
- * class AppModule {}
- * ```
- *
- * @publicApi
- */
- const APP_BASE_HREF = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('appBaseHref');
- /**
- * @description
- * A {@link LocationStrategy} used to configure the {@link Location} service to
- * represent its state in the
- * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the
- * browser's URL.
- *
- * If you're using `PathLocationStrategy`, you may provide a {@link APP_BASE_HREF}
- * or add a `<base href>` element to the document to override the default.
- *
- * For instance, if you provide an `APP_BASE_HREF` of `'/my/app/'` and call
- * `location.go('/foo')`, the browser's URL will become
- * `example.com/my/app/foo`. To ensure all relative URIs resolve correctly,
- * the `<base href>` and/or `APP_BASE_HREF` should end with a `/`.
- *
- * Similarly, if you add `<base href='/my/app/'/>` to the document and call
- * `location.go('/foo')`, the browser's URL will become
- * `example.com/my/app/foo`.
- *
- * Note that when using `PathLocationStrategy`, neither the query nor
- * the fragment in the `<base href>` will be preserved, as outlined
- * by the [RFC](https://tools.ietf.org/html/rfc3986#section-5.2.2).
- *
- * @usageNotes
- *
- * ### Example
- *
- * {@example common/location/ts/path_location_component.ts region='LocationComponent'}
- *
- * @publicApi
- */
- class PathLocationStrategy extends LocationStrategy {
- constructor(_platformLocation, href) {
- var _a, _b, _c;
- super();
- this._platformLocation = _platformLocation;
- this._removeListenerFns = [];
- 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 : '';
- }
- /** @nodoc */
- ngOnDestroy() {
- while (this._removeListenerFns.length) {
- this._removeListenerFns.pop()();
- }
- }
- onPopState(fn) {
- this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));
- }
- getBaseHref() {
- return this._baseHref;
- }
- prepareExternalUrl(internal) {
- return joinWithSlash(this._baseHref, internal);
- }
- path(includeHash = false) {
- const pathname = this._platformLocation.pathname + normalizeQueryParams(this._platformLocation.search);
- const hash = this._platformLocation.hash;
- return hash && includeHash ? `${pathname}${hash}` : pathname;
- }
- pushState(state, title, url, queryParams) {
- const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));
- this._platformLocation.pushState(state, title, externalUrl);
- }
- replaceState(state, title, url, queryParams) {
- const externalUrl = this.prepareExternalUrl(url + normalizeQueryParams(queryParams));
- this._platformLocation.replaceState(state, title, externalUrl);
- }
- forward() {
- this._platformLocation.forward();
- }
- back() {
- this._platformLocation.back();
- }
- getState() {
- return this._platformLocation.getState();
- }
- historyGo(relativePosition = 0) {
- var _a, _b;
- (_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
- }
- }
- PathLocationStrategy.ɵfac = function PathLocationStrategy_Factory(t) {
- return new (t || PathLocationStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PlatformLocation), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](APP_BASE_HREF, 8));
- };
- PathLocationStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: PathLocationStrategy,
- factory: PathLocationStrategy.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PathLocationStrategy, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: PlatformLocation
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [APP_BASE_HREF]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- * A {@link LocationStrategy} used to configure the {@link Location} service to
- * represent its state in the
- * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)
- * of the browser's URL.
- *
- * For instance, if you call `location.go('/foo')`, the browser's URL will become
- * `example.com#/foo`.
- *
- * @usageNotes
- *
- * ### Example
- *
- * {@example common/location/ts/hash_location_component.ts region='LocationComponent'}
- *
- * @publicApi
- */
- class HashLocationStrategy extends LocationStrategy {
- constructor(_platformLocation, _baseHref) {
- super();
- this._platformLocation = _platformLocation;
- this._baseHref = '';
- this._removeListenerFns = [];
- if (_baseHref != null) {
- this._baseHref = _baseHref;
- }
- }
- /** @nodoc */
- ngOnDestroy() {
- while (this._removeListenerFns.length) {
- this._removeListenerFns.pop()();
- }
- }
- onPopState(fn) {
- this._removeListenerFns.push(this._platformLocation.onPopState(fn), this._platformLocation.onHashChange(fn));
- }
- getBaseHref() {
- return this._baseHref;
- }
- path(includeHash = false) {
- // the hash value is always prefixed with a `#`
- // and if it is empty then it will stay empty
- let path = this._platformLocation.hash;
- if (path == null) path = '#';
- return path.length > 0 ? path.substring(1) : path;
- }
- prepareExternalUrl(internal) {
- const url = joinWithSlash(this._baseHref, internal);
- return url.length > 0 ? '#' + url : url;
- }
- pushState(state, title, path, queryParams) {
- let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));
- if (url.length == 0) {
- url = this._platformLocation.pathname;
- }
- this._platformLocation.pushState(state, title, url);
- }
- replaceState(state, title, path, queryParams) {
- let url = this.prepareExternalUrl(path + normalizeQueryParams(queryParams));
- if (url.length == 0) {
- url = this._platformLocation.pathname;
- }
- this._platformLocation.replaceState(state, title, url);
- }
- forward() {
- this._platformLocation.forward();
- }
- back() {
- this._platformLocation.back();
- }
- getState() {
- return this._platformLocation.getState();
- }
- historyGo(relativePosition = 0) {
- var _a, _b;
- (_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
- }
- }
- HashLocationStrategy.ɵfac = function HashLocationStrategy_Factory(t) {
- return new (t || HashLocationStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](PlatformLocation), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](APP_BASE_HREF, 8));
- };
- HashLocationStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: HashLocationStrategy,
- factory: HashLocationStrategy.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](HashLocationStrategy, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable
- }], function () {
- return [{
- type: PlatformLocation
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [APP_BASE_HREF]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- *
- * A service that applications can use to interact with a browser's URL.
- *
- * Depending on the `LocationStrategy` used, `Location` persists
- * to the URL's path or the URL's hash segment.
- *
- * @usageNotes
- *
- * It's better to use the `Router.navigate()` service to trigger route changes. Use
- * `Location` only if you need to interact with or create normalized URLs outside of
- * routing.
- *
- * `Location` is responsible for normalizing the URL against the application's base href.
- * A normalized URL is absolute from the URL host, includes the application's base href, and has no
- * trailing slash:
- * - `/my/app/user/123` is normalized
- * - `my/app/user/123` **is not** normalized
- * - `/my/app/user/123/` **is not** normalized
- *
- * ### Example
- *
- * <code-example path='common/location/ts/path_location_component.ts'
- * region='LocationComponent'></code-example>
- *
- * @publicApi
- */
- class Location {
- constructor(locationStrategy) {
- /** @internal */
- this._subject = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- /** @internal */
- this._urlChangeListeners = [];
- /** @internal */
- this._urlChangeSubscription = null;
- this._locationStrategy = locationStrategy;
- const browserBaseHref = this._locationStrategy.getBaseHref();
- this._baseHref = stripTrailingSlash(_stripIndexHtml(browserBaseHref));
- this._locationStrategy.onPopState(ev => {
- this._subject.emit({
- 'url': this.path(true),
- 'pop': true,
- 'state': ev.state,
- 'type': ev.type
- });
- });
- }
- /** @nodoc */
- ngOnDestroy() {
- var _a;
- (_a = this._urlChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
- this._urlChangeListeners = [];
- }
- /**
- * Normalizes the URL path for this location.
- *
- * @param includeHash True to include an anchor fragment in the path.
- *
- * @returns The normalized URL path.
- */
- // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is
- // removed.
- path(includeHash = false) {
- return this.normalize(this._locationStrategy.path(includeHash));
- }
- /**
- * Reports the current state of the location history.
- * @returns The current value of the `history.state` object.
- */
- getState() {
- return this._locationStrategy.getState();
- }
- /**
- * Normalizes the given path and compares to the current normalized path.
- *
- * @param path The given URL path.
- * @param query Query parameters.
- *
- * @returns True if the given URL path is equal to the current normalized path, false
- * otherwise.
- */
- isCurrentPathEqualTo(path, query = '') {
- return this.path() == this.normalize(path + normalizeQueryParams(query));
- }
- /**
- * Normalizes a URL path by stripping any trailing slashes.
- *
- * @param url String representing a URL.
- *
- * @returns The normalized URL string.
- */
- normalize(url) {
- return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));
- }
- /**
- * Normalizes an external URL path.
- * If the given URL doesn't begin with a leading slash (`'/'`), adds one
- * before normalizing. Adds a hash if `HashLocationStrategy` is
- * in use, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.
- *
- * @param url String representing a URL.
- *
- * @returns A normalized platform-specific URL.
- */
- prepareExternalUrl(url) {
- if (url && url[0] !== '/') {
- url = '/' + url;
- }
- return this._locationStrategy.prepareExternalUrl(url);
- } // TODO: rename this method to pushState
- /**
- * Changes the browser's URL to a normalized version of a given URL, and pushes a
- * new item onto the platform's history.
- *
- * @param path URL path to normalize.
- * @param query Query parameters.
- * @param state Location history state.
- *
- */
- go(path, query = '', state = null) {
- this._locationStrategy.pushState(state, '', path, query);
- this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);
- }
- /**
- * Changes the browser's URL to a normalized version of the given URL, and replaces
- * the top item on the platform's history stack.
- *
- * @param path URL path to normalize.
- * @param query Query parameters.
- * @param state Location history state.
- */
- replaceState(path, query = '', state = null) {
- this._locationStrategy.replaceState(state, '', path, query);
- this._notifyUrlChangeListeners(this.prepareExternalUrl(path + normalizeQueryParams(query)), state);
- }
- /**
- * Navigates forward in the platform's history.
- */
- forward() {
- this._locationStrategy.forward();
- }
- /**
- * Navigates back in the platform's history.
- */
- back() {
- this._locationStrategy.back();
- }
- /**
- * Navigate to a specific page from session history, identified by its relative position to the
- * current page.
- *
- * @param relativePosition Position of the target page in the history relative to the current
- * page.
- * A negative value moves backwards, a positive value moves forwards, e.g. `location.historyGo(2)`
- * moves forward two pages and `location.historyGo(-2)` moves back two pages. When we try to go
- * beyond what's stored in the history session, we stay in the current page. Same behaviour occurs
- * when `relativePosition` equals 0.
- * @see https://developer.mozilla.org/en-US/docs/Web/API/History_API#Moving_to_a_specific_point_in_history
- */
- historyGo(relativePosition = 0) {
- var _a, _b;
- (_b = (_a = this._locationStrategy).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
- }
- /**
- * Registers a URL change listener. Use to catch updates performed by the Angular
- * framework that are not detectible through "popstate" or "hashchange" events.
- *
- * @param fn The change handler function, which take a URL and a location history state.
- * @returns A function that, when executed, unregisters a URL change listener.
- */
- onUrlChange(fn) {
- this._urlChangeListeners.push(fn);
- if (!this._urlChangeSubscription) {
- this._urlChangeSubscription = this.subscribe(v => {
- this._notifyUrlChangeListeners(v.url, v.state);
- });
- }
- return () => {
- var _a;
- const fnIndex = this._urlChangeListeners.indexOf(fn);
- this._urlChangeListeners.splice(fnIndex, 1);
- if (this._urlChangeListeners.length === 0) {
- (_a = this._urlChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
- this._urlChangeSubscription = null;
- }
- };
- }
- /** @internal */
- _notifyUrlChangeListeners(url = '', state) {
- this._urlChangeListeners.forEach(fn => fn(url, state));
- }
- /**
- * Subscribes to the platform's `popState` events.
- *
- * Note: `Location.go()` does not trigger the `popState` event in the browser. Use
- * `Location.onUrlChange()` to subscribe to URL changes instead.
- *
- * @param value Event that is triggered when the state history changes.
- * @param exception The exception to throw.
- *
- * @see [onpopstate](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate)
- *
- * @returns Subscribed events.
- */
- subscribe(onNext, onThrow, onReturn) {
- return this._subject.subscribe({
- next: onNext,
- error: onThrow,
- complete: onReturn
- });
- }
- }
- /**
- * Normalizes URL parameters by prepending with `?` if needed.
- *
- * @param params String of URL parameters.
- *
- * @returns The normalized URL parameters string.
- */
- Location.normalizeQueryParams = normalizeQueryParams;
- /**
- * Joins two parts of a URL with a slash if needed.
- *
- * @param start URL string
- * @param end URL string
- *
- *
- * @returns The joined URL string.
- */
- Location.joinWithSlash = joinWithSlash;
- /**
- * Removes a trailing slash from a URL string if needed.
- * Looks for the first occurrence of either `#`, `?`, or the end of the
- * line as `/` characters and removes the trailing slash if one exists.
- *
- * @param url URL string.
- *
- * @returns The URL string, modified if needed.
- */
- Location.stripTrailingSlash = stripTrailingSlash;
- Location.ɵfac = function Location_Factory(t) {
- return new (t || Location)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](LocationStrategy));
- };
- Location.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: Location,
- factory: function () {
- return createLocation();
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Location, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root',
- // See #23917
- useFactory: createLocation
- }]
- }], function () {
- return [{
- type: LocationStrategy
- }];
- }, null);
- })();
- function createLocation() {
- return new Location((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(LocationStrategy));
- }
- function _stripBaseHref(baseHref, url) {
- return baseHref && url.startsWith(baseHref) ? url.substring(baseHref.length) : url;
- }
- function _stripIndexHtml(url) {
- return url.replace(/\/index.html$/, '');
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /** @internal */
- const CURRENCIES_EN = {
- "ADP": [undefined, undefined, 0],
- "AFN": [undefined, "؋", 0],
- "ALL": [undefined, undefined, 0],
- "AMD": [undefined, "֏", 2],
- "AOA": [undefined, "Kz"],
- "ARS": [undefined, "$"],
- "AUD": ["A$", "$"],
- "AZN": [undefined, "₼"],
- "BAM": [undefined, "KM"],
- "BBD": [undefined, "$"],
- "BDT": [undefined, "৳"],
- "BHD": [undefined, undefined, 3],
- "BIF": [undefined, undefined, 0],
- "BMD": [undefined, "$"],
- "BND": [undefined, "$"],
- "BOB": [undefined, "Bs"],
- "BRL": ["R$"],
- "BSD": [undefined, "$"],
- "BWP": [undefined, "P"],
- "BYN": [undefined, undefined, 2],
- "BYR": [undefined, undefined, 0],
- "BZD": [undefined, "$"],
- "CAD": ["CA$", "$", 2],
- "CHF": [undefined, undefined, 2],
- "CLF": [undefined, undefined, 4],
- "CLP": [undefined, "$", 0],
- "CNY": ["CN¥", "¥"],
- "COP": [undefined, "$", 2],
- "CRC": [undefined, "₡", 2],
- "CUC": [undefined, "$"],
- "CUP": [undefined, "$"],
- "CZK": [undefined, "Kč", 2],
- "DJF": [undefined, undefined, 0],
- "DKK": [undefined, "kr", 2],
- "DOP": [undefined, "$"],
- "EGP": [undefined, "E£"],
- "ESP": [undefined, "₧", 0],
- "EUR": ["€"],
- "FJD": [undefined, "$"],
- "FKP": [undefined, "£"],
- "GBP": ["£"],
- "GEL": [undefined, "₾"],
- "GHS": [undefined, "GH₵"],
- "GIP": [undefined, "£"],
- "GNF": [undefined, "FG", 0],
- "GTQ": [undefined, "Q"],
- "GYD": [undefined, "$", 2],
- "HKD": ["HK$", "$"],
- "HNL": [undefined, "L"],
- "HRK": [undefined, "kn"],
- "HUF": [undefined, "Ft", 2],
- "IDR": [undefined, "Rp", 2],
- "ILS": ["₪"],
- "INR": ["₹"],
- "IQD": [undefined, undefined, 0],
- "IRR": [undefined, undefined, 0],
- "ISK": [undefined, "kr", 0],
- "ITL": [undefined, undefined, 0],
- "JMD": [undefined, "$"],
- "JOD": [undefined, undefined, 3],
- "JPY": ["¥", undefined, 0],
- "KHR": [undefined, "៛"],
- "KMF": [undefined, "CF", 0],
- "KPW": [undefined, "₩", 0],
- "KRW": ["₩", undefined, 0],
- "KWD": [undefined, undefined, 3],
- "KYD": [undefined, "$"],
- "KZT": [undefined, "₸"],
- "LAK": [undefined, "₭", 0],
- "LBP": [undefined, "L£", 0],
- "LKR": [undefined, "Rs"],
- "LRD": [undefined, "$"],
- "LTL": [undefined, "Lt"],
- "LUF": [undefined, undefined, 0],
- "LVL": [undefined, "Ls"],
- "LYD": [undefined, undefined, 3],
- "MGA": [undefined, "Ar", 0],
- "MGF": [undefined, undefined, 0],
- "MMK": [undefined, "K", 0],
- "MNT": [undefined, "₮", 2],
- "MRO": [undefined, undefined, 0],
- "MUR": [undefined, "Rs", 2],
- "MXN": ["MX$", "$"],
- "MYR": [undefined, "RM"],
- "NAD": [undefined, "$"],
- "NGN": [undefined, "₦"],
- "NIO": [undefined, "C$"],
- "NOK": [undefined, "kr", 2],
- "NPR": [undefined, "Rs"],
- "NZD": ["NZ$", "$"],
- "OMR": [undefined, undefined, 3],
- "PHP": ["₱"],
- "PKR": [undefined, "Rs", 2],
- "PLN": [undefined, "zł"],
- "PYG": [undefined, "₲", 0],
- "RON": [undefined, "lei"],
- "RSD": [undefined, undefined, 0],
- "RUB": [undefined, "₽"],
- "RWF": [undefined, "RF", 0],
- "SBD": [undefined, "$"],
- "SEK": [undefined, "kr", 2],
- "SGD": [undefined, "$"],
- "SHP": [undefined, "£"],
- "SLE": [undefined, undefined, 2],
- "SLL": [undefined, undefined, 0],
- "SOS": [undefined, undefined, 0],
- "SRD": [undefined, "$"],
- "SSP": [undefined, "£"],
- "STD": [undefined, undefined, 0],
- "STN": [undefined, "Db"],
- "SYP": [undefined, "£", 0],
- "THB": [undefined, "฿"],
- "TMM": [undefined, undefined, 0],
- "TND": [undefined, undefined, 3],
- "TOP": [undefined, "T$"],
- "TRL": [undefined, undefined, 0],
- "TRY": [undefined, "₺"],
- "TTD": [undefined, "$"],
- "TWD": ["NT$", "$", 2],
- "TZS": [undefined, undefined, 2],
- "UAH": [undefined, "₴"],
- "UGX": [undefined, undefined, 0],
- "USD": ["$"],
- "UYI": [undefined, undefined, 0],
- "UYU": [undefined, "$"],
- "UYW": [undefined, undefined, 4],
- "UZS": [undefined, undefined, 2],
- "VEF": [undefined, "Bs", 2],
- "VND": ["₫", undefined, 0],
- "VUV": [undefined, undefined, 0],
- "XAF": ["FCFA", undefined, 0],
- "XCD": ["EC$", "$"],
- "XOF": ["F CFA", undefined, 0],
- "XPF": ["CFPF", undefined, 0],
- "XXX": ["¤"],
- "YER": [undefined, undefined, 0],
- "ZAR": [undefined, "R"],
- "ZMK": [undefined, undefined, 0],
- "ZMW": [undefined, "ZK"],
- "ZWD": [undefined, undefined, 0]
- };
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Format styles that can be used to represent numbers.
- * @see `getLocaleNumberFormat()`.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- var NumberFormatStyle;
- (function (NumberFormatStyle) {
- NumberFormatStyle[NumberFormatStyle["Decimal"] = 0] = "Decimal";
- NumberFormatStyle[NumberFormatStyle["Percent"] = 1] = "Percent";
- NumberFormatStyle[NumberFormatStyle["Currency"] = 2] = "Currency";
- NumberFormatStyle[NumberFormatStyle["Scientific"] = 3] = "Scientific";
- })(NumberFormatStyle || (NumberFormatStyle = {}));
- /**
- * Plurality cases used for translating plurals to different languages.
- *
- * @see `NgPlural`
- * @see `NgPluralCase`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- var Plural;
- (function (Plural) {
- Plural[Plural["Zero"] = 0] = "Zero";
- Plural[Plural["One"] = 1] = "One";
- Plural[Plural["Two"] = 2] = "Two";
- Plural[Plural["Few"] = 3] = "Few";
- Plural[Plural["Many"] = 4] = "Many";
- Plural[Plural["Other"] = 5] = "Other";
- })(Plural || (Plural = {}));
- /**
- * Context-dependant translation forms for strings.
- * Typically the standalone version is for the nominative form of the word,
- * and the format version is used for the genitive case.
- * @see [CLDR website](http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles)
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- var FormStyle;
- (function (FormStyle) {
- FormStyle[FormStyle["Format"] = 0] = "Format";
- FormStyle[FormStyle["Standalone"] = 1] = "Standalone";
- })(FormStyle || (FormStyle = {}));
- /**
- * String widths available for translations.
- * The specific character widths are locale-specific.
- * Examples are given for the word "Sunday" in English.
- *
- * @publicApi
- */
- var TranslationWidth;
- (function (TranslationWidth) {
- /** 1 character for `en-US`. For example: 'S' */
- TranslationWidth[TranslationWidth["Narrow"] = 0] = "Narrow";
- /** 3 characters for `en-US`. For example: 'Sun' */
- TranslationWidth[TranslationWidth["Abbreviated"] = 1] = "Abbreviated";
- /** Full length for `en-US`. For example: "Sunday" */
- TranslationWidth[TranslationWidth["Wide"] = 2] = "Wide";
- /** 2 characters for `en-US`, For example: "Su" */
- TranslationWidth[TranslationWidth["Short"] = 3] = "Short";
- })(TranslationWidth || (TranslationWidth = {}));
- /**
- * String widths available for date-time formats.
- * The specific character widths are locale-specific.
- * Examples are given for `en-US`.
- *
- * @see `getLocaleDateFormat()`
- * @see `getLocaleTimeFormat()`
- * @see `getLocaleDateTimeFormat()`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- * @publicApi
- */
- var FormatWidth;
- (function (FormatWidth) {
- /**
- * For `en-US`, 'M/d/yy, h:mm a'`
- * (Example: `6/15/15, 9:03 AM`)
- */
- FormatWidth[FormatWidth["Short"] = 0] = "Short";
- /**
- * For `en-US`, `'MMM d, y, h:mm:ss a'`
- * (Example: `Jun 15, 2015, 9:03:01 AM`)
- */
- FormatWidth[FormatWidth["Medium"] = 1] = "Medium";
- /**
- * For `en-US`, `'MMMM d, y, h:mm:ss a z'`
- * (Example: `June 15, 2015 at 9:03:01 AM GMT+1`)
- */
- FormatWidth[FormatWidth["Long"] = 2] = "Long";
- /**
- * For `en-US`, `'EEEE, MMMM d, y, h:mm:ss a zzzz'`
- * (Example: `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00`)
- */
- FormatWidth[FormatWidth["Full"] = 3] = "Full";
- })(FormatWidth || (FormatWidth = {}));
- /**
- * Symbols that can be used to replace placeholders in number patterns.
- * Examples are based on `en-US` values.
- *
- * @see `getLocaleNumberSymbol()`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- var NumberSymbol;
- (function (NumberSymbol) {
- /**
- * Decimal separator.
- * For `en-US`, the dot character.
- * Example: 2,345`.`67
- */
- NumberSymbol[NumberSymbol["Decimal"] = 0] = "Decimal";
- /**
- * Grouping separator, typically for thousands.
- * For `en-US`, the comma character.
- * Example: 2`,`345.67
- */
- NumberSymbol[NumberSymbol["Group"] = 1] = "Group";
- /**
- * List-item separator.
- * Example: "one, two, and three"
- */
- NumberSymbol[NumberSymbol["List"] = 2] = "List";
- /**
- * Sign for percentage (out of 100).
- * Example: 23.4%
- */
- NumberSymbol[NumberSymbol["PercentSign"] = 3] = "PercentSign";
- /**
- * Sign for positive numbers.
- * Example: +23
- */
- NumberSymbol[NumberSymbol["PlusSign"] = 4] = "PlusSign";
- /**
- * Sign for negative numbers.
- * Example: -23
- */
- NumberSymbol[NumberSymbol["MinusSign"] = 5] = "MinusSign";
- /**
- * Computer notation for exponential value (n times a power of 10).
- * Example: 1.2E3
- */
- NumberSymbol[NumberSymbol["Exponential"] = 6] = "Exponential";
- /**
- * Human-readable format of exponential.
- * Example: 1.2x103
- */
- NumberSymbol[NumberSymbol["SuperscriptingExponent"] = 7] = "SuperscriptingExponent";
- /**
- * Sign for permille (out of 1000).
- * Example: 23.4‰
- */
- NumberSymbol[NumberSymbol["PerMille"] = 8] = "PerMille";
- /**
- * Infinity, can be used with plus and minus.
- * Example: ∞, +∞, -∞
- */
- NumberSymbol[NumberSymbol["Infinity"] = 9] = "Infinity";
- /**
- * Not a number.
- * Example: NaN
- */
- NumberSymbol[NumberSymbol["NaN"] = 10] = "NaN";
- /**
- * Symbol used between time units.
- * Example: 10:52
- */
- NumberSymbol[NumberSymbol["TimeSeparator"] = 11] = "TimeSeparator";
- /**
- * Decimal separator for currency values (fallback to `Decimal`).
- * Example: $2,345.67
- */
- NumberSymbol[NumberSymbol["CurrencyDecimal"] = 12] = "CurrencyDecimal";
- /**
- * Group separator for currency values (fallback to `Group`).
- * Example: $2,345.67
- */
- NumberSymbol[NumberSymbol["CurrencyGroup"] = 13] = "CurrencyGroup";
- })(NumberSymbol || (NumberSymbol = {}));
- /**
- * The value for each day of the week, based on the `en-US` locale
- *
- * @publicApi
- */
- var WeekDay;
- (function (WeekDay) {
- WeekDay[WeekDay["Sunday"] = 0] = "Sunday";
- WeekDay[WeekDay["Monday"] = 1] = "Monday";
- WeekDay[WeekDay["Tuesday"] = 2] = "Tuesday";
- WeekDay[WeekDay["Wednesday"] = 3] = "Wednesday";
- WeekDay[WeekDay["Thursday"] = 4] = "Thursday";
- WeekDay[WeekDay["Friday"] = 5] = "Friday";
- WeekDay[WeekDay["Saturday"] = 6] = "Saturday";
- })(WeekDay || (WeekDay = {}));
- /**
- * Retrieves the locale ID from the currently loaded locale.
- * The loaded locale could be, for example, a global one rather than a regional one.
- * @param locale A locale code, such as `fr-FR`.
- * @returns The locale code. For example, `fr`.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleId(locale) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale)[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].LocaleId];
- }
- /**
- * Retrieves day period strings for the given locale.
- *
- * @param locale A locale code for the locale format rules to use.
- * @param formStyle The required grammatical form.
- * @param width The required character width.
- * @returns An array of localized period strings. For example, `[AM, PM]` for `en-US`.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleDayPeriods(locale, formStyle, width) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- const amPmData = [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DayPeriodsFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DayPeriodsStandalone]];
- const amPm = getLastDefinedValue(amPmData, formStyle);
- return getLastDefinedValue(amPm, width);
- }
- /**
- * Retrieves days of the week for the given locale, using the Gregorian calendar.
- *
- * @param locale A locale code for the locale format rules to use.
- * @param formStyle The required grammatical form.
- * @param width The required character width.
- * @returns An array of localized name strings.
- * For example,`[Sunday, Monday, ... Saturday]` for `en-US`.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleDayNames(locale, formStyle, width) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- const daysData = [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DaysFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DaysStandalone]];
- const days = getLastDefinedValue(daysData, formStyle);
- return getLastDefinedValue(days, width);
- }
- /**
- * Retrieves months of the year for the given locale, using the Gregorian calendar.
- *
- * @param locale A locale code for the locale format rules to use.
- * @param formStyle The required grammatical form.
- * @param width The required character width.
- * @returns An array of localized name strings.
- * For example, `[January, February, ...]` for `en-US`.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleMonthNames(locale, formStyle, width) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- const monthsData = [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].MonthsFormat], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].MonthsStandalone]];
- const months = getLastDefinedValue(monthsData, formStyle);
- return getLastDefinedValue(months, width);
- }
- /**
- * Retrieves Gregorian-calendar eras for the given locale.
- * @param locale A locale code for the locale format rules to use.
- * @param width The required character width.
- * @returns An array of localized era strings.
- * For example, `[AD, BC]` for `en-US`.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleEraNames(locale, width) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- const erasData = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].Eras];
- return getLastDefinedValue(erasData, width);
- }
- /**
- * Retrieves the first day of the week for the given locale.
- *
- * @param locale A locale code for the locale format rules to use.
- * @returns A day index number, using the 0-based week-day index for `en-US`
- * (Sunday = 0, Monday = 1, ...).
- * For example, for `fr-FR`, returns 1 to indicate that the first day is Monday.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleFirstDayOfWeek(locale) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].FirstDayOfWeek];
- }
- /**
- * Range of week days that are considered the week-end for the given locale.
- *
- * @param locale A locale code for the locale format rules to use.
- * @returns The range of day values, `[startDay, endDay]`.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleWeekEndRange(locale) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].WeekendRange];
- }
- /**
- * Retrieves a localized date-value formatting string.
- *
- * @param locale A locale code for the locale format rules to use.
- * @param width The format type.
- * @returns The localized formatting string.
- * @see `FormatWidth`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleDateFormat(locale, width) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return getLastDefinedValue(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DateFormat], width);
- }
- /**
- * Retrieves a localized time-value formatting string.
- *
- * @param locale A locale code for the locale format rules to use.
- * @param width The format type.
- * @returns The localized formatting string.
- * @see `FormatWidth`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- * @publicApi
- */
- function getLocaleTimeFormat(locale, width) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return getLastDefinedValue(data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].TimeFormat], width);
- }
- /**
- * Retrieves a localized date-time formatting string.
- *
- * @param locale A locale code for the locale format rules to use.
- * @param width The format type.
- * @returns The localized formatting string.
- * @see `FormatWidth`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleDateTimeFormat(locale, width) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- const dateTimeFormatData = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].DateTimeFormat];
- return getLastDefinedValue(dateTimeFormatData, width);
- }
- /**
- * Retrieves a localized number symbol that can be used to replace placeholders in number formats.
- * @param locale The locale code.
- * @param symbol The symbol to localize.
- * @returns The character for the localized symbol.
- * @see `NumberSymbol`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleNumberSymbol(locale, symbol) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- const res = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].NumberSymbols][symbol];
- if (typeof res === 'undefined') {
- if (symbol === NumberSymbol.CurrencyDecimal) {
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].NumberSymbols][NumberSymbol.Decimal];
- } else if (symbol === NumberSymbol.CurrencyGroup) {
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].NumberSymbols][NumberSymbol.Group];
- }
- }
- return res;
- }
- /**
- * Retrieves a number format for a given locale.
- *
- * Numbers are formatted using patterns, like `#,###.00`. For example, the pattern `#,###.00`
- * when used to format the number 12345.678 could result in "12'345,678". That would happen if the
- * grouping separator for your language is an apostrophe, and the decimal separator is a comma.
- *
- * <b>Important:</b> The characters `.` `,` `0` `#` (and others below) are special placeholders
- * that stand for the decimal separator, and so on, and are NOT real characters.
- * You must NOT "translate" the placeholders. For example, don't change `.` to `,` even though in
- * your language the decimal point is written with a comma. The symbols should be replaced by the
- * local equivalents, using the appropriate `NumberSymbol` for your language.
- *
- * Here are the special characters used in number patterns:
- *
- * | Symbol | Meaning |
- * |--------|---------|
- * | . | Replaced automatically by the character used for the decimal point. |
- * | , | Replaced by the "grouping" (thousands) separator. |
- * | 0 | Replaced by a digit (or zero if there aren't enough digits). |
- * | # | Replaced by a digit (or nothing if there aren't enough). |
- * | ¤ | Replaced by a currency symbol, such as $ or USD. |
- * | % | Marks a percent format. The % symbol may change position, but must be retained. |
- * | E | Marks a scientific format. The E symbol may change position, but must be retained. |
- * | ' | Special characters used as literal characters are quoted with ASCII single quotes. |
- *
- * @param locale A locale code for the locale format rules to use.
- * @param type The type of numeric value to be formatted (such as `Decimal` or `Currency`.)
- * @returns The localized format string.
- * @see `NumberFormatStyle`
- * @see [CLDR website](http://cldr.unicode.org/translation/number-patterns)
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleNumberFormat(locale, type) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].NumberFormats][type];
- }
- /**
- * Retrieves the symbol used to represent the currency for the main country
- * corresponding to a given locale. For example, '$' for `en-US`.
- *
- * @param locale A locale code for the locale format rules to use.
- * @returns The localized symbol character,
- * or `null` if the main country cannot be determined.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleCurrencySymbol(locale) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].CurrencySymbol] || null;
- }
- /**
- * Retrieves the name of the currency for the main country corresponding
- * to a given locale. For example, 'US Dollar' for `en-US`.
- * @param locale A locale code for the locale format rules to use.
- * @returns The currency name,
- * or `null` if the main country cannot be determined.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleCurrencyName(locale) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].CurrencyName] || null;
- }
- /**
- * Retrieves the default currency code for the given locale.
- *
- * The default is defined as the first currency which is still in use.
- *
- * @param locale The code of the locale whose currency code we want.
- * @returns The code of the default currency for the given locale.
- *
- * @publicApi
- */
- function getLocaleCurrencyCode(locale) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵgetLocaleCurrencyCode"])(locale);
- }
- /**
- * Retrieves the currency values for a given locale.
- * @param locale A locale code for the locale format rules to use.
- * @returns The currency values.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- */
- function getLocaleCurrencies(locale) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].Currencies];
- }
- /**
- * @alias core/ɵgetLocalePluralCase
- * @publicApi
- */
- const getLocalePluralCase = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵgetLocalePluralCase"];
- function checkFullData(data) {
- if (!data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].ExtraData]) {
- 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.`);
- }
- }
- /**
- * Retrieves locale-specific rules used to determine which day period to use
- * when more than one period is defined for a locale.
- *
- * There is a rule for each defined day period. The
- * first rule is applied to the first day period and so on.
- * Fall back to AM/PM when no rules are available.
- *
- * A rule can specify a period as time range, or as a single time value.
- *
- * This functionality is only available when you have loaded the full locale data.
- * See the ["I18n guide"](guide/i18n-common-format-data-locale).
- *
- * @param locale A locale code for the locale format rules to use.
- * @returns The rules for the locale, a single time value or array of *from-time, to-time*,
- * or null if no periods are available.
- *
- * @see `getLocaleExtraDayPeriods()`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleExtraDayPeriodRules(locale) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- checkFullData(data);
- const rules = data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].ExtraData][2
- /* ɵExtraLocaleDataIndex.ExtraDayPeriodsRules */
- ] || [];
- return rules.map(rule => {
- if (typeof rule === 'string') {
- return extractTime(rule);
- }
- return [extractTime(rule[0]), extractTime(rule[1])];
- });
- }
- /**
- * Retrieves locale-specific day periods, which indicate roughly how a day is broken up
- * in different languages.
- * For example, for `en-US`, periods are morning, noon, afternoon, evening, and midnight.
- *
- * This functionality is only available when you have loaded the full locale data.
- * See the ["I18n guide"](guide/i18n-common-format-data-locale).
- *
- * @param locale A locale code for the locale format rules to use.
- * @param formStyle The required grammatical form.
- * @param width The required character width.
- * @returns The translated day-period strings.
- * @see `getLocaleExtraDayPeriodRules()`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLocaleExtraDayPeriods(locale, formStyle, width) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- checkFullData(data);
- const dayPeriodsData = [data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].ExtraData][0
- /* ɵExtraLocaleDataIndex.ExtraDayPeriodFormats */
- ], data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].ExtraData][1
- /* ɵExtraLocaleDataIndex.ExtraDayPeriodStandalone */
- ]];
- const dayPeriods = getLastDefinedValue(dayPeriodsData, formStyle) || [];
- return getLastDefinedValue(dayPeriods, width) || [];
- }
- /**
- * Retrieves the writing direction of a specified locale
- * @param locale A locale code for the locale format rules to use.
- * @publicApi
- * @returns 'rtl' or 'ltr'
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- */
- function getLocaleDirection(locale) {
- const data = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵfindLocaleData"])(locale);
- return data[_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵLocaleDataIndex"].Directionality];
- }
- /**
- * Retrieves the first value that is defined in an array, going backwards from an index position.
- *
- * To avoid repeating the same data (as when the "format" and "standalone" forms are the same)
- * add the first value to the locale data arrays, and add other values only if they are different.
- *
- * @param data The data array to retrieve from.
- * @param index A 0-based index into the array to start from.
- * @returns The value immediately before the given index position.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getLastDefinedValue(data, index) {
- for (let i = index; i > -1; i--) {
- if (typeof data[i] !== 'undefined') {
- return data[i];
- }
- }
- throw new Error('Locale data API: locale data undefined');
- }
- /**
- * Extracts the hours and minutes from a string like "15:45"
- */
- function extractTime(time) {
- const [h, m] = time.split(':');
- return {
- hours: +h,
- minutes: +m
- };
- }
- /**
- * Retrieves the currency symbol for a given currency code.
- *
- * For example, for the default `en-US` locale, the code `USD` can
- * be represented by the narrow symbol `$` or the wide symbol `US$`.
- *
- * @param code The currency code.
- * @param format The format, `wide` or `narrow`.
- * @param locale A locale code for the locale format rules to use.
- *
- * @returns The symbol, or the currency code if no symbol is available.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getCurrencySymbol(code, format, locale = 'en') {
- const currency = getLocaleCurrencies(locale)[code] || CURRENCIES_EN[code] || [];
- const symbolNarrow = currency[1
- /* ɵCurrencyIndex.SymbolNarrow */
- ];
- if (format === 'narrow' && typeof symbolNarrow === 'string') {
- return symbolNarrow;
- }
- return currency[0
- /* ɵCurrencyIndex.Symbol */
- ] || code;
- } // Most currencies have cents, that's why the default is 2
- const DEFAULT_NB_OF_CURRENCY_DIGITS = 2;
- /**
- * Reports the number of decimal digits for a given currency.
- * The value depends upon the presence of cents in that particular currency.
- *
- * @param code The currency code.
- * @returns The number of decimal digits, typically 0 or 2.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function getNumberOfCurrencyDigits(code) {
- let digits;
- const currency = CURRENCIES_EN[code];
- if (currency) {
- digits = currency[2
- /* ɵCurrencyIndex.NbOfDigits */
- ];
- }
- return typeof digits === 'number' ? digits : DEFAULT_NB_OF_CURRENCY_DIGITS;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- 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
- const NAMED_FORMATS = {};
- 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]*)/;
- var ZoneWidth;
- (function (ZoneWidth) {
- ZoneWidth[ZoneWidth["Short"] = 0] = "Short";
- ZoneWidth[ZoneWidth["ShortGMT"] = 1] = "ShortGMT";
- ZoneWidth[ZoneWidth["Long"] = 2] = "Long";
- ZoneWidth[ZoneWidth["Extended"] = 3] = "Extended";
- })(ZoneWidth || (ZoneWidth = {}));
- var DateType;
- (function (DateType) {
- DateType[DateType["FullYear"] = 0] = "FullYear";
- DateType[DateType["Month"] = 1] = "Month";
- DateType[DateType["Date"] = 2] = "Date";
- DateType[DateType["Hours"] = 3] = "Hours";
- DateType[DateType["Minutes"] = 4] = "Minutes";
- DateType[DateType["Seconds"] = 5] = "Seconds";
- DateType[DateType["FractionalSeconds"] = 6] = "FractionalSeconds";
- DateType[DateType["Day"] = 7] = "Day";
- })(DateType || (DateType = {}));
- var TranslationType;
- (function (TranslationType) {
- TranslationType[TranslationType["DayPeriods"] = 0] = "DayPeriods";
- TranslationType[TranslationType["Days"] = 1] = "Days";
- TranslationType[TranslationType["Months"] = 2] = "Months";
- TranslationType[TranslationType["Eras"] = 3] = "Eras";
- })(TranslationType || (TranslationType = {}));
- /**
- * @ngModule CommonModule
- * @description
- *
- * Formats a date according to locale rules.
- *
- * @param value The date to format, as a Date, or a number (milliseconds since UTC epoch)
- * or an [ISO date-time string](https://www.w3.org/TR/NOTE-datetime).
- * @param format The date-time components to include. See `DatePipe` for details.
- * @param locale A locale code for the locale format rules to use.
- * @param timezone The time zone. A time zone offset from GMT (such as `'+0430'`),
- * or a standard UTC/GMT or continental US time zone abbreviation.
- * If not specified, uses host system settings.
- *
- * @returns The formatted date string.
- *
- * @see `DatePipe`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function formatDate(value, format, locale, timezone) {
- let date = toDate(value);
- const namedFormat = getNamedFormat(locale, format);
- format = namedFormat || format;
- let parts = [];
- let match;
- while (format) {
- match = DATE_FORMATS_SPLIT.exec(format);
- if (match) {
- parts = parts.concat(match.slice(1));
- const part = parts.pop();
- if (!part) {
- break;
- }
- format = part;
- } else {
- parts.push(format);
- break;
- }
- }
- let dateTimezoneOffset = date.getTimezoneOffset();
- if (timezone) {
- dateTimezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);
- date = convertTimezoneToLocal(date, timezone, true);
- }
- let text = '';
- parts.forEach(value => {
- const dateFormatter = getDateFormatter(value);
- text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) : value === '\'\'' ? '\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
- });
- return text;
- }
- /**
- * Create a new Date object with the given date value, and the time set to midnight.
- *
- * We cannot use `new Date(year, month, date)` because it maps years between 0 and 99 to 1900-1999.
- * See: https://github.com/angular/angular/issues/40377
- *
- * Note that this function returns a Date object whose time is midnight in the current locale's
- * timezone. In the future we might want to change this to be midnight in UTC, but this would be a
- * considerable breaking change.
- */
- function createDate(year, month, date) {
- // The `newDate` is set to midnight (UTC) on January 1st 1970.
- // - In PST this will be December 31st 1969 at 4pm.
- // - In GMT this will be January 1st 1970 at 1am.
- // Note that they even have different years, dates and months!
- const newDate = new Date(0); // `setFullYear()` allows years like 0001 to be set correctly. This function does not
- // change the internal time of the date.
- // Consider calling `setFullYear(2019, 8, 20)` (September 20, 2019).
- // - In PST this will now be September 20, 2019 at 4pm
- // - In GMT this will now be September 20, 2019 at 1am
- newDate.setFullYear(year, month, date); // We want the final date to be at local midnight, so we reset the time.
- // - In PST this will now be September 20, 2019 at 12am
- // - In GMT this will now be September 20, 2019 at 12am
- newDate.setHours(0, 0, 0);
- return newDate;
- }
- function getNamedFormat(locale, format) {
- const localeId = getLocaleId(locale);
- NAMED_FORMATS[localeId] = NAMED_FORMATS[localeId] || {};
- if (NAMED_FORMATS[localeId][format]) {
- return NAMED_FORMATS[localeId][format];
- }
- let formatValue = '';
- switch (format) {
- case 'shortDate':
- formatValue = getLocaleDateFormat(locale, FormatWidth.Short);
- break;
- case 'mediumDate':
- formatValue = getLocaleDateFormat(locale, FormatWidth.Medium);
- break;
- case 'longDate':
- formatValue = getLocaleDateFormat(locale, FormatWidth.Long);
- break;
- case 'fullDate':
- formatValue = getLocaleDateFormat(locale, FormatWidth.Full);
- break;
- case 'shortTime':
- formatValue = getLocaleTimeFormat(locale, FormatWidth.Short);
- break;
- case 'mediumTime':
- formatValue = getLocaleTimeFormat(locale, FormatWidth.Medium);
- break;
- case 'longTime':
- formatValue = getLocaleTimeFormat(locale, FormatWidth.Long);
- break;
- case 'fullTime':
- formatValue = getLocaleTimeFormat(locale, FormatWidth.Full);
- break;
- case 'short':
- const shortTime = getNamedFormat(locale, 'shortTime');
- const shortDate = getNamedFormat(locale, 'shortDate');
- formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Short), [shortTime, shortDate]);
- break;
- case 'medium':
- const mediumTime = getNamedFormat(locale, 'mediumTime');
- const mediumDate = getNamedFormat(locale, 'mediumDate');
- formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Medium), [mediumTime, mediumDate]);
- break;
- case 'long':
- const longTime = getNamedFormat(locale, 'longTime');
- const longDate = getNamedFormat(locale, 'longDate');
- formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Long), [longTime, longDate]);
- break;
- case 'full':
- const fullTime = getNamedFormat(locale, 'fullTime');
- const fullDate = getNamedFormat(locale, 'fullDate');
- formatValue = formatDateTime(getLocaleDateTimeFormat(locale, FormatWidth.Full), [fullTime, fullDate]);
- break;
- }
- if (formatValue) {
- NAMED_FORMATS[localeId][format] = formatValue;
- }
- return formatValue;
- }
- function formatDateTime(str, opt_values) {
- if (opt_values) {
- str = str.replace(/\{([^}]+)}/g, function (match, key) {
- return opt_values != null && key in opt_values ? opt_values[key] : match;
- });
- }
- return str;
- }
- function padNumber(num, digits, minusSign = '-', trim, negWrap) {
- let neg = '';
- if (num < 0 || negWrap && num <= 0) {
- if (negWrap) {
- num = -num + 1;
- } else {
- num = -num;
- neg = minusSign;
- }
- }
- let strNum = String(num);
- while (strNum.length < digits) {
- strNum = '0' + strNum;
- }
- if (trim) {
- strNum = strNum.slice(strNum.length - digits);
- }
- return neg + strNum;
- }
- function formatFractionalSeconds(milliseconds, digits) {
- const strMs = padNumber(milliseconds, 3);
- return strMs.substring(0, digits);
- }
- /**
- * Returns a date formatter that transforms a date into its locale digit representation
- */
- function dateGetter(name, size, offset = 0, trim = false, negWrap = false) {
- return function (date, locale) {
- let part = getDatePart(name, date);
- if (offset > 0 || part > -offset) {
- part += offset;
- }
- if (name === DateType.Hours) {
- if (part === 0 && offset === -12) {
- part = 12;
- }
- } else if (name === DateType.FractionalSeconds) {
- return formatFractionalSeconds(part, size);
- }
- const localeMinus = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);
- return padNumber(part, size, localeMinus, trim, negWrap);
- };
- }
- function getDatePart(part, date) {
- switch (part) {
- case DateType.FullYear:
- return date.getFullYear();
- case DateType.Month:
- return date.getMonth();
- case DateType.Date:
- return date.getDate();
- case DateType.Hours:
- return date.getHours();
- case DateType.Minutes:
- return date.getMinutes();
- case DateType.Seconds:
- return date.getSeconds();
- case DateType.FractionalSeconds:
- return date.getMilliseconds();
- case DateType.Day:
- return date.getDay();
- default:
- throw new Error(`Unknown DateType value "${part}".`);
- }
- }
- /**
- * Returns a date formatter that transforms a date into its locale string representation
- */
- function dateStrGetter(name, width, form = FormStyle.Format, extended = false) {
- return function (date, locale) {
- return getDateTranslation(date, locale, name, width, form, extended);
- };
- }
- /**
- * Returns the locale translation of a date for a given form, type and width
- */
- function getDateTranslation(date, locale, name, width, form, extended) {
- switch (name) {
- case TranslationType.Months:
- return getLocaleMonthNames(locale, form, width)[date.getMonth()];
- case TranslationType.Days:
- return getLocaleDayNames(locale, form, width)[date.getDay()];
- case TranslationType.DayPeriods:
- const currentHours = date.getHours();
- const currentMinutes = date.getMinutes();
- if (extended) {
- const rules = getLocaleExtraDayPeriodRules(locale);
- const dayPeriods = getLocaleExtraDayPeriods(locale, form, width);
- const index = rules.findIndex(rule => {
- if (Array.isArray(rule)) {
- // morning, afternoon, evening, night
- const [from, to] = rule;
- const afterFrom = currentHours >= from.hours && currentMinutes >= from.minutes;
- 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)
- // where `from` is less (earlier) than `to`. But also rules that span midnight (e.g.
- // 10pm - 5am) where `from` is greater (later!) than `to`.
- //
- // In the first case the current time must be BOTH after `from` AND before `to`
- // (e.g. 8am is after 6am AND before 10am).
- //
- // In the second case the current time must be EITHER after `from` OR before `to`
- // (e.g. 4am is before 5am but not after 10pm; and 11pm is not before 5am but it is
- // after 10pm).
- if (from.hours < to.hours) {
- if (afterFrom && beforeTo) {
- return true;
- }
- } else if (afterFrom || beforeTo) {
- return true;
- }
- } else {
- // noon or midnight
- if (rule.hours === currentHours && rule.minutes === currentMinutes) {
- return true;
- }
- }
- return false;
- });
- if (index !== -1) {
- return dayPeriods[index];
- }
- } // if no rules for the day periods, we use am/pm by default
- return getLocaleDayPeriods(locale, form, width)[currentHours < 12 ? 0 : 1];
- case TranslationType.Eras:
- return getLocaleEraNames(locale, width)[date.getFullYear() <= 0 ? 0 : 1];
- default:
- // This default case is not needed by TypeScript compiler, as the switch is exhaustive.
- // However Closure Compiler does not understand that and reports an error in typed mode.
- // The `throw new Error` below works around the problem, and the unexpected: never variable
- // makes sure tsc still checks this code is unreachable.
- const unexpected = name;
- throw new Error(`unexpected translation type ${unexpected}`);
- }
- }
- /**
- * Returns a date formatter that transforms a date and an offset into a timezone with ISO8601 or
- * GMT format depending on the width (eg: short = +0430, short:GMT = GMT+4, long = GMT+04:30,
- * extended = +04:30)
- */
- function timeZoneGetter(width) {
- return function (date, locale, offset) {
- const zone = -1 * offset;
- const minusSign = getLocaleNumberSymbol(locale, NumberSymbol.MinusSign);
- const hours = zone > 0 ? Math.floor(zone / 60) : Math.ceil(zone / 60);
- switch (width) {
- case ZoneWidth.Short:
- return (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + padNumber(Math.abs(zone % 60), 2, minusSign);
- case ZoneWidth.ShortGMT:
- return 'GMT' + (zone >= 0 ? '+' : '') + padNumber(hours, 1, minusSign);
- case ZoneWidth.Long:
- return 'GMT' + (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + ':' + padNumber(Math.abs(zone % 60), 2, minusSign);
- case ZoneWidth.Extended:
- if (offset === 0) {
- return 'Z';
- } else {
- return (zone >= 0 ? '+' : '') + padNumber(hours, 2, minusSign) + ':' + padNumber(Math.abs(zone % 60), 2, minusSign);
- }
- default:
- throw new Error(`Unknown zone width "${width}"`);
- }
- };
- }
- const JANUARY = 0;
- const THURSDAY = 4;
- function getFirstThursdayOfYear(year) {
- const firstDayOfYear = createDate(year, JANUARY, 1).getDay();
- return createDate(year, 0, 1 + (firstDayOfYear <= THURSDAY ? THURSDAY : THURSDAY + 7) - firstDayOfYear);
- }
- function getThursdayThisWeek(datetime) {
- return createDate(datetime.getFullYear(), datetime.getMonth(), datetime.getDate() + (THURSDAY - datetime.getDay()));
- }
- function weekGetter(size, monthBased = false) {
- return function (date, locale) {
- let result;
- if (monthBased) {
- const nbDaysBefore1stDayOfMonth = new Date(date.getFullYear(), date.getMonth(), 1).getDay() - 1;
- const today = date.getDate();
- result = 1 + Math.floor((today + nbDaysBefore1stDayOfMonth) / 7);
- } else {
- const thisThurs = getThursdayThisWeek(date); // Some days of a year are part of next year according to ISO 8601.
- // Compute the firstThurs from the year of this week's Thursday
- const firstThurs = getFirstThursdayOfYear(thisThurs.getFullYear());
- const diff = thisThurs.getTime() - firstThurs.getTime();
- result = 1 + Math.round(diff / 6.048e8); // 6.048e8 ms per week
- }
- return padNumber(result, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));
- };
- }
- /**
- * Returns a date formatter that provides the week-numbering year for the input date.
- */
- function weekNumberingYearGetter(size, trim = false) {
- return function (date, locale) {
- const thisThurs = getThursdayThisWeek(date);
- const weekNumberingYear = thisThurs.getFullYear();
- return padNumber(weekNumberingYear, size, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign), trim);
- };
- }
- const DATE_FORMATS = {}; // Based on CLDR formats:
- // See complete list: http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
- // See also explanations: http://cldr.unicode.org/translation/date-time
- // TODO(ocombe): support all missing cldr formats: U, Q, D, F, e, j, J, C, A, v, V, X, x
- function getDateFormatter(format) {
- if (DATE_FORMATS[format]) {
- return DATE_FORMATS[format];
- }
- let formatter;
- switch (format) {
- // Era name (AD/BC)
- case 'G':
- case 'GG':
- case 'GGG':
- formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Abbreviated);
- break;
- case 'GGGG':
- formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Wide);
- break;
- case 'GGGGG':
- formatter = dateStrGetter(TranslationType.Eras, TranslationWidth.Narrow);
- break;
- // 1 digit representation of the year, e.g. (AD 1 => 1, AD 199 => 199)
- case 'y':
- formatter = dateGetter(DateType.FullYear, 1, 0, false, true);
- break;
- // 2 digit representation of the year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10)
- case 'yy':
- formatter = dateGetter(DateType.FullYear, 2, 0, true, true);
- break;
- // 3 digit representation of the year, padded (000-999). (e.g. AD 2001 => 01, AD 2010 => 10)
- case 'yyy':
- formatter = dateGetter(DateType.FullYear, 3, 0, false, true);
- break;
- // 4 digit representation of the year (e.g. AD 1 => 0001, AD 2010 => 2010)
- case 'yyyy':
- formatter = dateGetter(DateType.FullYear, 4, 0, false, true);
- break;
- // 1 digit representation of the week-numbering year, e.g. (AD 1 => 1, AD 199 => 199)
- case 'Y':
- formatter = weekNumberingYearGetter(1);
- break;
- // 2 digit representation of the week-numbering year, padded (00-99). (e.g. AD 2001 => 01, AD
- // 2010 => 10)
- case 'YY':
- formatter = weekNumberingYearGetter(2, true);
- break;
- // 3 digit representation of the week-numbering year, padded (000-999). (e.g. AD 1 => 001, AD
- // 2010 => 2010)
- case 'YYY':
- formatter = weekNumberingYearGetter(3);
- break;
- // 4 digit representation of the week-numbering year (e.g. AD 1 => 0001, AD 2010 => 2010)
- case 'YYYY':
- formatter = weekNumberingYearGetter(4);
- break;
- // Month of the year (1-12), numeric
- case 'M':
- case 'L':
- formatter = dateGetter(DateType.Month, 1, 1);
- break;
- case 'MM':
- case 'LL':
- formatter = dateGetter(DateType.Month, 2, 1);
- break;
- // Month of the year (January, ...), string, format
- case 'MMM':
- formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated);
- break;
- case 'MMMM':
- formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide);
- break;
- case 'MMMMM':
- formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow);
- break;
- // Month of the year (January, ...), string, standalone
- case 'LLL':
- formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Abbreviated, FormStyle.Standalone);
- break;
- case 'LLLL':
- formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Wide, FormStyle.Standalone);
- break;
- case 'LLLLL':
- formatter = dateStrGetter(TranslationType.Months, TranslationWidth.Narrow, FormStyle.Standalone);
- break;
- // Week of the year (1, ... 52)
- case 'w':
- formatter = weekGetter(1);
- break;
- case 'ww':
- formatter = weekGetter(2);
- break;
- // Week of the month (1, ...)
- case 'W':
- formatter = weekGetter(1, true);
- break;
- // Day of the month (1-31)
- case 'd':
- formatter = dateGetter(DateType.Date, 1);
- break;
- case 'dd':
- formatter = dateGetter(DateType.Date, 2);
- break;
- // Day of the Week StandAlone (1, 1, Mon, Monday, M, Mo)
- case 'c':
- case 'cc':
- formatter = dateGetter(DateType.Day, 1);
- break;
- case 'ccc':
- formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated, FormStyle.Standalone);
- break;
- case 'cccc':
- formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide, FormStyle.Standalone);
- break;
- case 'ccccc':
- formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow, FormStyle.Standalone);
- break;
- case 'cccccc':
- formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short, FormStyle.Standalone);
- break;
- // Day of the Week
- case 'E':
- case 'EE':
- case 'EEE':
- formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Abbreviated);
- break;
- case 'EEEE':
- formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Wide);
- break;
- case 'EEEEE':
- formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Narrow);
- break;
- case 'EEEEEE':
- formatter = dateStrGetter(TranslationType.Days, TranslationWidth.Short);
- break;
- // Generic period of the day (am-pm)
- case 'a':
- case 'aa':
- case 'aaa':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated);
- break;
- case 'aaaa':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide);
- break;
- case 'aaaaa':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow);
- break;
- // Extended period of the day (midnight, at night, ...), standalone
- case 'b':
- case 'bb':
- case 'bbb':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Standalone, true);
- break;
- case 'bbbb':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Standalone, true);
- break;
- case 'bbbbb':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Standalone, true);
- break;
- // Extended period of the day (midnight, night, ...), standalone
- case 'B':
- case 'BB':
- case 'BBB':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Abbreviated, FormStyle.Format, true);
- break;
- case 'BBBB':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Wide, FormStyle.Format, true);
- break;
- case 'BBBBB':
- formatter = dateStrGetter(TranslationType.DayPeriods, TranslationWidth.Narrow, FormStyle.Format, true);
- break;
- // Hour in AM/PM, (1-12)
- case 'h':
- formatter = dateGetter(DateType.Hours, 1, -12);
- break;
- case 'hh':
- formatter = dateGetter(DateType.Hours, 2, -12);
- break;
- // Hour of the day (0-23)
- case 'H':
- formatter = dateGetter(DateType.Hours, 1);
- break;
- // Hour in day, padded (00-23)
- case 'HH':
- formatter = dateGetter(DateType.Hours, 2);
- break;
- // Minute of the hour (0-59)
- case 'm':
- formatter = dateGetter(DateType.Minutes, 1);
- break;
- case 'mm':
- formatter = dateGetter(DateType.Minutes, 2);
- break;
- // Second of the minute (0-59)
- case 's':
- formatter = dateGetter(DateType.Seconds, 1);
- break;
- case 'ss':
- formatter = dateGetter(DateType.Seconds, 2);
- break;
- // Fractional second
- case 'S':
- formatter = dateGetter(DateType.FractionalSeconds, 1);
- break;
- case 'SS':
- formatter = dateGetter(DateType.FractionalSeconds, 2);
- break;
- case 'SSS':
- formatter = dateGetter(DateType.FractionalSeconds, 3);
- break;
- // Timezone ISO8601 short format (-0430)
- case 'Z':
- case 'ZZ':
- case 'ZZZ':
- formatter = timeZoneGetter(ZoneWidth.Short);
- break;
- // Timezone ISO8601 extended format (-04:30)
- case 'ZZZZZ':
- formatter = timeZoneGetter(ZoneWidth.Extended);
- break;
- // Timezone GMT short format (GMT+4)
- case 'O':
- case 'OO':
- case 'OOO': // Should be location, but fallback to format O instead because we don't have the data yet
- case 'z':
- case 'zz':
- case 'zzz':
- formatter = timeZoneGetter(ZoneWidth.ShortGMT);
- break;
- // Timezone GMT long format (GMT+0430)
- case 'OOOO':
- case 'ZZZZ': // Should be location, but fallback to format O instead because we don't have the data yet
- case 'zzzz':
- formatter = timeZoneGetter(ZoneWidth.Long);
- break;
- default:
- return null;
- }
- DATE_FORMATS[format] = formatter;
- return formatter;
- }
- function timezoneToOffset(timezone, fallback) {
- // Support: IE 11 only, Edge 13-15+
- // IE/Edge do not "understand" colon (`:`) in timezone
- timezone = timezone.replace(/:/g, '');
- const requestedTimezoneOffset = Date.parse('Jan 01, 1970 00:00:00 ' + timezone) / 60000;
- return isNaN(requestedTimezoneOffset) ? fallback : requestedTimezoneOffset;
- }
- function addDateMinutes(date, minutes) {
- date = new Date(date.getTime());
- date.setMinutes(date.getMinutes() + minutes);
- return date;
- }
- function convertTimezoneToLocal(date, timezone, reverse) {
- const reverseValue = reverse ? -1 : 1;
- const dateTimezoneOffset = date.getTimezoneOffset();
- const timezoneOffset = timezoneToOffset(timezone, dateTimezoneOffset);
- return addDateMinutes(date, reverseValue * (timezoneOffset - dateTimezoneOffset));
- }
- /**
- * Converts a value to date.
- *
- * Supported input formats:
- * - `Date`
- * - number: timestamp
- * - string: numeric (e.g. "1234"), ISO and date strings in a format supported by
- * [Date.parse()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse).
- * Note: ISO strings without time return a date without timeoffset.
- *
- * Throws if unable to convert to a date.
- */
- function toDate(value) {
- if (isDate(value)) {
- return value;
- }
- if (typeof value === 'number' && !isNaN(value)) {
- return new Date(value);
- }
- if (typeof value === 'string') {
- value = value.trim();
- if (/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(value)) {
- /* For ISO Strings without time the day, month and year must be extracted from the ISO String
- before Date creation to avoid time offset and errors in the new Date.
- If we only replace '-' with ',' in the ISO String ("2015,01,01"), and try to create a new
- date, some browsers (e.g. IE 9) will throw an invalid Date error.
- If we leave the '-' ("2015-01-01") and try to create a new Date("2015-01-01") the timeoffset
- is applied.
- Note: ISO months are 0 for January, 1 for February, ... */
- const [y, m = 1, d = 1] = value.split('-').map(val => +val);
- return createDate(y, m - 1, d);
- }
- const parsedNb = parseFloat(value); // any string that only contains numbers, like "1234" but not like "1234hello"
- if (!isNaN(value - parsedNb)) {
- return new Date(parsedNb);
- }
- let match;
- if (match = value.match(ISO8601_DATE_REGEX)) {
- return isoStringToDate(match);
- }
- }
- const date = new Date(value);
- if (!isDate(date)) {
- throw new Error(`Unable to convert "${value}" into a date`);
- }
- return date;
- }
- /**
- * Converts a date in ISO8601 to a Date.
- * Used instead of `Date.parse` because of browser discrepancies.
- */
- function isoStringToDate(match) {
- const date = new Date(0);
- let tzHour = 0;
- let tzMin = 0; // match[8] means that the string contains "Z" (UTC) or a timezone like "+01:00" or "+0100"
- const dateSetter = match[8] ? date.setUTCFullYear : date.setFullYear;
- const timeSetter = match[8] ? date.setUTCHours : date.setHours; // if there is a timezone defined like "+01:00" or "+0100"
- if (match[9]) {
- tzHour = Number(match[9] + match[10]);
- tzMin = Number(match[9] + match[11]);
- }
- dateSetter.call(date, Number(match[1]), Number(match[2]) - 1, Number(match[3]));
- const h = Number(match[4] || 0) - tzHour;
- const m = Number(match[5] || 0) - tzMin;
- const s = Number(match[6] || 0); // The ECMAScript specification (https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.11)
- // defines that `DateTime` milliseconds should always be rounded down, so that `999.9ms`
- // becomes `999ms`.
- const ms = Math.floor(parseFloat('0.' + (match[7] || 0)) * 1000);
- timeSetter.call(date, h, m, s, ms);
- return date;
- }
- function isDate(value) {
- return value instanceof Date && !isNaN(value.valueOf());
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NUMBER_FORMAT_REGEXP = /^(\d+)?\.((\d+)(-(\d+))?)?$/;
- const MAX_DIGITS = 22;
- const DECIMAL_SEP = '.';
- const ZERO_CHAR = '0';
- const PATTERN_SEP = ';';
- const GROUP_SEP = ',';
- const DIGIT_CHAR = '#';
- const CURRENCY_CHAR = '¤';
- const PERCENT_CHAR = '%';
- /**
- * Transforms a number to a locale string based on a style and a format.
- */
- function formatNumberToLocaleString(value, pattern, locale, groupSymbol, decimalSymbol, digitsInfo, isPercent = false) {
- let formattedText = '';
- let isZero = false;
- if (!isFinite(value)) {
- formattedText = getLocaleNumberSymbol(locale, NumberSymbol.Infinity);
- } else {
- let parsedNumber = parseNumber(value);
- if (isPercent) {
- parsedNumber = toPercent(parsedNumber);
- }
- let minInt = pattern.minInt;
- let minFraction = pattern.minFrac;
- let maxFraction = pattern.maxFrac;
- if (digitsInfo) {
- const parts = digitsInfo.match(NUMBER_FORMAT_REGEXP);
- if (parts === null) {
- throw new Error(`${digitsInfo} is not a valid digit info`);
- }
- const minIntPart = parts[1];
- const minFractionPart = parts[3];
- const maxFractionPart = parts[5];
- if (minIntPart != null) {
- minInt = parseIntAutoRadix(minIntPart);
- }
- if (minFractionPart != null) {
- minFraction = parseIntAutoRadix(minFractionPart);
- }
- if (maxFractionPart != null) {
- maxFraction = parseIntAutoRadix(maxFractionPart);
- } else if (minFractionPart != null && minFraction > maxFraction) {
- maxFraction = minFraction;
- }
- }
- roundNumber(parsedNumber, minFraction, maxFraction);
- let digits = parsedNumber.digits;
- let integerLen = parsedNumber.integerLen;
- const exponent = parsedNumber.exponent;
- let decimals = [];
- isZero = digits.every(d => !d); // pad zeros for small numbers
- for (; integerLen < minInt; integerLen++) {
- digits.unshift(0);
- } // pad zeros for small numbers
- for (; integerLen < 0; integerLen++) {
- digits.unshift(0);
- } // extract decimals digits
- if (integerLen > 0) {
- decimals = digits.splice(integerLen, digits.length);
- } else {
- decimals = digits;
- digits = [0];
- } // format the integer digits with grouping separators
- const groups = [];
- if (digits.length >= pattern.lgSize) {
- groups.unshift(digits.splice(-pattern.lgSize, digits.length).join(''));
- }
- while (digits.length > pattern.gSize) {
- groups.unshift(digits.splice(-pattern.gSize, digits.length).join(''));
- }
- if (digits.length) {
- groups.unshift(digits.join(''));
- }
- formattedText = groups.join(getLocaleNumberSymbol(locale, groupSymbol)); // append the decimal digits
- if (decimals.length) {
- formattedText += getLocaleNumberSymbol(locale, decimalSymbol) + decimals.join('');
- }
- if (exponent) {
- formattedText += getLocaleNumberSymbol(locale, NumberSymbol.Exponential) + '+' + exponent;
- }
- }
- if (value < 0 && !isZero) {
- formattedText = pattern.negPre + formattedText + pattern.negSuf;
- } else {
- formattedText = pattern.posPre + formattedText + pattern.posSuf;
- }
- return formattedText;
- }
- /**
- * @ngModule CommonModule
- * @description
- *
- * Formats a number as currency using locale rules.
- *
- * @param value The number to format.
- * @param locale A locale code for the locale format rules to use.
- * @param currency A string containing the currency symbol or its name,
- * such as "$" or "Canadian Dollar". Used in output string, but does not affect the operation
- * of the function.
- * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)
- * currency code, such as `USD` for the US dollar and `EUR` for the euro.
- * Used to determine the number of digits in the decimal part.
- * @param digitsInfo Decimal representation options, specified by a string in the following format:
- * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
- *
- * @returns The formatted currency value.
- *
- * @see `formatNumber()`
- * @see `DecimalPipe`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function formatCurrency(value, locale, currency, currencyCode, digitsInfo) {
- const format = getLocaleNumberFormat(locale, NumberFormatStyle.Currency);
- const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));
- pattern.minFrac = getNumberOfCurrencyDigits(currencyCode);
- pattern.maxFrac = pattern.minFrac;
- const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.CurrencyGroup, NumberSymbol.CurrencyDecimal, digitsInfo);
- return res.replace(CURRENCY_CHAR, currency) // if we have 2 time the currency character, the second one is ignored
- .replace(CURRENCY_CHAR, '') // If there is a spacing between currency character and the value and
- // the currency character is suppressed by passing an empty string, the
- // spacing character would remain as part of the string. Then we
- // should remove it.
- .trim();
- }
- /**
- * @ngModule CommonModule
- * @description
- *
- * Formats a number as a percentage according to locale rules.
- *
- * @param value The number to format.
- * @param locale A locale code for the locale format rules to use.
- * @param digitsInfo Decimal representation options, specified by a string in the following format:
- * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
- *
- * @returns The formatted percentage value.
- *
- * @see `formatNumber()`
- * @see `DecimalPipe`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- * @publicApi
- *
- */
- function formatPercent(value, locale, digitsInfo) {
- const format = getLocaleNumberFormat(locale, NumberFormatStyle.Percent);
- const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));
- const res = formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo, true);
- return res.replace(new RegExp(PERCENT_CHAR, 'g'), getLocaleNumberSymbol(locale, NumberSymbol.PercentSign));
- }
- /**
- * @ngModule CommonModule
- * @description
- *
- * Formats a number as text, with group sizing, separator, and other
- * parameters based on the locale.
- *
- * @param value The number to format.
- * @param locale A locale code for the locale format rules to use.
- * @param digitsInfo Decimal representation options, specified by a string in the following format:
- * `{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}`. See `DecimalPipe` for more details.
- *
- * @returns The formatted text string.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- *
- * @publicApi
- */
- function formatNumber(value, locale, digitsInfo) {
- const format = getLocaleNumberFormat(locale, NumberFormatStyle.Decimal);
- const pattern = parseNumberFormat(format, getLocaleNumberSymbol(locale, NumberSymbol.MinusSign));
- return formatNumberToLocaleString(value, pattern, locale, NumberSymbol.Group, NumberSymbol.Decimal, digitsInfo);
- }
- function parseNumberFormat(format, minusSign = '-') {
- const p = {
- minInt: 1,
- minFrac: 0,
- maxFrac: 0,
- posPre: '',
- posSuf: '',
- negPre: '',
- negSuf: '',
- gSize: 0,
- lgSize: 0
- };
- const patternParts = format.split(PATTERN_SEP);
- const positive = patternParts[0];
- const negative = patternParts[1];
- 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)],
- integer = positiveParts[0],
- fraction = positiveParts[1] || '';
- p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));
- for (let i = 0; i < fraction.length; i++) {
- const ch = fraction.charAt(i);
- if (ch === ZERO_CHAR) {
- p.minFrac = p.maxFrac = i + 1;
- } else if (ch === DIGIT_CHAR) {
- p.maxFrac = i + 1;
- } else {
- p.posSuf += ch;
- }
- }
- const groups = integer.split(GROUP_SEP);
- p.gSize = groups[1] ? groups[1].length : 0;
- p.lgSize = groups[2] || groups[1] ? (groups[2] || groups[1]).length : 0;
- if (negative) {
- const trunkLen = positive.length - p.posPre.length - p.posSuf.length,
- pos = negative.indexOf(DIGIT_CHAR);
- p.negPre = negative.substring(0, pos).replace(/'/g, '');
- p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');
- } else {
- p.negPre = minusSign + p.posPre;
- p.negSuf = p.posSuf;
- }
- return p;
- } // Transforms a parsed number into a percentage by multiplying it by 100
- function toPercent(parsedNumber) {
- // if the number is 0, don't do anything
- if (parsedNumber.digits[0] === 0) {
- return parsedNumber;
- } // Getting the current number of decimals
- const fractionLen = parsedNumber.digits.length - parsedNumber.integerLen;
- if (parsedNumber.exponent) {
- parsedNumber.exponent += 2;
- } else {
- if (fractionLen === 0) {
- parsedNumber.digits.push(0, 0);
- } else if (fractionLen === 1) {
- parsedNumber.digits.push(0);
- }
- parsedNumber.integerLen += 2;
- }
- return parsedNumber;
- }
- /**
- * Parses a number.
- * Significant bits of this parse algorithm came from https://github.com/MikeMcl/big.js/
- */
- function parseNumber(num) {
- let numStr = Math.abs(num) + '';
- let exponent = 0,
- digits,
- integerLen;
- let i, j, zeros; // Decimal point?
- if ((integerLen = numStr.indexOf(DECIMAL_SEP)) > -1) {
- numStr = numStr.replace(DECIMAL_SEP, '');
- } // Exponential form?
- if ((i = numStr.search(/e/i)) > 0) {
- // Work out the exponent.
- if (integerLen < 0) integerLen = i;
- integerLen += +numStr.slice(i + 1);
- numStr = numStr.substring(0, i);
- } else if (integerLen < 0) {
- // There was no decimal point or exponent so it is an integer.
- integerLen = numStr.length;
- } // Count the number of leading zeros.
- for (i = 0; numStr.charAt(i) === ZERO_CHAR; i++) {
- /* empty */
- }
- if (i === (zeros = numStr.length)) {
- // The digits are all zero.
- digits = [0];
- integerLen = 1;
- } else {
- // Count the number of trailing zeros
- zeros--;
- while (numStr.charAt(zeros) === ZERO_CHAR) zeros--; // Trailing zeros are insignificant so ignore them
- integerLen -= i;
- digits = []; // Convert string to array of digits without leading/trailing zeros.
- for (j = 0; i <= zeros; i++, j++) {
- digits[j] = Number(numStr.charAt(i));
- }
- } // If the number overflows the maximum allowed digits then use an exponent.
- if (integerLen > MAX_DIGITS) {
- digits = digits.splice(0, MAX_DIGITS - 1);
- exponent = integerLen - 1;
- integerLen = 1;
- }
- return {
- digits,
- exponent,
- integerLen
- };
- }
- /**
- * Round the parsed number to the specified number of decimal places
- * This function changes the parsedNumber in-place
- */
- function roundNumber(parsedNumber, minFrac, maxFrac) {
- if (minFrac > maxFrac) {
- throw new Error(`The minimum number of digits after fraction (${minFrac}) is higher than the maximum (${maxFrac}).`);
- }
- let digits = parsedNumber.digits;
- let fractionLen = digits.length - parsedNumber.integerLen;
- const fractionSize = Math.min(Math.max(minFrac, fractionLen), maxFrac); // The index of the digit to where rounding is to occur
- let roundAt = fractionSize + parsedNumber.integerLen;
- let digit = digits[roundAt];
- if (roundAt > 0) {
- // Drop fractional digits beyond `roundAt`
- digits.splice(Math.max(parsedNumber.integerLen, roundAt)); // Set non-fractional digits beyond `roundAt` to 0
- for (let j = roundAt; j < digits.length; j++) {
- digits[j] = 0;
- }
- } else {
- // We rounded to zero so reset the parsedNumber
- fractionLen = Math.max(0, fractionLen);
- parsedNumber.integerLen = 1;
- digits.length = Math.max(1, roundAt = fractionSize + 1);
- digits[0] = 0;
- for (let i = 1; i < roundAt; i++) digits[i] = 0;
- }
- if (digit >= 5) {
- if (roundAt - 1 < 0) {
- for (let k = 0; k > roundAt; k--) {
- digits.unshift(0);
- parsedNumber.integerLen++;
- }
- digits.unshift(1);
- parsedNumber.integerLen++;
- } else {
- digits[roundAt - 1]++;
- }
- } // Pad out with zeros to get the required fraction length
- for (; fractionLen < Math.max(0, fractionSize); fractionLen++) digits.push(0);
- let dropTrailingZeros = fractionSize !== 0; // Minimal length = nb of decimals required + current nb of integers
- // Any number besides that is optional and can be removed if it's a trailing 0
- const minLen = minFrac + parsedNumber.integerLen; // Do any carrying, e.g. a digit was rounded up to 10
- const carry = digits.reduceRight(function (carry, d, i, digits) {
- d = d + carry;
- digits[i] = d < 10 ? d : d - 10; // d % 10
- if (dropTrailingZeros) {
- // Do not keep meaningless fractional trailing zeros (e.g. 15.52000 --> 15.52)
- if (digits[i] === 0 && i >= minLen) {
- digits.pop();
- } else {
- dropTrailingZeros = false;
- }
- }
- return d >= 10 ? 1 : 0; // Math.floor(d / 10);
- }, 0);
- if (carry) {
- digits.unshift(carry);
- parsedNumber.integerLen++;
- }
- }
- function parseIntAutoRadix(text) {
- const result = parseInt(text);
- if (isNaN(result)) {
- throw new Error('Invalid integer literal when parsing ' + text);
- }
- return result;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- */
- class NgLocalization {}
- NgLocalization.ɵfac = function NgLocalization_Factory(t) {
- return new (t || NgLocalization)();
- };
- NgLocalization.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: NgLocalization,
- factory: function NgLocalization_Factory(t) {
- let r = null;
- if (t) {
- r = new t();
- } else {
- r = (locale => new NgLocaleLocalization(locale))(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID));
- }
- return r;
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgLocalization, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: locale => new NgLocaleLocalization(locale),
- deps: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
- }]
- }], null, null);
- })();
- /**
- * Returns the plural category for a given value.
- * - "=value" when the case exists,
- * - the plural category otherwise
- */
- function getPluralCategory(value, cases, ngLocalization, locale) {
- let key = `=${value}`;
- if (cases.indexOf(key) > -1) {
- return key;
- }
- key = ngLocalization.getPluralCategory(value, locale);
- if (cases.indexOf(key) > -1) {
- return key;
- }
- if (cases.indexOf('other') > -1) {
- return 'other';
- }
- throw new Error(`No plural message found for value "${value}"`);
- }
- /**
- * Returns the plural case based on the locale
- *
- * @publicApi
- */
- class NgLocaleLocalization extends NgLocalization {
- constructor(locale) {
- super();
- this.locale = locale;
- }
- getPluralCategory(value, locale) {
- const plural = getLocalePluralCase(locale || this.locale)(value);
- switch (plural) {
- case Plural.Zero:
- return 'zero';
- case Plural.One:
- return 'one';
- case Plural.Two:
- return 'two';
- case Plural.Few:
- return 'few';
- case Plural.Many:
- return 'many';
- default:
- return 'other';
- }
- }
- }
- NgLocaleLocalization.ɵfac = function NgLocaleLocalization_Factory(t) {
- return new (t || NgLocaleLocalization)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID));
- };
- NgLocaleLocalization.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: NgLocaleLocalization,
- factory: NgLocaleLocalization.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgLocaleLocalization, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Register global data to be used internally by Angular. See the
- * ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
- * data.
- *
- * The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1
- *
- * @publicApi
- */
- function registerLocaleData(data, localeId, extraData) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵregisterLocaleData"])(data, localeId, extraData);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function parseCookieValue(cookieStr, name) {
- name = encodeURIComponent(name);
- for (const cookie of cookieStr.split(';')) {
- const eqIndex = cookie.indexOf('=');
- const [cookieName, cookieValue] = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)];
- if (cookieName.trim() === name) {
- return decodeURIComponent(cookieValue);
- }
- }
- return null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @ngModule CommonModule
- *
- * @usageNotes
- * ```
- * <some-element [ngClass]="'first second'">...</some-element>
- *
- * <some-element [ngClass]="['first', 'second']">...</some-element>
- *
- * <some-element [ngClass]="{'first': true, 'second': true, 'third': false}">...</some-element>
- *
- * <some-element [ngClass]="stringExp|arrayExp|objExp">...</some-element>
- *
- * <some-element [ngClass]="{'class1 class2 class3' : true}">...</some-element>
- * ```
- *
- * @description
- *
- * Adds and removes CSS classes on an HTML element.
- *
- * The CSS classes are updated as follows, depending on the type of the expression evaluation:
- * - `string` - the CSS classes listed in the string (space delimited) are added,
- * - `Array` - the CSS classes declared as Array elements are added,
- * - `Object` - keys are CSS classes that get added when the expression given in the value
- * evaluates to a truthy value, otherwise they are removed.
- *
- * @publicApi
- */
- class NgClass {
- constructor(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {
- this._iterableDiffers = _iterableDiffers;
- this._keyValueDiffers = _keyValueDiffers;
- this._ngEl = _ngEl;
- this._renderer = _renderer;
- this._iterableDiffer = null;
- this._keyValueDiffer = null;
- this._initialClasses = [];
- this._rawClass = null;
- }
- set klass(value) {
- this._removeClasses(this._initialClasses);
- this._initialClasses = typeof value === 'string' ? value.split(/\s+/) : [];
- this._applyClasses(this._initialClasses);
- this._applyClasses(this._rawClass);
- }
- set ngClass(value) {
- this._removeClasses(this._rawClass);
- this._applyClasses(this._initialClasses);
- this._iterableDiffer = null;
- this._keyValueDiffer = null;
- this._rawClass = typeof value === 'string' ? value.split(/\s+/) : value;
- if (this._rawClass) {
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisListLikeIterable"])(this._rawClass)) {
- this._iterableDiffer = this._iterableDiffers.find(this._rawClass).create();
- } else {
- this._keyValueDiffer = this._keyValueDiffers.find(this._rawClass).create();
- }
- }
- }
- ngDoCheck() {
- if (this._iterableDiffer) {
- const iterableChanges = this._iterableDiffer.diff(this._rawClass);
- if (iterableChanges) {
- this._applyIterableChanges(iterableChanges);
- }
- } else if (this._keyValueDiffer) {
- const keyValueChanges = this._keyValueDiffer.diff(this._rawClass);
- if (keyValueChanges) {
- this._applyKeyValueChanges(keyValueChanges);
- }
- }
- }
- _applyKeyValueChanges(changes) {
- changes.forEachAddedItem(record => this._toggleClass(record.key, record.currentValue));
- changes.forEachChangedItem(record => this._toggleClass(record.key, record.currentValue));
- changes.forEachRemovedItem(record => {
- if (record.previousValue) {
- this._toggleClass(record.key, false);
- }
- });
- }
- _applyIterableChanges(changes) {
- changes.forEachAddedItem(record => {
- if (typeof record.item === 'string') {
- this._toggleClass(record.item, true);
- } else {
- throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵstringify"])(record.item)}`);
- }
- });
- changes.forEachRemovedItem(record => this._toggleClass(record.item, false));
- }
- /**
- * Applies a collection of CSS classes to the DOM element.
- *
- * For argument of type Set and Array CSS class names contained in those collections are always
- * added.
- * For argument of type Map CSS class name in the map's key is toggled based on the value (added
- * for truthy and removed for falsy).
- */
- _applyClasses(rawClassVal) {
- if (rawClassVal) {
- if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {
- rawClassVal.forEach(klass => this._toggleClass(klass, true));
- } else {
- Object.keys(rawClassVal).forEach(klass => this._toggleClass(klass, !!rawClassVal[klass]));
- }
- }
- }
- /**
- * Removes a collection of CSS classes from the DOM element. This is mostly useful for cleanup
- * purposes.
- */
- _removeClasses(rawClassVal) {
- if (rawClassVal) {
- if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {
- rawClassVal.forEach(klass => this._toggleClass(klass, false));
- } else {
- Object.keys(rawClassVal).forEach(klass => this._toggleClass(klass, false));
- }
- }
- }
- _toggleClass(klass, enabled) {
- klass = klass.trim();
- if (klass) {
- klass.split(/\s+/g).forEach(klass => {
- if (enabled) {
- this._renderer.addClass(this._ngEl.nativeElement, klass);
- } else {
- this._renderer.removeClass(this._ngEl.nativeElement, klass);
- }
- });
- }
- }
- }
- NgClass.ɵfac = function NgClass_Factory(t) {
- 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));
- };
- NgClass.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgClass,
- selectors: [["", "ngClass", ""]],
- inputs: {
- klass: ["class", "klass"],
- ngClass: "ngClass"
- },
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgClass, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngClass]',
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }];
- }, {
- klass: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['class']
- }],
- ngClass: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngClass']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Instantiates a {@link Component} type and inserts its Host View into the current View.
- * `NgComponentOutlet` provides a declarative approach for dynamic component creation.
- *
- * `NgComponentOutlet` requires a component type, if a falsy value is set the view will clear and
- * any existing component will be destroyed.
- *
- * @usageNotes
- *
- * ### Fine tune control
- *
- * You can control the component creation process by using the following optional attributes:
- *
- * * `ngComponentOutletInjector`: Optional custom {@link Injector} that will be used as parent for
- * the Component. Defaults to the injector of the current view container.
- *
- * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content
- * section of the component, if it exists.
- *
- * * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another
- * module dynamically, then loading a component from that module.
- *
- * * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional
- * NgModule factory to allow loading another module dynamically, then loading a component from that
- * module. Use `ngComponentOutletNgModule` instead.
- *
- * ### Syntax
- *
- * Simple
- * ```
- * <ng-container *ngComponentOutlet="componentTypeExpression"></ng-container>
- * ```
- *
- * Customized injector/content
- * ```
- * <ng-container *ngComponentOutlet="componentTypeExpression;
- * injector: injectorExpression;
- * content: contentNodesExpression;">
- * </ng-container>
- * ```
- *
- * Customized NgModule reference
- * ```
- * <ng-container *ngComponentOutlet="componentTypeExpression;
- * ngModule: ngModuleClass;">
- * </ng-container>
- * ```
- *
- * ### A simple example
- *
- * {@example common/ngComponentOutlet/ts/module.ts region='SimpleExample'}
- *
- * A more complete example with additional options:
- *
- * {@example common/ngComponentOutlet/ts/module.ts region='CompleteExample'}
- *
- * @publicApi
- * @ngModule CommonModule
- */
- class NgComponentOutlet {
- constructor(_viewContainerRef) {
- this._viewContainerRef = _viewContainerRef;
- this.ngComponentOutlet = null;
- }
- /** @nodoc */
- ngOnChanges(changes) {
- const {
- _viewContainerRef: viewContainerRef,
- ngComponentOutletNgModule: ngModule,
- ngComponentOutletNgModuleFactory: ngModuleFactory
- } = this;
- viewContainerRef.clear();
- this._componentRef = undefined;
- if (this.ngComponentOutlet) {
- const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;
- if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {
- if (this._moduleRef) this._moduleRef.destroy();
- if (ngModule) {
- this._moduleRef = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.createNgModule)(ngModule, getParentInjector(injector));
- } else if (ngModuleFactory) {
- this._moduleRef = ngModuleFactory.create(getParentInjector(injector));
- } else {
- this._moduleRef = undefined;
- }
- }
- this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {
- index: viewContainerRef.length,
- injector,
- ngModuleRef: this._moduleRef,
- projectableNodes: this.ngComponentOutletContent
- });
- }
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this._moduleRef) this._moduleRef.destroy();
- }
- }
- NgComponentOutlet.ɵfac = function NgComponentOutlet_Factory(t) {
- return new (t || NgComponentOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef));
- };
- NgComponentOutlet.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgComponentOutlet,
- selectors: [["", "ngComponentOutlet", ""]],
- inputs: {
- ngComponentOutlet: "ngComponentOutlet",
- ngComponentOutletInjector: "ngComponentOutletInjector",
- ngComponentOutletContent: "ngComponentOutletContent",
- ngComponentOutletNgModule: "ngComponentOutletNgModule",
- ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory"
- },
- standalone: true,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgComponentOutlet, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngComponentOutlet]',
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
- }];
- }, {
- ngComponentOutlet: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngComponentOutletInjector: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngComponentOutletContent: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngComponentOutletNgModule: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngComponentOutletNgModuleFactory: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })(); // Helper function that returns an Injector instance of a parent NgModule.
- function getParentInjector(injector) {
- const parentNgModule = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModuleRef);
- return parentNgModule.injector;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
- /**
- * @publicApi
- */
- class NgForOfContext {
- constructor($implicit, ngForOf, index, count) {
- this.$implicit = $implicit;
- this.ngForOf = ngForOf;
- this.index = index;
- this.count = count;
- }
- get first() {
- return this.index === 0;
- }
- get last() {
- return this.index === this.count - 1;
- }
- get even() {
- return this.index % 2 === 0;
- }
- get odd() {
- return !this.even;
- }
- }
- /**
- * A [structural directive](guide/structural-directives) that renders
- * a template for each item in a collection.
- * The directive is placed on an element, which becomes the parent
- * of the cloned templates.
- *
- * The `ngForOf` directive is generally used in the
- * [shorthand form](guide/structural-directives#asterisk) `*ngFor`.
- * In this form, the template to be rendered for each iteration is the content
- * of an anchor element containing the directive.
- *
- * The following example shows the shorthand syntax with some options,
- * contained in an `<li>` element.
- *
- * ```
- * <li *ngFor="let item of items; index as i; trackBy: trackByFn">...</li>
- * ```
- *
- * The shorthand form expands into a long form that uses the `ngForOf` selector
- * on an `<ng-template>` element.
- * The content of the `<ng-template>` element is the `<li>` element that held the
- * short-form directive.
- *
- * Here is the expanded version of the short-form example.
- *
- * ```
- * <ng-template ngFor let-item [ngForOf]="items" let-i="index" [ngForTrackBy]="trackByFn">
- * <li>...</li>
- * </ng-template>
- * ```
- *
- * Angular automatically expands the shorthand syntax as it compiles the template.
- * The context for each embedded view is logically merged to the current component
- * context according to its lexical position.
- *
- * When using the shorthand syntax, Angular allows only [one structural directive
- * on an element](guide/structural-directives#one-per-element).
- * If you want to iterate conditionally, for example,
- * put the `*ngIf` on a container element that wraps the `*ngFor` element.
- * For further discussion, see
- * [Structural Directives](guide/structural-directives#one-per-element).
- *
- * @usageNotes
- *
- * ### Local variables
- *
- * `NgForOf` provides exported values that can be aliased to local variables.
- * For example:
- *
- * ```
- * <li *ngFor="let user of users; index as i; first as isFirst">
- * {{i}}/{{users.length}}. {{user}} <span *ngIf="isFirst">default</span>
- * </li>
- * ```
- *
- * The following exported values can be aliased to local variables:
- *
- * - `$implicit: T`: The value of the individual items in the iterable (`ngForOf`).
- * - `ngForOf: NgIterable<T>`: The value of the iterable expression. Useful when the expression is
- * more complex then a property access, for example when using the async pipe (`userStreams |
- * async`).
- * - `index: number`: The index of the current item in the iterable.
- * - `count: number`: The length of the iterable.
- * - `first: boolean`: True when the item is the first item in the iterable.
- * - `last: boolean`: True when the item is the last item in the iterable.
- * - `even: boolean`: True when the item has an even index in the iterable.
- * - `odd: boolean`: True when the item has an odd index in the iterable.
- *
- * ### Change propagation
- *
- * When the contents of the iterator changes, `NgForOf` makes the corresponding changes to the DOM:
- *
- * * When an item is added, a new instance of the template is added to the DOM.
- * * When an item is removed, its template instance is removed from the DOM.
- * * When items are reordered, their respective templates are reordered in the DOM.
- *
- * Angular uses object identity to track insertions and deletions within the iterator and reproduce
- * those changes in the DOM. This has important implications for animations and any stateful
- * controls that are present, such as `<input>` elements that accept user input. Inserted rows can
- * be animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state
- * such as user input.
- * For more on animations, see [Transitions and Triggers](guide/transition-and-triggers).
- *
- * The identities of elements in the iterator can change while the data does not.
- * This can happen, for example, if the iterator is produced from an RPC to the server, and that
- * RPC is re-run. Even if the data hasn't changed, the second response produces objects with
- * different identities, and Angular must tear down the entire DOM and rebuild it (as if all old
- * elements were deleted and all new elements inserted).
- *
- * To avoid this expensive operation, you can customize the default tracking algorithm.
- * by supplying the `trackBy` option to `NgForOf`.
- * `trackBy` takes a function that has two arguments: `index` and `item`.
- * If `trackBy` is given, Angular tracks changes by the return value of the function.
- *
- * @see [Structural Directives](guide/structural-directives)
- * @ngModule CommonModule
- * @publicApi
- */
- class NgForOf {
- constructor(_viewContainer, _template, _differs) {
- this._viewContainer = _viewContainer;
- this._template = _template;
- this._differs = _differs;
- this._ngForOf = null;
- this._ngForOfDirty = true;
- this._differ = null;
- }
- /**
- * The value of the iterable expression, which can be used as a
- * [template input variable](guide/structural-directives#shorthand).
- */
- set ngForOf(ngForOf) {
- this._ngForOf = ngForOf;
- this._ngForOfDirty = true;
- }
- /**
- * Specifies a custom `TrackByFunction` to compute the identity of items in an iterable.
- *
- * If a custom `TrackByFunction` is not provided, `NgForOf` will use the item's [object
- * identity](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is)
- * as the key.
- *
- * `NgForOf` uses the computed key to associate items in an iterable with DOM elements
- * it produces for these items.
- *
- * A custom `TrackByFunction` is useful to provide good user experience in cases when items in an
- * iterable rendered using `NgForOf` have a natural identifier (for example, custom ID or a
- * primary key), and this iterable could be updated with new object instances that still
- * represent the same underlying entity (for example, when data is re-fetched from the server,
- * and the iterable is recreated and re-rendered, but most of the data is still the same).
- *
- * @see `TrackByFunction`
- */
- set ngForTrackBy(fn) {
- if (NG_DEV_MODE && fn != null && typeof fn !== 'function') {
- // TODO(vicb): use a log service once there is a public one available
- if (console && console.warn) {
- console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}. ` + `See https://angular.io/api/common/NgForOf#change-propagation for more information.`);
- }
- }
- this._trackByFn = fn;
- }
- get ngForTrackBy() {
- return this._trackByFn;
- }
- /**
- * A reference to the template that is stamped out for each item in the iterable.
- * @see [template reference variable](guide/template-reference-variables)
- */
- set ngForTemplate(value) {
- // TODO(TS2.1): make TemplateRef<Partial<NgForRowOf<T>>> once we move to TS v2.1
- // The current type is too restrictive; a template that just uses index, for example,
- // should be acceptable.
- if (value) {
- this._template = value;
- }
- }
- /**
- * Applies the changes when needed.
- * @nodoc
- */
- ngDoCheck() {
- if (this._ngForOfDirty) {
- this._ngForOfDirty = false; // React on ngForOf changes only once all inputs have been initialized
- const value = this._ngForOf;
- if (!this._differ && value) {
- if (NG_DEV_MODE) {
- try {
- // CAUTION: this logic is duplicated for production mode below, as the try-catch
- // is only present in development builds.
- this._differ = this._differs.find(value).create(this.ngForTrackBy);
- } catch (_a) {
- let errorMessage = `Cannot find a differ supporting object '${value}' of type '` + `${getTypeName(value)}'. NgFor only supports binding to Iterables, such as Arrays.`;
- if (typeof value === 'object') {
- errorMessage += ' Did you mean to use the keyvalue pipe?';
- }
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](-2200
- /* RuntimeErrorCode.NG_FOR_MISSING_DIFFER */
- , errorMessage);
- }
- } else {
- // CAUTION: this logic is duplicated for development mode above, as the try-catch
- // is only present in development builds.
- this._differ = this._differs.find(value).create(this.ngForTrackBy);
- }
- }
- }
- if (this._differ) {
- const changes = this._differ.diff(this._ngForOf);
- if (changes) this._applyChanges(changes);
- }
- }
- _applyChanges(changes) {
- const viewContainer = this._viewContainer;
- changes.forEachOperation((item, adjustedPreviousIndex, currentIndex) => {
- if (item.previousIndex == null) {
- // NgForOf is never "null" or "undefined" here because the differ detected
- // that a new item needs to be inserted from the iterable. This implies that
- // there is an iterable value for "_ngForOf".
- viewContainer.createEmbeddedView(this._template, new NgForOfContext(item.item, this._ngForOf, -1, -1), currentIndex === null ? undefined : currentIndex);
- } else if (currentIndex == null) {
- viewContainer.remove(adjustedPreviousIndex === null ? undefined : adjustedPreviousIndex);
- } else if (adjustedPreviousIndex !== null) {
- const view = viewContainer.get(adjustedPreviousIndex);
- viewContainer.move(view, currentIndex);
- applyViewChange(view, item);
- }
- });
- for (let i = 0, ilen = viewContainer.length; i < ilen; i++) {
- const viewRef = viewContainer.get(i);
- const context = viewRef.context;
- context.index = i;
- context.count = ilen;
- context.ngForOf = this._ngForOf;
- }
- changes.forEachIdentityChange(record => {
- const viewRef = viewContainer.get(record.currentIndex);
- applyViewChange(viewRef, record);
- });
- }
- /**
- * Asserts the correct type of the context for the template that `NgForOf` will render.
- *
- * The presence of this method is a signal to the Ivy template type-check compiler that the
- * `NgForOf` structural directive renders its template with a specific context type.
- */
- static ngTemplateContextGuard(dir, ctx) {
- return true;
- }
- }
- NgForOf.ɵfac = function NgForOf_Factory(t) {
- 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));
- };
- NgForOf.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgForOf,
- selectors: [["", "ngFor", "", "ngForOf", ""]],
- inputs: {
- ngForOf: "ngForOf",
- ngForTrackBy: "ngForTrackBy",
- ngForTemplate: "ngForTemplate"
- },
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgForOf, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngFor][ngForOf]',
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.IterableDiffers
- }];
- }, {
- ngForOf: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngForTrackBy: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngForTemplate: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- function applyViewChange(view, record) {
- view.context.$implicit = record.item;
- }
- function getTypeName(type) {
- return type['name'] || typeof type;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A structural directive that conditionally includes a template based on the value of
- * an expression coerced to Boolean.
- * When the expression evaluates to true, Angular renders the template
- * provided in a `then` clause, and when false or null,
- * Angular renders the template provided in an optional `else` clause. The default
- * template for the `else` clause is blank.
- *
- * A [shorthand form](guide/structural-directives#asterisk) of the directive,
- * `*ngIf="condition"`, is generally used, provided
- * as an attribute of the anchor element for the inserted template.
- * Angular expands this into a more explicit version, in which the anchor element
- * is contained in an `<ng-template>` element.
- *
- * Simple form with shorthand syntax:
- *
- * ```
- * <div *ngIf="condition">Content to render when condition is true.</div>
- * ```
- *
- * Simple form with expanded syntax:
- *
- * ```
- * <ng-template [ngIf]="condition"><div>Content to render when condition is
- * true.</div></ng-template>
- * ```
- *
- * Form with an "else" block:
- *
- * ```
- * <div *ngIf="condition; else elseBlock">Content to render when condition is true.</div>
- * <ng-template #elseBlock>Content to render when condition is false.</ng-template>
- * ```
- *
- * Shorthand form with "then" and "else" blocks:
- *
- * ```
- * <div *ngIf="condition; then thenBlock else elseBlock"></div>
- * <ng-template #thenBlock>Content to render when condition is true.</ng-template>
- * <ng-template #elseBlock>Content to render when condition is false.</ng-template>
- * ```
- *
- * Form with storing the value locally:
- *
- * ```
- * <div *ngIf="condition as value; else elseBlock">{{value}}</div>
- * <ng-template #elseBlock>Content to render when value is null.</ng-template>
- * ```
- *
- * @usageNotes
- *
- * The `*ngIf` directive is most commonly used to conditionally show an inline template,
- * as seen in the following example.
- * The default `else` template is blank.
- *
- * {@example common/ngIf/ts/module.ts region='NgIfSimple'}
- *
- * ### Showing an alternative template using `else`
- *
- * To display a template when `expression` evaluates to false, use an `else` template
- * binding as shown in the following example.
- * The `else` binding points to an `<ng-template>` element labeled `#elseBlock`.
- * The template can be defined anywhere in the component view, but is typically placed right after
- * `ngIf` for readability.
- *
- * {@example common/ngIf/ts/module.ts region='NgIfElse'}
- *
- * ### Using an external `then` template
- *
- * In the previous example, the then-clause template is specified inline, as the content of the
- * tag that contains the `ngIf` directive. You can also specify a template that is defined
- * externally, by referencing a labeled `<ng-template>` element. When you do this, you can
- * change which template to use at runtime, as shown in the following example.
- *
- * {@example common/ngIf/ts/module.ts region='NgIfThenElse'}
- *
- * ### Storing a conditional result in a variable
- *
- * You might want to show a set of properties from the same object. If you are waiting
- * for asynchronous data, the object can be undefined.
- * In this case, you can use `ngIf` and store the result of the condition in a local
- * variable as shown in the following example.
- *
- * {@example common/ngIf/ts/module.ts region='NgIfAs'}
- *
- * This code uses only one `AsyncPipe`, so only one subscription is created.
- * The conditional statement stores the result of `userStream|async` in the local variable `user`.
- * You can then bind the local `user` repeatedly.
- *
- * The conditional displays the data only if `userStream` returns a value,
- * so you don't need to use the
- * safe-navigation-operator (`?.`)
- * to guard against null values when accessing properties.
- * You can display an alternative template while waiting for the data.
- *
- * ### Shorthand syntax
- *
- * The shorthand syntax `*ngIf` expands into two separate template specifications
- * for the "then" and "else" clauses. For example, consider the following shorthand statement,
- * that is meant to show a loading page while waiting for data to be loaded.
- *
- * ```
- * <div class="hero-list" *ngIf="heroes else loading">
- * ...
- * </div>
- *
- * <ng-template #loading>
- * <div>Loading...</div>
- * </ng-template>
- * ```
- *
- * You can see that the "else" clause references the `<ng-template>`
- * with the `#loading` label, and the template for the "then" clause
- * is provided as the content of the anchor element.
- *
- * However, when Angular expands the shorthand syntax, it creates
- * another `<ng-template>` tag, with `ngIf` and `ngIfElse` directives.
- * The anchor element containing the template for the "then" clause becomes
- * the content of this unlabeled `<ng-template>` tag.
- *
- * ```
- * <ng-template [ngIf]="heroes" [ngIfElse]="loading">
- * <div class="hero-list">
- * ...
- * </div>
- * </ng-template>
- *
- * <ng-template #loading>
- * <div>Loading...</div>
- * </ng-template>
- * ```
- *
- * The presence of the implicit template object has implications for the nesting of
- * structural directives. For more on this subject, see
- * [Structural Directives](guide/structural-directives#one-per-element).
- *
- * @ngModule CommonModule
- * @publicApi
- */
- class NgIf {
- constructor(_viewContainer, templateRef) {
- this._viewContainer = _viewContainer;
- this._context = new NgIfContext();
- this._thenTemplateRef = null;
- this._elseTemplateRef = null;
- this._thenViewRef = null;
- this._elseViewRef = null;
- this._thenTemplateRef = templateRef;
- }
- /**
- * The Boolean expression to evaluate as the condition for showing a template.
- */
- set ngIf(condition) {
- this._context.$implicit = this._context.ngIf = condition;
- this._updateView();
- }
- /**
- * A template to show if the condition expression evaluates to true.
- */
- set ngIfThen(templateRef) {
- assertTemplate('ngIfThen', templateRef);
- this._thenTemplateRef = templateRef;
- this._thenViewRef = null; // clear previous view if any.
- this._updateView();
- }
- /**
- * A template to show if the condition expression evaluates to false.
- */
- set ngIfElse(templateRef) {
- assertTemplate('ngIfElse', templateRef);
- this._elseTemplateRef = templateRef;
- this._elseViewRef = null; // clear previous view if any.
- this._updateView();
- }
- _updateView() {
- if (this._context.$implicit) {
- if (!this._thenViewRef) {
- this._viewContainer.clear();
- this._elseViewRef = null;
- if (this._thenTemplateRef) {
- this._thenViewRef = this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context);
- }
- }
- } else {
- if (!this._elseViewRef) {
- this._viewContainer.clear();
- this._thenViewRef = null;
- if (this._elseTemplateRef) {
- this._elseViewRef = this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context);
- }
- }
- }
- }
- /**
- * Asserts the correct type of the context for the template that `NgIf` will render.
- *
- * The presence of this method is a signal to the Ivy template type-check compiler that the
- * `NgIf` structural directive renders its template with a specific context type.
- */
- static ngTemplateContextGuard(dir, ctx) {
- return true;
- }
- }
- NgIf.ɵfac = function NgIf_Factory(t) {
- 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));
- };
- NgIf.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgIf,
- selectors: [["", "ngIf", ""]],
- inputs: {
- ngIf: "ngIf",
- ngIfThen: "ngIfThen",
- ngIfElse: "ngIfElse"
- },
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgIf, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngIf]',
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
- }];
- }, {
- ngIf: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngIfThen: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngIfElse: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @publicApi
- */
- class NgIfContext {
- constructor() {
- this.$implicit = null;
- this.ngIf = null;
- }
- }
- function assertTemplate(property, templateRef) {
- const isTemplateRefOrNull = !!(!templateRef || templateRef.createEmbeddedView);
- if (!isTemplateRefOrNull) {
- throw new Error(`${property} must be a TemplateRef, but received '${(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵstringify"])(templateRef)}'.`);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class SwitchView {
- constructor(_viewContainerRef, _templateRef) {
- this._viewContainerRef = _viewContainerRef;
- this._templateRef = _templateRef;
- this._created = false;
- }
- create() {
- this._created = true;
- this._viewContainerRef.createEmbeddedView(this._templateRef);
- }
- destroy() {
- this._created = false;
- this._viewContainerRef.clear();
- }
- enforceState(created) {
- if (created && !this._created) {
- this.create();
- } else if (!created && this._created) {
- this.destroy();
- }
- }
- }
- /**
- * @ngModule CommonModule
- *
- * @description
- * The `[ngSwitch]` directive on a container specifies an expression to match against.
- * The expressions to match are provided by `ngSwitchCase` directives on views within the container.
- * - Every view that matches is rendered.
- * - If there are no matches, a view with the `ngSwitchDefault` directive is rendered.
- * - Elements within the `[NgSwitch]` statement but outside of any `NgSwitchCase`
- * or `ngSwitchDefault` directive are preserved at the location.
- *
- * @usageNotes
- * Define a container element for the directive, and specify the switch expression
- * to match against as an attribute:
- *
- * ```
- * <container-element [ngSwitch]="switch_expression">
- * ```
- *
- * Within the container, `*ngSwitchCase` statements specify the match expressions
- * as attributes. Include `*ngSwitchDefault` as the final case.
- *
- * ```
- * <container-element [ngSwitch]="switch_expression">
- * <some-element *ngSwitchCase="match_expression_1">...</some-element>
- * ...
- * <some-element *ngSwitchDefault>...</some-element>
- * </container-element>
- * ```
- *
- * ### Usage Examples
- *
- * The following example shows how to use more than one case to display the same view:
- *
- * ```
- * <container-element [ngSwitch]="switch_expression">
- * <!-- the same view can be shown in more than one case -->
- * <some-element *ngSwitchCase="match_expression_1">...</some-element>
- * <some-element *ngSwitchCase="match_expression_2">...</some-element>
- * <some-other-element *ngSwitchCase="match_expression_3">...</some-other-element>
- * <!--default case when there are no matches -->
- * <some-element *ngSwitchDefault>...</some-element>
- * </container-element>
- * ```
- *
- * The following example shows how cases can be nested:
- * ```
- * <container-element [ngSwitch]="switch_expression">
- * <some-element *ngSwitchCase="match_expression_1">...</some-element>
- * <some-element *ngSwitchCase="match_expression_2">...</some-element>
- * <some-other-element *ngSwitchCase="match_expression_3">...</some-other-element>
- * <ng-container *ngSwitchCase="match_expression_3">
- * <!-- use a ng-container to group multiple root nodes -->
- * <inner-element></inner-element>
- * <inner-other-element></inner-other-element>
- * </ng-container>
- * <some-element *ngSwitchDefault>...</some-element>
- * </container-element>
- * ```
- *
- * @publicApi
- * @see `NgSwitchCase`
- * @see `NgSwitchDefault`
- * @see [Structural Directives](guide/structural-directives)
- *
- */
- class NgSwitch {
- constructor() {
- this._defaultUsed = false;
- this._caseCount = 0;
- this._lastCaseCheckIndex = 0;
- this._lastCasesMatched = false;
- }
- set ngSwitch(newValue) {
- this._ngSwitch = newValue;
- if (this._caseCount === 0) {
- this._updateDefaultCases(true);
- }
- }
- /** @internal */
- _addCase() {
- return this._caseCount++;
- }
- /** @internal */
- _addDefault(view) {
- if (!this._defaultViews) {
- this._defaultViews = [];
- }
- this._defaultViews.push(view);
- }
- /** @internal */
- _matchCase(value) {
- const matched = value == this._ngSwitch;
- this._lastCasesMatched = this._lastCasesMatched || matched;
- this._lastCaseCheckIndex++;
- if (this._lastCaseCheckIndex === this._caseCount) {
- this._updateDefaultCases(!this._lastCasesMatched);
- this._lastCaseCheckIndex = 0;
- this._lastCasesMatched = false;
- }
- return matched;
- }
- _updateDefaultCases(useDefault) {
- if (this._defaultViews && useDefault !== this._defaultUsed) {
- this._defaultUsed = useDefault;
- for (let i = 0; i < this._defaultViews.length; i++) {
- const defaultView = this._defaultViews[i];
- defaultView.enforceState(useDefault);
- }
- }
- }
- }
- NgSwitch.ɵfac = function NgSwitch_Factory(t) {
- return new (t || NgSwitch)();
- };
- NgSwitch.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgSwitch,
- selectors: [["", "ngSwitch", ""]],
- inputs: {
- ngSwitch: "ngSwitch"
- },
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitch, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngSwitch]',
- standalone: true
- }]
- }], null, {
- ngSwitch: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @ngModule CommonModule
- *
- * @description
- * Provides a switch case expression to match against an enclosing `ngSwitch` expression.
- * When the expressions match, the given `NgSwitchCase` template is rendered.
- * If multiple match expressions match the switch expression value, all of them are displayed.
- *
- * @usageNotes
- *
- * Within a switch container, `*ngSwitchCase` statements specify the match expressions
- * as attributes. Include `*ngSwitchDefault` as the final case.
- *
- * ```
- * <container-element [ngSwitch]="switch_expression">
- * <some-element *ngSwitchCase="match_expression_1">...</some-element>
- * ...
- * <some-element *ngSwitchDefault>...</some-element>
- * </container-element>
- * ```
- *
- * Each switch-case statement contains an in-line HTML template or template reference
- * that defines the subtree to be selected if the value of the match expression
- * matches the value of the switch expression.
- *
- * Unlike JavaScript, which uses strict equality, Angular uses loose equality.
- * This means that the empty string, `""` matches 0.
- *
- * @publicApi
- * @see `NgSwitch`
- * @see `NgSwitchDefault`
- *
- */
- class NgSwitchCase {
- constructor(viewContainer, templateRef, ngSwitch) {
- this.ngSwitch = ngSwitch;
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {
- throwNgSwitchProviderNotFoundError('ngSwitchCase', 'NgSwitchCase');
- }
- ngSwitch._addCase();
- this._view = new SwitchView(viewContainer, templateRef);
- }
- /**
- * Performs case matching. For internal use only.
- * @nodoc
- */
- ngDoCheck() {
- this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
- }
- }
- NgSwitchCase.ɵfac = function NgSwitchCase_Factory(t) {
- 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));
- };
- NgSwitchCase.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgSwitchCase,
- selectors: [["", "ngSwitchCase", ""]],
- inputs: {
- ngSwitchCase: "ngSwitchCase"
- },
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitchCase, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngSwitchCase]',
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
- }, {
- type: NgSwitch,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }]
- }];
- }, {
- ngSwitchCase: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @ngModule CommonModule
- *
- * @description
- *
- * Creates a view that is rendered when no `NgSwitchCase` expressions
- * match the `NgSwitch` expression.
- * This statement should be the final case in an `NgSwitch`.
- *
- * @publicApi
- * @see `NgSwitch`
- * @see `NgSwitchCase`
- *
- */
- class NgSwitchDefault {
- constructor(viewContainer, templateRef, ngSwitch) {
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && !ngSwitch) {
- throwNgSwitchProviderNotFoundError('ngSwitchDefault', 'NgSwitchDefault');
- }
- ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
- }
- }
- NgSwitchDefault.ɵfac = function NgSwitchDefault_Factory(t) {
- 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));
- };
- NgSwitchDefault.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgSwitchDefault,
- selectors: [["", "ngSwitchDefault", ""]],
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSwitchDefault, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngSwitchDefault]',
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
- }, {
- type: NgSwitch,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }]
- }];
- }, null);
- })();
- function throwNgSwitchProviderNotFoundError(attrName, directiveName) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2000
- /* RuntimeErrorCode.PARENT_NG_SWITCH_NOT_FOUND */
- , `An element with the "${attrName}" attribute ` + `(matching the "${directiveName}" directive) must be located inside an element with the "ngSwitch" attribute ` + `(matching "NgSwitch" directive)`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @ngModule CommonModule
- *
- * @usageNotes
- * ```
- * <some-element [ngPlural]="value">
- * <ng-template ngPluralCase="=0">there is nothing</ng-template>
- * <ng-template ngPluralCase="=1">there is one</ng-template>
- * <ng-template ngPluralCase="few">there are a few</ng-template>
- * </some-element>
- * ```
- *
- * @description
- *
- * Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.
- *
- * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees
- * that match the switch expression's pluralization category.
- *
- * To use this directive you must provide a container element that sets the `[ngPlural]` attribute
- * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their
- * expression:
- * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value
- * matches the switch expression exactly,
- * - otherwise, the view will be treated as a "category match", and will only display if exact
- * value matches aren't found and the value maps to its category for the defined locale.
- *
- * See http://cldr.unicode.org/index/cldr-spec/plural-rules
- *
- * @publicApi
- */
- class NgPlural {
- constructor(_localization) {
- this._localization = _localization;
- this._caseViews = {};
- }
- set ngPlural(value) {
- this._switchValue = value;
- this._updateView();
- }
- addCase(value, switchView) {
- this._caseViews[value] = switchView;
- }
- _updateView() {
- this._clearViews();
- const cases = Object.keys(this._caseViews);
- const key = getPluralCategory(this._switchValue, cases, this._localization);
- this._activateView(this._caseViews[key]);
- }
- _clearViews() {
- if (this._activeView) this._activeView.destroy();
- }
- _activateView(view) {
- if (view) {
- this._activeView = view;
- this._activeView.create();
- }
- }
- }
- NgPlural.ɵfac = function NgPlural_Factory(t) {
- return new (t || NgPlural)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgLocalization));
- };
- NgPlural.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgPlural,
- selectors: [["", "ngPlural", ""]],
- inputs: {
- ngPlural: "ngPlural"
- },
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgPlural, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngPlural]',
- standalone: true
- }]
- }], function () {
- return [{
- type: NgLocalization
- }];
- }, {
- ngPlural: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @ngModule CommonModule
- *
- * @description
- *
- * Creates a view that will be added/removed from the parent {@link NgPlural} when the
- * given expression matches the plural expression according to CLDR rules.
- *
- * @usageNotes
- * ```
- * <some-element [ngPlural]="value">
- * <ng-template ngPluralCase="=0">...</ng-template>
- * <ng-template ngPluralCase="other">...</ng-template>
- * </some-element>
- *```
- *
- * See {@link NgPlural} for more details and example.
- *
- * @publicApi
- */
- class NgPluralCase {
- constructor(value, template, viewContainer, ngPlural) {
- this.value = value;
- const isANumber = !isNaN(Number(value));
- ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
- }
- }
- NgPluralCase.ɵfac = function NgPluralCase_Factory(t) {
- 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));
- };
- NgPluralCase.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgPluralCase,
- selectors: [["", "ngPluralCase", ""]],
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgPluralCase, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngPluralCase]',
- standalone: true
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Attribute,
- args: ['ngPluralCase']
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.TemplateRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
- }, {
- type: NgPlural,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @ngModule CommonModule
- *
- * @usageNotes
- *
- * Set the font of the containing element to the result of an expression.
- *
- * ```
- * <some-element [ngStyle]="{'font-style': styleExp}">...</some-element>
- * ```
- *
- * Set the width of the containing element to a pixel value returned by an expression.
- *
- * ```
- * <some-element [ngStyle]="{'max-width.px': widthExp}">...</some-element>
- * ```
- *
- * Set a collection of style values using an expression that returns key-value pairs.
- *
- * ```
- * <some-element [ngStyle]="objExp">...</some-element>
- * ```
- *
- * @description
- *
- * An attribute directive that updates styles for the containing HTML element.
- * Sets one or more style properties, specified as colon-separated key-value pairs.
- * The key is a style name, with an optional `.<unit>` suffix
- * (such as 'top.px', 'font-style.em').
- * The value is an expression to be evaluated.
- * The resulting non-null value, expressed in the given unit,
- * is assigned to the given style property.
- * If the result of evaluation is null, the corresponding style is removed.
- *
- * @publicApi
- */
- class NgStyle {
- constructor(_ngEl, _differs, _renderer) {
- this._ngEl = _ngEl;
- this._differs = _differs;
- this._renderer = _renderer;
- this._ngStyle = null;
- this._differ = null;
- }
- set ngStyle(values) {
- this._ngStyle = values;
- if (!this._differ && values) {
- this._differ = this._differs.find(values).create();
- }
- }
- ngDoCheck() {
- if (this._differ) {
- const changes = this._differ.diff(this._ngStyle);
- if (changes) {
- this._applyChanges(changes);
- }
- }
- }
- _setStyle(nameAndUnit, value) {
- const [name, unit] = nameAndUnit.split('.');
- const flags = name.indexOf('-') === -1 ? undefined : _angular_core__WEBPACK_IMPORTED_MODULE_0__.RendererStyleFlags2.DashCase;
- if (value != null) {
- this._renderer.setStyle(this._ngEl.nativeElement, name, unit ? `${value}${unit}` : value, flags);
- } else {
- this._renderer.removeStyle(this._ngEl.nativeElement, name, flags);
- }
- }
- _applyChanges(changes) {
- changes.forEachRemovedItem(record => this._setStyle(record.key, null));
- changes.forEachAddedItem(record => this._setStyle(record.key, record.currentValue));
- changes.forEachChangedItem(record => this._setStyle(record.key, record.currentValue));
- }
- }
- NgStyle.ɵfac = function NgStyle_Factory(t) {
- 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));
- };
- NgStyle.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgStyle,
- selectors: [["", "ngStyle", ""]],
- inputs: {
- ngStyle: "ngStyle"
- },
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgStyle, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngStyle]',
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }];
- }, {
- ngStyle: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngStyle']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @ngModule CommonModule
- *
- * @description
- *
- * Inserts an embedded view from a prepared `TemplateRef`.
- *
- * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`.
- * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding
- * by the local template `let` declarations.
- *
- * @usageNotes
- * ```
- * <ng-container *ngTemplateOutlet="templateRefExp; context: contextExp"></ng-container>
- * ```
- *
- * Using the key `$implicit` in the context object will set its value as default.
- *
- * ### Example
- *
- * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'}
- *
- * @publicApi
- */
- class NgTemplateOutlet {
- constructor(_viewContainerRef) {
- this._viewContainerRef = _viewContainerRef;
- this._viewRef = null;
- /**
- * A context object to attach to the {@link EmbeddedViewRef}. This should be an
- * object, the object's keys will be available for binding by the local template `let`
- * declarations.
- * Using the key `$implicit` in the context object will set its value as default.
- */
- this.ngTemplateOutletContext = null;
- /**
- * A string defining the template reference and optionally the context object for the template.
- */
- this.ngTemplateOutlet = null;
- /** Injector to be used within the embedded view. */
- this.ngTemplateOutletInjector = null;
- }
- /** @nodoc */
- ngOnChanges(changes) {
- if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {
- const viewContainerRef = this._viewContainerRef;
- if (this._viewRef) {
- viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));
- }
- if (this.ngTemplateOutlet) {
- const {
- ngTemplateOutlet: template,
- ngTemplateOutletContext: context,
- ngTemplateOutletInjector: injector
- } = this;
- this._viewRef = viewContainerRef.createEmbeddedView(template, context, injector ? {
- injector
- } : undefined);
- } else {
- this._viewRef = null;
- }
- } else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {
- this._viewRef.context = this.ngTemplateOutletContext;
- }
- }
- }
- NgTemplateOutlet.ɵfac = function NgTemplateOutlet_Factory(t) {
- return new (t || NgTemplateOutlet)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef));
- };
- NgTemplateOutlet.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgTemplateOutlet,
- selectors: [["", "ngTemplateOutlet", ""]],
- inputs: {
- ngTemplateOutletContext: "ngTemplateOutletContext",
- ngTemplateOutlet: "ngTemplateOutlet",
- ngTemplateOutletInjector: "ngTemplateOutletInjector"
- },
- standalone: true,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgTemplateOutlet, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngTemplateOutlet]',
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
- }];
- }, {
- ngTemplateOutletContext: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngTemplateOutlet: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngTemplateOutletInjector: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A collection of Angular directives that are likely to be used in each and every Angular
- * application.
- */
- const COMMON_DIRECTIVES = [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase];
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function invalidPipeArgumentError(type, value) {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2100
- /* RuntimeErrorCode.INVALID_PIPE_ARGUMENT */
- , ngDevMode && `InvalidPipeArgument: '${value}' for pipe '${(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵstringify"])(type)}'`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class SubscribableStrategy {
- createSubscription(async, updateLatestValue) {
- return async.subscribe({
- next: updateLatestValue,
- error: e => {
- throw e;
- }
- });
- }
- dispose(subscription) {
- subscription.unsubscribe();
- }
- }
- class PromiseStrategy {
- createSubscription(async, updateLatestValue) {
- return async.then(updateLatestValue, e => {
- throw e;
- });
- }
- dispose(subscription) {}
- }
- const _promiseStrategy = new PromiseStrategy();
- const _subscribableStrategy = new SubscribableStrategy();
- /**
- * @ngModule CommonModule
- * @description
- *
- * Unwraps a value from an asynchronous primitive.
- *
- * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has
- * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for
- * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid
- * potential memory leaks. When the reference of the expression changes, the `async` pipe
- * automatically unsubscribes from the old `Observable` or `Promise` and subscribes to the new one.
- *
- * @usageNotes
- *
- * ### Examples
- *
- * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the
- * promise.
- *
- * {@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}
- *
- * It's also possible to use `async` with Observables. The example below binds the `time` Observable
- * to the view. The Observable continuously updates the view with the current time.
- *
- * {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}
- *
- * @publicApi
- */
- class AsyncPipe {
- constructor(ref) {
- this._latestValue = null;
- this._subscription = null;
- this._obj = null;
- this._strategy = null; // Assign `ref` into `this._ref` manually instead of declaring `_ref` in the constructor
- // parameter list, as the type of `this._ref` includes `null` unlike the type of `ref`.
- this._ref = ref;
- }
- ngOnDestroy() {
- if (this._subscription) {
- this._dispose();
- } // Clear the `ChangeDetectorRef` and its association with the view data, to mitigate
- // potential memory leaks in Observables that could otherwise cause the view data to
- // be retained.
- // https://github.com/angular/angular/issues/17624
- this._ref = null;
- }
- transform(obj) {
- if (!this._obj) {
- if (obj) {
- this._subscribe(obj);
- }
- return this._latestValue;
- }
- if (obj !== this._obj) {
- this._dispose();
- return this.transform(obj);
- }
- return this._latestValue;
- }
- _subscribe(obj) {
- this._obj = obj;
- this._strategy = this._selectStrategy(obj);
- this._subscription = this._strategy.createSubscription(obj, value => this._updateLatestValue(obj, value));
- }
- _selectStrategy(obj) {
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisPromise"])(obj)) {
- return _promiseStrategy;
- }
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisSubscribable"])(obj)) {
- return _subscribableStrategy;
- }
- throw invalidPipeArgumentError(AsyncPipe, obj);
- }
- _dispose() {
- // Note: `dispose` is only called if a subscription has been initialized before, indicating
- // that `this._strategy` is also available.
- this._strategy.dispose(this._subscription);
- this._latestValue = null;
- this._subscription = null;
- this._obj = null;
- }
- _updateLatestValue(async, value) {
- if (async === this._obj) {
- this._latestValue = value; // Note: `this._ref` is only cleared in `ngOnDestroy` so is known to be available when a
- // value is being updated.
- this._ref.markForCheck();
- }
- }
- }
- AsyncPipe.ɵfac = function AsyncPipe_Factory(t) {
- return new (t || AsyncPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef, 16));
- };
- AsyncPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "async",
- type: AsyncPipe,
- pure: false,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AsyncPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'async',
- pure: false,
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Transforms text to all lower case.
- *
- * @see `UpperCasePipe`
- * @see `TitleCasePipe`
- * @usageNotes
- *
- * The following example defines a view that allows the user to enter
- * text, and then uses the pipe to convert the input text to all lower case.
- *
- * <code-example path="common/pipes/ts/lowerupper_pipe.ts" region='LowerUpperPipe'></code-example>
- *
- * @ngModule CommonModule
- * @publicApi
- */
- class LowerCasePipe {
- transform(value) {
- if (value == null) return null;
- if (typeof value !== 'string') {
- throw invalidPipeArgumentError(LowerCasePipe, value);
- }
- return value.toLowerCase();
- }
- }
- LowerCasePipe.ɵfac = function LowerCasePipe_Factory(t) {
- return new (t || LowerCasePipe)();
- };
- LowerCasePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "lowercase",
- type: LowerCasePipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LowerCasePipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'lowercase',
- standalone: true
- }]
- }], null, null);
- })(); //
- // Regex below matches any Unicode word and number compatible with ES5. In ES2018 the same result
- // can be achieved by using /[0-9\p{L}]\S*/gu and also known as Unicode Property Escapes
- // (https://2ality.com/2017/07/regexp-unicode-property-escapes.html). Since there is no
- // transpilation of this functionality down to ES5 without external tool, the only solution is
- // to use already transpiled form. Example can be found here -
- // https://mothereff.in/regexpu#input=var+regex+%3D+%2F%5B0-9%5Cp%7BL%7D%5D%5CS*%2Fgu%3B%0A%0A&unicodePropertyEscape=1
- //
- 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;
- /**
- * Transforms text to title case.
- * Capitalizes the first letter of each word and transforms the
- * rest of the word to lower case.
- * Words are delimited by any whitespace character, such as a space, tab, or line-feed character.
- *
- * @see `LowerCasePipe`
- * @see `UpperCasePipe`
- *
- * @usageNotes
- * The following example shows the result of transforming various strings into title case.
- *
- * <code-example path="common/pipes/ts/titlecase_pipe.ts" region='TitleCasePipe'></code-example>
- *
- * @ngModule CommonModule
- * @publicApi
- */
- class TitleCasePipe {
- transform(value) {
- if (value == null) return null;
- if (typeof value !== 'string') {
- throw invalidPipeArgumentError(TitleCasePipe, value);
- }
- return value.replace(unicodeWordMatch, txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase());
- }
- }
- TitleCasePipe.ɵfac = function TitleCasePipe_Factory(t) {
- return new (t || TitleCasePipe)();
- };
- TitleCasePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "titlecase",
- type: TitleCasePipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TitleCasePipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'titlecase',
- standalone: true
- }]
- }], null, null);
- })();
- /**
- * Transforms text to all upper case.
- * @see `LowerCasePipe`
- * @see `TitleCasePipe`
- *
- * @ngModule CommonModule
- * @publicApi
- */
- class UpperCasePipe {
- transform(value) {
- if (value == null) return null;
- if (typeof value !== 'string') {
- throw invalidPipeArgumentError(UpperCasePipe, value);
- }
- return value.toUpperCase();
- }
- }
- UpperCasePipe.ɵfac = function UpperCasePipe_Factory(t) {
- return new (t || UpperCasePipe)();
- };
- UpperCasePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "uppercase",
- type: UpperCasePipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UpperCasePipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'uppercase',
- standalone: true
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Optionally-provided default timezone to use for all instances of `DatePipe` (such as `'+0430'`).
- * If the value isn't provided, the `DatePipe` will use the end-user's local system timezone.
- */
- const DATE_PIPE_DEFAULT_TIMEZONE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('DATE_PIPE_DEFAULT_TIMEZONE'); // clang-format off
- /**
- * @ngModule CommonModule
- * @description
- *
- * Formats a date value according to locale rules.
- *
- * `DatePipe` is executed only when it detects a pure change to the input value.
- * A pure change is either a change to a primitive input value
- * (such as `String`, `Number`, `Boolean`, or `Symbol`),
- * or a changed object reference (such as `Date`, `Array`, `Function`, or `Object`).
- *
- * Note that mutating a `Date` object does not cause the pipe to be rendered again.
- * To ensure that the pipe is executed, you must create a new `Date` object.
- *
- * Only the `en-US` locale data comes with Angular. To localize dates
- * in another language, you must import the corresponding locale data.
- * See the [I18n guide](guide/i18n-common-format-data-locale) for more information.
- *
- * The time zone of the formatted value can be specified either by passing it in as the second
- * parameter of the pipe, or by setting the default through the `DATE_PIPE_DEFAULT_TIMEZONE`
- * injection token. The value that is passed in as the second parameter takes precedence over
- * the one defined using the injection token.
- *
- * @see `formatDate()`
- *
- *
- * @usageNotes
- *
- * The result of this pipe is not reevaluated when the input is mutated. To avoid the need to
- * reformat the date on every change-detection cycle, treat the date as an immutable object
- * and change the reference when the pipe needs to run again.
- *
- * ### Pre-defined format options
- *
- * | Option | Equivalent to | Examples (given in `en-US` locale) |
- * |---------------|-------------------------------------|-------------------------------------------------|
- * | `'short'` | `'M/d/yy, h:mm a'` | `6/15/15, 9:03 AM` |
- * | `'medium'` | `'MMM d, y, h:mm:ss a'` | `Jun 15, 2015, 9:03:01 AM` |
- * | `'long'` | `'MMMM d, y, h:mm:ss a z'` | `June 15, 2015 at 9:03:01 AM GMT+1` |
- * | `'full'` | `'EEEE, MMMM d, y, h:mm:ss a zzzz'` | `Monday, June 15, 2015 at 9:03:01 AM GMT+01:00` |
- * | `'shortDate'` | `'M/d/yy'` | `6/15/15` |
- * | `'mediumDate'`| `'MMM d, y'` | `Jun 15, 2015` |
- * | `'longDate'` | `'MMMM d, y'` | `June 15, 2015` |
- * | `'fullDate'` | `'EEEE, MMMM d, y'` | `Monday, June 15, 2015` |
- * | `'shortTime'` | `'h:mm a'` | `9:03 AM` |
- * | `'mediumTime'`| `'h:mm:ss a'` | `9:03:01 AM` |
- * | `'longTime'` | `'h:mm:ss a z'` | `9:03:01 AM GMT+1` |
- * | `'fullTime'` | `'h:mm:ss a zzzz'` | `9:03:01 AM GMT+01:00` |
- *
- * ### Custom format options
- *
- * You can construct a format string using symbols to specify the components
- * of a date-time value, as described in the following table.
- * Format details depend on the locale.
- * Fields marked with (*) are only available in the extra data set for the given locale.
- *
- * | Field type | Format | Description | Example Value |
- * |-------------------- |-------------|---------------------------------------------------------------|------------------------------------------------------------|
- * | Era | G, GG & GGG | Abbreviated | AD |
- * | | GGGG | Wide | Anno Domini |
- * | | GGGGG | Narrow | A |
- * | Year | y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |
- * | | yy | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |
- * | | yyy | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |
- * | | yyyy | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |
- * | Week-numbering year | Y | Numeric: minimum digits | 2, 20, 201, 2017, 20173 |
- * | | YY | Numeric: 2 digits + zero padded | 02, 20, 01, 17, 73 |
- * | | YYY | Numeric: 3 digits + zero padded | 002, 020, 201, 2017, 20173 |
- * | | YYYY | Numeric: 4 digits or more + zero padded | 0002, 0020, 0201, 2017, 20173 |
- * | Month | M | Numeric: 1 digit | 9, 12 |
- * | | MM | Numeric: 2 digits + zero padded | 09, 12 |
- * | | MMM | Abbreviated | Sep |
- * | | MMMM | Wide | September |
- * | | MMMMM | Narrow | S |
- * | Month standalone | L | Numeric: 1 digit | 9, 12 |
- * | | LL | Numeric: 2 digits + zero padded | 09, 12 |
- * | | LLL | Abbreviated | Sep |
- * | | LLLL | Wide | September |
- * | | LLLLL | Narrow | S |
- * | Week of year | w | Numeric: minimum digits | 1... 53 |
- * | | ww | Numeric: 2 digits + zero padded | 01... 53 |
- * | Week of month | W | Numeric: 1 digit | 1... 5 |
- * | Day of month | d | Numeric: minimum digits | 1 |
- * | | dd | Numeric: 2 digits + zero padded | 01 |
- * | Week day | E, EE & EEE | Abbreviated | Tue |
- * | | EEEE | Wide | Tuesday |
- * | | EEEEE | Narrow | T |
- * | | EEEEEE | Short | Tu |
- * | Week day standalone | c, cc | Numeric: 1 digit | 2 |
- * | | ccc | Abbreviated | Tue |
- * | | cccc | Wide | Tuesday |
- * | | ccccc | Narrow | T |
- * | | cccccc | Short | Tu |
- * | Period | a, aa & aaa | Abbreviated | am/pm or AM/PM |
- * | | aaaa | Wide (fallback to `a` when missing) | ante meridiem/post meridiem |
- * | | aaaaa | Narrow | a/p |
- * | Period* | B, BB & BBB | Abbreviated | mid. |
- * | | BBBB | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |
- * | | BBBBB | Narrow | md |
- * | Period standalone* | b, bb & bbb | Abbreviated | mid. |
- * | | bbbb | Wide | am, pm, midnight, noon, morning, afternoon, evening, night |
- * | | bbbbb | Narrow | md |
- * | Hour 1-12 | h | Numeric: minimum digits | 1, 12 |
- * | | hh | Numeric: 2 digits + zero padded | 01, 12 |
- * | Hour 0-23 | H | Numeric: minimum digits | 0, 23 |
- * | | HH | Numeric: 2 digits + zero padded | 00, 23 |
- * | Minute | m | Numeric: minimum digits | 8, 59 |
- * | | mm | Numeric: 2 digits + zero padded | 08, 59 |
- * | Second | s | Numeric: minimum digits | 0... 59 |
- * | | ss | Numeric: 2 digits + zero padded | 00... 59 |
- * | Fractional seconds | S | Numeric: 1 digit | 0... 9 |
- * | | SS | Numeric: 2 digits + zero padded | 00... 99 |
- * | | SSS | Numeric: 3 digits + zero padded (= milliseconds) | 000... 999 |
- * | Zone | z, zz & zzz | Short specific non location format (fallback to O) | GMT-8 |
- * | | zzzz | Long specific non location format (fallback to OOOO) | GMT-08:00 |
- * | | Z, ZZ & ZZZ | ISO8601 basic format | -0800 |
- * | | ZZZZ | Long localized GMT format | GMT-8:00 |
- * | | ZZZZZ | ISO8601 extended format + Z indicator for offset 0 (= XXXXX) | -08:00 |
- * | | O, OO & OOO | Short localized GMT format | GMT-8 |
- * | | OOOO | Long localized GMT format | GMT-08:00 |
- *
- *
- * ### Format examples
- *
- * These examples transform a date into various formats,
- * assuming that `dateObj` is a JavaScript `Date` object for
- * year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11,
- * given in the local time for the `en-US` locale.
- *
- * ```
- * {{ dateObj | date }} // output is 'Jun 15, 2015'
- * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'
- * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'
- * {{ dateObj | date:'mm:ss' }} // output is '43:11'
- * ```
- *
- * ### Usage example
- *
- * The following component uses a date pipe to display the current date in different formats.
- *
- * ```
- * @Component({
- * selector: 'date-pipe',
- * template: `<div>
- * <p>Today is {{today | date}}</p>
- * <p>Or if you prefer, {{today | date:'fullDate'}}</p>
- * <p>The time is {{today | date:'h:mm a z'}}</p>
- * </div>`
- * })
- * // Get the current date and time as a date-time value.
- * export class DatePipeComponent {
- * today: number = Date.now();
- * }
- * ```
- *
- * @publicApi
- */
- // clang-format on
- class DatePipe {
- constructor(locale, defaultTimezone) {
- this.locale = locale;
- this.defaultTimezone = defaultTimezone;
- }
- transform(value, format = 'mediumDate', timezone, locale) {
- var _a;
- if (value == null || value === '' || value !== value) return null;
- try {
- return formatDate(value, format, locale || this.locale, (_a = timezone !== null && timezone !== void 0 ? timezone : this.defaultTimezone) !== null && _a !== void 0 ? _a : undefined);
- } catch (error) {
- throw invalidPipeArgumentError(DatePipe, error.message);
- }
- }
- }
- DatePipe.ɵfac = function DatePipe_Factory(t) {
- 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));
- };
- DatePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "date",
- type: DatePipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DatePipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'date',
- pure: true,
- standalone: true
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [DATE_PIPE_DEFAULT_TIMEZONE]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _INTERPOLATION_REGEXP = /#/g;
- /**
- * @ngModule CommonModule
- * @description
- *
- * Maps a value to a string that pluralizes the value according to locale rules.
- *
- * @usageNotes
- *
- * ### Example
- *
- * {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}
- *
- * @publicApi
- */
- class I18nPluralPipe {
- constructor(_localization) {
- this._localization = _localization;
- }
- /**
- * @param value the number to be formatted
- * @param pluralMap an object that mimics the ICU format, see
- * https://unicode-org.github.io/icu/userguide/format_parse/messages/.
- * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by
- * default).
- */
- transform(value, pluralMap, locale) {
- if (value == null) return '';
- if (typeof pluralMap !== 'object' || pluralMap === null) {
- throw invalidPipeArgumentError(I18nPluralPipe, pluralMap);
- }
- const key = getPluralCategory(value, Object.keys(pluralMap), this._localization, locale);
- return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
- }
- }
- I18nPluralPipe.ɵfac = function I18nPluralPipe_Factory(t) {
- return new (t || I18nPluralPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgLocalization, 16));
- };
- I18nPluralPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "i18nPlural",
- type: I18nPluralPipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](I18nPluralPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'i18nPlural',
- pure: true,
- standalone: true
- }]
- }], function () {
- return [{
- type: NgLocalization
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @ngModule CommonModule
- * @description
- *
- * Generic selector that displays the string that matches the current value.
- *
- * If none of the keys of the `mapping` match the `value`, then the content
- * of the `other` key is returned when present, otherwise an empty string is returned.
- *
- * @usageNotes
- *
- * ### Example
- *
- * {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}
- *
- * @publicApi
- */
- class I18nSelectPipe {
- /**
- * @param value a string to be internationalized.
- * @param mapping an object that indicates the text that should be displayed
- * for different values of the provided `value`.
- */
- transform(value, mapping) {
- if (value == null) return '';
- if (typeof mapping !== 'object' || typeof value !== 'string') {
- throw invalidPipeArgumentError(I18nSelectPipe, mapping);
- }
- if (mapping.hasOwnProperty(value)) {
- return mapping[value];
- }
- if (mapping.hasOwnProperty('other')) {
- return mapping['other'];
- }
- return '';
- }
- }
- I18nSelectPipe.ɵfac = function I18nSelectPipe_Factory(t) {
- return new (t || I18nSelectPipe)();
- };
- I18nSelectPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "i18nSelect",
- type: I18nSelectPipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](I18nSelectPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'i18nSelect',
- pure: true,
- standalone: true
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @ngModule CommonModule
- * @description
- *
- * Converts a value into its JSON-format representation. Useful for debugging.
- *
- * @usageNotes
- *
- * The following component uses a JSON pipe to convert an object
- * to JSON format, and displays the string in both formats for comparison.
- *
- * {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}
- *
- * @publicApi
- */
- class JsonPipe {
- /**
- * @param value A value of any type to convert into a JSON-format string.
- */
- transform(value) {
- return JSON.stringify(value, null, 2);
- }
- }
- JsonPipe.ɵfac = function JsonPipe_Factory(t) {
- return new (t || JsonPipe)();
- };
- JsonPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "json",
- type: JsonPipe,
- pure: false,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](JsonPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'json',
- pure: false,
- standalone: true
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function makeKeyValuePair(key, value) {
- return {
- key: key,
- value: value
- };
- }
- /**
- * @ngModule CommonModule
- * @description
- *
- * Transforms Object or Map into an array of key value pairs.
- *
- * The output array will be ordered by keys.
- * By default the comparator will be by Unicode point value.
- * You can optionally pass a compareFn if your keys are complex types.
- *
- * @usageNotes
- * ### Examples
- *
- * This examples show how an Object or a Map can be iterated by ngFor with the use of this
- * keyvalue pipe.
- *
- * {@example common/pipes/ts/keyvalue_pipe.ts region='KeyValuePipe'}
- *
- * @publicApi
- */
- class KeyValuePipe {
- constructor(differs) {
- this.differs = differs;
- this.keyValues = [];
- this.compareFn = defaultComparator;
- }
- transform(input, compareFn = defaultComparator) {
- if (!input || !(input instanceof Map) && typeof input !== 'object') {
- return null;
- }
- if (!this.differ) {
- // make a differ for whatever type we've been passed in
- this.differ = this.differs.find(input).create();
- }
- const differChanges = this.differ.diff(input);
- const compareFnChanged = compareFn !== this.compareFn;
- if (differChanges) {
- this.keyValues = [];
- differChanges.forEachItem(r => {
- this.keyValues.push(makeKeyValuePair(r.key, r.currentValue));
- });
- }
- if (differChanges || compareFnChanged) {
- this.keyValues.sort(compareFn);
- this.compareFn = compareFn;
- }
- return this.keyValues;
- }
- }
- KeyValuePipe.ɵfac = function KeyValuePipe_Factory(t) {
- return new (t || KeyValuePipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers, 16));
- };
- KeyValuePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "keyvalue",
- type: KeyValuePipe,
- pure: false,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](KeyValuePipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'keyvalue',
- pure: false,
- standalone: true
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.KeyValueDiffers
- }];
- }, null);
- })();
- function defaultComparator(keyValueA, keyValueB) {
- const a = keyValueA.key;
- const b = keyValueB.key; // if same exit with 0;
- if (a === b) return 0; // make sure that undefined are at the end of the sort.
- if (a === undefined) return 1;
- if (b === undefined) return -1; // make sure that nulls are at the end of the sort.
- if (a === null) return 1;
- if (b === null) return -1;
- if (typeof a == 'string' && typeof b == 'string') {
- return a < b ? -1 : 1;
- }
- if (typeof a == 'number' && typeof b == 'number') {
- return a - b;
- }
- if (typeof a == 'boolean' && typeof b == 'boolean') {
- return a < b ? -1 : 1;
- } // `a` and `b` are of different types. Compare their string values.
- const aString = String(a);
- const bString = String(b);
- return aString == bString ? 0 : aString < bString ? -1 : 1;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @ngModule CommonModule
- * @description
- *
- * Formats a value according to digit options and locale rules.
- * Locale determines group sizing and separator,
- * decimal point character, and other locale-specific configurations.
- *
- * @see `formatNumber()`
- *
- * @usageNotes
- *
- * ### digitsInfo
- *
- * The value's decimal representation is specified by the `digitsInfo`
- * parameter, written in the following format:<br>
- *
- * ```
- * {minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}
- * ```
- *
- * - `minIntegerDigits`:
- * The minimum number of integer digits before the decimal point.
- * Default is 1.
- *
- * - `minFractionDigits`:
- * The minimum number of digits after the decimal point.
- * Default is 0.
- *
- * - `maxFractionDigits`:
- * The maximum number of digits after the decimal point.
- * Default is 3.
- *
- * If the formatted value is truncated it will be rounded using the "to-nearest" method:
- *
- * ```
- * {{3.6 | number: '1.0-0'}}
- * <!--will output '4'-->
- *
- * {{-3.6 | number:'1.0-0'}}
- * <!--will output '-4'-->
- * ```
- *
- * ### locale
- *
- * `locale` will format a value according to locale rules.
- * Locale determines group sizing and separator,
- * decimal point character, and other locale-specific configurations.
- *
- * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
- *
- * See [Setting your app locale](guide/i18n-common-locale-id).
- *
- * ### Example
- *
- * The following code shows how the pipe transforms values
- * according to various format specifications,
- * where the caller's default locale is `en-US`.
- *
- * <code-example path="common/pipes/ts/number_pipe.ts" region='NumberPipe'></code-example>
- *
- * @publicApi
- */
- class DecimalPipe {
- constructor(_locale) {
- this._locale = _locale;
- }
- /**
- * @param value The value to be formatted.
- * @param digitsInfo Sets digit and decimal representation.
- * [See more](#digitsinfo).
- * @param locale Specifies what locale format rules to use.
- * [See more](#locale).
- */
- transform(value, digitsInfo, locale) {
- if (!isValue(value)) return null;
- locale = locale || this._locale;
- try {
- const num = strToNumber(value);
- return formatNumber(num, locale, digitsInfo);
- } catch (error) {
- throw invalidPipeArgumentError(DecimalPipe, error.message);
- }
- }
- }
- DecimalPipe.ɵfac = function DecimalPipe_Factory(t) {
- return new (t || DecimalPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16));
- };
- DecimalPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "number",
- type: DecimalPipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DecimalPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'number',
- standalone: true
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
- }]
- }];
- }, null);
- })();
- /**
- * @ngModule CommonModule
- * @description
- *
- * Transforms a number to a percentage
- * string, formatted according to locale rules that determine group sizing and
- * separator, decimal-point character, and other locale-specific
- * configurations.
- *
- * @see `formatPercent()`
- *
- * @usageNotes
- * The following code shows how the pipe transforms numbers
- * into text strings, according to various format specifications,
- * where the caller's default locale is `en-US`.
- *
- * <code-example path="common/pipes/ts/percent_pipe.ts" region='PercentPipe'></code-example>
- *
- * @publicApi
- */
- class PercentPipe {
- constructor(_locale) {
- this._locale = _locale;
- }
- /**
- *
- * @param value The number to be formatted as a percentage.
- * @param digitsInfo Decimal representation options, specified by a string
- * in the following format:<br>
- * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
- * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
- * Default is `1`.
- * - `minFractionDigits`: The minimum number of digits after the decimal point.
- * Default is `0`.
- * - `maxFractionDigits`: The maximum number of digits after the decimal point.
- * Default is `0`.
- * @param locale A locale code for the locale format rules to use.
- * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
- * See [Setting your app locale](guide/i18n-common-locale-id).
- */
- transform(value, digitsInfo, locale) {
- if (!isValue(value)) return null;
- locale = locale || this._locale;
- try {
- const num = strToNumber(value);
- return formatPercent(num, locale, digitsInfo);
- } catch (error) {
- throw invalidPipeArgumentError(PercentPipe, error.message);
- }
- }
- }
- PercentPipe.ɵfac = function PercentPipe_Factory(t) {
- return new (t || PercentPipe)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID, 16));
- };
- PercentPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "percent",
- type: PercentPipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PercentPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'percent',
- standalone: true
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
- }]
- }];
- }, null);
- })();
- /**
- * @ngModule CommonModule
- * @description
- *
- * Transforms a number to a currency string, formatted according to locale rules
- * that determine group sizing and separator, decimal-point character,
- * and other locale-specific configurations.
- *
- * {@a currency-code-deprecation}
- * <div class="alert is-helpful">
- *
- * **Deprecation notice:**
- *
- * The default currency code is currently always `USD` but this is deprecated from v9.
- *
- * **In v11 the default currency code will be taken from the current locale identified by
- * the `LOCALE_ID` token. See the [i18n guide](guide/i18n-common-locale-id) for
- * more information.**
- *
- * If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in
- * your application `NgModule`:
- *
- * ```ts
- * {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}
- * ```
- *
- * </div>
- *
- * @see `getCurrencySymbol()`
- * @see `formatCurrency()`
- *
- * @usageNotes
- * The following code shows how the pipe transforms numbers
- * into text strings, according to various format specifications,
- * where the caller's default locale is `en-US`.
- *
- * <code-example path="common/pipes/ts/currency_pipe.ts" region='CurrencyPipe'></code-example>
- *
- * @publicApi
- */
- class CurrencyPipe {
- constructor(_locale, _defaultCurrencyCode = 'USD') {
- this._locale = _locale;
- this._defaultCurrencyCode = _defaultCurrencyCode;
- }
- /**
- *
- * @param value The number to be formatted as currency.
- * @param currencyCode The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code,
- * such as `USD` for the US dollar and `EUR` for the euro. The default currency code can be
- * configured using the `DEFAULT_CURRENCY_CODE` injection token.
- * @param display The format for the currency indicator. One of the following:
- * - `code`: Show the code (such as `USD`).
- * - `symbol`(default): Show the symbol (such as `$`).
- * - `symbol-narrow`: Use the narrow symbol for locales that have two symbols for their
- * currency.
- * For example, the Canadian dollar CAD has the symbol `CA$` and the symbol-narrow `$`. If the
- * locale has no narrow symbol, uses the standard symbol for the locale.
- * - String: Use the given string value instead of a code or a symbol.
- * For example, an empty string will suppress the currency & symbol.
- * - Boolean (marked deprecated in v5): `true` for symbol and false for `code`.
- *
- * @param digitsInfo Decimal representation options, specified by a string
- * in the following format:<br>
- * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>.
- * - `minIntegerDigits`: The minimum number of integer digits before the decimal point.
- * Default is `1`.
- * - `minFractionDigits`: The minimum number of digits after the decimal point.
- * Default is `2`.
- * - `maxFractionDigits`: The maximum number of digits after the decimal point.
- * Default is `2`.
- * If not provided, the number will be formatted with the proper amount of digits,
- * depending on what the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) specifies.
- * For example, the Canadian dollar has 2 digits, whereas the Chilean peso has none.
- * @param locale A locale code for the locale format rules to use.
- * When not supplied, uses the value of `LOCALE_ID`, which is `en-US` by default.
- * See [Setting your app locale](guide/i18n-common-locale-id).
- */
- transform(value, currencyCode = this._defaultCurrencyCode, display = 'symbol', digitsInfo, locale) {
- if (!isValue(value)) return null;
- locale = locale || this._locale;
- if (typeof display === 'boolean') {
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && console && console.warn) {
- 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".`);
- }
- display = display ? 'symbol' : 'code';
- }
- let currency = currencyCode || this._defaultCurrencyCode;
- if (display !== 'code') {
- if (display === 'symbol' || display === 'symbol-narrow') {
- currency = getCurrencySymbol(currency, display === 'symbol' ? 'wide' : 'narrow', locale);
- } else {
- currency = display;
- }
- }
- try {
- const num = strToNumber(value);
- return formatCurrency(num, locale, currency, currencyCode, digitsInfo);
- } catch (error) {
- throw invalidPipeArgumentError(CurrencyPipe, error.message);
- }
- }
- }
- CurrencyPipe.ɵfac = function CurrencyPipe_Factory(t) {
- 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));
- };
- CurrencyPipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "currency",
- type: CurrencyPipe,
- pure: true,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CurrencyPipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'currency',
- standalone: true
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.LOCALE_ID]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_CURRENCY_CODE]
- }]
- }];
- }, null);
- })();
- function isValue(value) {
- return !(value == null || value === '' || value !== value);
- }
- /**
- * Transforms a string into a number (if needed).
- */
- function strToNumber(value) {
- // Convert strings to numbers
- if (typeof value === 'string' && !isNaN(Number(value) - parseFloat(value))) {
- return Number(value);
- }
- if (typeof value !== 'number') {
- throw new Error(`${value} is not a number`);
- }
- return value;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @ngModule CommonModule
- * @description
- *
- * Creates a new `Array` or `String` containing a subset (slice) of the elements.
- *
- * @usageNotes
- *
- * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`
- * and `String.prototype.slice()`.
- *
- * When operating on an `Array`, the returned `Array` is always a copy even when all
- * the elements are being returned.
- *
- * When operating on a blank value, the pipe returns the blank value.
- *
- * ### List Example
- *
- * This `ngFor` example:
- *
- * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}
- *
- * produces the following:
- *
- * ```html
- * <li>b</li>
- * <li>c</li>
- * ```
- *
- * ### String Examples
- *
- * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}
- *
- * @publicApi
- */
- class SlicePipe {
- transform(value, start, end) {
- if (value == null) return null;
- if (!this.supports(value)) {
- throw invalidPipeArgumentError(SlicePipe, value);
- }
- return value.slice(start, end);
- }
- supports(obj) {
- return typeof obj === 'string' || Array.isArray(obj);
- }
- }
- SlicePipe.ɵfac = function SlicePipe_Factory(t) {
- return new (t || SlicePipe)();
- };
- SlicePipe.ɵpipe = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefinePipe"]({
- name: "slice",
- type: SlicePipe,
- pure: false,
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SlicePipe, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
- args: [{
- name: 'slice',
- pure: false,
- standalone: true
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A collection of Angular pipes that are likely to be used in each and every application.
- */
- const COMMON_PIPES = [AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe];
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Note: This does not contain the location providers,
- // as they need some platform specific implementations to work.
- /**
- * Exports all the basic Angular directives and pipes,
- * such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.
- * Re-exported by `BrowserModule`, which is included automatically in the root
- * `AppModule` when you create a new app with the CLI `new` command.
- *
- * @publicApi
- */
- class CommonModule {}
- CommonModule.ɵfac = function CommonModule_Factory(t) {
- return new (t || CommonModule)();
- };
- CommonModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
- type: CommonModule,
- 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],
- 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]
- });
- CommonModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({});
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CommonModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
- args: [{
- imports: [COMMON_DIRECTIVES, COMMON_PIPES],
- exports: [COMMON_DIRECTIVES, COMMON_PIPES]
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const PLATFORM_BROWSER_ID = 'browser';
- const PLATFORM_SERVER_ID = 'server';
- const PLATFORM_WORKER_APP_ID = 'browserWorkerApp';
- const PLATFORM_WORKER_UI_ID = 'browserWorkerUi';
- /**
- * Returns whether a platform id represents a browser platform.
- * @publicApi
- */
- function isPlatformBrowser(platformId) {
- return platformId === PLATFORM_BROWSER_ID;
- }
- /**
- * Returns whether a platform id represents a server platform.
- * @publicApi
- */
- function isPlatformServer(platformId) {
- return platformId === PLATFORM_SERVER_ID;
- }
- /**
- * Returns whether a platform id represents a web worker app platform.
- * @publicApi
- */
- function isPlatformWorkerApp(platformId) {
- return platformId === PLATFORM_WORKER_APP_ID;
- }
- /**
- * Returns whether a platform id represents a web worker UI platform.
- * @publicApi
- */
- function isPlatformWorkerUi(platformId) {
- return platformId === PLATFORM_WORKER_UI_ID;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- */
- const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('14.2.7');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
- *
- * @publicApi
- */
- class ViewportScroller {} // De-sugared tree-shakable injection
- // See #23917
- /** @nocollapse */
- ViewportScroller.ɵprov = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"])({
- token: ViewportScroller,
- providedIn: 'root',
- factory: () => new BrowserViewportScroller((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"])(DOCUMENT), window)
- });
- /**
- * Manages the scroll position for a browser window.
- */
- class BrowserViewportScroller {
- constructor(document, window) {
- this.document = document;
- this.window = window;
- this.offset = () => [0, 0];
- }
- /**
- * Configures the top offset used when scrolling to an anchor.
- * @param offset A position in screen coordinates (a tuple with x and y values)
- * or a function that returns the top offset position.
- *
- */
- setOffset(offset) {
- if (Array.isArray(offset)) {
- this.offset = () => offset;
- } else {
- this.offset = offset;
- }
- }
- /**
- * Retrieves the current scroll position.
- * @returns The position in screen coordinates.
- */
- getScrollPosition() {
- if (this.supportsScrolling()) {
- return [this.window.pageXOffset, this.window.pageYOffset];
- } else {
- return [0, 0];
- }
- }
- /**
- * Sets the scroll position.
- * @param position The new position in screen coordinates.
- */
- scrollToPosition(position) {
- if (this.supportsScrolling()) {
- this.window.scrollTo(position[0], position[1]);
- }
- }
- /**
- * Scrolls to an element and attempts to focus the element.
- *
- * Note that the function name here is misleading in that the target string may be an ID for a
- * non-anchor element.
- *
- * @param target The ID of an element or name of the anchor.
- *
- * @see https://html.spec.whatwg.org/#the-indicated-part-of-the-document
- * @see https://html.spec.whatwg.org/#scroll-to-fragid
- */
- scrollToAnchor(target) {
- if (!this.supportsScrolling()) {
- return;
- }
- const elSelected = findAnchorFromDocument(this.document, target);
- if (elSelected) {
- this.scrollToElement(elSelected); // After scrolling to the element, the spec dictates that we follow the focus steps for the
- // target. Rather than following the robust steps, simply attempt focus.
- //
- // @see https://html.spec.whatwg.org/#get-the-focusable-area
- // @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLOrForeignElement/focus
- // @see https://html.spec.whatwg.org/#focusable-area
- elSelected.focus();
- }
- }
- /**
- * Disables automatic scroll restoration provided by the browser.
- */
- setHistoryScrollRestoration(scrollRestoration) {
- if (this.supportScrollRestoration()) {
- const history = this.window.history;
- if (history && history.scrollRestoration) {
- history.scrollRestoration = scrollRestoration;
- }
- }
- }
- /**
- * Scrolls to an element using the native offset and the specified offset set on this scroller.
- *
- * The offset can be used when we know that there is a floating header and scrolling naively to an
- * element (ex: `scrollIntoView`) leaves the element hidden behind the floating header.
- */
- scrollToElement(el) {
- const rect = el.getBoundingClientRect();
- const left = rect.left + this.window.pageXOffset;
- const top = rect.top + this.window.pageYOffset;
- const offset = this.offset();
- this.window.scrollTo(left - offset[0], top - offset[1]);
- }
- /**
- * We only support scroll restoration when we can get a hold of window.
- * This means that we do not support this behavior when running in a web worker.
- *
- * Lifting this restriction right now would require more changes in the dom adapter.
- * Since webworkers aren't widely used, we will lift it once RouterScroller is
- * battle-tested.
- */
- supportScrollRestoration() {
- try {
- if (!this.supportsScrolling()) {
- return false;
- } // The `scrollRestoration` property could be on the `history` instance or its prototype.
- 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
- // setter function.
- return !!scrollRestorationDescriptor && !!(scrollRestorationDescriptor.writable || scrollRestorationDescriptor.set);
- } catch (_a) {
- return false;
- }
- }
- supportsScrolling() {
- try {
- return !!this.window && !!this.window.scrollTo && 'pageXOffset' in this.window;
- } catch (_a) {
- return false;
- }
- }
- }
- function getScrollRestorationProperty(obj) {
- return Object.getOwnPropertyDescriptor(obj, 'scrollRestoration');
- }
- function findAnchorFromDocument(document, target) {
- const documentResult = document.getElementById(target) || document.getElementsByName(target)[0];
- if (documentResult) {
- return documentResult;
- } // `getElementById` and `getElementsByName` won't pierce through the shadow DOM so we
- // have to traverse the DOM manually and do the lookup through the shadow roots.
- if (typeof document.createTreeWalker === 'function' && document.body && (document.body.createShadowRoot || document.body.attachShadow)) {
- const treeWalker = document.createTreeWalker(document.body, NodeFilter.SHOW_ELEMENT);
- let currentNode = treeWalker.currentNode;
- while (currentNode) {
- const shadowRoot = currentNode.shadowRoot;
- if (shadowRoot) {
- // Note that `ShadowRoot` doesn't support `getElementsByName`
- // so we have to fall back to `querySelector`.
- const result = shadowRoot.getElementById(target) || shadowRoot.querySelector(`[name="${target}"]`);
- if (result) {
- return result;
- }
- }
- currentNode = treeWalker.nextNode();
- }
- }
- return null;
- }
- /**
- * Provides an empty implementation of the viewport scroller.
- */
- class NullViewportScroller {
- /**
- * Empty implementation
- */
- setOffset(offset) {}
- /**
- * Empty implementation
- */
- getScrollPosition() {
- return [0, 0];
- }
- /**
- * Empty implementation
- */
- scrollToPosition(position) {}
- /**
- * Empty implementation
- */
- scrollToAnchor(anchor) {}
- /**
- * Empty implementation
- */
- setHistoryScrollRestoration(scrollRestoration) {}
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A wrapper around the `XMLHttpRequest` constructor.
- *
- * @publicApi
- */
- class XhrFactory {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Asserts that the application is in development mode. Throws an error if the application is in
- * production mode. This assert can be used to make sure that there is no dev-mode code invoked in
- * the prod mode accidentally.
- */
- function assertDevMode(checkName) {
- if (!ngDevMode) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2958
- /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */
- , `Unexpected invocation of the ${checkName} in the prod mode. ` + `Please make sure that the prod mode is enabled for production builds.`);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Assembles directive details string, useful for error messages.
- function imgDirectiveDetails(ngSrc, includeNgSrc = true) {
- const ngSrcInfo = includeNgSrc ? `(activated on an <img> element with the \`ngSrc="${ngSrc}"\`) ` : '';
- return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Converts a string that represents a URL into a URL class instance.
- function getUrl(src, win) {
- // Don't use a base URL is the URL is absolute.
- return isAbsoluteUrl(src) ? new URL(src) : new URL(src, win.location.href);
- } // Checks whether a URL is absolute (i.e. starts with `http://` or `https://`).
- function isAbsoluteUrl(src) {
- return /^https?:\/\//.test(src);
- } // Given a URL, extract the hostname part.
- // If a URL is a relative one - the URL is returned as is.
- function extractHostname(url) {
- return isAbsoluteUrl(url) ? new URL(url).hostname : url;
- }
- function isValidPath(path) {
- const isString = typeof path === 'string';
- if (!isString || path.trim() === '') {
- return false;
- } // Calling new URL() will throw if the path string is malformed
- try {
- const url = new URL(path);
- return true;
- } catch (_a) {
- return false;
- }
- }
- function normalizePath(path) {
- return path.endsWith('/') ? path.slice(0, -1) : path;
- }
- function normalizeSrc(src) {
- return src.startsWith('/') ? src.slice(1) : src;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Set of origins that are always excluded from the preconnect checks.
- const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);
- /**
- * Multi-provider injection token to configure which origins should be excluded
- * from the preconnect checks. It can either be a single string or an array of strings
- * to represent a group of origins, for example:
- *
- * ```typescript
- * {provide: PRECONNECT_CHECK_BLOCKLIST, multi: true, useValue: 'https://your-domain.com'}
- * ```
- *
- * or:
- *
- * ```typescript
- * {provide: PRECONNECT_CHECK_BLOCKLIST, multi: true,
- * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}
- * ```
- *
- * @publicApi
- * @developerPreview
- */
- const PRECONNECT_CHECK_BLOCKLIST = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('PRECONNECT_CHECK_BLOCKLIST');
- /**
- * Contains the logic to detect whether an image, marked with the "priority" attribute
- * has a corresponding `<link rel="preconnect">` tag in the `document.head`.
- *
- * Note: this is a dev-mode only class, which should not appear in prod bundles,
- * thus there is no `ngDevMode` use in the code.
- */
- class PreconnectLinkChecker {
- constructor() {
- this.document = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT);
- /**
- * Set of <link rel="preconnect"> tags found on this page.
- * The `null` value indicates that there was no DOM query operation performed.
- */
- this.preconnectLinks = null;
- /*
- * Keep track of all already seen origin URLs to avoid repeating the same check.
- */
- this.alreadySeen = new Set();
- this.window = null;
- this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);
- assertDevMode('preconnect link checker');
- const win = this.document.defaultView;
- if (typeof win !== 'undefined') {
- this.window = win;
- }
- const blocklist = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(PRECONNECT_CHECK_BLOCKLIST, {
- optional: true
- });
- if (blocklist) {
- this.populateBlocklist(blocklist);
- }
- }
- populateBlocklist(origins) {
- if (Array.isArray(origins)) {
- deepForEach(origins, origin => {
- this.blocklist.add(extractHostname(origin));
- });
- } else {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2957
- /* RuntimeErrorCode.INVALID_PRECONNECT_CHECK_BLOCKLIST */
- , `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.`);
- }
- }
- /**
- * Checks that a preconnect resource hint exists in the head fo rthe
- * given src.
- *
- * @param rewrittenSrc src formatted with loader
- * @param originalNgSrc ngSrc value
- */
- assertPreconnect(rewrittenSrc, originalNgSrc) {
- if (!this.window) return;
- const imgUrl = getUrl(rewrittenSrc, this.window);
- 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.
- this.alreadySeen.add(imgUrl.origin);
- if (!this.preconnectLinks) {
- // Note: we query for preconnect links only *once* and cache the results
- // for the entire lifespan of an application, since it's unlikely that the
- // list would change frequently. This allows to make sure there are no
- // performance implications of making extra DOM lookups for each image.
- this.preconnectLinks = this.queryPreconnectLinks();
- }
- if (!this.preconnectLinks.has(imgUrl.origin)) {
- console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2956
- /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */
- , `${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}">`));
- }
- }
- queryPreconnectLinks() {
- const preconnectUrls = new Set();
- const selector = 'link[rel=preconnect]';
- const links = Array.from(this.document.querySelectorAll(selector));
- for (let link of links) {
- const url = getUrl(link.href, this.window);
- preconnectUrls.add(url.origin);
- }
- return preconnectUrls;
- }
- ngOnDestroy() {
- var _a;
- (_a = this.preconnectLinks) === null || _a === void 0 ? void 0 : _a.clear();
- this.alreadySeen.clear();
- }
- }
- PreconnectLinkChecker.ɵfac = function PreconnectLinkChecker_Factory(t) {
- return new (t || PreconnectLinkChecker)();
- };
- PreconnectLinkChecker.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: PreconnectLinkChecker,
- factory: PreconnectLinkChecker.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PreconnectLinkChecker, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- /**
- * Invokes a callback for each element in the array. Also invokes a callback
- * recursively for each nested array.
- */
- function deepForEach(input, fn) {
- for (let value of input) {
- Array.isArray(value) ? deepForEach(value, fn) : fn(value);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Noop image loader that does no transformation to the original src and just returns it as is.
- * This loader is used as a default one if more specific logic is not provided in an app config.
- *
- * @see `ImageLoader`
- * @see `NgOptimizedImage`
- */
- const noopImageLoader = config => config.src;
- /**
- * Injection token that configures the image loader function.
- *
- * @see `ImageLoader`
- * @see `NgOptimizedImage`
- * @publicApi
- * @developerPreview
- */
- const IMAGE_LOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('ImageLoader', {
- providedIn: 'root',
- factory: () => noopImageLoader
- });
- /**
- * Internal helper function that makes it easier to introduce custom image loaders for the
- * `NgOptimizedImage` directive. It is enough to specify a URL builder function to obtain full DI
- * configuration for a given loader: a DI token corresponding to the actual loader function, plus DI
- * tokens managing preconnect check functionality.
- * @param buildUrlFn a function returning a full URL based on loader's configuration
- * @param exampleUrls example of full URLs for a given loader (used in error messages)
- * @returns a set of DI providers corresponding to the configured image loader
- */
- function createImageLoader(buildUrlFn, exampleUrls) {
- return function provideImageLoader(path, options = {
- ensurePreconnect: true
- }) {
- if (!isValidPath(path)) {
- throwInvalidPathError(path, exampleUrls || []);
- } // The trailing / is stripped (if provided) to make URL construction (concatenation) easier in
- // the individual loader functions.
- path = normalizePath(path);
- const loaderFn = config => {
- if (isAbsoluteUrl(config.src)) {
- // Image loader functions expect an image file name (e.g. `my-image.png`)
- // or a relative path + a file name (e.g. `/a/b/c/my-image.png`) as an input,
- // so the final absolute URL can be constructed.
- // When an absolute URL is provided instead - the loader can not
- // build a final URL, thus the error is thrown to indicate that.
- throwUnexpectedAbsoluteUrlError(path, config.src);
- }
- return buildUrlFn(path, Object.assign(Object.assign({}, config), {
- src: normalizeSrc(config.src)
- }));
- };
- const providers = [{
- provide: IMAGE_LOADER,
- useValue: loaderFn
- }];
- if (ngDevMode && options.ensurePreconnect === false) {
- providers.push({
- provide: PRECONNECT_CHECK_BLOCKLIST,
- useValue: [path],
- multi: true
- });
- }
- return providers;
- };
- }
- function throwInvalidPathError(path, exampleUrls) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2959
- /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */
- , ngDevMode && `Image loader has detected an invalid path (\`${path}\`). ` + `To fix this, supply a path using one of the following formats: ${exampleUrls.join(' or ')}`);
- }
- function throwUnexpectedAbsoluteUrlError(path, url) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2959
- /* RuntimeErrorCode.INVALID_LOADER_ARGUMENTS */
- , 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}\`).`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Function that generates an ImageLoader for [Cloudflare Image
- * Resizing](https://developers.cloudflare.com/images/image-resizing/) and turns it into an Angular
- * provider. Note: Cloudflare has multiple image products - this provider is specifically for
- * Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.
- *
- * @param path Your domain name, e.g. https://mysite.com
- * @param options An object with extra configuration:
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
- * should verify that there is a corresponding `<link rel="preconnect">`
- * present in the document's `<head>`.
- * @returns Provider that provides an ImageLoader function
- *
- * @publicApi
- * @developerPreview
- */
- const provideCloudflareLoader = createImageLoader(createCloudflareUrl, ngDevMode ? ['https://<ZONE>/cdn-cgi/image/<OPTIONS>/<SOURCE-IMAGE>'] : undefined);
- function createCloudflareUrl(path, config) {
- let params = `format=auto`;
- if (config.width) {
- params += `,width=${config.width}`;
- } // Cloudflare image URLs format:
- // https://developers.cloudflare.com/images/image-resizing/url-format/
- return `${path}/cdn-cgi/image/${params}/${config.src}`;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Function that generates an ImageLoader for Cloudinary and turns it into an Angular provider.
- *
- * @param path Base URL of your Cloudinary images
- * This URL should match one of the following formats:
- * https://res.cloudinary.com/mysite
- * https://mysite.cloudinary.com
- * https://subdomain.mysite.com
- * @param options An object with extra configuration:
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
- * should verify that there is a corresponding `<link rel="preconnect">`
- * present in the document's `<head>`.
- * @returns Set of providers to configure the Cloudinary loader.
- *
- * @publicApi
- * @developerPreview
- */
- const provideCloudinaryLoader = createImageLoader(createCloudinaryUrl, ngDevMode ? ['https://res.cloudinary.com/mysite', 'https://mysite.cloudinary.com', 'https://subdomain.mysite.com'] : undefined);
- function createCloudinaryUrl(path, config) {
- // Cloudinary image URLformat:
- // https://cloudinary.com/documentation/image_transformations#transformation_url_structure
- // Example of a Cloudinary image URL:
- // https://res.cloudinary.com/mysite/image/upload/c_scale,f_auto,q_auto,w_600/marketing/tile-topics-m.png
- let params = `f_auto,q_auto`; // sets image format and quality to "auto"
- if (config.width) {
- params += `,w_${config.width}`;
- }
- return `${path}/image/upload/${params}/${config.src}`;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Function that generates an ImageLoader for ImageKit and turns it into an Angular provider.
- *
- * @param path Base URL of your ImageKit images
- * This URL should match one of the following formats:
- * https://ik.imagekit.io/myaccount
- * https://subdomain.mysite.com
- * @param options An object with extra configuration:
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
- * should verify that there is a corresponding `<link rel="preconnect">`
- * present in the document's `<head>`.
- * @returns Set of providers to configure the ImageKit loader.
- *
- * @publicApi
- * @developerPreview
- */
- const provideImageKitLoader = createImageLoader(createImagekitUrl, ngDevMode ? ['https://ik.imagekit.io/mysite', 'https://subdomain.mysite.com'] : undefined);
- function createImagekitUrl(path, config) {
- // Example of an ImageKit image URL:
- // https://ik.imagekit.io/demo/tr:w-300,h-300/medium_cafe_B1iTdD0C.jpg
- let params = `tr:q-auto`; // applies the "auto quality" transformation
- if (config.width) {
- params += `,w-${config.width}`;
- }
- return `${path}/${params}/${config.src}`;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Function that generates an ImageLoader for Imgix and turns it into an Angular provider.
- *
- * @param path path to the desired Imgix origin,
- * e.g. https://somepath.imgix.net or https://images.mysite.com
- * @param options An object with extra configuration:
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
- * should verify that there is a corresponding `<link rel="preconnect">`
- * present in the document's `<head>`.
- * @returns Set of providers to configure the Imgix loader.
- *
- * @publicApi
- * @developerPreview
- */
- const provideImgixLoader = createImageLoader(createImgixUrl, ngDevMode ? ['https://somepath.imgix.net/'] : undefined);
- function createImgixUrl(path, config) {
- const url = new URL(`${path}/${config.src}`); // This setting ensures the smallest allowable format is set.
- url.searchParams.set('auto', 'format');
- if (config.width) {
- url.searchParams.set('w', config.width.toString());
- }
- return url.href;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Observer that detects whether an image with `NgOptimizedImage`
- * is treated as a Largest Contentful Paint (LCP) element. If so,
- * asserts that the image has the `priority` attribute.
- *
- * Note: this is a dev-mode only class and it does not appear in prod bundles,
- * thus there is no `ngDevMode` use in the code.
- *
- * Based on https://web.dev/lcp/#measure-lcp-in-javascript.
- */
- class LCPImageObserver {
- constructor() {
- // Map of full image URLs -> original `ngSrc` values.
- this.images = new Map(); // Keep track of images for which `console.warn` was produced.
- this.alreadyWarned = new Set();
- this.window = null;
- this.observer = null;
- assertDevMode('LCP checker');
- const win = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DOCUMENT).defaultView;
- if (typeof win !== 'undefined' && typeof PerformanceObserver !== 'undefined') {
- this.window = win;
- this.observer = this.initPerformanceObserver();
- }
- }
- /**
- * Inits PerformanceObserver and subscribes to LCP events.
- * Based on https://web.dev/lcp/#measure-lcp-in-javascript
- */
- initPerformanceObserver() {
- const observer = new PerformanceObserver(entryList => {
- var _a, _b;
- const entries = entryList.getEntries();
- if (entries.length === 0) return; // We use the latest entry produced by the `PerformanceObserver` as the best
- // signal on which element is actually an LCP one. As an example, the first image to load on
- // a page, by virtue of being the only thing on the page so far, is often a LCP candidate
- // and gets reported by PerformanceObserver, but isn't necessarily the LCP element.
- const lcpElement = entries[entries.length - 1]; // Cast to `any` due to missing `element` on the `LargestContentfulPaint` type of entry.
- // See https://developer.mozilla.org/en-US/docs/Web/API/LargestContentfulPaint
- 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.
- if (imgSrc.startsWith('data:') || imgSrc.startsWith('blob:')) return;
- const imgNgSrc = this.images.get(imgSrc);
- if (imgNgSrc && !this.alreadyWarned.has(imgSrc)) {
- this.alreadyWarned.add(imgSrc);
- logMissingPriorityWarning(imgSrc);
- }
- });
- observer.observe({
- type: 'largest-contentful-paint',
- buffered: true
- });
- return observer;
- }
- registerImage(rewrittenSrc, originalNgSrc) {
- if (!this.observer) return;
- this.images.set(getUrl(rewrittenSrc, this.window).href, originalNgSrc);
- }
- unregisterImage(rewrittenSrc) {
- if (!this.observer) return;
- this.images.delete(getUrl(rewrittenSrc, this.window).href);
- }
- ngOnDestroy() {
- if (!this.observer) return;
- this.observer.disconnect();
- this.images.clear();
- this.alreadyWarned.clear();
- }
- }
- LCPImageObserver.ɵfac = function LCPImageObserver_Factory(t) {
- return new (t || LCPImageObserver)();
- };
- LCPImageObserver.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: LCPImageObserver,
- factory: LCPImageObserver.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](LCPImageObserver, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [];
- }, null);
- })();
- function logMissingPriorityWarning(ngSrc) {
- const directiveDetails = imgDirectiveDetails(ngSrc);
- console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2955
- /* RuntimeErrorCode.LCP_IMG_MISSING_PRIORITY */
- , `${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.`));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * When a Base64-encoded image is passed as an input to the `NgOptimizedImage` directive,
- * an error is thrown. The image content (as a string) might be very long, thus making
- * it hard to read an error message if the entire string is included. This const defines
- * the number of characters that should be included into the error message. The rest
- * of the content is truncated.
- */
- const BASE64_IMG_MAX_LENGTH_IN_ERROR = 50;
- /**
- * RegExpr to determine whether a src in a srcset is using width descriptors.
- * Should match something like: "100w, 200w".
- */
- const VALID_WIDTH_DESCRIPTOR_SRCSET = /^((\s*\d+w\s*(,|$)){1,})$/;
- /**
- * RegExpr to determine whether a src in a srcset is using density descriptors.
- * Should match something like: "1x, 2x, 50x". Also supports decimals like "1.5x, 1.50x".
- */
- const VALID_DENSITY_DESCRIPTOR_SRCSET = /^((\s*\d+(\.\d+)?x\s*(,|$)){1,})$/;
- /**
- * Srcset values with a density descriptor higher than this value will actively
- * throw an error. Such densities are not permitted as they cause image sizes
- * to be unreasonably large and slow down LCP.
- */
- const ABSOLUTE_SRCSET_DENSITY_CAP = 3;
- /**
- * Used only in error message text to communicate best practices, as we will
- * only throw based on the slightly more conservative ABSOLUTE_SRCSET_DENSITY_CAP.
- */
- const RECOMMENDED_SRCSET_DENSITY_CAP = 2;
- /**
- * Used to determine whether two aspect ratios are similar in value.
- */
- const ASPECT_RATIO_TOLERANCE = .1;
- /**
- * Used to determine whether the image has been requested at an overly
- * large size compared to the actual rendered image size (after taking
- * into account a typical device pixel ratio). In pixels.
- */
- const OVERSIZED_IMAGE_TOLERANCE = 1000;
- /**
- * Directive that improves image loading performance by enforcing best practices.
- *
- * `NgOptimizedImage` ensures that the loading of the Largest Contentful Paint (LCP) image is
- * prioritized by:
- * - Automatically setting the `fetchpriority` attribute on the `<img>` tag
- * - Lazy loading non-priority images by default
- * - Asserting that there is a corresponding preconnect link tag in the document head
- *
- * In addition, the directive:
- * - Generates appropriate asset URLs if a corresponding `ImageLoader` function is provided
- * - Requires that `width` and `height` are set
- * - Warns if `width` or `height` have been set incorrectly
- * - Warns if the image will be visually distorted when rendered
- *
- * @usageNotes
- * The `NgOptimizedImage` directive is marked as [standalone](guide/standalone-components) and can
- * be imported directly.
- *
- * Follow the steps below to enable and use the directive:
- * 1. Import it into the necessary NgModule or a standalone Component.
- * 2. Optionally provide an `ImageLoader` if you use an image hosting service.
- * 3. Update the necessary `<img>` tags in templates and replace `src` attributes with `ngSrc`.
- * Using a `ngSrc` allows the directive to control when the `src` gets set, which triggers an image
- * download.
- *
- * Step 1: import the `NgOptimizedImage` directive.
- *
- * ```typescript
- * import { NgOptimizedImage } from '@angular/common';
- *
- * // Include it into the necessary NgModule
- * @NgModule({
- * imports: [NgOptimizedImage],
- * })
- * class AppModule {}
- *
- * // ... or a standalone Component
- * @Component({
- * standalone: true
- * imports: [NgOptimizedImage],
- * })
- * class MyStandaloneComponent {}
- * ```
- *
- * Step 2: configure a loader.
- *
- * To use the **default loader**: no additional code changes are necessary. The URL returned by the
- * generic loader will always match the value of "src". In other words, this loader applies no
- * transformations to the resource URL and the value of the `ngSrc` attribute will be used as is.
- *
- * To use an existing loader for a **third-party image service**: add the provider factory for your
- * chosen service to the `providers` array. In the example below, the Imgix loader is used:
- *
- * ```typescript
- * import {provideImgixLoader} from '@angular/common';
- *
- * // Call the function and add the result to the `providers` array:
- * providers: [
- * provideImgixLoader("https://my.base.url/"),
- * ],
- * ```
- *
- * The `NgOptimizedImage` directive provides the following functions:
- * - `provideCloudflareLoader`
- * - `provideCloudinaryLoader`
- * - `provideImageKitLoader`
- * - `provideImgixLoader`
- *
- * If you use a different image provider, you can create a custom loader function as described
- * below.
- *
- * To use a **custom loader**: provide your loader function as a value for the `IMAGE_LOADER` DI
- * token.
- *
- * ```typescript
- * import {IMAGE_LOADER, ImageLoaderConfig} from '@angular/common';
- *
- * // Configure the loader using the `IMAGE_LOADER` token.
- * providers: [
- * {
- * provide: IMAGE_LOADER,
- * useValue: (config: ImageLoaderConfig) => {
- * return `https://example.com/${config.src}-${config.width}.jpg}`;
- * }
- * },
- * ],
- * ```
- *
- * Step 3: update `<img>` tags in templates to use `ngSrc` instead of `src`.
- *
- * ```
- * <img ngSrc="logo.png" width="200" height="100">
- * ```
- *
- * @publicApi
- * @developerPreview
- */
- class NgOptimizedImage {
- constructor() {
- this.imageLoader = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(IMAGE_LOADER);
- this.renderer = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2);
- this.imgElement = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef).nativeElement;
- 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
- this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null;
- /**
- * Calculate the rewritten `src` once and store it.
- * This is needed to avoid repetitive calculations and make sure the directive cleanup in the
- * `ngOnDestroy` does not rely on the `IMAGE_LOADER` logic (which in turn can rely on some other
- * instance that might be already destroyed).
- */
- this._renderedSrc = null;
- this._priority = false;
- }
- /**
- * Previously, the `rawSrc` attribute was used to activate the directive.
- * The attribute was renamed to `ngSrc` and this input just produces an error,
- * suggesting to switch to `ngSrc` instead.
- *
- * This error should be removed in v15.
- *
- * @nodoc
- * @deprecated Use `ngSrc` instead.
- */
- set rawSrc(value) {
- if (ngDevMode) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${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.`);
- }
- }
- /**
- * The intrinsic width of the image in pixels.
- */
- set width(value) {
- ngDevMode && assertGreaterThanZero(this, value, 'width');
- this._width = inputToInteger(value);
- }
- get width() {
- return this._width;
- }
- /**
- * The intrinsic height of the image in pixels.
- */
- set height(value) {
- ngDevMode && assertGreaterThanZero(this, value, 'height');
- this._height = inputToInteger(value);
- }
- get height() {
- return this._height;
- }
- /**
- * Indicates whether this image should have a high priority.
- */
- set priority(value) {
- this._priority = inputToBoolean(value);
- }
- get priority() {
- return this._priority;
- }
- ngOnInit() {
- if (ngDevMode) {
- assertNonEmptyInput(this, 'ngSrc', this.ngSrc);
- assertValidNgSrcset(this, this.ngSrcset);
- assertNoConflictingSrc(this);
- assertNoConflictingSrcset(this);
- assertNotBase64Image(this);
- assertNotBlobUrl(this);
- assertNonEmptyWidthAndHeight(this);
- assertValidLoadingInput(this);
- assertNoImageDistortion(this, this.imgElement, this.renderer);
- if (this.priority) {
- const checker = this.injector.get(PreconnectLinkChecker);
- checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);
- } else {
- // Monitor whether an image is an LCP element only in case
- // the `priority` attribute is missing. Otherwise, an image
- // has the necessary settings and no extra checks are required.
- if (this.lcpObserver !== null) {
- const ngZone = this.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone);
- ngZone.runOutsideAngular(() => {
- this.lcpObserver.registerImage(this.getRewrittenSrc(), this.ngSrc);
- });
- }
- }
- }
- this.setHostAttributes();
- }
- setHostAttributes() {
- // Must set width/height explicitly in case they are bound (in which case they will
- // only be reflected and not found by the browser)
- this.setHostAttribute('width', this.width.toString());
- this.setHostAttribute('height', this.height.toString());
- this.setHostAttribute('loading', this.getLoadingBehavior());
- this.setHostAttribute('fetchpriority', this.getFetchPriority()); // The `src` and `srcset` attributes should be set last since other attributes
- // could affect the image's loading behavior.
- this.setHostAttribute('src', this.getRewrittenSrc());
- if (this.ngSrcset) {
- this.setHostAttribute('srcset', this.getRewrittenSrcset());
- }
- }
- ngOnChanges(changes) {
- if (ngDevMode) {
- assertNoPostInitInputChange(this, changes, ['ngSrc', 'ngSrcset', 'width', 'height', 'priority']);
- }
- }
- getLoadingBehavior() {
- if (!this.priority && this.loading !== undefined) {
- return this.loading;
- }
- return this.priority ? 'eager' : 'lazy';
- }
- getFetchPriority() {
- return this.priority ? 'high' : 'auto';
- }
- getRewrittenSrc() {
- // ImageLoaderConfig supports setting a width property. However, we're not setting width here
- // because if the developer uses rendered width instead of intrinsic width in the HTML width
- // attribute, the image requested may be too small for 2x+ screens.
- if (!this._renderedSrc) {
- const imgConfig = {
- src: this.ngSrc
- }; // Cache calculated image src to reuse it later in the code.
- this._renderedSrc = this.imageLoader(imgConfig);
- }
- return this._renderedSrc;
- }
- getRewrittenSrcset() {
- const widthSrcSet = VALID_WIDTH_DESCRIPTOR_SRCSET.test(this.ngSrcset);
- const finalSrcs = this.ngSrcset.split(',').filter(src => src !== '').map(srcStr => {
- srcStr = srcStr.trim();
- const width = widthSrcSet ? parseFloat(srcStr) : parseFloat(srcStr) * this.width;
- return `${this.imageLoader({
- src: this.ngSrc,
- width
- })} ${srcStr}`;
- });
- return finalSrcs.join(', ');
- }
- ngOnDestroy() {
- if (ngDevMode) {
- if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) {
- this.lcpObserver.unregisterImage(this._renderedSrc);
- }
- }
- }
- setHostAttribute(name, value) {
- this.renderer.setAttribute(this.imgElement, name, value);
- }
- }
- NgOptimizedImage.ɵfac = function NgOptimizedImage_Factory(t) {
- return new (t || NgOptimizedImage)();
- };
- NgOptimizedImage.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgOptimizedImage,
- selectors: [["img", "ngSrc", ""], ["img", "rawSrc", ""]],
- inputs: {
- rawSrc: "rawSrc",
- ngSrc: "ngSrc",
- ngSrcset: "ngSrcset",
- width: "width",
- height: "height",
- loading: "loading",
- priority: "priority",
- src: "src",
- srcset: "srcset"
- },
- standalone: true,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgOptimizedImage, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- standalone: true,
- selector: 'img[ngSrc],img[rawSrc]'
- }]
- }], null, {
- rawSrc: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngSrc: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ngSrcset: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- width: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- height: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- loading: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- priority: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- src: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- srcset: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /***** Helpers *****/
- /**
- * Convert input value to integer.
- */
- function inputToInteger(value) {
- return typeof value === 'string' ? parseInt(value, 10) : value;
- }
- /**
- * Convert input value to boolean.
- */
- function inputToBoolean(value) {
- return value != null && `${value}` !== 'false';
- }
- /***** Assert functions *****/
- /**
- * Verifies that there is no `src` set on a host element.
- */
- function assertNoConflictingSrc(dir) {
- if (dir.src) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2950
- /* RuntimeErrorCode.UNEXPECTED_SRC_ATTR */
- , `${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.`);
- }
- }
- /**
- * Verifies that there is no `srcset` set on a host element.
- */
- function assertNoConflictingSrcset(dir) {
- if (dir.srcset) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2951
- /* RuntimeErrorCode.UNEXPECTED_SRCSET_ATTR */
- , `${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.`);
- }
- }
- /**
- * Verifies that the `ngSrc` is not a Base64-encoded image.
- */
- function assertNotBase64Image(dir) {
- let ngSrc = dir.ngSrc.trim();
- if (ngSrc.startsWith('data:')) {
- if (ngSrc.length > BASE64_IMG_MAX_LENGTH_IN_ERROR) {
- ngSrc = ngSrc.substring(0, BASE64_IMG_MAX_LENGTH_IN_ERROR) + '...';
- }
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${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.`);
- }
- }
- /**
- * Verifies that the `ngSrc` is not a Blob URL.
- */
- function assertNotBlobUrl(dir) {
- const ngSrc = dir.ngSrc.trim();
- if (ngSrc.startsWith('blob:')) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${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.`);
- }
- }
- /**
- * Verifies that the input is set to a non-empty string.
- */
- function assertNonEmptyInput(dir, name, value) {
- const isString = typeof value === 'string';
- const isEmptyString = isString && value.trim() === '';
- if (!isString || isEmptyString) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${imgDirectiveDetails(dir.ngSrc)} \`${name}\` has an invalid value ` + `(\`${value}\`). To fix this, change the value to a non-empty string.`);
- }
- }
- /**
- * Verifies that the `ngSrcset` is in a valid format, e.g. "100w, 200w" or "1x, 2x".
- */
- function assertValidNgSrcset(dir, value) {
- if (value == null) return;
- assertNonEmptyInput(dir, 'ngSrcset', value);
- const stringVal = value;
- const isValidWidthDescriptor = VALID_WIDTH_DESCRIPTOR_SRCSET.test(stringVal);
- const isValidDensityDescriptor = VALID_DENSITY_DESCRIPTOR_SRCSET.test(stringVal);
- if (isValidDensityDescriptor) {
- assertUnderDensityCap(dir, stringVal);
- }
- const isValidSrcset = isValidWidthDescriptor || isValidDensityDescriptor;
- if (!isValidSrcset) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${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").`);
- }
- }
- function assertUnderDensityCap(dir, value) {
- const underDensityCap = value.split(',').every(num => num === '' || parseFloat(num) <= ABSOLUTE_SRCSET_DENSITY_CAP);
- if (!underDensityCap) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${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.`);
- }
- }
- /**
- * Creates a `RuntimeError` instance to represent a situation when an input is set after
- * the directive has initialized.
- */
- function postInitInputChangeError(dir, inputName) {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2953
- /* RuntimeErrorCode.UNEXPECTED_INPUT_CHANGE */
- , `${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.`);
- }
- /**
- * Verify that none of the listed inputs has changed.
- */
- function assertNoPostInitInputChange(dir, changes, inputs) {
- inputs.forEach(input => {
- const isUpdated = changes.hasOwnProperty(input);
- if (isUpdated && !changes[input].isFirstChange()) {
- if (input === 'ngSrc') {
- // When the `ngSrc` input changes, we detect that only in the
- // `ngOnChanges` hook, thus the `ngSrc` is already set. We use
- // `ngSrc` in the error message, so we use a previous value, but
- // not the updated one in it.
- dir = {
- ngSrc: changes[input].previousValue
- };
- }
- throw postInitInputChangeError(dir, input);
- }
- });
- }
- /**
- * Verifies that a specified input is a number greater than 0.
- */
- function assertGreaterThanZero(dir, inputValue, inputName) {
- const validNumber = typeof inputValue === 'number' && inputValue > 0;
- const validString = typeof inputValue === 'string' && /^\d+$/.test(inputValue.trim()) && parseInt(inputValue) > 0;
- if (!validNumber && !validString) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${imgDirectiveDetails(dir.ngSrc)} \`${inputName}\` has an invalid value ` + `(\`${inputValue}\`). To fix this, provide \`${inputName}\` ` + `as a number greater than 0.`);
- }
- }
- /**
- * Verifies that the rendered image is not visually distorted. Effectively this is checking:
- * - Whether the "width" and "height" attributes reflect the actual dimensions of the image.
- * - Whether image styling is "correct" (see below for a longer explanation).
- */
- function assertNoImageDistortion(dir, img, renderer) {
- const removeListenerFn = renderer.listen(img, 'load', () => {
- removeListenerFn(); // TODO: `clientWidth`, `clientHeight`, `naturalWidth` and `naturalHeight`
- // are typed as number, but we run `parseFloat` (which accepts strings only).
- // Verify whether `parseFloat` is needed in the cases below.
- const renderedWidth = parseFloat(img.clientWidth);
- const renderedHeight = parseFloat(img.clientHeight);
- const renderedAspectRatio = renderedWidth / renderedHeight;
- const nonZeroRenderedDimensions = renderedWidth !== 0 && renderedHeight !== 0;
- const intrinsicWidth = parseFloat(img.naturalWidth);
- const intrinsicHeight = parseFloat(img.naturalHeight);
- const intrinsicAspectRatio = intrinsicWidth / intrinsicHeight;
- const suppliedWidth = dir.width;
- const suppliedHeight = dir.height;
- const suppliedAspectRatio = suppliedWidth / suppliedHeight; // Tolerance is used to account for the impact of subpixel rendering.
- // Due to subpixel rendering, the rendered, intrinsic, and supplied
- // aspect ratios of a correctly configured image may not exactly match.
- // For example, a `width=4030 height=3020` image might have a rendered
- // size of "1062w, 796.48h". (An aspect ratio of 1.334... vs. 1.333...)
- const inaccurateDimensions = Math.abs(suppliedAspectRatio - intrinsicAspectRatio) > ASPECT_RATIO_TOLERANCE;
- const stylingDistortion = nonZeroRenderedDimensions && Math.abs(intrinsicAspectRatio - renderedAspectRatio) > ASPECT_RATIO_TOLERANCE;
- if (inaccurateDimensions) {
- console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${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.`));
- } else if (stylingDistortion) {
- console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${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.`));
- } else if (!dir.ngSrcset && nonZeroRenderedDimensions) {
- // If `ngSrcset` hasn't been set, sanity check the intrinsic size.
- const recommendedWidth = RECOMMENDED_SRCSET_DENSITY_CAP * renderedWidth;
- const recommendedHeight = RECOMMENDED_SRCSET_DENSITY_CAP * renderedHeight;
- const oversizedWidth = intrinsicWidth - recommendedWidth >= OVERSIZED_IMAGE_TOLERANCE;
- const oversizedHeight = intrinsicHeight - recommendedHeight >= OVERSIZED_IMAGE_TOLERANCE;
- if (oversizedWidth || oversizedHeight) {
- console.warn((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵformatRuntimeError"])(2960
- /* RuntimeErrorCode.OVERSIZED_IMAGE */
- , `${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.`));
- }
- }
- });
- }
- /**
- * Verifies that a specified input is set.
- */
- function assertNonEmptyWidthAndHeight(dir) {
- let missingAttributes = [];
- if (dir.width === undefined) missingAttributes.push('width');
- if (dir.height === undefined) missingAttributes.push('height');
- if (missingAttributes.length > 0) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2954
- /* RuntimeErrorCode.REQUIRED_INPUT_MISSING */
- , `${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.`);
- }
- }
- /**
- * Verifies that the `loading` attribute is set to a valid input &
- * is not used on priority images.
- */
- function assertValidLoadingInput(dir) {
- if (dir.loading && dir.priority) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${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.`);
- }
- const validInputs = ['auto', 'eager', 'lazy'];
- if (typeof dir.loading === 'string' && !validInputs.includes(dir.loading)) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](2952
- /* RuntimeErrorCode.INVALID_INPUT */
- , `${imgDirectiveDetails(dir.ngSrc)} the \`loading\` attribute ` + `has an invalid value (\`${dir.loading}\`). ` + `To fix this, provide a valid value ("lazy", "eager", or "auto").`);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file only reexports content of the `src` folder. Keep it that way.
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 8784:
- /*!********************************************************!*\
- !*** ./node_modules/@angular/common/fesm2015/http.mjs ***!
- \********************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "HTTP_INTERCEPTORS": () => (/* binding */ HTTP_INTERCEPTORS),
- /* harmony export */ "HttpBackend": () => (/* binding */ HttpBackend),
- /* harmony export */ "HttpClient": () => (/* binding */ HttpClient),
- /* harmony export */ "HttpClientJsonpModule": () => (/* binding */ HttpClientJsonpModule),
- /* harmony export */ "HttpClientModule": () => (/* binding */ HttpClientModule),
- /* harmony export */ "HttpClientXsrfModule": () => (/* binding */ HttpClientXsrfModule),
- /* harmony export */ "HttpContext": () => (/* binding */ HttpContext),
- /* harmony export */ "HttpContextToken": () => (/* binding */ HttpContextToken),
- /* harmony export */ "HttpErrorResponse": () => (/* binding */ HttpErrorResponse),
- /* harmony export */ "HttpEventType": () => (/* binding */ HttpEventType),
- /* harmony export */ "HttpHandler": () => (/* binding */ HttpHandler),
- /* harmony export */ "HttpHeaderResponse": () => (/* binding */ HttpHeaderResponse),
- /* harmony export */ "HttpHeaders": () => (/* binding */ HttpHeaders),
- /* harmony export */ "HttpParams": () => (/* binding */ HttpParams),
- /* harmony export */ "HttpRequest": () => (/* binding */ HttpRequest),
- /* harmony export */ "HttpResponse": () => (/* binding */ HttpResponse),
- /* harmony export */ "HttpResponseBase": () => (/* binding */ HttpResponseBase),
- /* harmony export */ "HttpUrlEncodingCodec": () => (/* binding */ HttpUrlEncodingCodec),
- /* harmony export */ "HttpXhrBackend": () => (/* binding */ HttpXhrBackend),
- /* harmony export */ "HttpXsrfTokenExtractor": () => (/* binding */ HttpXsrfTokenExtractor),
- /* harmony export */ "JsonpClientBackend": () => (/* binding */ JsonpClientBackend),
- /* harmony export */ "JsonpInterceptor": () => (/* binding */ JsonpInterceptor),
- /* harmony export */ "XhrFactory": () => (/* binding */ XhrFactory),
- /* harmony export */ "ɵHttpInterceptingHandler": () => (/* binding */ HttpInterceptingHandler)
- /* harmony export */ });
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common */ 6362);
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 3184);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 4139);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 2378);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ 1133);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 9151);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 6942);
- /**
- * @license Angular v14.2.7
- * (c) 2010-2022 Google LLC. https://angular.io/
- * License: MIT
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Transforms an `HttpRequest` into a stream of `HttpEvent`s, one of which will likely be a
- * `HttpResponse`.
- *
- * `HttpHandler` is injectable. When injected, the handler instance dispatches requests to the
- * first interceptor in the chain, which dispatches to the second, etc, eventually reaching the
- * `HttpBackend`.
- *
- * In an `HttpInterceptor`, the `HttpHandler` parameter is the next interceptor in the chain.
- *
- * @publicApi
- */
- class HttpHandler {}
- /**
- * A final `HttpHandler` which will dispatch the request via browser HTTP APIs to a backend.
- *
- * Interceptors sit between the `HttpClient` interface and the `HttpBackend`.
- *
- * When injected, `HttpBackend` dispatches requests directly to the backend, without going
- * through the interceptor chain.
- *
- * @publicApi
- */
- class HttpBackend {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents the header configuration options for an HTTP request.
- * Instances are immutable. Modifying methods return a cloned
- * instance with the change. The original object is never changed.
- *
- * @publicApi
- */
- class HttpHeaders {
- /** Constructs a new HTTP header object with the given values.*/
- constructor(headers) {
- /**
- * Internal map of lowercased header names to the normalized
- * form of the name (the form seen first).
- */
- this.normalizedNames = new Map();
- /**
- * Queued updates to be materialized the next initialization.
- */
- this.lazyUpdate = null;
- if (!headers) {
- this.headers = new Map();
- } else if (typeof headers === 'string') {
- this.lazyInit = () => {
- this.headers = new Map();
- headers.split('\n').forEach(line => {
- const index = line.indexOf(':');
- if (index > 0) {
- const name = line.slice(0, index);
- const key = name.toLowerCase();
- const value = line.slice(index + 1).trim();
- this.maybeSetNormalizedName(name, key);
- if (this.headers.has(key)) {
- this.headers.get(key).push(value);
- } else {
- this.headers.set(key, [value]);
- }
- }
- });
- };
- } else {
- this.lazyInit = () => {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- assertValidHeaders(headers);
- }
- this.headers = new Map();
- Object.keys(headers).forEach(name => {
- let values = headers[name];
- const key = name.toLowerCase();
- if (typeof values === 'string') {
- values = [values];
- }
- if (values.length > 0) {
- this.headers.set(key, values);
- this.maybeSetNormalizedName(name, key);
- }
- });
- };
- }
- }
- /**
- * Checks for existence of a given header.
- *
- * @param name The header name to check for existence.
- *
- * @returns True if the header exists, false otherwise.
- */
- has(name) {
- this.init();
- return this.headers.has(name.toLowerCase());
- }
- /**
- * Retrieves the first value of a given header.
- *
- * @param name The header name.
- *
- * @returns The value string if the header exists, null otherwise
- */
- get(name) {
- this.init();
- const values = this.headers.get(name.toLowerCase());
- return values && values.length > 0 ? values[0] : null;
- }
- /**
- * Retrieves the names of the headers.
- *
- * @returns A list of header names.
- */
- keys() {
- this.init();
- return Array.from(this.normalizedNames.values());
- }
- /**
- * Retrieves a list of values for a given header.
- *
- * @param name The header name from which to retrieve values.
- *
- * @returns A string of values if the header exists, null otherwise.
- */
- getAll(name) {
- this.init();
- return this.headers.get(name.toLowerCase()) || null;
- }
- /**
- * Appends a new value to the existing set of values for a header
- * and returns them in a clone of the original instance.
- *
- * @param name The header name for which to append the values.
- * @param value The value to append.
- *
- * @returns A clone of the HTTP headers object with the value appended to the given header.
- */
- append(name, value) {
- return this.clone({
- name,
- value,
- op: 'a'
- });
- }
- /**
- * Sets or modifies a value for a given header in a clone of the original instance.
- * If the header already exists, its value is replaced with the given value
- * in the returned object.
- *
- * @param name The header name.
- * @param value The value or values to set or override for the given header.
- *
- * @returns A clone of the HTTP headers object with the newly set header value.
- */
- set(name, value) {
- return this.clone({
- name,
- value,
- op: 's'
- });
- }
- /**
- * Deletes values for a given header in a clone of the original instance.
- *
- * @param name The header name.
- * @param value The value or values to delete for the given header.
- *
- * @returns A clone of the HTTP headers object with the given value deleted.
- */
- delete(name, value) {
- return this.clone({
- name,
- value,
- op: 'd'
- });
- }
- maybeSetNormalizedName(name, lcName) {
- if (!this.normalizedNames.has(lcName)) {
- this.normalizedNames.set(lcName, name);
- }
- }
- init() {
- if (!!this.lazyInit) {
- if (this.lazyInit instanceof HttpHeaders) {
- this.copyFrom(this.lazyInit);
- } else {
- this.lazyInit();
- }
- this.lazyInit = null;
- if (!!this.lazyUpdate) {
- this.lazyUpdate.forEach(update => this.applyUpdate(update));
- this.lazyUpdate = null;
- }
- }
- }
- copyFrom(other) {
- other.init();
- Array.from(other.headers.keys()).forEach(key => {
- this.headers.set(key, other.headers.get(key));
- this.normalizedNames.set(key, other.normalizedNames.get(key));
- });
- }
- clone(update) {
- const clone = new HttpHeaders();
- clone.lazyInit = !!this.lazyInit && this.lazyInit instanceof HttpHeaders ? this.lazyInit : this;
- clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);
- return clone;
- }
- applyUpdate(update) {
- const key = update.name.toLowerCase();
- switch (update.op) {
- case 'a':
- case 's':
- let value = update.value;
- if (typeof value === 'string') {
- value = [value];
- }
- if (value.length === 0) {
- return;
- }
- this.maybeSetNormalizedName(update.name, key);
- const base = (update.op === 'a' ? this.headers.get(key) : undefined) || [];
- base.push(...value);
- this.headers.set(key, base);
- break;
- case 'd':
- const toDelete = update.value;
- if (!toDelete) {
- this.headers.delete(key);
- this.normalizedNames.delete(key);
- } else {
- let existing = this.headers.get(key);
- if (!existing) {
- return;
- }
- existing = existing.filter(value => toDelete.indexOf(value) === -1);
- if (existing.length === 0) {
- this.headers.delete(key);
- this.normalizedNames.delete(key);
- } else {
- this.headers.set(key, existing);
- }
- }
- break;
- }
- }
- /**
- * @internal
- */
- forEach(fn) {
- this.init();
- Array.from(this.normalizedNames.keys()).forEach(key => fn(this.normalizedNames.get(key), this.headers.get(key)));
- }
- }
- /**
- * Verifies that the headers object has the right shape: the values
- * must be either strings or arrays. Throws an error if an invalid
- * header value is present.
- */
- function assertValidHeaders(headers) {
- for (const [key, value] of Object.entries(headers)) {
- if (typeof value !== 'string' && !Array.isArray(value)) {
- throw new Error(`Unexpected value of the \`${key}\` header provided. ` + `Expecting either a string or an array, but got: \`${value}\`.`);
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Provides encoding and decoding of URL parameter and query-string values.
- *
- * Serializes and parses URL parameter keys and values to encode and decode them.
- * If you pass URL query parameters without encoding,
- * the query parameters can be misinterpreted at the receiving end.
- *
- *
- * @publicApi
- */
- class HttpUrlEncodingCodec {
- /**
- * Encodes a key name for a URL parameter or query-string.
- * @param key The key name.
- * @returns The encoded key name.
- */
- encodeKey(key) {
- return standardEncoding(key);
- }
- /**
- * Encodes the value of a URL parameter or query-string.
- * @param value The value.
- * @returns The encoded value.
- */
- encodeValue(value) {
- return standardEncoding(value);
- }
- /**
- * Decodes an encoded URL parameter or query-string key.
- * @param key The encoded key name.
- * @returns The decoded key name.
- */
- decodeKey(key) {
- return decodeURIComponent(key);
- }
- /**
- * Decodes an encoded URL parameter or query-string value.
- * @param value The encoded value.
- * @returns The decoded value.
- */
- decodeValue(value) {
- return decodeURIComponent(value);
- }
- }
- function paramParser(rawParams, codec) {
- const map = new Map();
- if (rawParams.length > 0) {
- // The `window.location.search` can be used while creating an instance of the `HttpParams` class
- // (e.g. `new HttpParams({ fromString: window.location.search })`). The `window.location.search`
- // may start with the `?` char, so we strip it if it's present.
- const params = rawParams.replace(/^\?/, '').split('&');
- params.forEach(param => {
- const eqIdx = param.indexOf('=');
- const [key, val] = eqIdx == -1 ? [codec.decodeKey(param), ''] : [codec.decodeKey(param.slice(0, eqIdx)), codec.decodeValue(param.slice(eqIdx + 1))];
- const list = map.get(key) || [];
- list.push(val);
- map.set(key, list);
- });
- }
- return map;
- }
- /**
- * Encode input string with standard encodeURIComponent and then un-encode specific characters.
- */
- const STANDARD_ENCODING_REGEX = /%(\d[a-f0-9])/gi;
- const STANDARD_ENCODING_REPLACEMENTS = {
- '40': '@',
- '3A': ':',
- '24': '$',
- '2C': ',',
- '3B': ';',
- '3D': '=',
- '3F': '?',
- '2F': '/'
- };
- function standardEncoding(v) {
- return encodeURIComponent(v).replace(STANDARD_ENCODING_REGEX, (s, t) => {
- var _a;
- return (_a = STANDARD_ENCODING_REPLACEMENTS[t]) !== null && _a !== void 0 ? _a : s;
- });
- }
- function valueToString(value) {
- return `${value}`;
- }
- /**
- * An HTTP request/response body that represents serialized parameters,
- * per the MIME type `application/x-www-form-urlencoded`.
- *
- * This class is immutable; all mutation operations return a new instance.
- *
- * @publicApi
- */
- class HttpParams {
- constructor(options = {}) {
- this.updates = null;
- this.cloneFrom = null;
- this.encoder = options.encoder || new HttpUrlEncodingCodec();
- if (!!options.fromString) {
- if (!!options.fromObject) {
- throw new Error(`Cannot specify both fromString and fromObject.`);
- }
- this.map = paramParser(options.fromString, this.encoder);
- } else if (!!options.fromObject) {
- this.map = new Map();
- Object.keys(options.fromObject).forEach(key => {
- const value = options.fromObject[key]; // convert the values to strings
- const values = Array.isArray(value) ? value.map(valueToString) : [valueToString(value)];
- this.map.set(key, values);
- });
- } else {
- this.map = null;
- }
- }
- /**
- * Reports whether the body includes one or more values for a given parameter.
- * @param param The parameter name.
- * @returns True if the parameter has one or more values,
- * false if it has no value or is not present.
- */
- has(param) {
- this.init();
- return this.map.has(param);
- }
- /**
- * Retrieves the first value for a parameter.
- * @param param The parameter name.
- * @returns The first value of the given parameter,
- * or `null` if the parameter is not present.
- */
- get(param) {
- this.init();
- const res = this.map.get(param);
- return !!res ? res[0] : null;
- }
- /**
- * Retrieves all values for a parameter.
- * @param param The parameter name.
- * @returns All values in a string array,
- * or `null` if the parameter not present.
- */
- getAll(param) {
- this.init();
- return this.map.get(param) || null;
- }
- /**
- * Retrieves all the parameters for this body.
- * @returns The parameter names in a string array.
- */
- keys() {
- this.init();
- return Array.from(this.map.keys());
- }
- /**
- * Appends a new value to existing values for a parameter.
- * @param param The parameter name.
- * @param value The new value to add.
- * @return A new body with the appended value.
- */
- append(param, value) {
- return this.clone({
- param,
- value,
- op: 'a'
- });
- }
- /**
- * Constructs a new body with appended values for the given parameter name.
- * @param params parameters and values
- * @return A new body with the new value.
- */
- appendAll(params) {
- const updates = [];
- Object.keys(params).forEach(param => {
- const value = params[param];
- if (Array.isArray(value)) {
- value.forEach(_value => {
- updates.push({
- param,
- value: _value,
- op: 'a'
- });
- });
- } else {
- updates.push({
- param,
- value: value,
- op: 'a'
- });
- }
- });
- return this.clone(updates);
- }
- /**
- * Replaces the value for a parameter.
- * @param param The parameter name.
- * @param value The new value.
- * @return A new body with the new value.
- */
- set(param, value) {
- return this.clone({
- param,
- value,
- op: 's'
- });
- }
- /**
- * Removes a given value or all values from a parameter.
- * @param param The parameter name.
- * @param value The value to remove, if provided.
- * @return A new body with the given value removed, or with all values
- * removed if no value is specified.
- */
- delete(param, value) {
- return this.clone({
- param,
- value,
- op: 'd'
- });
- }
- /**
- * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are
- * separated by `&`s.
- */
- toString() {
- this.init();
- return this.keys().map(key => {
- const eKey = this.encoder.encodeKey(key); // `a: ['1']` produces `'a=1'`
- // `b: []` produces `''`
- // `c: ['1', '2']` produces `'c=1&c=2'`
- return this.map.get(key).map(value => eKey + '=' + this.encoder.encodeValue(value)).join('&');
- }) // filter out empty values because `b: []` produces `''`
- // which results in `a=1&&c=1&c=2` instead of `a=1&c=1&c=2` if we don't
- .filter(param => param !== '').join('&');
- }
- clone(update) {
- const clone = new HttpParams({
- encoder: this.encoder
- });
- clone.cloneFrom = this.cloneFrom || this;
- clone.updates = (this.updates || []).concat(update);
- return clone;
- }
- init() {
- if (this.map === null) {
- this.map = new Map();
- }
- if (this.cloneFrom !== null) {
- this.cloneFrom.init();
- this.cloneFrom.keys().forEach(key => this.map.set(key, this.cloneFrom.map.get(key)));
- this.updates.forEach(update => {
- switch (update.op) {
- case 'a':
- case 's':
- const base = (update.op === 'a' ? this.map.get(update.param) : undefined) || [];
- base.push(valueToString(update.value));
- this.map.set(update.param, base);
- break;
- case 'd':
- if (update.value !== undefined) {
- let base = this.map.get(update.param) || [];
- const idx = base.indexOf(valueToString(update.value));
- if (idx !== -1) {
- base.splice(idx, 1);
- }
- if (base.length > 0) {
- this.map.set(update.param, base);
- } else {
- this.map.delete(update.param);
- }
- } else {
- this.map.delete(update.param);
- break;
- }
- }
- });
- this.cloneFrom = this.updates = null;
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A token used to manipulate and access values stored in `HttpContext`.
- *
- * @publicApi
- */
- class HttpContextToken {
- constructor(defaultValue) {
- this.defaultValue = defaultValue;
- }
- }
- /**
- * Http context stores arbitrary user defined values and ensures type safety without
- * actually knowing the types. It is backed by a `Map` and guarantees that keys do not clash.
- *
- * This context is mutable and is shared between cloned requests unless explicitly specified.
- *
- * @usageNotes
- *
- * ### Usage Example
- *
- * ```typescript
- * // inside cache.interceptors.ts
- * export const IS_CACHE_ENABLED = new HttpContextToken<boolean>(() => false);
- *
- * export class CacheInterceptor implements HttpInterceptor {
- *
- * intercept(req: HttpRequest<any>, delegate: HttpHandler): Observable<HttpEvent<any>> {
- * if (req.context.get(IS_CACHE_ENABLED) === true) {
- * return ...;
- * }
- * return delegate.handle(req);
- * }
- * }
- *
- * // inside a service
- *
- * this.httpClient.get('/api/weather', {
- * context: new HttpContext().set(IS_CACHE_ENABLED, true)
- * }).subscribe(...);
- * ```
- *
- * @publicApi
- */
- class HttpContext {
- constructor() {
- this.map = new Map();
- }
- /**
- * Store a value in the context. If a value is already present it will be overwritten.
- *
- * @param token The reference to an instance of `HttpContextToken`.
- * @param value The value to store.
- *
- * @returns A reference to itself for easy chaining.
- */
- set(token, value) {
- this.map.set(token, value);
- return this;
- }
- /**
- * Retrieve the value associated with the given token.
- *
- * @param token The reference to an instance of `HttpContextToken`.
- *
- * @returns The stored value or default if one is defined.
- */
- get(token) {
- if (!this.map.has(token)) {
- this.map.set(token, token.defaultValue());
- }
- return this.map.get(token);
- }
- /**
- * Delete the value associated with the given token.
- *
- * @param token The reference to an instance of `HttpContextToken`.
- *
- * @returns A reference to itself for easy chaining.
- */
- delete(token) {
- this.map.delete(token);
- return this;
- }
- /**
- * Checks for existence of a given token.
- *
- * @param token The reference to an instance of `HttpContextToken`.
- *
- * @returns True if the token exists, false otherwise.
- */
- has(token) {
- return this.map.has(token);
- }
- /**
- * @returns a list of tokens currently stored in the context.
- */
- keys() {
- return this.map.keys();
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Determine whether the given HTTP method may include a body.
- */
- function mightHaveBody(method) {
- switch (method) {
- case 'DELETE':
- case 'GET':
- case 'HEAD':
- case 'OPTIONS':
- case 'JSONP':
- return false;
- default:
- return true;
- }
- }
- /**
- * Safely assert whether the given value is an ArrayBuffer.
- *
- * In some execution environments ArrayBuffer is not defined.
- */
- function isArrayBuffer(value) {
- return typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer;
- }
- /**
- * Safely assert whether the given value is a Blob.
- *
- * In some execution environments Blob is not defined.
- */
- function isBlob(value) {
- return typeof Blob !== 'undefined' && value instanceof Blob;
- }
- /**
- * Safely assert whether the given value is a FormData instance.
- *
- * In some execution environments FormData is not defined.
- */
- function isFormData(value) {
- return typeof FormData !== 'undefined' && value instanceof FormData;
- }
- /**
- * Safely assert whether the given value is a URLSearchParams instance.
- *
- * In some execution environments URLSearchParams is not defined.
- */
- function isUrlSearchParams(value) {
- return typeof URLSearchParams !== 'undefined' && value instanceof URLSearchParams;
- }
- /**
- * An outgoing HTTP request with an optional typed body.
- *
- * `HttpRequest` represents an outgoing request, including URL, method,
- * headers, body, and other request configuration options. Instances should be
- * assumed to be immutable. To modify a `HttpRequest`, the `clone`
- * method should be used.
- *
- * @publicApi
- */
- class HttpRequest {
- constructor(method, url, third, fourth) {
- this.url = url;
- /**
- * The request body, or `null` if one isn't set.
- *
- * Bodies are not enforced to be immutable, as they can include a reference to any
- * user-defined data type. However, interceptors should take care to preserve
- * idempotence by treating them as such.
- */
- this.body = null;
- /**
- * Whether this request should be made in a way that exposes progress events.
- *
- * Progress events are expensive (change detection runs on each event) and so
- * they should only be requested if the consumer intends to monitor them.
- */
- this.reportProgress = false;
- /**
- * Whether this request should be sent with outgoing credentials (cookies).
- */
- this.withCredentials = false;
- /**
- * The expected response type of the server.
- *
- * This is used to parse the response appropriately before returning it to
- * the requestee.
- */
- this.responseType = 'json';
- this.method = method.toUpperCase(); // Next, need to figure out which argument holds the HttpRequestInit
- // options, if any.
- let options; // Check whether a body argument is expected. The only valid way to omit
- // the body argument is to use a known no-body method like GET.
- if (mightHaveBody(this.method) || !!fourth) {
- // Body is the third argument, options are the fourth.
- this.body = third !== undefined ? third : null;
- options = fourth;
- } else {
- // No body required, options are the third argument. The body stays null.
- options = third;
- } // If options have been passed, interpret them.
- if (options) {
- // Normalize reportProgress and withCredentials.
- this.reportProgress = !!options.reportProgress;
- this.withCredentials = !!options.withCredentials; // Override default response type of 'json' if one is provided.
- if (!!options.responseType) {
- this.responseType = options.responseType;
- } // Override headers if they're provided.
- if (!!options.headers) {
- this.headers = options.headers;
- }
- if (!!options.context) {
- this.context = options.context;
- }
- if (!!options.params) {
- this.params = options.params;
- }
- } // If no headers have been passed in, construct a new HttpHeaders instance.
- if (!this.headers) {
- this.headers = new HttpHeaders();
- } // If no context have been passed in, construct a new HttpContext instance.
- if (!this.context) {
- this.context = new HttpContext();
- } // If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.
- if (!this.params) {
- this.params = new HttpParams();
- this.urlWithParams = url;
- } else {
- // Encode the parameters to a string in preparation for inclusion in the URL.
- const params = this.params.toString();
- if (params.length === 0) {
- // No parameters, the visible URL is just the URL given at creation time.
- this.urlWithParams = url;
- } else {
- // Does the URL already have query parameters? Look for '?'.
- const qIdx = url.indexOf('?'); // There are 3 cases to handle:
- // 1) No existing parameters -> append '?' followed by params.
- // 2) '?' exists and is followed by existing query string ->
- // append '&' followed by params.
- // 3) '?' exists at the end of the url -> append params directly.
- // This basically amounts to determining the character, if any, with
- // which to join the URL and parameters.
- const sep = qIdx === -1 ? '?' : qIdx < url.length - 1 ? '&' : '';
- this.urlWithParams = url + sep + params;
- }
- }
- }
- /**
- * Transform the free-form body into a serialized format suitable for
- * transmission to the server.
- */
- serializeBody() {
- // If no body is present, no need to serialize it.
- if (this.body === null) {
- return null;
- } // Check whether the body is already in a serialized form. If so,
- // it can just be returned directly.
- if (isArrayBuffer(this.body) || isBlob(this.body) || isFormData(this.body) || isUrlSearchParams(this.body) || typeof this.body === 'string') {
- return this.body;
- } // Check whether the body is an instance of HttpUrlEncodedParams.
- if (this.body instanceof HttpParams) {
- return this.body.toString();
- } // Check whether the body is an object or array, and serialize with JSON if so.
- if (typeof this.body === 'object' || typeof this.body === 'boolean' || Array.isArray(this.body)) {
- return JSON.stringify(this.body);
- } // Fall back on toString() for everything else.
- return this.body.toString();
- }
- /**
- * Examine the body and attempt to infer an appropriate MIME type
- * for it.
- *
- * If no such type can be inferred, this method will return `null`.
- */
- detectContentTypeHeader() {
- // An empty body has no content type.
- if (this.body === null) {
- return null;
- } // FormData bodies rely on the browser's content type assignment.
- if (isFormData(this.body)) {
- return null;
- } // Blobs usually have their own content type. If it doesn't, then
- // no type can be inferred.
- if (isBlob(this.body)) {
- return this.body.type || null;
- } // Array buffers have unknown contents and thus no type can be inferred.
- if (isArrayBuffer(this.body)) {
- return null;
- } // Technically, strings could be a form of JSON data, but it's safe enough
- // to assume they're plain strings.
- if (typeof this.body === 'string') {
- return 'text/plain';
- } // `HttpUrlEncodedParams` has its own content-type.
- if (this.body instanceof HttpParams) {
- return 'application/x-www-form-urlencoded;charset=UTF-8';
- } // Arrays, objects, boolean and numbers will be encoded as JSON.
- if (typeof this.body === 'object' || typeof this.body === 'number' || typeof this.body === 'boolean') {
- return 'application/json';
- } // No type could be inferred.
- return null;
- }
- clone(update = {}) {
- var _a; // For method, url, and responseType, take the current value unless
- // it is overridden in the update hash.
- const method = update.method || this.method;
- const url = update.url || this.url;
- const responseType = update.responseType || this.responseType; // The body is somewhat special - a `null` value in update.body means
- // whatever current body is present is being overridden with an empty
- // body, whereas an `undefined` value in update.body implies no
- // override.
- const body = update.body !== undefined ? update.body : this.body; // Carefully handle the boolean options to differentiate between
- // `false` and `undefined` in the update args.
- const withCredentials = update.withCredentials !== undefined ? update.withCredentials : this.withCredentials;
- const reportProgress = update.reportProgress !== undefined ? update.reportProgress : this.reportProgress; // Headers and params may be appended to if `setHeaders` or
- // `setParams` are used.
- let headers = update.headers || this.headers;
- let params = update.params || this.params; // Pass on context if needed
- const context = (_a = update.context) !== null && _a !== void 0 ? _a : this.context; // Check whether the caller has asked to add headers.
- if (update.setHeaders !== undefined) {
- // Set every requested header.
- headers = Object.keys(update.setHeaders).reduce((headers, name) => headers.set(name, update.setHeaders[name]), headers);
- } // Check whether the caller has asked to set params.
- if (update.setParams) {
- // Set every requested param.
- params = Object.keys(update.setParams).reduce((params, param) => params.set(param, update.setParams[param]), params);
- } // Finally, construct the new HttpRequest using the pieces from above.
- return new HttpRequest(method, url, body, {
- params,
- headers,
- context,
- reportProgress,
- responseType,
- withCredentials
- });
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Type enumeration for the different kinds of `HttpEvent`.
- *
- * @publicApi
- */
- var HttpEventType;
- (function (HttpEventType) {
- /**
- * The request was sent out over the wire.
- */
- HttpEventType[HttpEventType["Sent"] = 0] = "Sent";
- /**
- * An upload progress event was received.
- */
- HttpEventType[HttpEventType["UploadProgress"] = 1] = "UploadProgress";
- /**
- * The response status code and headers were received.
- */
- HttpEventType[HttpEventType["ResponseHeader"] = 2] = "ResponseHeader";
- /**
- * A download progress event was received.
- */
- HttpEventType[HttpEventType["DownloadProgress"] = 3] = "DownloadProgress";
- /**
- * The full response including the body was received.
- */
- HttpEventType[HttpEventType["Response"] = 4] = "Response";
- /**
- * A custom event from an interceptor or a backend.
- */
- HttpEventType[HttpEventType["User"] = 5] = "User";
- })(HttpEventType || (HttpEventType = {}));
- /**
- * Base class for both `HttpResponse` and `HttpHeaderResponse`.
- *
- * @publicApi
- */
- class HttpResponseBase {
- /**
- * Super-constructor for all responses.
- *
- * The single parameter accepted is an initialization hash. Any properties
- * of the response passed there will override the default values.
- */
- constructor(init, defaultStatus = 200
- /* HttpStatusCode.Ok */
- , defaultStatusText = 'OK') {
- // If the hash has values passed, use them to initialize the response.
- // Otherwise use the default values.
- this.headers = init.headers || new HttpHeaders();
- this.status = init.status !== undefined ? init.status : defaultStatus;
- this.statusText = init.statusText || defaultStatusText;
- this.url = init.url || null; // Cache the ok value to avoid defining a getter.
- this.ok = this.status >= 200 && this.status < 300;
- }
- }
- /**
- * A partial HTTP response which only includes the status and header data,
- * but no response body.
- *
- * `HttpHeaderResponse` is a `HttpEvent` available on the response
- * event stream, only when progress events are requested.
- *
- * @publicApi
- */
- class HttpHeaderResponse extends HttpResponseBase {
- /**
- * Create a new `HttpHeaderResponse` with the given parameters.
- */
- constructor(init = {}) {
- super(init);
- this.type = HttpEventType.ResponseHeader;
- }
- /**
- * Copy this `HttpHeaderResponse`, overriding its contents with the
- * given parameter hash.
- */
- clone(update = {}) {
- // Perform a straightforward initialization of the new HttpHeaderResponse,
- // overriding the current parameters with new ones if given.
- return new HttpHeaderResponse({
- headers: update.headers || this.headers,
- status: update.status !== undefined ? update.status : this.status,
- statusText: update.statusText || this.statusText,
- url: update.url || this.url || undefined
- });
- }
- }
- /**
- * A full HTTP response, including a typed response body (which may be `null`
- * if one was not returned).
- *
- * `HttpResponse` is a `HttpEvent` available on the response event
- * stream.
- *
- * @publicApi
- */
- class HttpResponse extends HttpResponseBase {
- /**
- * Construct a new `HttpResponse`.
- */
- constructor(init = {}) {
- super(init);
- this.type = HttpEventType.Response;
- this.body = init.body !== undefined ? init.body : null;
- }
- clone(update = {}) {
- return new HttpResponse({
- body: update.body !== undefined ? update.body : this.body,
- headers: update.headers || this.headers,
- status: update.status !== undefined ? update.status : this.status,
- statusText: update.statusText || this.statusText,
- url: update.url || this.url || undefined
- });
- }
- }
- /**
- * A response that represents an error or failure, either from a
- * non-successful HTTP status, an error while executing the request,
- * or some other failure which occurred during the parsing of the response.
- *
- * Any error returned on the `Observable` response stream will be
- * wrapped in an `HttpErrorResponse` to provide additional context about
- * the state of the HTTP layer when the error occurred. The error property
- * will contain either a wrapped Error object or the error response returned
- * from the server.
- *
- * @publicApi
- */
- class HttpErrorResponse extends HttpResponseBase {
- constructor(init) {
- // Initialize with a default status of 0 / Unknown Error.
- super(init, 0, 'Unknown Error');
- this.name = 'HttpErrorResponse';
- /**
- * Errors are never okay, even when the status code is in the 2xx success range.
- */
- this.ok = false; // If the response was successful, then this was a parse error. Otherwise, it was
- // a protocol-level failure of some sort. Either the request failed in transit
- // or the server returned an unsuccessful status code.
- if (this.status >= 200 && this.status < 300) {
- this.message = `Http failure during parsing for ${init.url || '(unknown url)'}`;
- } else {
- this.message = `Http failure response for ${init.url || '(unknown url)'}: ${init.status} ${init.statusText}`;
- }
- this.error = init.error || null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Constructs an instance of `HttpRequestOptions<T>` from a source `HttpMethodOptions` and
- * the given `body`. This function clones the object and adds the body.
- *
- * Note that the `responseType` *options* value is a String that identifies the
- * single data type of the response.
- * A single overload version of the method handles each response type.
- * The value of `responseType` cannot be a union, as the combined signature could imply.
- *
- */
- function addBody(options, body) {
- return {
- body,
- headers: options.headers,
- context: options.context,
- observe: options.observe,
- params: options.params,
- reportProgress: options.reportProgress,
- responseType: options.responseType,
- withCredentials: options.withCredentials
- };
- }
- /**
- * Performs HTTP requests.
- * This service is available as an injectable class, with methods to perform HTTP requests.
- * Each request method has multiple signatures, and the return type varies based on
- * the signature that is called (mainly the values of `observe` and `responseType`).
- *
- * Note that the `responseType` *options* value is a String that identifies the
- * single data type of the response.
- * A single overload version of the method handles each response type.
- * The value of `responseType` cannot be a union, as the combined signature could imply.
- *
- * @usageNotes
- * Sample HTTP requests for the [Tour of Heroes](/tutorial/toh-pt0) application.
- *
- * ### HTTP Request Example
- *
- * ```
- * // GET heroes whose name contains search term
- * searchHeroes(term: string): observable<Hero[]>{
- *
- * const params = new HttpParams({fromString: 'name=term'});
- * return this.httpClient.request('GET', this.heroesUrl, {responseType:'json', params});
- * }
- * ```
- *
- * Alternatively, the parameter string can be used without invoking HttpParams
- * by directly joining to the URL.
- * ```
- * this.httpClient.request('GET', this.heroesUrl + '?' + 'name=term', {responseType:'json'});
- * ```
- *
- *
- * ### JSONP Example
- * ```
- * requestJsonp(url, callback = 'callback') {
- * return this.httpClient.jsonp(this.heroesURL, callback);
- * }
- * ```
- *
- * ### PATCH Example
- * ```
- * // PATCH one of the heroes' name
- * patchHero (id: number, heroName: string): Observable<{}> {
- * const url = `${this.heroesUrl}/${id}`; // PATCH api/heroes/42
- * return this.httpClient.patch(url, {name: heroName}, httpOptions)
- * .pipe(catchError(this.handleError('patchHero')));
- * }
- * ```
- *
- * @see [HTTP Guide](guide/http)
- * @see [HTTP Request](api/common/http/HttpRequest)
- *
- * @publicApi
- */
- class HttpClient {
- constructor(handler) {
- this.handler = handler;
- }
- /**
- * Constructs an observable for a generic HTTP request that, when subscribed,
- * fires the request through the chain of registered interceptors and on to the
- * server.
- *
- * You can pass an `HttpRequest` directly as the only parameter. In this case,
- * the call returns an observable of the raw `HttpEvent` stream.
- *
- * Alternatively you can pass an HTTP method as the first parameter,
- * a URL string as the second, and an options hash containing the request body as the third.
- * See `addBody()`. In this case, the specified `responseType` and `observe` options determine the
- * type of returned observable.
- * * The `responseType` value determines how a successful response body is parsed.
- * * If `responseType` is the default `json`, you can pass a type interface for the resulting
- * object as a type parameter to the call.
- *
- * The `observe` value determines the return type, according to what you are interested in
- * observing.
- * * An `observe` value of events returns an observable of the raw `HttpEvent` stream, including
- * progress events by default.
- * * An `observe` value of response returns an observable of `HttpResponse<T>`,
- * where the `T` parameter depends on the `responseType` and any optionally provided type
- * parameter.
- * * An `observe` value of body returns an observable of `<T>` with the same `T` body type.
- *
- */
- request(first, url, options = {}) {
- let req; // First, check whether the primary argument is an instance of `HttpRequest`.
- if (first instanceof HttpRequest) {
- // It is. The other arguments must be undefined (per the signatures) and can be
- // ignored.
- req = first;
- } else {
- // It's a string, so it represents a URL. Construct a request based on it,
- // and incorporate the remaining arguments (assuming `GET` unless a method is
- // provided.
- // Figure out the headers.
- let headers = undefined;
- if (options.headers instanceof HttpHeaders) {
- headers = options.headers;
- } else {
- headers = new HttpHeaders(options.headers);
- } // Sort out parameters.
- let params = undefined;
- if (!!options.params) {
- if (options.params instanceof HttpParams) {
- params = options.params;
- } else {
- params = new HttpParams({
- fromObject: options.params
- });
- }
- } // Construct the request.
- req = new HttpRequest(first, url, options.body !== undefined ? options.body : null, {
- headers,
- context: options.context,
- params,
- reportProgress: options.reportProgress,
- // By default, JSON is assumed to be returned for all calls.
- responseType: options.responseType || 'json',
- withCredentials: options.withCredentials
- });
- } // Start with an Observable.of() the initial request, and run the handler (which
- // includes all interceptors) inside a concatMap(). This way, the handler runs
- // inside an Observable chain, which causes interceptors to be re-run on every
- // subscription (this also makes retries re-run the handler, including interceptors).
- 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,
- // the only option is to get the event stream. Otherwise, return the event stream if
- // that is what was requested.
- if (first instanceof HttpRequest || options.observe === 'events') {
- return events$;
- } // The requested stream contains either the full response or the body. In either
- // case, the first step is to filter the event stream to extract a stream of
- // responses(s).
- const res$ = events$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.filter)(event => event instanceof HttpResponse)); // Decide which stream to return.
- switch (options.observe || 'body') {
- case 'body':
- // The requested stream is the body. Map the response stream to the response
- // body. This could be done more simply, but a misbehaving interceptor might
- // transform the response body into a different format and ignore the requested
- // responseType. Guard against this by validating that the response is of the
- // requested type.
- switch (req.responseType) {
- case 'arraybuffer':
- return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(res => {
- // Validate that the body is an ArrayBuffer.
- if (res.body !== null && !(res.body instanceof ArrayBuffer)) {
- throw new Error('Response is not an ArrayBuffer.');
- }
- return res.body;
- }));
- case 'blob':
- return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(res => {
- // Validate that the body is a Blob.
- if (res.body !== null && !(res.body instanceof Blob)) {
- throw new Error('Response is not a Blob.');
- }
- return res.body;
- }));
- case 'text':
- return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(res => {
- // Validate that the body is a string.
- if (res.body !== null && typeof res.body !== 'string') {
- throw new Error('Response is not a string.');
- }
- return res.body;
- }));
- case 'json':
- default:
- // No validation needed for JSON responses, as they can be of any type.
- return res$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.map)(res => res.body));
- }
- case 'response':
- // The response stream was requested directly, so return it.
- return res$;
- default:
- // Guard against new future observe types being added.
- throw new Error(`Unreachable: unhandled observe type ${options.observe}}`);
- }
- }
- /**
- * Constructs an observable that, when subscribed, causes the configured
- * `DELETE` request to execute on the server. See the individual overloads for
- * details on the return type.
- *
- * @param url The endpoint URL.
- * @param options The HTTP options to send with the request.
- *
- */
- delete(url, options = {}) {
- return this.request('DELETE', url, options);
- }
- /**
- * Constructs an observable that, when subscribed, causes the configured
- * `GET` request to execute on the server. See the individual overloads for
- * details on the return type.
- */
- get(url, options = {}) {
- return this.request('GET', url, options);
- }
- /**
- * Constructs an observable that, when subscribed, causes the configured
- * `HEAD` request to execute on the server. The `HEAD` method returns
- * meta information about the resource without transferring the
- * resource itself. See the individual overloads for
- * details on the return type.
- */
- head(url, options = {}) {
- return this.request('HEAD', url, options);
- }
- /**
- * Constructs an `Observable` that, when subscribed, causes a request with the special method
- * `JSONP` to be dispatched via the interceptor pipeline.
- * The [JSONP pattern](https://en.wikipedia.org/wiki/JSONP) works around limitations of certain
- * API endpoints that don't support newer,
- * and preferable [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) protocol.
- * JSONP treats the endpoint API as a JavaScript file and tricks the browser to process the
- * requests even if the API endpoint is not located on the same domain (origin) as the client-side
- * application making the request.
- * The endpoint API must support JSONP callback for JSONP requests to work.
- * The resource API returns the JSON response wrapped in a callback function.
- * You can pass the callback function name as one of the query parameters.
- * Note that JSONP requests can only be used with `GET` requests.
- *
- * @param url The resource URL.
- * @param callbackParam The callback function name.
- *
- */
- jsonp(url, callbackParam) {
- return this.request('JSONP', url, {
- params: new HttpParams().append(callbackParam, 'JSONP_CALLBACK'),
- observe: 'body',
- responseType: 'json'
- });
- }
- /**
- * Constructs an `Observable` that, when subscribed, causes the configured
- * `OPTIONS` request to execute on the server. This method allows the client
- * to determine the supported HTTP methods and other capabilities of an endpoint,
- * without implying a resource action. See the individual overloads for
- * details on the return type.
- */
- options(url, options = {}) {
- return this.request('OPTIONS', url, options);
- }
- /**
- * Constructs an observable that, when subscribed, causes the configured
- * `PATCH` request to execute on the server. See the individual overloads for
- * details on the return type.
- */
- patch(url, body, options = {}) {
- return this.request('PATCH', url, addBody(options, body));
- }
- /**
- * Constructs an observable that, when subscribed, causes the configured
- * `POST` request to execute on the server. The server responds with the location of
- * the replaced resource. See the individual overloads for
- * details on the return type.
- */
- post(url, body, options = {}) {
- return this.request('POST', url, addBody(options, body));
- }
- /**
- * Constructs an observable that, when subscribed, causes the configured
- * `PUT` request to execute on the server. The `PUT` method replaces an existing resource
- * with a new set of values.
- * See the individual overloads for details on the return type.
- */
- put(url, body, options = {}) {
- return this.request('PUT', url, addBody(options, body));
- }
- }
- HttpClient.ɵfac = function HttpClient_Factory(t) {
- return new (t || HttpClient)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](HttpHandler));
- };
- HttpClient.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
- token: HttpClient,
- factory: HttpClient.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpClient, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
- }], function () {
- return [{
- type: HttpHandler
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * `HttpHandler` which applies an `HttpInterceptor` to an `HttpRequest`.
- *
- *
- */
- class HttpInterceptorHandler {
- constructor(next, interceptor) {
- this.next = next;
- this.interceptor = interceptor;
- }
- handle(req) {
- return this.interceptor.intercept(req, this.next);
- }
- }
- /**
- * A multi-provider token that represents the array of registered
- * `HttpInterceptor` objects.
- *
- * @publicApi
- */
- const HTTP_INTERCEPTORS = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.InjectionToken('HTTP_INTERCEPTORS');
- class NoopInterceptor {
- intercept(req, next) {
- return next.handle(req);
- }
- }
- NoopInterceptor.ɵfac = function NoopInterceptor_Factory(t) {
- return new (t || NoopInterceptor)();
- };
- NoopInterceptor.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
- token: NoopInterceptor,
- factory: NoopInterceptor.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](NoopInterceptor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Every request made through JSONP needs a callback name that's unique across the
- // whole page. Each request is assigned an id and the callback name is constructed
- // from that. The next id to be assigned is tracked in a global variable here that
- // is shared among all applications on the page.
- let nextRequestId = 0;
- /**
- * When a pending <script> is unsubscribed we'll move it to this document, so it won't be
- * executed.
- */
- let foreignDocument; // Error text given when a JSONP script is injected, but doesn't invoke the callback
- // passed in its URL.
- 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
- // have a request method JSONP.
- const JSONP_ERR_WRONG_METHOD = 'JSONP requests must use JSONP request method.';
- 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
- // headers set
- const JSONP_ERR_HEADERS_NOT_SUPPORTED = 'JSONP requests do not support headers.';
- /**
- * DI token/abstract type representing a map of JSONP callbacks.
- *
- * In the browser, this should always be the `window` object.
- *
- *
- */
- class JsonpCallbackContext {}
- /**
- * Processes an `HttpRequest` with the JSONP method,
- * by performing JSONP style requests.
- * @see `HttpHandler`
- * @see `HttpXhrBackend`
- *
- * @publicApi
- */
- class JsonpClientBackend {
- constructor(callbackMap, document) {
- this.callbackMap = callbackMap;
- this.document = document;
- /**
- * A resolved promise that can be used to schedule microtasks in the event handlers.
- */
- this.resolvedPromise = Promise.resolve();
- }
- /**
- * Get the name of the next callback method, by incrementing the global `nextRequestId`.
- */
- nextCallback() {
- return `ng_jsonp_callback_${nextRequestId++}`;
- }
- /**
- * Processes a JSONP request and returns an event stream of the results.
- * @param req The request object.
- * @returns An observable of the response events.
- *
- */
- handle(req) {
- // Firstly, check both the method and response type. If either doesn't match
- // then the request was improperly routed here and cannot be handled.
- if (req.method !== 'JSONP') {
- throw new Error(JSONP_ERR_WRONG_METHOD);
- } else if (req.responseType !== 'json') {
- throw new Error(JSONP_ERR_WRONG_RESPONSE_TYPE);
- } // Check the request headers. JSONP doesn't support headers and
- // cannot set any that were supplied.
- if (req.headers.keys().length > 0) {
- throw new Error(JSONP_ERR_HEADERS_NOT_SUPPORTED);
- } // Everything else happens inside the Observable boundary.
- return new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => {
- // The first step to make a request is to generate the callback name, and replace the
- // callback placeholder in the URL with the name. Care has to be taken here to ensure
- // a trailing &, if matched, gets inserted back into the URL in the correct place.
- const callback = this.nextCallback();
- const url = req.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/, `=${callback}$1`); // Construct the <script> tag and point it at the URL.
- const node = this.document.createElement('script');
- node.src = url; // A JSONP request requires waiting for multiple callbacks. These variables
- // are closed over and track state across those callbacks.
- // The response object, if one has been received, or null otherwise.
- let body = null; // Whether the response callback has been called.
- let finished = false; // Set the response callback in this.callbackMap (which will be the window
- // object in the browser. The script being loaded via the <script> tag will
- // eventually call this callback.
- this.callbackMap[callback] = data => {
- // Data has been received from the JSONP script. Firstly, delete this callback.
- delete this.callbackMap[callback]; // Set state to indicate data was received.
- body = data;
- finished = true;
- }; // cleanup() is a utility closure that removes the <script> from the page and
- // the response callback from the window. This logic is used in both the
- // success, error, and cancellation paths, so it's extracted out for convenience.
- const cleanup = () => {
- // Remove the <script> tag if it's still on the page.
- if (node.parentNode) {
- node.parentNode.removeChild(node);
- } // Remove the response callback from the callbackMap (window object in the
- // browser).
- delete this.callbackMap[callback];
- }; // onLoad() is the success callback which runs after the response callback
- // if the JSONP script loads successfully. The event itself is unimportant.
- // If something went wrong, onLoad() may run without the response callback
- // having been invoked.
- const onLoad = event => {
- // We wrap it in an extra Promise, to ensure the microtask
- // is scheduled after the loaded endpoint has executed any potential microtask itself,
- // which is not guaranteed in Internet Explorer and EdgeHTML. See issue #39496
- this.resolvedPromise.then(() => {
- // Cleanup the page.
- cleanup(); // Check whether the response callback has run.
- if (!finished) {
- // It hasn't, something went wrong with the request. Return an error via
- // the Observable error path. All JSONP errors have status 0.
- observer.error(new HttpErrorResponse({
- url,
- status: 0,
- statusText: 'JSONP Error',
- error: new Error(JSONP_ERR_NO_CALLBACK)
- }));
- return;
- } // Success. body either contains the response body or null if none was
- // returned.
- observer.next(new HttpResponse({
- body,
- status: 200
- /* HttpStatusCode.Ok */
- ,
- statusText: 'OK',
- url
- })); // Complete the stream, the response is over.
- observer.complete();
- });
- }; // onError() is the error callback, which runs if the script returned generates
- // a Javascript error. It emits the error via the Observable error channel as
- // a HttpErrorResponse.
- const onError = error => {
- cleanup(); // Wrap the error in a HttpErrorResponse.
- observer.error(new HttpErrorResponse({
- error,
- status: 0,
- statusText: 'JSONP Error',
- url
- }));
- }; // Subscribe to both the success (load) and error events on the <script> tag,
- // and add it to the page.
- node.addEventListener('load', onLoad);
- node.addEventListener('error', onError);
- this.document.body.appendChild(node); // The request has now been successfully sent.
- observer.next({
- type: HttpEventType.Sent
- }); // Cancellation handler.
- return () => {
- if (!finished) {
- this.removeListeners(node);
- } // And finally, clean up the page.
- cleanup();
- };
- });
- }
- removeListeners(script) {
- // Issue #34818
- // Changing <script>'s ownerDocument will prevent it from execution.
- // https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block
- if (!foreignDocument) {
- foreignDocument = this.document.implementation.createHTMLDocument();
- }
- foreignDocument.adoptNode(script);
- }
- }
- JsonpClientBackend.ɵfac = function JsonpClientBackend_Factory(t) {
- 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));
- };
- JsonpClientBackend.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
- token: JsonpClientBackend,
- factory: JsonpClientBackend.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](JsonpClientBackend, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
- }], function () {
- return [{
- type: JsonpCallbackContext
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.DOCUMENT]
- }]
- }];
- }, null);
- })();
- /**
- * Identifies requests with the method JSONP and
- * shifts them to the `JsonpClientBackend`.
- *
- * @see `HttpInterceptor`
- *
- * @publicApi
- */
- class JsonpInterceptor {
- constructor(jsonp) {
- this.jsonp = jsonp;
- }
- /**
- * Identifies and handles a given JSONP request.
- * @param req The outgoing request object to handle.
- * @param next The next interceptor in the chain, or the backend
- * if no interceptors remain in the chain.
- * @returns An observable of the event stream.
- */
- intercept(req, next) {
- if (req.method === 'JSONP') {
- return this.jsonp.handle(req);
- } // Fall through for normal HTTP requests.
- return next.handle(req);
- }
- }
- JsonpInterceptor.ɵfac = function JsonpInterceptor_Factory(t) {
- return new (t || JsonpInterceptor)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](JsonpClientBackend));
- };
- JsonpInterceptor.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
- token: JsonpInterceptor,
- factory: JsonpInterceptor.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](JsonpInterceptor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
- }], function () {
- return [{
- type: JsonpClientBackend
- }];
- }, null);
- })();
- const XSSI_PREFIX = /^\)\]\}',?\n/;
- /**
- * Determine an appropriate URL for the response, by checking either
- * XMLHttpRequest.responseURL or the X-Request-URL header.
- */
- function getResponseUrl(xhr) {
- if ('responseURL' in xhr && xhr.responseURL) {
- return xhr.responseURL;
- }
- if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {
- return xhr.getResponseHeader('X-Request-URL');
- }
- return null;
- }
- /**
- * Uses `XMLHttpRequest` to send requests to a backend server.
- * @see `HttpHandler`
- * @see `JsonpClientBackend`
- *
- * @publicApi
- */
- class HttpXhrBackend {
- constructor(xhrFactory) {
- this.xhrFactory = xhrFactory;
- }
- /**
- * Processes a request and returns a stream of response events.
- * @param req The request object.
- * @returns An observable of the response events.
- */
- handle(req) {
- // Quick check to give a better error message when a user attempts to use
- // HttpClient.jsonp() without installing the HttpClientJsonpModule
- if (req.method === 'JSONP') {
- throw new Error(`Attempted to construct Jsonp request without HttpClientJsonpModule installed.`);
- } // Everything happens on Observable subscription.
- return new rxjs__WEBPACK_IMPORTED_MODULE_5__.Observable(observer => {
- // Start by setting up the XHR object with request method, URL, and withCredentials flag.
- const xhr = this.xhrFactory.build();
- xhr.open(req.method, req.urlWithParams);
- if (!!req.withCredentials) {
- xhr.withCredentials = true;
- } // Add all the requested headers.
- req.headers.forEach((name, values) => xhr.setRequestHeader(name, values.join(','))); // Add an Accept header if one isn't present already.
- if (!req.headers.has('Accept')) {
- xhr.setRequestHeader('Accept', 'application/json, text/plain, */*');
- } // Auto-detect the Content-Type header if one isn't present already.
- if (!req.headers.has('Content-Type')) {
- const detectedType = req.detectContentTypeHeader(); // Sometimes Content-Type detection fails.
- if (detectedType !== null) {
- xhr.setRequestHeader('Content-Type', detectedType);
- }
- } // Set the responseType if one was requested.
- if (req.responseType) {
- const responseType = req.responseType.toLowerCase(); // JSON responses need to be processed as text. This is because if the server
- // returns an XSSI-prefixed JSON response, the browser will fail to parse it,
- // xhr.response will be null, and xhr.responseText cannot be accessed to
- // retrieve the prefixed JSON data in order to strip the prefix. Thus, all JSON
- // is parsed by first requesting text and then applying JSON.parse.
- xhr.responseType = responseType !== 'json' ? responseType : 'text';
- } // Serialize the request body if one is present. If not, this will be set to null.
- const reqBody = req.serializeBody(); // If progress events are enabled, response headers will be delivered
- // in two events - the HttpHeaderResponse event and the full HttpResponse
- // event. However, since response headers don't change in between these
- // two events, it doesn't make sense to parse them twice. So headerResponse
- // caches the data extracted from the response whenever it's first parsed,
- // to ensure parsing isn't duplicated.
- let headerResponse = null; // partialFromXhr extracts the HttpHeaderResponse from the current XMLHttpRequest
- // state, and memoizes it into headerResponse.
- const partialFromXhr = () => {
- if (headerResponse !== null) {
- return headerResponse;
- }
- const statusText = xhr.statusText || 'OK'; // Parse headers from XMLHttpRequest - this step is lazy.
- const headers = new HttpHeaders(xhr.getAllResponseHeaders()); // Read the response URL from the XMLHttpResponse instance and fall back on the
- // request URL.
- const url = getResponseUrl(xhr) || req.url; // Construct the HttpHeaderResponse and memoize it.
- headerResponse = new HttpHeaderResponse({
- headers,
- status: xhr.status,
- statusText,
- url
- });
- return headerResponse;
- }; // Next, a few closures are defined for the various events which XMLHttpRequest can
- // emit. This allows them to be unregistered as event listeners later.
- // First up is the load event, which represents a response being fully available.
- const onLoad = () => {
- // Read response state from the memoized partial data.
- let {
- headers,
- status,
- statusText,
- url
- } = partialFromXhr(); // The body will be read out if present.
- let body = null;
- if (status !== 204
- /* HttpStatusCode.NoContent */
- ) {
- // Use XMLHttpRequest.response if set, responseText otherwise.
- body = typeof xhr.response === 'undefined' ? xhr.responseText : xhr.response;
- } // Normalize another potential bug (this one comes from CORS).
- if (status === 0) {
- status = !!body ? 200
- /* HttpStatusCode.Ok */
- : 0;
- } // ok determines whether the response will be transmitted on the event or
- // error channel. Unsuccessful status codes (not 2xx) will always be errors,
- // but a successful status code can still result in an error if the user
- // asked for JSON data and the body cannot be parsed as such.
- let ok = status >= 200 && status < 300; // Check whether the body needs to be parsed as JSON (in many cases the browser
- // will have done that already).
- if (req.responseType === 'json' && typeof body === 'string') {
- // Save the original body, before attempting XSSI prefix stripping.
- const originalBody = body;
- body = body.replace(XSSI_PREFIX, '');
- try {
- // Attempt the parse. If it fails, a parse error should be delivered to the user.
- body = body !== '' ? JSON.parse(body) : null;
- } catch (error) {
- // Since the JSON.parse failed, it's reasonable to assume this might not have been a
- // JSON response. Restore the original body (including any XSSI prefix) to deliver
- // a better error response.
- body = originalBody; // If this was an error request to begin with, leave it as a string, it probably
- // just isn't JSON. Otherwise, deliver the parsing error to the user.
- if (ok) {
- // Even though the response status was 2xx, this is still an error.
- ok = false; // The parse error contains the text of the body that failed to parse.
- body = {
- error,
- text: body
- };
- }
- }
- }
- if (ok) {
- // A successful response is delivered on the event stream.
- observer.next(new HttpResponse({
- body,
- headers,
- status,
- statusText,
- url: url || undefined
- })); // The full body has been received and delivered, no further events
- // are possible. This request is complete.
- observer.complete();
- } else {
- // An unsuccessful request is delivered on the error channel.
- observer.error(new HttpErrorResponse({
- // The error in this case is the response body (error from the server).
- error: body,
- headers,
- status,
- statusText,
- url: url || undefined
- }));
- }
- }; // The onError callback is called when something goes wrong at the network level.
- // Connection timeout, DNS error, offline, etc. These are actual errors, and are
- // transmitted on the error channel.
- const onError = error => {
- const {
- url
- } = partialFromXhr();
- const res = new HttpErrorResponse({
- error,
- status: xhr.status || 0,
- statusText: xhr.statusText || 'Unknown Error',
- url: url || undefined
- });
- observer.error(res);
- }; // The sentHeaders flag tracks whether the HttpResponseHeaders event
- // has been sent on the stream. This is necessary to track if progress
- // is enabled since the event will be sent on only the first download
- // progress event.
- let sentHeaders = false; // The download progress event handler, which is only registered if
- // progress events are enabled.
- const onDownProgress = event => {
- // Send the HttpResponseHeaders event if it hasn't been sent already.
- if (!sentHeaders) {
- observer.next(partialFromXhr());
- sentHeaders = true;
- } // Start building the download progress event to deliver on the response
- // event stream.
- let progressEvent = {
- type: HttpEventType.DownloadProgress,
- loaded: event.loaded
- }; // Set the total number of bytes in the event if it's available.
- if (event.lengthComputable) {
- progressEvent.total = event.total;
- } // If the request was for text content and a partial response is
- // available on XMLHttpRequest, include it in the progress event
- // to allow for streaming reads.
- if (req.responseType === 'text' && !!xhr.responseText) {
- progressEvent.partialText = xhr.responseText;
- } // Finally, fire the event.
- observer.next(progressEvent);
- }; // The upload progress event handler, which is only registered if
- // progress events are enabled.
- const onUpProgress = event => {
- // Upload progress events are simpler. Begin building the progress
- // event.
- let progress = {
- type: HttpEventType.UploadProgress,
- loaded: event.loaded
- }; // If the total number of bytes being uploaded is available, include
- // it.
- if (event.lengthComputable) {
- progress.total = event.total;
- } // Send the event.
- observer.next(progress);
- }; // By default, register for load and error events.
- xhr.addEventListener('load', onLoad);
- xhr.addEventListener('error', onError);
- xhr.addEventListener('timeout', onError);
- xhr.addEventListener('abort', onError); // Progress events are only enabled if requested.
- if (req.reportProgress) {
- // Download progress is always enabled if requested.
- xhr.addEventListener('progress', onDownProgress); // Upload progress depends on whether there is a body to upload.
- if (reqBody !== null && xhr.upload) {
- xhr.upload.addEventListener('progress', onUpProgress);
- }
- } // Fire the request, and notify the event stream that it was fired.
- xhr.send(reqBody);
- observer.next({
- type: HttpEventType.Sent
- }); // This is the return from the Observable function, which is the
- // request cancellation handler.
- return () => {
- // On a cancellation, remove all registered event listeners.
- xhr.removeEventListener('error', onError);
- xhr.removeEventListener('abort', onError);
- xhr.removeEventListener('load', onLoad);
- xhr.removeEventListener('timeout', onError);
- if (req.reportProgress) {
- xhr.removeEventListener('progress', onDownProgress);
- if (reqBody !== null && xhr.upload) {
- xhr.upload.removeEventListener('progress', onUpProgress);
- }
- } // Finally, abort the in-flight request.
- if (xhr.readyState !== xhr.DONE) {
- xhr.abort();
- }
- };
- });
- }
- }
- HttpXhrBackend.ɵfac = function HttpXhrBackend_Factory(t) {
- return new (t || HttpXhrBackend)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_6__.XhrFactory));
- };
- HttpXhrBackend.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
- token: HttpXhrBackend,
- factory: HttpXhrBackend.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpXhrBackend, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
- }], function () {
- return [{
- type: _angular_common__WEBPACK_IMPORTED_MODULE_6__.XhrFactory
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const XSRF_COOKIE_NAME = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.InjectionToken('XSRF_COOKIE_NAME');
- const XSRF_HEADER_NAME = new _angular_core__WEBPACK_IMPORTED_MODULE_4__.InjectionToken('XSRF_HEADER_NAME');
- /**
- * Retrieves the current XSRF token to use with the next outgoing request.
- *
- * @publicApi
- */
- class HttpXsrfTokenExtractor {}
- /**
- * `HttpXsrfTokenExtractor` which retrieves the token from a cookie.
- */
- class HttpXsrfCookieExtractor {
- constructor(doc, platform, cookieName) {
- this.doc = doc;
- this.platform = platform;
- this.cookieName = cookieName;
- this.lastCookieString = '';
- this.lastToken = null;
- /**
- * @internal for testing
- */
- this.parseCount = 0;
- }
- getToken() {
- if (this.platform === 'server') {
- return null;
- }
- const cookieString = this.doc.cookie || '';
- if (cookieString !== this.lastCookieString) {
- this.parseCount++;
- this.lastToken = (0,_angular_common__WEBPACK_IMPORTED_MODULE_6__["ɵparseCookieValue"])(cookieString, this.cookieName);
- this.lastCookieString = cookieString;
- }
- return this.lastToken;
- }
- }
- HttpXsrfCookieExtractor.ɵfac = function HttpXsrfCookieExtractor_Factory(t) {
- 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));
- };
- HttpXsrfCookieExtractor.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
- token: HttpXsrfCookieExtractor,
- factory: HttpXsrfCookieExtractor.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpXsrfCookieExtractor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_6__.DOCUMENT]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_4__.PLATFORM_ID]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
- args: [XSRF_COOKIE_NAME]
- }]
- }];
- }, null);
- })();
- /**
- * `HttpInterceptor` which adds an XSRF token to eligible outgoing requests.
- */
- class HttpXsrfInterceptor {
- constructor(tokenService, headerName) {
- this.tokenService = tokenService;
- this.headerName = headerName;
- }
- intercept(req, next) {
- const lcUrl = req.url.toLowerCase(); // Skip both non-mutating requests and absolute URLs.
- // Non-mutating requests don't require a token, and absolute URLs require special handling
- // anyway as the cookie set
- // on our origin is not the same as the token expected by another origin.
- if (req.method === 'GET' || req.method === 'HEAD' || lcUrl.startsWith('http://') || lcUrl.startsWith('https://')) {
- return next.handle(req);
- }
- const token = this.tokenService.getToken(); // Be careful not to overwrite an existing header of the same name.
- if (token !== null && !req.headers.has(this.headerName)) {
- req = req.clone({
- headers: req.headers.set(this.headerName, token)
- });
- }
- return next.handle(req);
- }
- }
- HttpXsrfInterceptor.ɵfac = function HttpXsrfInterceptor_Factory(t) {
- return new (t || HttpXsrfInterceptor)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](HttpXsrfTokenExtractor), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵinject"](XSRF_HEADER_NAME));
- };
- HttpXsrfInterceptor.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
- token: HttpXsrfInterceptor,
- factory: HttpXsrfInterceptor.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpXsrfInterceptor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
- }], function () {
- return [{
- type: HttpXsrfTokenExtractor
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Inject,
- args: [XSRF_HEADER_NAME]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An injectable `HttpHandler` that applies multiple interceptors
- * to a request before passing it to the given `HttpBackend`.
- *
- * The interceptors are loaded lazily from the injector, to allow
- * interceptors to themselves inject classes depending indirectly
- * on `HttpInterceptingHandler` itself.
- * @see `HttpInterceptor`
- */
- class HttpInterceptingHandler {
- constructor(backend, injector) {
- this.backend = backend;
- this.injector = injector;
- this.chain = null;
- }
- handle(req) {
- if (this.chain === null) {
- const interceptors = this.injector.get(HTTP_INTERCEPTORS, []);
- this.chain = interceptors.reduceRight((next, interceptor) => new HttpInterceptorHandler(next, interceptor), this.backend);
- }
- return this.chain.handle(req);
- }
- }
- HttpInterceptingHandler.ɵfac = function HttpInterceptingHandler_Factory(t) {
- 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));
- };
- HttpInterceptingHandler.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjectable"]({
- token: HttpInterceptingHandler,
- factory: HttpInterceptingHandler.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpInterceptingHandler, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injectable
- }], function () {
- return [{
- type: HttpBackend
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.Injector
- }];
- }, null);
- })();
- /**
- * Constructs an `HttpHandler` that applies interceptors
- * to a request before passing it to the given `HttpBackend`.
- *
- * Use as a factory function within `HttpClientModule`.
- *
- *
- */
- function interceptingHandler(backend, interceptors = []) {
- if (!interceptors) {
- return backend;
- }
- return interceptors.reduceRight((next, interceptor) => new HttpInterceptorHandler(next, interceptor), backend);
- }
- /**
- * Factory function that determines where to store JSONP callbacks.
- *
- * Ordinarily JSONP callbacks are stored on the `window` object, but this may not exist
- * in test environments. In that case, callbacks are stored on an anonymous object instead.
- *
- *
- */
- function jsonpCallbackContext() {
- if (typeof window === 'object') {
- return window;
- }
- return {};
- }
- /**
- * Configures XSRF protection support for outgoing requests.
- *
- * For a server that supports a cookie-based XSRF protection system,
- * use directly to configure XSRF protection with the correct
- * cookie and header names.
- *
- * If no names are supplied, the default cookie name is `XSRF-TOKEN`
- * and the default header name is `X-XSRF-TOKEN`.
- *
- * @publicApi
- */
- class HttpClientXsrfModule {
- /**
- * Disable the default XSRF protection.
- */
- static disable() {
- return {
- ngModule: HttpClientXsrfModule,
- providers: [{
- provide: HttpXsrfInterceptor,
- useClass: NoopInterceptor
- }]
- };
- }
- /**
- * Configure XSRF protection.
- * @param options An object that can specify either or both
- * cookie name or header name.
- * - Cookie name default is `XSRF-TOKEN`.
- * - Header name default is `X-XSRF-TOKEN`.
- *
- */
- static withOptions(options = {}) {
- return {
- ngModule: HttpClientXsrfModule,
- providers: [options.cookieName ? {
- provide: XSRF_COOKIE_NAME,
- useValue: options.cookieName
- } : [], options.headerName ? {
- provide: XSRF_HEADER_NAME,
- useValue: options.headerName
- } : []]
- };
- }
- }
- HttpClientXsrfModule.ɵfac = function HttpClientXsrfModule_Factory(t) {
- return new (t || HttpClientXsrfModule)();
- };
- HttpClientXsrfModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
- type: HttpClientXsrfModule
- });
- HttpClientXsrfModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
- providers: [HttpXsrfInterceptor, {
- provide: HTTP_INTERCEPTORS,
- useExisting: HttpXsrfInterceptor,
- multi: true
- }, {
- provide: HttpXsrfTokenExtractor,
- useClass: HttpXsrfCookieExtractor
- }, {
- provide: XSRF_COOKIE_NAME,
- useValue: 'XSRF-TOKEN'
- }, {
- provide: XSRF_HEADER_NAME,
- useValue: 'X-XSRF-TOKEN'
- }]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpClientXsrfModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule,
- args: [{
- providers: [HttpXsrfInterceptor, {
- provide: HTTP_INTERCEPTORS,
- useExisting: HttpXsrfInterceptor,
- multi: true
- }, {
- provide: HttpXsrfTokenExtractor,
- useClass: HttpXsrfCookieExtractor
- }, {
- provide: XSRF_COOKIE_NAME,
- useValue: 'XSRF-TOKEN'
- }, {
- provide: XSRF_HEADER_NAME,
- useValue: 'X-XSRF-TOKEN'
- }]
- }]
- }], null, null);
- })();
- /**
- * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`
- * with supporting services for XSRF. Automatically imported by `HttpClientModule`.
- *
- * You can add interceptors to the chain behind `HttpClient` by binding them to the
- * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.
- *
- * @publicApi
- */
- class HttpClientModule {}
- HttpClientModule.ɵfac = function HttpClientModule_Factory(t) {
- return new (t || HttpClientModule)();
- };
- HttpClientModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
- type: HttpClientModule,
- imports: [HttpClientXsrfModule]
- });
- HttpClientModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
- providers: [HttpClient, {
- provide: HttpHandler,
- useClass: HttpInterceptingHandler
- }, HttpXhrBackend, {
- provide: HttpBackend,
- useExisting: HttpXhrBackend
- }],
- imports: [HttpClientXsrfModule.withOptions({
- cookieName: 'XSRF-TOKEN',
- headerName: 'X-XSRF-TOKEN'
- })]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpClientModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule,
- args: [{
- /**
- * Optional configuration for XSRF protection.
- */
- imports: [HttpClientXsrfModule.withOptions({
- cookieName: 'XSRF-TOKEN',
- headerName: 'X-XSRF-TOKEN'
- })],
- /**
- * Configures the [dependency injector](guide/glossary#injector) where it is imported
- * with supporting services for HTTP communications.
- */
- providers: [HttpClient, {
- provide: HttpHandler,
- useClass: HttpInterceptingHandler
- }, HttpXhrBackend, {
- provide: HttpBackend,
- useExisting: HttpXhrBackend
- }]
- }]
- }], null, null);
- })();
- /**
- * Configures the [dependency injector](guide/glossary#injector) for `HttpClient`
- * with supporting services for JSONP.
- * Without this module, Jsonp requests reach the backend
- * with method JSONP, where they are rejected.
- *
- * You can add interceptors to the chain behind `HttpClient` by binding them to the
- * multiprovider for built-in [DI token](guide/glossary#di-token) `HTTP_INTERCEPTORS`.
- *
- * @publicApi
- */
- class HttpClientJsonpModule {}
- HttpClientJsonpModule.ɵfac = function HttpClientJsonpModule_Factory(t) {
- return new (t || HttpClientJsonpModule)();
- };
- HttpClientJsonpModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({
- type: HttpClientJsonpModule
- });
- HttpClientJsonpModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({
- providers: [JsonpClientBackend, {
- provide: JsonpCallbackContext,
- useFactory: jsonpCallbackContext
- }, {
- provide: HTTP_INTERCEPTORS,
- useClass: JsonpInterceptor,
- multi: true
- }]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵsetClassMetadata"](HttpClientJsonpModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule,
- args: [{
- providers: [JsonpClientBackend, {
- provide: JsonpCallbackContext,
- useFactory: jsonpCallbackContext
- }, {
- provide: HTTP_INTERCEPTORS,
- useClass: JsonpInterceptor,
- multi: true
- }]
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A wrapper around the `XMLHttpRequest` constructor.
- *
- * @publicApi
- * @see `XhrFactory`
- * @deprecated
- * `XhrFactory` has moved, please import `XhrFactory` from `@angular/common` instead.
- */
- const XhrFactory = _angular_common__WEBPACK_IMPORTED_MODULE_6__.XhrFactory;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 8305:
- /*!**************************************************************!*\
- !*** ./node_modules/@angular/compiler/fesm2015/compiler.mjs ***!
- \**************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "AST": () => (/* binding */ AST),
- /* harmony export */ "ASTWithName": () => (/* binding */ ASTWithName),
- /* harmony export */ "ASTWithSource": () => (/* binding */ ASTWithSource),
- /* harmony export */ "AbsoluteSourceSpan": () => (/* binding */ AbsoluteSourceSpan),
- /* harmony export */ "ArrayType": () => (/* binding */ ArrayType),
- /* harmony export */ "AstMemoryEfficientTransformer": () => (/* binding */ AstMemoryEfficientTransformer),
- /* harmony export */ "AstTransformer": () => (/* binding */ AstTransformer),
- /* harmony export */ "Attribute": () => (/* binding */ Attribute),
- /* harmony export */ "Binary": () => (/* binding */ Binary),
- /* harmony export */ "BinaryOperator": () => (/* binding */ BinaryOperator),
- /* harmony export */ "BinaryOperatorExpr": () => (/* binding */ BinaryOperatorExpr),
- /* harmony export */ "BindingPipe": () => (/* binding */ BindingPipe),
- /* harmony export */ "BoundElementProperty": () => (/* binding */ BoundElementProperty),
- /* harmony export */ "BuiltinType": () => (/* binding */ BuiltinType),
- /* harmony export */ "BuiltinTypeName": () => (/* binding */ BuiltinTypeName),
- /* harmony export */ "CUSTOM_ELEMENTS_SCHEMA": () => (/* binding */ CUSTOM_ELEMENTS_SCHEMA),
- /* harmony export */ "Call": () => (/* binding */ Call),
- /* harmony export */ "Chain": () => (/* binding */ Chain),
- /* harmony export */ "ChangeDetectionStrategy": () => (/* binding */ ChangeDetectionStrategy),
- /* harmony export */ "CommaExpr": () => (/* binding */ CommaExpr),
- /* harmony export */ "Comment": () => (/* binding */ Comment),
- /* harmony export */ "CompilerConfig": () => (/* binding */ CompilerConfig),
- /* harmony export */ "Conditional": () => (/* binding */ Conditional),
- /* harmony export */ "ConditionalExpr": () => (/* binding */ ConditionalExpr),
- /* harmony export */ "ConstantPool": () => (/* binding */ ConstantPool),
- /* harmony export */ "CssSelector": () => (/* binding */ CssSelector),
- /* harmony export */ "DEFAULT_INTERPOLATION_CONFIG": () => (/* binding */ DEFAULT_INTERPOLATION_CONFIG),
- /* harmony export */ "DYNAMIC_TYPE": () => (/* binding */ DYNAMIC_TYPE),
- /* harmony export */ "DeclareFunctionStmt": () => (/* binding */ DeclareFunctionStmt),
- /* harmony export */ "DeclareVarStmt": () => (/* binding */ DeclareVarStmt),
- /* harmony export */ "DomElementSchemaRegistry": () => (/* binding */ DomElementSchemaRegistry),
- /* harmony export */ "EOF": () => (/* binding */ EOF),
- /* harmony export */ "Element": () => (/* binding */ Element),
- /* harmony export */ "ElementSchemaRegistry": () => (/* binding */ ElementSchemaRegistry),
- /* harmony export */ "EmitterVisitorContext": () => (/* binding */ EmitterVisitorContext),
- /* harmony export */ "EmptyExpr": () => (/* binding */ EmptyExpr),
- /* harmony export */ "Expansion": () => (/* binding */ Expansion),
- /* harmony export */ "ExpansionCase": () => (/* binding */ ExpansionCase),
- /* harmony export */ "Expression": () => (/* binding */ Expression),
- /* harmony export */ "ExpressionBinding": () => (/* binding */ ExpressionBinding),
- /* harmony export */ "ExpressionStatement": () => (/* binding */ ExpressionStatement),
- /* harmony export */ "ExpressionType": () => (/* binding */ ExpressionType),
- /* harmony export */ "ExternalExpr": () => (/* binding */ ExternalExpr),
- /* harmony export */ "ExternalReference": () => (/* binding */ ExternalReference),
- /* harmony export */ "FactoryTarget": () => (/* binding */ FactoryTarget$1),
- /* harmony export */ "FunctionExpr": () => (/* binding */ FunctionExpr),
- /* harmony export */ "HtmlParser": () => (/* binding */ HtmlParser),
- /* harmony export */ "HtmlTagDefinition": () => (/* binding */ HtmlTagDefinition),
- /* harmony export */ "I18NHtmlParser": () => (/* binding */ I18NHtmlParser),
- /* harmony export */ "IfStmt": () => (/* binding */ IfStmt),
- /* harmony export */ "ImplicitReceiver": () => (/* binding */ ImplicitReceiver),
- /* harmony export */ "InstantiateExpr": () => (/* binding */ InstantiateExpr),
- /* harmony export */ "Interpolation": () => (/* binding */ Interpolation),
- /* harmony export */ "InterpolationConfig": () => (/* binding */ InterpolationConfig),
- /* harmony export */ "InvokeFunctionExpr": () => (/* binding */ InvokeFunctionExpr),
- /* harmony export */ "JSDocComment": () => (/* binding */ JSDocComment),
- /* harmony export */ "JitEvaluator": () => (/* binding */ JitEvaluator),
- /* harmony export */ "KeyedRead": () => (/* binding */ KeyedRead),
- /* harmony export */ "KeyedWrite": () => (/* binding */ KeyedWrite),
- /* harmony export */ "LeadingComment": () => (/* binding */ LeadingComment),
- /* harmony export */ "Lexer": () => (/* binding */ Lexer),
- /* harmony export */ "LiteralArray": () => (/* binding */ LiteralArray),
- /* harmony export */ "LiteralArrayExpr": () => (/* binding */ LiteralArrayExpr),
- /* harmony export */ "LiteralExpr": () => (/* binding */ LiteralExpr),
- /* harmony export */ "LiteralMap": () => (/* binding */ LiteralMap),
- /* harmony export */ "LiteralMapExpr": () => (/* binding */ LiteralMapExpr),
- /* harmony export */ "LiteralPrimitive": () => (/* binding */ LiteralPrimitive),
- /* harmony export */ "LocalizedString": () => (/* binding */ LocalizedString),
- /* harmony export */ "MapType": () => (/* binding */ MapType),
- /* harmony export */ "MessageBundle": () => (/* binding */ MessageBundle),
- /* harmony export */ "NONE_TYPE": () => (/* binding */ NONE_TYPE),
- /* harmony export */ "NO_ERRORS_SCHEMA": () => (/* binding */ NO_ERRORS_SCHEMA),
- /* harmony export */ "NodeWithI18n": () => (/* binding */ NodeWithI18n),
- /* harmony export */ "NonNullAssert": () => (/* binding */ NonNullAssert),
- /* harmony export */ "NotExpr": () => (/* binding */ NotExpr),
- /* harmony export */ "ParseError": () => (/* binding */ ParseError),
- /* harmony export */ "ParseErrorLevel": () => (/* binding */ ParseErrorLevel),
- /* harmony export */ "ParseLocation": () => (/* binding */ ParseLocation),
- /* harmony export */ "ParseSourceFile": () => (/* binding */ ParseSourceFile),
- /* harmony export */ "ParseSourceSpan": () => (/* binding */ ParseSourceSpan),
- /* harmony export */ "ParseSpan": () => (/* binding */ ParseSpan),
- /* harmony export */ "ParseTreeResult": () => (/* binding */ ParseTreeResult),
- /* harmony export */ "ParsedEvent": () => (/* binding */ ParsedEvent),
- /* harmony export */ "ParsedProperty": () => (/* binding */ ParsedProperty),
- /* harmony export */ "ParsedPropertyType": () => (/* binding */ ParsedPropertyType),
- /* harmony export */ "ParsedVariable": () => (/* binding */ ParsedVariable),
- /* harmony export */ "Parser": () => (/* binding */ Parser$1),
- /* harmony export */ "ParserError": () => (/* binding */ ParserError),
- /* harmony export */ "PrefixNot": () => (/* binding */ PrefixNot),
- /* harmony export */ "PropertyRead": () => (/* binding */ PropertyRead),
- /* harmony export */ "PropertyWrite": () => (/* binding */ PropertyWrite),
- /* harmony export */ "R3BoundTarget": () => (/* binding */ R3BoundTarget),
- /* harmony export */ "R3Identifiers": () => (/* binding */ Identifiers),
- /* harmony export */ "R3SelectorScopeMode": () => (/* binding */ R3SelectorScopeMode),
- /* harmony export */ "R3TargetBinder": () => (/* binding */ R3TargetBinder),
- /* harmony export */ "R3TemplateDependencyKind": () => (/* binding */ R3TemplateDependencyKind),
- /* harmony export */ "ReadKeyExpr": () => (/* binding */ ReadKeyExpr),
- /* harmony export */ "ReadPropExpr": () => (/* binding */ ReadPropExpr),
- /* harmony export */ "ReadVarExpr": () => (/* binding */ ReadVarExpr),
- /* harmony export */ "RecursiveAstVisitor": () => (/* binding */ RecursiveAstVisitor),
- /* harmony export */ "RecursiveVisitor": () => (/* binding */ RecursiveVisitor),
- /* harmony export */ "ResourceLoader": () => (/* binding */ ResourceLoader),
- /* harmony export */ "ReturnStatement": () => (/* binding */ ReturnStatement),
- /* harmony export */ "STRING_TYPE": () => (/* binding */ STRING_TYPE),
- /* harmony export */ "SafeCall": () => (/* binding */ SafeCall),
- /* harmony export */ "SafeKeyedRead": () => (/* binding */ SafeKeyedRead),
- /* harmony export */ "SafePropertyRead": () => (/* binding */ SafePropertyRead),
- /* harmony export */ "SelectorContext": () => (/* binding */ SelectorContext),
- /* harmony export */ "SelectorListContext": () => (/* binding */ SelectorListContext),
- /* harmony export */ "SelectorMatcher": () => (/* binding */ SelectorMatcher),
- /* harmony export */ "Serializer": () => (/* binding */ Serializer),
- /* harmony export */ "SplitInterpolation": () => (/* binding */ SplitInterpolation),
- /* harmony export */ "Statement": () => (/* binding */ Statement),
- /* harmony export */ "StmtModifier": () => (/* binding */ StmtModifier),
- /* harmony export */ "TagContentType": () => (/* binding */ TagContentType),
- /* harmony export */ "TaggedTemplateExpr": () => (/* binding */ TaggedTemplateExpr),
- /* harmony export */ "TemplateBindingParseResult": () => (/* binding */ TemplateBindingParseResult),
- /* harmony export */ "TemplateLiteral": () => (/* binding */ TemplateLiteral),
- /* harmony export */ "TemplateLiteralElement": () => (/* binding */ TemplateLiteralElement),
- /* harmony export */ "Text": () => (/* binding */ Text),
- /* harmony export */ "ThisReceiver": () => (/* binding */ ThisReceiver),
- /* harmony export */ "TmplAstBoundAttribute": () => (/* binding */ BoundAttribute),
- /* harmony export */ "TmplAstBoundEvent": () => (/* binding */ BoundEvent),
- /* harmony export */ "TmplAstBoundText": () => (/* binding */ BoundText),
- /* harmony export */ "TmplAstContent": () => (/* binding */ Content),
- /* harmony export */ "TmplAstElement": () => (/* binding */ Element$1),
- /* harmony export */ "TmplAstIcu": () => (/* binding */ Icu$1),
- /* harmony export */ "TmplAstRecursiveVisitor": () => (/* binding */ RecursiveVisitor$1),
- /* harmony export */ "TmplAstReference": () => (/* binding */ Reference),
- /* harmony export */ "TmplAstTemplate": () => (/* binding */ Template),
- /* harmony export */ "TmplAstText": () => (/* binding */ Text$3),
- /* harmony export */ "TmplAstTextAttribute": () => (/* binding */ TextAttribute),
- /* harmony export */ "TmplAstVariable": () => (/* binding */ Variable),
- /* harmony export */ "Token": () => (/* binding */ Token),
- /* harmony export */ "TokenType": () => (/* binding */ TokenType),
- /* harmony export */ "TreeError": () => (/* binding */ TreeError),
- /* harmony export */ "Type": () => (/* binding */ Type),
- /* harmony export */ "TypeModifier": () => (/* binding */ TypeModifier),
- /* harmony export */ "TypeofExpr": () => (/* binding */ TypeofExpr),
- /* harmony export */ "Unary": () => (/* binding */ Unary),
- /* harmony export */ "UnaryOperator": () => (/* binding */ UnaryOperator),
- /* harmony export */ "UnaryOperatorExpr": () => (/* binding */ UnaryOperatorExpr),
- /* harmony export */ "VERSION": () => (/* binding */ VERSION),
- /* harmony export */ "VariableBinding": () => (/* binding */ VariableBinding),
- /* harmony export */ "Version": () => (/* binding */ Version),
- /* harmony export */ "ViewEncapsulation": () => (/* binding */ ViewEncapsulation),
- /* harmony export */ "WrappedNodeExpr": () => (/* binding */ WrappedNodeExpr),
- /* harmony export */ "WriteKeyExpr": () => (/* binding */ WriteKeyExpr),
- /* harmony export */ "WritePropExpr": () => (/* binding */ WritePropExpr),
- /* harmony export */ "WriteVarExpr": () => (/* binding */ WriteVarExpr),
- /* harmony export */ "Xliff": () => (/* binding */ Xliff),
- /* harmony export */ "Xliff2": () => (/* binding */ Xliff2),
- /* harmony export */ "Xmb": () => (/* binding */ Xmb),
- /* harmony export */ "XmlParser": () => (/* binding */ XmlParser),
- /* harmony export */ "Xtb": () => (/* binding */ Xtb),
- /* harmony export */ "_ParseAST": () => (/* binding */ _ParseAST),
- /* harmony export */ "compileClassMetadata": () => (/* binding */ compileClassMetadata),
- /* harmony export */ "compileComponentFromMetadata": () => (/* binding */ compileComponentFromMetadata),
- /* harmony export */ "compileDeclareClassMetadata": () => (/* binding */ compileDeclareClassMetadata),
- /* harmony export */ "compileDeclareComponentFromMetadata": () => (/* binding */ compileDeclareComponentFromMetadata),
- /* harmony export */ "compileDeclareDirectiveFromMetadata": () => (/* binding */ compileDeclareDirectiveFromMetadata),
- /* harmony export */ "compileDeclareFactoryFunction": () => (/* binding */ compileDeclareFactoryFunction),
- /* harmony export */ "compileDeclareInjectableFromMetadata": () => (/* binding */ compileDeclareInjectableFromMetadata),
- /* harmony export */ "compileDeclareInjectorFromMetadata": () => (/* binding */ compileDeclareInjectorFromMetadata),
- /* harmony export */ "compileDeclareNgModuleFromMetadata": () => (/* binding */ compileDeclareNgModuleFromMetadata),
- /* harmony export */ "compileDeclarePipeFromMetadata": () => (/* binding */ compileDeclarePipeFromMetadata),
- /* harmony export */ "compileDirectiveFromMetadata": () => (/* binding */ compileDirectiveFromMetadata),
- /* harmony export */ "compileFactoryFunction": () => (/* binding */ compileFactoryFunction),
- /* harmony export */ "compileInjectable": () => (/* binding */ compileInjectable),
- /* harmony export */ "compileInjector": () => (/* binding */ compileInjector),
- /* harmony export */ "compileNgModule": () => (/* binding */ compileNgModule),
- /* harmony export */ "compilePipeFromMetadata": () => (/* binding */ compilePipeFromMetadata),
- /* harmony export */ "computeMsgId": () => (/* binding */ computeMsgId),
- /* harmony export */ "core": () => (/* binding */ core),
- /* harmony export */ "createInjectableType": () => (/* binding */ createInjectableType),
- /* harmony export */ "createMayBeForwardRefExpression": () => (/* binding */ createMayBeForwardRefExpression),
- /* harmony export */ "devOnlyGuardedExpression": () => (/* binding */ devOnlyGuardedExpression),
- /* harmony export */ "emitDistinctChangesOnlyDefaultValue": () => (/* binding */ emitDistinctChangesOnlyDefaultValue),
- /* harmony export */ "getHtmlTagDefinition": () => (/* binding */ getHtmlTagDefinition),
- /* harmony export */ "getNsPrefix": () => (/* binding */ getNsPrefix),
- /* harmony export */ "getSafePropertyAccessString": () => (/* binding */ getSafePropertyAccessString),
- /* harmony export */ "identifierName": () => (/* binding */ identifierName),
- /* harmony export */ "isIdentifier": () => (/* binding */ isIdentifier),
- /* harmony export */ "isNgContainer": () => (/* binding */ isNgContainer),
- /* harmony export */ "isNgContent": () => (/* binding */ isNgContent),
- /* harmony export */ "isNgTemplate": () => (/* binding */ isNgTemplate),
- /* harmony export */ "jsDocComment": () => (/* binding */ jsDocComment),
- /* harmony export */ "leadingComment": () => (/* binding */ leadingComment),
- /* harmony export */ "literalMap": () => (/* binding */ literalMap),
- /* harmony export */ "makeBindingParser": () => (/* binding */ makeBindingParser),
- /* harmony export */ "mergeNsAndName": () => (/* binding */ mergeNsAndName),
- /* harmony export */ "outputAst": () => (/* binding */ output_ast),
- /* harmony export */ "parseHostBindings": () => (/* binding */ parseHostBindings),
- /* harmony export */ "parseTemplate": () => (/* binding */ parseTemplate),
- /* harmony export */ "preserveWhitespacesDefault": () => (/* binding */ preserveWhitespacesDefault),
- /* harmony export */ "publishFacade": () => (/* binding */ publishFacade),
- /* harmony export */ "r3JitTypeSourceSpan": () => (/* binding */ r3JitTypeSourceSpan),
- /* harmony export */ "sanitizeIdentifier": () => (/* binding */ sanitizeIdentifier),
- /* harmony export */ "splitNsName": () => (/* binding */ splitNsName),
- /* harmony export */ "verifyHostBindings": () => (/* binding */ verifyHostBindings),
- /* harmony export */ "visitAll": () => (/* binding */ visitAll)
- /* harmony export */ });
- /**
- * @license Angular v14.2.7
- * (c) 2010-2022 Google LLC. https://angular.io/
- * License: MIT
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- var TagContentType;
- (function (TagContentType) {
- TagContentType[TagContentType["RAW_TEXT"] = 0] = "RAW_TEXT";
- TagContentType[TagContentType["ESCAPABLE_RAW_TEXT"] = 1] = "ESCAPABLE_RAW_TEXT";
- TagContentType[TagContentType["PARSABLE_DATA"] = 2] = "PARSABLE_DATA";
- })(TagContentType || (TagContentType = {}));
- function splitNsName(elementName) {
- if (elementName[0] != ':') {
- return [null, elementName];
- }
- const colonIndex = elementName.indexOf(':', 1);
- if (colonIndex === -1) {
- throw new Error(`Unsupported format "${elementName}" expecting ":namespace:name"`);
- }
- return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];
- } // `<ng-container>` tags work the same regardless the namespace
- function isNgContainer(tagName) {
- return splitNsName(tagName)[1] === 'ng-container';
- } // `<ng-content>` tags work the same regardless the namespace
- function isNgContent(tagName) {
- return splitNsName(tagName)[1] === 'ng-content';
- } // `<ng-template>` tags work the same regardless the namespace
- function isNgTemplate(tagName) {
- return splitNsName(tagName)[1] === 'ng-template';
- }
- function getNsPrefix(fullName) {
- return fullName === null ? null : splitNsName(fullName)[0];
- }
- function mergeNsAndName(prefix, localName) {
- return prefix ? `:${prefix}:${localName}` : localName;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class HtmlTagDefinition {
- constructor({
- closedByChildren,
- implicitNamespacePrefix,
- contentType = TagContentType.PARSABLE_DATA,
- closedByParent = false,
- isVoid = false,
- ignoreFirstLf = false,
- preventNamespaceInheritance = false
- } = {}) {
- this.closedByChildren = {};
- this.closedByParent = false;
- this.canSelfClose = false;
- if (closedByChildren && closedByChildren.length > 0) {
- closedByChildren.forEach(tagName => this.closedByChildren[tagName] = true);
- }
- this.isVoid = isVoid;
- this.closedByParent = closedByParent || isVoid;
- this.implicitNamespacePrefix = implicitNamespacePrefix || null;
- this.contentType = contentType;
- this.ignoreFirstLf = ignoreFirstLf;
- this.preventNamespaceInheritance = preventNamespaceInheritance;
- }
- isClosedByChild(name) {
- return this.isVoid || name.toLowerCase() in this.closedByChildren;
- }
- getContentType(prefix) {
- if (typeof this.contentType === 'object') {
- const overrideType = prefix === undefined ? undefined : this.contentType[prefix];
- return overrideType !== null && overrideType !== void 0 ? overrideType : this.contentType.default;
- }
- return this.contentType;
- }
- }
- let _DEFAULT_TAG_DEFINITION; // see https://www.w3.org/TR/html51/syntax.html#optional-tags
- // This implementation does not fully conform to the HTML5 spec.
- let TAG_DEFINITIONS;
- function getHtmlTagDefinition(tagName) {
- var _a, _b;
- if (!TAG_DEFINITIONS) {
- _DEFAULT_TAG_DEFINITION = new HtmlTagDefinition();
- TAG_DEFINITIONS = {
- 'base': new HtmlTagDefinition({
- isVoid: true
- }),
- 'meta': new HtmlTagDefinition({
- isVoid: true
- }),
- 'area': new HtmlTagDefinition({
- isVoid: true
- }),
- 'embed': new HtmlTagDefinition({
- isVoid: true
- }),
- 'link': new HtmlTagDefinition({
- isVoid: true
- }),
- 'img': new HtmlTagDefinition({
- isVoid: true
- }),
- 'input': new HtmlTagDefinition({
- isVoid: true
- }),
- 'param': new HtmlTagDefinition({
- isVoid: true
- }),
- 'hr': new HtmlTagDefinition({
- isVoid: true
- }),
- 'br': new HtmlTagDefinition({
- isVoid: true
- }),
- 'source': new HtmlTagDefinition({
- isVoid: true
- }),
- 'track': new HtmlTagDefinition({
- isVoid: true
- }),
- 'wbr': new HtmlTagDefinition({
- isVoid: true
- }),
- 'p': new HtmlTagDefinition({
- 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'],
- closedByParent: true
- }),
- 'thead': new HtmlTagDefinition({
- closedByChildren: ['tbody', 'tfoot']
- }),
- 'tbody': new HtmlTagDefinition({
- closedByChildren: ['tbody', 'tfoot'],
- closedByParent: true
- }),
- 'tfoot': new HtmlTagDefinition({
- closedByChildren: ['tbody'],
- closedByParent: true
- }),
- 'tr': new HtmlTagDefinition({
- closedByChildren: ['tr'],
- closedByParent: true
- }),
- 'td': new HtmlTagDefinition({
- closedByChildren: ['td', 'th'],
- closedByParent: true
- }),
- 'th': new HtmlTagDefinition({
- closedByChildren: ['td', 'th'],
- closedByParent: true
- }),
- 'col': new HtmlTagDefinition({
- isVoid: true
- }),
- 'svg': new HtmlTagDefinition({
- implicitNamespacePrefix: 'svg'
- }),
- 'foreignObject': new HtmlTagDefinition({
- // Usually the implicit namespace here would be redundant since it will be inherited from
- // the parent `svg`, but we have to do it for `foreignObject`, because the way the parser
- // works is that the parent node of an end tag is its own start tag which means that
- // the `preventNamespaceInheritance` on `foreignObject` would have it default to the
- // implicit namespace which is `html`, unless specified otherwise.
- implicitNamespacePrefix: 'svg',
- // We want to prevent children of foreignObject from inheriting its namespace, because
- // the point of the element is to allow nodes from other namespaces to be inserted.
- preventNamespaceInheritance: true
- }),
- 'math': new HtmlTagDefinition({
- implicitNamespacePrefix: 'math'
- }),
- 'li': new HtmlTagDefinition({
- closedByChildren: ['li'],
- closedByParent: true
- }),
- 'dt': new HtmlTagDefinition({
- closedByChildren: ['dt', 'dd']
- }),
- 'dd': new HtmlTagDefinition({
- closedByChildren: ['dt', 'dd'],
- closedByParent: true
- }),
- 'rb': new HtmlTagDefinition({
- closedByChildren: ['rb', 'rt', 'rtc', 'rp'],
- closedByParent: true
- }),
- 'rt': new HtmlTagDefinition({
- closedByChildren: ['rb', 'rt', 'rtc', 'rp'],
- closedByParent: true
- }),
- 'rtc': new HtmlTagDefinition({
- closedByChildren: ['rb', 'rtc', 'rp'],
- closedByParent: true
- }),
- 'rp': new HtmlTagDefinition({
- closedByChildren: ['rb', 'rt', 'rtc', 'rp'],
- closedByParent: true
- }),
- 'optgroup': new HtmlTagDefinition({
- closedByChildren: ['optgroup'],
- closedByParent: true
- }),
- 'option': new HtmlTagDefinition({
- closedByChildren: ['option', 'optgroup'],
- closedByParent: true
- }),
- 'pre': new HtmlTagDefinition({
- ignoreFirstLf: true
- }),
- 'listing': new HtmlTagDefinition({
- ignoreFirstLf: true
- }),
- 'style': new HtmlTagDefinition({
- contentType: TagContentType.RAW_TEXT
- }),
- 'script': new HtmlTagDefinition({
- contentType: TagContentType.RAW_TEXT
- }),
- 'title': new HtmlTagDefinition({
- // The browser supports two separate `title` tags which have to use
- // a different content type: `HTMLTitleElement` and `SVGTitleElement`
- contentType: {
- default: TagContentType.ESCAPABLE_RAW_TEXT,
- svg: TagContentType.PARSABLE_DATA
- }
- }),
- 'textarea': new HtmlTagDefinition({
- contentType: TagContentType.ESCAPABLE_RAW_TEXT,
- ignoreFirstLf: true
- })
- };
- } // We have to make both a case-sensitive and a case-insensitive lookup, because
- // HTML tag names are case insensitive, whereas some SVG tags are case sensitive.
- return (_b = (_a = TAG_DEFINITIONS[tagName]) !== null && _a !== void 0 ? _a : TAG_DEFINITIONS[tagName.toLowerCase()]) !== null && _b !== void 0 ? _b : _DEFAULT_TAG_DEFINITION;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _SELECTOR_REGEXP = new RegExp('(\\:not\\()|' + // 1: ":not("
- '(([\\.\\#]?)[-\\w]+)|' + // 2: "tag"; 3: "."/"#";
- // "-" should appear first in the regexp below as FF31 parses "[.-\w]" as a range
- // 4: attribute; 5: attribute_string; 6: attribute_value
- '(?:\\[([-.\\w*\\\\$]+)(?:=([\"\']?)([^\\]\"\']*)\\5)?\\])|' + // "[name]", "[name=value]",
- // "[name="value"]",
- // "[name='value']"
- '(\\))|' + // 7: ")"
- '(\\s*,\\s*)', // 8: ","
- 'g');
- /**
- * A css selector contains an element name,
- * css classes and attribute/value pairs with the purpose
- * of selecting subsets out of them.
- */
- class CssSelector {
- constructor() {
- this.element = null;
- this.classNames = [];
- /**
- * The selectors are encoded in pairs where:
- * - even locations are attribute names
- * - odd locations are attribute values.
- *
- * Example:
- * Selector: `[key1=value1][key2]` would parse to:
- * ```
- * ['key1', 'value1', 'key2', '']
- * ```
- */
- this.attrs = [];
- this.notSelectors = [];
- }
- static parse(selector) {
- const results = [];
- const _addResult = (res, cssSel) => {
- if (cssSel.notSelectors.length > 0 && !cssSel.element && cssSel.classNames.length == 0 && cssSel.attrs.length == 0) {
- cssSel.element = '*';
- }
- res.push(cssSel);
- };
- let cssSelector = new CssSelector();
- let match;
- let current = cssSelector;
- let inNot = false;
- _SELECTOR_REGEXP.lastIndex = 0;
- while (match = _SELECTOR_REGEXP.exec(selector)) {
- if (match[1
- /* SelectorRegexp.NOT */
- ]) {
- if (inNot) {
- throw new Error('Nesting :not in a selector is not allowed');
- }
- inNot = true;
- current = new CssSelector();
- cssSelector.notSelectors.push(current);
- }
- const tag = match[2
- /* SelectorRegexp.TAG */
- ];
- if (tag) {
- const prefix = match[3
- /* SelectorRegexp.PREFIX */
- ];
- if (prefix === '#') {
- // #hash
- current.addAttribute('id', tag.slice(1));
- } else if (prefix === '.') {
- // Class
- current.addClassName(tag.slice(1));
- } else {
- // Element
- current.setElement(tag);
- }
- }
- const attribute = match[4
- /* SelectorRegexp.ATTRIBUTE */
- ];
- if (attribute) {
- current.addAttribute(current.unescapeAttribute(attribute), match[6
- /* SelectorRegexp.ATTRIBUTE_VALUE */
- ]);
- }
- if (match[7
- /* SelectorRegexp.NOT_END */
- ]) {
- inNot = false;
- current = cssSelector;
- }
- if (match[8
- /* SelectorRegexp.SEPARATOR */
- ]) {
- if (inNot) {
- throw new Error('Multiple selectors in :not are not supported');
- }
- _addResult(results, cssSelector);
- cssSelector = current = new CssSelector();
- }
- }
- _addResult(results, cssSelector);
- return results;
- }
- /**
- * Unescape `\$` sequences from the CSS attribute selector.
- *
- * This is needed because `$` can have a special meaning in CSS selectors,
- * but we might want to match an attribute that contains `$`.
- * [MDN web link for more
- * info](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors).
- * @param attr the attribute to unescape.
- * @returns the unescaped string.
- */
- unescapeAttribute(attr) {
- let result = '';
- let escaping = false;
- for (let i = 0; i < attr.length; i++) {
- const char = attr.charAt(i);
- if (char === '\\') {
- escaping = true;
- continue;
- }
- if (char === '$' && !escaping) {
- throw new Error(`Error in attribute selector "${attr}". ` + `Unescaped "$" is not supported. Please escape with "\\$".`);
- }
- escaping = false;
- result += char;
- }
- return result;
- }
- /**
- * Escape `$` sequences from the CSS attribute selector.
- *
- * This is needed because `$` can have a special meaning in CSS selectors,
- * with this method we are escaping `$` with `\$'.
- * [MDN web link for more
- * info](https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors).
- * @param attr the attribute to escape.
- * @returns the escaped string.
- */
- escapeAttribute(attr) {
- return attr.replace(/\\/g, '\\\\').replace(/\$/g, '\\$');
- }
- isElementSelector() {
- return this.hasElementSelector() && this.classNames.length == 0 && this.attrs.length == 0 && this.notSelectors.length === 0;
- }
- hasElementSelector() {
- return !!this.element;
- }
- setElement(element = null) {
- this.element = element;
- }
- /** Gets a template string for an element that matches the selector. */
- getMatchingElementTemplate() {
- const tagName = this.element || 'div';
- const classAttr = this.classNames.length > 0 ? ` class="${this.classNames.join(' ')}"` : '';
- let attrs = '';
- for (let i = 0; i < this.attrs.length; i += 2) {
- const attrName = this.attrs[i];
- const attrValue = this.attrs[i + 1] !== '' ? `="${this.attrs[i + 1]}"` : '';
- attrs += ` ${attrName}${attrValue}`;
- }
- return getHtmlTagDefinition(tagName).isVoid ? `<${tagName}${classAttr}${attrs}/>` : `<${tagName}${classAttr}${attrs}></${tagName}>`;
- }
- getAttrs() {
- const result = [];
- if (this.classNames.length > 0) {
- result.push('class', this.classNames.join(' '));
- }
- return result.concat(this.attrs);
- }
- addAttribute(name, value = '') {
- this.attrs.push(name, value && value.toLowerCase() || '');
- }
- addClassName(name) {
- this.classNames.push(name.toLowerCase());
- }
- toString() {
- let res = this.element || '';
- if (this.classNames) {
- this.classNames.forEach(klass => res += `.${klass}`);
- }
- if (this.attrs) {
- for (let i = 0; i < this.attrs.length; i += 2) {
- const name = this.escapeAttribute(this.attrs[i]);
- const value = this.attrs[i + 1];
- res += `[${name}${value ? '=' + value : ''}]`;
- }
- }
- this.notSelectors.forEach(notSelector => res += `:not(${notSelector})`);
- return res;
- }
- }
- /**
- * Reads a list of CssSelectors and allows to calculate which ones
- * are contained in a given CssSelector.
- */
- class SelectorMatcher {
- constructor() {
- this._elementMap = new Map();
- this._elementPartialMap = new Map();
- this._classMap = new Map();
- this._classPartialMap = new Map();
- this._attrValueMap = new Map();
- this._attrValuePartialMap = new Map();
- this._listContexts = [];
- }
- static createNotMatcher(notSelectors) {
- const notMatcher = new SelectorMatcher();
- notMatcher.addSelectables(notSelectors, null);
- return notMatcher;
- }
- addSelectables(cssSelectors, callbackCtxt) {
- let listContext = null;
- if (cssSelectors.length > 1) {
- listContext = new SelectorListContext(cssSelectors);
- this._listContexts.push(listContext);
- }
- for (let i = 0; i < cssSelectors.length; i++) {
- this._addSelectable(cssSelectors[i], callbackCtxt, listContext);
- }
- }
- /**
- * Add an object that can be found later on by calling `match`.
- * @param cssSelector A css selector
- * @param callbackCtxt An opaque object that will be given to the callback of the `match` function
- */
- _addSelectable(cssSelector, callbackCtxt, listContext) {
- let matcher = this;
- const element = cssSelector.element;
- const classNames = cssSelector.classNames;
- const attrs = cssSelector.attrs;
- const selectable = new SelectorContext(cssSelector, callbackCtxt, listContext);
- if (element) {
- const isTerminal = attrs.length === 0 && classNames.length === 0;
- if (isTerminal) {
- this._addTerminal(matcher._elementMap, element, selectable);
- } else {
- matcher = this._addPartial(matcher._elementPartialMap, element);
- }
- }
- if (classNames) {
- for (let i = 0; i < classNames.length; i++) {
- const isTerminal = attrs.length === 0 && i === classNames.length - 1;
- const className = classNames[i];
- if (isTerminal) {
- this._addTerminal(matcher._classMap, className, selectable);
- } else {
- matcher = this._addPartial(matcher._classPartialMap, className);
- }
- }
- }
- if (attrs) {
- for (let i = 0; i < attrs.length; i += 2) {
- const isTerminal = i === attrs.length - 2;
- const name = attrs[i];
- const value = attrs[i + 1];
- if (isTerminal) {
- const terminalMap = matcher._attrValueMap;
- let terminalValuesMap = terminalMap.get(name);
- if (!terminalValuesMap) {
- terminalValuesMap = new Map();
- terminalMap.set(name, terminalValuesMap);
- }
- this._addTerminal(terminalValuesMap, value, selectable);
- } else {
- const partialMap = matcher._attrValuePartialMap;
- let partialValuesMap = partialMap.get(name);
- if (!partialValuesMap) {
- partialValuesMap = new Map();
- partialMap.set(name, partialValuesMap);
- }
- matcher = this._addPartial(partialValuesMap, value);
- }
- }
- }
- }
- _addTerminal(map, name, selectable) {
- let terminalList = map.get(name);
- if (!terminalList) {
- terminalList = [];
- map.set(name, terminalList);
- }
- terminalList.push(selectable);
- }
- _addPartial(map, name) {
- let matcher = map.get(name);
- if (!matcher) {
- matcher = new SelectorMatcher();
- map.set(name, matcher);
- }
- return matcher;
- }
- /**
- * Find the objects that have been added via `addSelectable`
- * whose css selector is contained in the given css selector.
- * @param cssSelector A css selector
- * @param matchedCallback This callback will be called with the object handed into `addSelectable`
- * @return boolean true if a match was found
- */
- match(cssSelector, matchedCallback) {
- let result = false;
- const element = cssSelector.element;
- const classNames = cssSelector.classNames;
- const attrs = cssSelector.attrs;
- for (let i = 0; i < this._listContexts.length; i++) {
- this._listContexts[i].alreadyMatched = false;
- }
- result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result;
- result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) || result;
- if (classNames) {
- for (let i = 0; i < classNames.length; i++) {
- const className = classNames[i];
- result = this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result;
- result = this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) || result;
- }
- }
- if (attrs) {
- for (let i = 0; i < attrs.length; i += 2) {
- const name = attrs[i];
- const value = attrs[i + 1];
- const terminalValuesMap = this._attrValueMap.get(name);
- if (value) {
- result = this._matchTerminal(terminalValuesMap, '', cssSelector, matchedCallback) || result;
- }
- result = this._matchTerminal(terminalValuesMap, value, cssSelector, matchedCallback) || result;
- const partialValuesMap = this._attrValuePartialMap.get(name);
- if (value) {
- result = this._matchPartial(partialValuesMap, '', cssSelector, matchedCallback) || result;
- }
- result = this._matchPartial(partialValuesMap, value, cssSelector, matchedCallback) || result;
- }
- }
- return result;
- }
- /** @internal */
- _matchTerminal(map, name, cssSelector, matchedCallback) {
- if (!map || typeof name !== 'string') {
- return false;
- }
- let selectables = map.get(name) || [];
- const starSelectables = map.get('*');
- if (starSelectables) {
- selectables = selectables.concat(starSelectables);
- }
- if (selectables.length === 0) {
- return false;
- }
- let selectable;
- let result = false;
- for (let i = 0; i < selectables.length; i++) {
- selectable = selectables[i];
- result = selectable.finalize(cssSelector, matchedCallback) || result;
- }
- return result;
- }
- /** @internal */
- _matchPartial(map, name, cssSelector, matchedCallback) {
- if (!map || typeof name !== 'string') {
- return false;
- }
- const nestedSelector = map.get(name);
- if (!nestedSelector) {
- return false;
- } // TODO(perf): get rid of recursion and measure again
- // TODO(perf): don't pass the whole selector into the recursion,
- // but only the not processed parts
- return nestedSelector.match(cssSelector, matchedCallback);
- }
- }
- class SelectorListContext {
- constructor(selectors) {
- this.selectors = selectors;
- this.alreadyMatched = false;
- }
- } // Store context to pass back selector and context when a selector is matched
- class SelectorContext {
- constructor(selector, cbContext, listContext) {
- this.selector = selector;
- this.cbContext = cbContext;
- this.listContext = listContext;
- this.notSelectors = selector.notSelectors;
- }
- finalize(cssSelector, callback) {
- let result = true;
- if (this.notSelectors.length > 0 && (!this.listContext || !this.listContext.alreadyMatched)) {
- const notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors);
- result = !notMatcher.match(cssSelector, null);
- }
- if (result && callback && (!this.listContext || !this.listContext.alreadyMatched)) {
- if (this.listContext) {
- this.listContext.alreadyMatched = true;
- }
- callback(this.selector, this.cbContext);
- }
- return result;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not
- // explicitly set.
- const emitDistinctChangesOnlyDefaultValue = true;
- var ViewEncapsulation;
- (function (ViewEncapsulation) {
- ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
- ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
- ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
- })(ViewEncapsulation || (ViewEncapsulation = {}));
- var ChangeDetectionStrategy;
- (function (ChangeDetectionStrategy) {
- ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush";
- ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default";
- })(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));
- const CUSTOM_ELEMENTS_SCHEMA = {
- name: 'custom-elements'
- };
- const NO_ERRORS_SCHEMA = {
- name: 'no-errors-schema'
- };
- const Type$1 = Function;
- var SecurityContext;
- (function (SecurityContext) {
- SecurityContext[SecurityContext["NONE"] = 0] = "NONE";
- SecurityContext[SecurityContext["HTML"] = 1] = "HTML";
- SecurityContext[SecurityContext["STYLE"] = 2] = "STYLE";
- SecurityContext[SecurityContext["SCRIPT"] = 3] = "SCRIPT";
- SecurityContext[SecurityContext["URL"] = 4] = "URL";
- SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL";
- })(SecurityContext || (SecurityContext = {}));
- var MissingTranslationStrategy;
- (function (MissingTranslationStrategy) {
- MissingTranslationStrategy[MissingTranslationStrategy["Error"] = 0] = "Error";
- MissingTranslationStrategy[MissingTranslationStrategy["Warning"] = 1] = "Warning";
- MissingTranslationStrategy[MissingTranslationStrategy["Ignore"] = 2] = "Ignore";
- })(MissingTranslationStrategy || (MissingTranslationStrategy = {}));
- function parserSelectorToSimpleSelector(selector) {
- const classes = selector.classNames && selector.classNames.length ? [8
- /* SelectorFlags.CLASS */
- , ...selector.classNames] : [];
- const elementName = selector.element && selector.element !== '*' ? selector.element : '';
- return [elementName, ...selector.attrs, ...classes];
- }
- function parserSelectorToNegativeSelector(selector) {
- const classes = selector.classNames && selector.classNames.length ? [8
- /* SelectorFlags.CLASS */
- , ...selector.classNames] : [];
- if (selector.element) {
- return [1
- /* SelectorFlags.NOT */
- | 4
- /* SelectorFlags.ELEMENT */
- , selector.element, ...selector.attrs, ...classes];
- } else if (selector.attrs.length) {
- return [1
- /* SelectorFlags.NOT */
- | 2
- /* SelectorFlags.ATTRIBUTE */
- , ...selector.attrs, ...classes];
- } else {
- return selector.classNames && selector.classNames.length ? [1
- /* SelectorFlags.NOT */
- | 8
- /* SelectorFlags.CLASS */
- , ...selector.classNames] : [];
- }
- }
- function parserSelectorToR3Selector(selector) {
- const positive = parserSelectorToSimpleSelector(selector);
- const negative = selector.notSelectors && selector.notSelectors.length ? selector.notSelectors.map(notSelector => parserSelectorToNegativeSelector(notSelector)) : [];
- return positive.concat(...negative);
- }
- function parseSelectorToR3Selector(selector) {
- return selector ? CssSelector.parse(selector).map(parserSelectorToR3Selector) : [];
- }
- var core = /*#__PURE__*/Object.freeze({
- __proto__: null,
- emitDistinctChangesOnlyDefaultValue: emitDistinctChangesOnlyDefaultValue,
- get ViewEncapsulation() {
- return ViewEncapsulation;
- },
- get ChangeDetectionStrategy() {
- return ChangeDetectionStrategy;
- },
- CUSTOM_ELEMENTS_SCHEMA: CUSTOM_ELEMENTS_SCHEMA,
- NO_ERRORS_SCHEMA: NO_ERRORS_SCHEMA,
- Type: Type$1,
- get SecurityContext() {
- return SecurityContext;
- },
- get MissingTranslationStrategy() {
- return MissingTranslationStrategy;
- },
- parseSelectorToR3Selector: parseSelectorToR3Selector
- });
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const DASH_CASE_REGEXP = /-+([a-z0-9])/g;
- function dashCaseToCamelCase(input) {
- return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
- }
- function splitAtColon(input, defaultValues) {
- return _splitAt(input, ':', defaultValues);
- }
- function splitAtPeriod(input, defaultValues) {
- return _splitAt(input, '.', defaultValues);
- }
- function _splitAt(input, character, defaultValues) {
- const characterIndex = input.indexOf(character);
- if (characterIndex == -1) return defaultValues;
- return [input.slice(0, characterIndex).trim(), input.slice(characterIndex + 1).trim()];
- }
- function noUndefined(val) {
- return val === undefined ? null : val;
- }
- function error(msg) {
- throw new Error(`Internal Error: ${msg}`);
- } // Escape characters that have a special meaning in Regular Expressions
- function escapeRegExp(s) {
- return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1');
- }
- function utf8Encode(str) {
- let encoded = [];
- for (let index = 0; index < str.length; index++) {
- let codePoint = str.charCodeAt(index); // decode surrogate
- // see https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
- if (codePoint >= 0xd800 && codePoint <= 0xdbff && str.length > index + 1) {
- const low = str.charCodeAt(index + 1);
- if (low >= 0xdc00 && low <= 0xdfff) {
- index++;
- codePoint = (codePoint - 0xd800 << 10) + low - 0xdc00 + 0x10000;
- }
- }
- if (codePoint <= 0x7f) {
- encoded.push(codePoint);
- } else if (codePoint <= 0x7ff) {
- encoded.push(codePoint >> 6 & 0x1F | 0xc0, codePoint & 0x3f | 0x80);
- } else if (codePoint <= 0xffff) {
- encoded.push(codePoint >> 12 | 0xe0, codePoint >> 6 & 0x3f | 0x80, codePoint & 0x3f | 0x80);
- } else if (codePoint <= 0x1fffff) {
- encoded.push(codePoint >> 18 & 0x07 | 0xf0, codePoint >> 12 & 0x3f | 0x80, codePoint >> 6 & 0x3f | 0x80, codePoint & 0x3f | 0x80);
- }
- }
- return encoded;
- }
- function stringify(token) {
- if (typeof token === 'string') {
- return token;
- }
- if (Array.isArray(token)) {
- return '[' + token.map(stringify).join(', ') + ']';
- }
- if (token == null) {
- return '' + token;
- }
- if (token.overriddenName) {
- return `${token.overriddenName}`;
- }
- if (token.name) {
- return `${token.name}`;
- }
- if (!token.toString) {
- return 'object';
- } // WARNING: do not try to `JSON.stringify(token)` here
- // see https://github.com/angular/angular/issues/23440
- const res = token.toString();
- if (res == null) {
- return '' + res;
- }
- const newLineIndex = res.indexOf('\n');
- return newLineIndex === -1 ? res : res.substring(0, newLineIndex);
- }
- class Version {
- constructor(full) {
- this.full = full;
- const splits = full.split('.');
- this.major = splits[0];
- this.minor = splits[1];
- this.patch = splits.slice(2).join('.');
- }
- } // Check `global` first, because in Node tests both `global` and `window` may be defined and our
- // `_global` variable should point to the NodeJS `global` in that case. Note: Typeof/Instanceof
- // checks are considered side-effects in Terser. We explicitly mark this as side-effect free:
- // https://github.com/terser/terser/issues/250.
- const _global = /* @__PURE__ */(() => typeof global !== 'undefined' && global || typeof window !== 'undefined' && window || typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope && self)();
- function newArray(size, value) {
- const list = [];
- for (let i = 0; i < size; i++) {
- list.push(value);
- }
- return list;
- }
- /**
- * Partitions a given array into 2 arrays, based on a boolean value returned by the condition
- * function.
- *
- * @param arr Input array that should be partitioned
- * @param conditionFn Condition function that is called for each item in a given array and returns a
- * boolean value.
- */
- function partitionArray(arr, conditionFn) {
- const truthy = [];
- const falsy = [];
- for (const item of arr) {
- (conditionFn(item) ? truthy : falsy).push(item);
- }
- return [truthy, falsy];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents a big integer using a buffer of its individual digits, with the least significant
- * digit stored at the beginning of the array (little endian).
- *
- * For performance reasons, each instance is mutable. The addition operation can be done in-place
- * to reduce memory pressure of allocation for the digits array.
- */
- class BigInteger {
- /**
- * Creates a big integer using its individual digits in little endian storage.
- */
- constructor(digits) {
- this.digits = digits;
- }
- static zero() {
- return new BigInteger([0]);
- }
- static one() {
- return new BigInteger([1]);
- }
- /**
- * Creates a clone of this instance.
- */
- clone() {
- return new BigInteger(this.digits.slice());
- }
- /**
- * Returns a new big integer with the sum of `this` and `other` as its value. This does not mutate
- * `this` but instead returns a new instance, unlike `addToSelf`.
- */
- add(other) {
- const result = this.clone();
- result.addToSelf(other);
- return result;
- }
- /**
- * Adds `other` to the instance itself, thereby mutating its value.
- */
- addToSelf(other) {
- const maxNrOfDigits = Math.max(this.digits.length, other.digits.length);
- let carry = 0;
- for (let i = 0; i < maxNrOfDigits; i++) {
- let digitSum = carry;
- if (i < this.digits.length) {
- digitSum += this.digits[i];
- }
- if (i < other.digits.length) {
- digitSum += other.digits[i];
- }
- if (digitSum >= 10) {
- this.digits[i] = digitSum - 10;
- carry = 1;
- } else {
- this.digits[i] = digitSum;
- carry = 0;
- }
- } // Apply a remaining carry if needed.
- if (carry > 0) {
- this.digits[maxNrOfDigits] = 1;
- }
- }
- /**
- * Builds the decimal string representation of the big integer. As this is stored in
- * little endian, the digits are concatenated in reverse order.
- */
- toString() {
- let res = '';
- for (let i = this.digits.length - 1; i >= 0; i--) {
- res += this.digits[i];
- }
- return res;
- }
- }
- /**
- * Represents a big integer which is optimized for multiplication operations, as its power-of-twos
- * are memoized. See `multiplyBy()` for details on the multiplication algorithm.
- */
- class BigIntForMultiplication {
- constructor(value) {
- this.powerOfTwos = [value];
- }
- /**
- * Returns the big integer itself.
- */
- getValue() {
- return this.powerOfTwos[0];
- }
- /**
- * Computes the value for `num * b`, where `num` is a JS number and `b` is a big integer. The
- * value for `b` is represented by a storage model that is optimized for this computation.
- *
- * This operation is implemented in N(log2(num)) by continuous halving of the number, where the
- * least-significant bit (LSB) is tested in each iteration. If the bit is set, the bit's index is
- * used as exponent into the power-of-two multiplication of `b`.
- *
- * As an example, consider the multiplication num=42, b=1337. In binary 42 is 0b00101010 and the
- * algorithm unrolls into the following iterations:
- *
- * Iteration | num | LSB | b * 2^iter | Add? | product
- * -----------|------------|------|------------|------|--------
- * 0 | 0b00101010 | 0 | 1337 | No | 0
- * 1 | 0b00010101 | 1 | 2674 | Yes | 2674
- * 2 | 0b00001010 | 0 | 5348 | No | 2674
- * 3 | 0b00000101 | 1 | 10696 | Yes | 13370
- * 4 | 0b00000010 | 0 | 21392 | No | 13370
- * 5 | 0b00000001 | 1 | 42784 | Yes | 56154
- * 6 | 0b00000000 | 0 | 85568 | No | 56154
- *
- * The computed product of 56154 is indeed the correct result.
- *
- * The `BigIntForMultiplication` representation for a big integer provides memoized access to the
- * power-of-two values to reduce the workload in computing those values.
- */
- multiplyBy(num) {
- const product = BigInteger.zero();
- this.multiplyByAndAddTo(num, product);
- return product;
- }
- /**
- * See `multiplyBy()` for details. This function allows for the computed product to be added
- * directly to the provided result big integer.
- */
- multiplyByAndAddTo(num, result) {
- for (let exponent = 0; num !== 0; num = num >>> 1, exponent++) {
- if (num & 1) {
- const value = this.getMultipliedByPowerOfTwo(exponent);
- result.addToSelf(value);
- }
- }
- }
- /**
- * Computes and memoizes the big integer value for `this.number * 2^exponent`.
- */
- getMultipliedByPowerOfTwo(exponent) {
- // Compute the powers up until the requested exponent, where each value is computed from its
- // predecessor. This is simple as `this.number * 2^(exponent - 1)` only has to be doubled (i.e.
- // added to itself) to reach `this.number * 2^exponent`.
- for (let i = this.powerOfTwos.length; i <= exponent; i++) {
- const previousPower = this.powerOfTwos[i - 1];
- this.powerOfTwos[i] = previousPower.add(previousPower);
- }
- return this.powerOfTwos[exponent];
- }
- }
- /**
- * Represents an exponentiation operation for the provided base, of which exponents are computed and
- * memoized. The results are represented by a `BigIntForMultiplication` which is tailored for
- * multiplication operations by memoizing the power-of-twos. This effectively results in a matrix
- * representation that is lazily computed upon request.
- */
- class BigIntExponentiation {
- constructor(base) {
- this.base = base;
- this.exponents = [new BigIntForMultiplication(BigInteger.one())];
- }
- /**
- * Compute the value for `this.base^exponent`, resulting in a big integer that is optimized for
- * further multiplication operations.
- */
- toThePowerOf(exponent) {
- // Compute the results up until the requested exponent, where every value is computed from its
- // predecessor. This is because `this.base^(exponent - 1)` only has to be multiplied by `base`
- // to reach `this.base^exponent`.
- for (let i = this.exponents.length; i <= exponent; i++) {
- const value = this.exponents[i - 1].multiplyBy(this.base);
- this.exponents[i] = new BigIntForMultiplication(value);
- }
- return this.exponents[exponent];
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Return the message id or compute it using the XLIFF1 digest.
- */
- function digest$1(message) {
- return message.id || computeDigest(message);
- }
- /**
- * Compute the message id using the XLIFF1 digest.
- */
- function computeDigest(message) {
- return sha1(serializeNodes(message.nodes).join('') + `[${message.meaning}]`);
- }
- /**
- * Return the message id or compute it using the XLIFF2/XMB/$localize digest.
- */
- function decimalDigest(message) {
- return message.id || computeDecimalDigest(message);
- }
- /**
- * Compute the message id using the XLIFF2/XMB/$localize digest.
- */
- function computeDecimalDigest(message) {
- const visitor = new _SerializerIgnoreIcuExpVisitor();
- const parts = message.nodes.map(a => a.visit(visitor, null));
- return computeMsgId(parts.join(''), message.meaning);
- }
- /**
- * Serialize the i18n ast to something xml-like in order to generate an UID.
- *
- * The visitor is also used in the i18n parser tests
- *
- * @internal
- */
- class _SerializerVisitor {
- visitText(text, context) {
- return text.value;
- }
- visitContainer(container, context) {
- return `[${container.children.map(child => child.visit(this)).join(', ')}]`;
- }
- visitIcu(icu, context) {
- const strCases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`);
- return `{${icu.expression}, ${icu.type}, ${strCases.join(', ')}}`;
- }
- visitTagPlaceholder(ph, context) {
- 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}">`;
- }
- visitPlaceholder(ph, context) {
- return ph.value ? `<ph name="${ph.name}">${ph.value}</ph>` : `<ph name="${ph.name}"/>`;
- }
- visitIcuPlaceholder(ph, context) {
- return `<ph icu name="${ph.name}">${ph.value.visit(this)}</ph>`;
- }
- }
- const serializerVisitor$1 = new _SerializerVisitor();
- function serializeNodes(nodes) {
- return nodes.map(a => a.visit(serializerVisitor$1, null));
- }
- /**
- * Serialize the i18n ast to something xml-like in order to generate an UID.
- *
- * Ignore the ICU expressions so that message IDs stays identical if only the expression changes.
- *
- * @internal
- */
- class _SerializerIgnoreIcuExpVisitor extends _SerializerVisitor {
- visitIcu(icu, context) {
- let strCases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`); // Do not take the expression into account
- return `{${icu.type}, ${strCases.join(', ')}}`;
- }
- }
- /**
- * Compute the SHA1 of the given string
- *
- * see https://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf
- *
- * WARNING: this function has not been designed not tested with security in mind.
- * DO NOT USE IT IN A SECURITY SENSITIVE CONTEXT.
- */
- function sha1(str) {
- const utf8 = utf8Encode(str);
- const words32 = bytesToWords32(utf8, Endian.Big);
- const len = utf8.length * 8;
- const w = newArray(80);
- let a = 0x67452301,
- b = 0xefcdab89,
- c = 0x98badcfe,
- d = 0x10325476,
- e = 0xc3d2e1f0;
- words32[len >> 5] |= 0x80 << 24 - len % 32;
- words32[(len + 64 >> 9 << 4) + 15] = len;
- for (let i = 0; i < words32.length; i += 16) {
- const h0 = a,
- h1 = b,
- h2 = c,
- h3 = d,
- h4 = e;
- for (let j = 0; j < 80; j++) {
- if (j < 16) {
- w[j] = words32[i + j];
- } else {
- w[j] = rol32(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1);
- }
- const fkVal = fk(j, b, c, d);
- const f = fkVal[0];
- const k = fkVal[1];
- const temp = [rol32(a, 5), f, e, k, w[j]].reduce(add32);
- e = d;
- d = c;
- c = rol32(b, 30);
- b = a;
- a = temp;
- }
- a = add32(a, h0);
- b = add32(b, h1);
- c = add32(c, h2);
- d = add32(d, h3);
- e = add32(e, h4);
- }
- return bytesToHexString(words32ToByteString([a, b, c, d, e]));
- }
- function fk(index, b, c, d) {
- if (index < 20) {
- return [b & c | ~b & d, 0x5a827999];
- }
- if (index < 40) {
- return [b ^ c ^ d, 0x6ed9eba1];
- }
- if (index < 60) {
- return [b & c | b & d | c & d, 0x8f1bbcdc];
- }
- return [b ^ c ^ d, 0xca62c1d6];
- }
- /**
- * Compute the fingerprint of the given string
- *
- * The output is 64 bit number encoded as a decimal string
- *
- * based on:
- * https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/GoogleJsMessageIdGenerator.java
- */
- function fingerprint(str) {
- const utf8 = utf8Encode(str);
- let hi = hash32(utf8, 0);
- let lo = hash32(utf8, 102072);
- if (hi == 0 && (lo == 0 || lo == 1)) {
- hi = hi ^ 0x130f9bef;
- lo = lo ^ -0x6b5f56d8;
- }
- return [hi, lo];
- }
- function computeMsgId(msg, meaning = '') {
- let msgFingerprint = fingerprint(msg);
- if (meaning) {
- const meaningFingerprint = fingerprint(meaning);
- msgFingerprint = add64(rol64(msgFingerprint, 1), meaningFingerprint);
- }
- const hi = msgFingerprint[0];
- const lo = msgFingerprint[1];
- return wordsToDecimalString(hi & 0x7fffffff, lo);
- }
- function hash32(bytes, c) {
- let a = 0x9e3779b9,
- b = 0x9e3779b9;
- let i;
- const len = bytes.length;
- for (i = 0; i + 12 <= len; i += 12) {
- a = add32(a, wordAt(bytes, i, Endian.Little));
- b = add32(b, wordAt(bytes, i + 4, Endian.Little));
- c = add32(c, wordAt(bytes, i + 8, Endian.Little));
- const res = mix(a, b, c);
- a = res[0], b = res[1], c = res[2];
- }
- a = add32(a, wordAt(bytes, i, Endian.Little));
- b = add32(b, wordAt(bytes, i + 4, Endian.Little)); // the first byte of c is reserved for the length
- c = add32(c, len);
- c = add32(c, wordAt(bytes, i + 8, Endian.Little) << 8);
- return mix(a, b, c)[2];
- } // clang-format off
- function mix(a, b, c) {
- a = sub32(a, b);
- a = sub32(a, c);
- a ^= c >>> 13;
- b = sub32(b, c);
- b = sub32(b, a);
- b ^= a << 8;
- c = sub32(c, a);
- c = sub32(c, b);
- c ^= b >>> 13;
- a = sub32(a, b);
- a = sub32(a, c);
- a ^= c >>> 12;
- b = sub32(b, c);
- b = sub32(b, a);
- b ^= a << 16;
- c = sub32(c, a);
- c = sub32(c, b);
- c ^= b >>> 5;
- a = sub32(a, b);
- a = sub32(a, c);
- a ^= c >>> 3;
- b = sub32(b, c);
- b = sub32(b, a);
- b ^= a << 10;
- c = sub32(c, a);
- c = sub32(c, b);
- c ^= b >>> 15;
- return [a, b, c];
- } // clang-format on
- // Utils
- var Endian;
- (function (Endian) {
- Endian[Endian["Little"] = 0] = "Little";
- Endian[Endian["Big"] = 1] = "Big";
- })(Endian || (Endian = {}));
- function add32(a, b) {
- return add32to64(a, b)[1];
- }
- function add32to64(a, b) {
- const low = (a & 0xffff) + (b & 0xffff);
- const high = (a >>> 16) + (b >>> 16) + (low >>> 16);
- return [high >>> 16, high << 16 | low & 0xffff];
- }
- function add64(a, b) {
- const ah = a[0],
- al = a[1];
- const bh = b[0],
- bl = b[1];
- const result = add32to64(al, bl);
- const carry = result[0];
- const l = result[1];
- const h = add32(add32(ah, bh), carry);
- return [h, l];
- }
- function sub32(a, b) {
- const low = (a & 0xffff) - (b & 0xffff);
- const high = (a >> 16) - (b >> 16) + (low >> 16);
- return high << 16 | low & 0xffff;
- } // Rotate a 32b number left `count` position
- function rol32(a, count) {
- return a << count | a >>> 32 - count;
- } // Rotate a 64b number left `count` position
- function rol64(num, count) {
- const hi = num[0],
- lo = num[1];
- const h = hi << count | lo >>> 32 - count;
- const l = lo << count | hi >>> 32 - count;
- return [h, l];
- }
- function bytesToWords32(bytes, endian) {
- const size = bytes.length + 3 >>> 2;
- const words32 = [];
- for (let i = 0; i < size; i++) {
- words32[i] = wordAt(bytes, i * 4, endian);
- }
- return words32;
- }
- function byteAt(bytes, index) {
- return index >= bytes.length ? 0 : bytes[index];
- }
- function wordAt(bytes, index, endian) {
- let word = 0;
- if (endian === Endian.Big) {
- for (let i = 0; i < 4; i++) {
- word += byteAt(bytes, index + i) << 24 - 8 * i;
- }
- } else {
- for (let i = 0; i < 4; i++) {
- word += byteAt(bytes, index + i) << 8 * i;
- }
- }
- return word;
- }
- function words32ToByteString(words32) {
- return words32.reduce((bytes, word) => bytes.concat(word32ToByteString(word)), []);
- }
- function word32ToByteString(word) {
- let bytes = [];
- for (let i = 0; i < 4; i++) {
- bytes.push(word >>> 8 * (3 - i) & 0xff);
- }
- return bytes;
- }
- function bytesToHexString(bytes) {
- let hex = '';
- for (let i = 0; i < bytes.length; i++) {
- const b = byteAt(bytes, i);
- hex += (b >>> 4).toString(16) + (b & 0x0f).toString(16);
- }
- return hex.toLowerCase();
- }
- /**
- * Create a shared exponentiation pool for base-256 computations. This shared pool provides memoized
- * power-of-256 results with memoized power-of-two computations for efficient multiplication.
- *
- * For our purposes, this can be safely stored as a global without memory concerns. The reason is
- * that we encode two words, so only need the 0th (for the low word) and 4th (for the high word)
- * exponent.
- */
- const base256 = new BigIntExponentiation(256);
- /**
- * Represents two 32-bit words as a single decimal number. This requires a big integer storage
- * model as JS numbers are not accurate enough to represent the 64-bit number.
- *
- * Based on https://www.danvk.org/hex2dec.html
- */
- function wordsToDecimalString(hi, lo) {
- // Encode the four bytes in lo in the lower digits of the decimal number.
- // Note: the multiplication results in lo itself but represented by a big integer using its
- // decimal digits.
- 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
- // this multiplication factor is applied.
- base256.toThePowerOf(4).multiplyByAndAddTo(hi, decimal);
- return decimal.toString();
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- //// Types
- var TypeModifier;
- (function (TypeModifier) {
- TypeModifier[TypeModifier["None"] = 0] = "None";
- TypeModifier[TypeModifier["Const"] = 1] = "Const";
- })(TypeModifier || (TypeModifier = {}));
- class Type {
- constructor(modifiers = TypeModifier.None) {
- this.modifiers = modifiers;
- }
- hasModifier(modifier) {
- return (this.modifiers & modifier) !== 0;
- }
- }
- var BuiltinTypeName;
- (function (BuiltinTypeName) {
- BuiltinTypeName[BuiltinTypeName["Dynamic"] = 0] = "Dynamic";
- BuiltinTypeName[BuiltinTypeName["Bool"] = 1] = "Bool";
- BuiltinTypeName[BuiltinTypeName["String"] = 2] = "String";
- BuiltinTypeName[BuiltinTypeName["Int"] = 3] = "Int";
- BuiltinTypeName[BuiltinTypeName["Number"] = 4] = "Number";
- BuiltinTypeName[BuiltinTypeName["Function"] = 5] = "Function";
- BuiltinTypeName[BuiltinTypeName["Inferred"] = 6] = "Inferred";
- BuiltinTypeName[BuiltinTypeName["None"] = 7] = "None";
- })(BuiltinTypeName || (BuiltinTypeName = {}));
- class BuiltinType extends Type {
- constructor(name, modifiers) {
- super(modifiers);
- this.name = name;
- }
- visitType(visitor, context) {
- return visitor.visitBuiltinType(this, context);
- }
- }
- class ExpressionType extends Type {
- constructor(value, modifiers, typeParams = null) {
- super(modifiers);
- this.value = value;
- this.typeParams = typeParams;
- }
- visitType(visitor, context) {
- return visitor.visitExpressionType(this, context);
- }
- }
- class ArrayType extends Type {
- constructor(of, modifiers) {
- super(modifiers);
- this.of = of;
- }
- visitType(visitor, context) {
- return visitor.visitArrayType(this, context);
- }
- }
- class MapType extends Type {
- constructor(valueType, modifiers) {
- super(modifiers);
- this.valueType = valueType || null;
- }
- visitType(visitor, context) {
- return visitor.visitMapType(this, context);
- }
- }
- const DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);
- const INFERRED_TYPE = new BuiltinType(BuiltinTypeName.Inferred);
- const BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);
- const INT_TYPE = new BuiltinType(BuiltinTypeName.Int);
- const NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);
- const STRING_TYPE = new BuiltinType(BuiltinTypeName.String);
- const FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);
- const NONE_TYPE = new BuiltinType(BuiltinTypeName.None); ///// Expressions
- var UnaryOperator;
- (function (UnaryOperator) {
- UnaryOperator[UnaryOperator["Minus"] = 0] = "Minus";
- UnaryOperator[UnaryOperator["Plus"] = 1] = "Plus";
- })(UnaryOperator || (UnaryOperator = {}));
- var BinaryOperator;
- (function (BinaryOperator) {
- BinaryOperator[BinaryOperator["Equals"] = 0] = "Equals";
- BinaryOperator[BinaryOperator["NotEquals"] = 1] = "NotEquals";
- BinaryOperator[BinaryOperator["Identical"] = 2] = "Identical";
- BinaryOperator[BinaryOperator["NotIdentical"] = 3] = "NotIdentical";
- BinaryOperator[BinaryOperator["Minus"] = 4] = "Minus";
- BinaryOperator[BinaryOperator["Plus"] = 5] = "Plus";
- BinaryOperator[BinaryOperator["Divide"] = 6] = "Divide";
- BinaryOperator[BinaryOperator["Multiply"] = 7] = "Multiply";
- BinaryOperator[BinaryOperator["Modulo"] = 8] = "Modulo";
- BinaryOperator[BinaryOperator["And"] = 9] = "And";
- BinaryOperator[BinaryOperator["Or"] = 10] = "Or";
- BinaryOperator[BinaryOperator["BitwiseAnd"] = 11] = "BitwiseAnd";
- BinaryOperator[BinaryOperator["Lower"] = 12] = "Lower";
- BinaryOperator[BinaryOperator["LowerEquals"] = 13] = "LowerEquals";
- BinaryOperator[BinaryOperator["Bigger"] = 14] = "Bigger";
- BinaryOperator[BinaryOperator["BiggerEquals"] = 15] = "BiggerEquals";
- BinaryOperator[BinaryOperator["NullishCoalesce"] = 16] = "NullishCoalesce";
- })(BinaryOperator || (BinaryOperator = {}));
- function nullSafeIsEquivalent(base, other) {
- if (base == null || other == null) {
- return base == other;
- }
- return base.isEquivalent(other);
- }
- function areAllEquivalentPredicate(base, other, equivalentPredicate) {
- const len = base.length;
- if (len !== other.length) {
- return false;
- }
- for (let i = 0; i < len; i++) {
- if (!equivalentPredicate(base[i], other[i])) {
- return false;
- }
- }
- return true;
- }
- function areAllEquivalent(base, other) {
- return areAllEquivalentPredicate(base, other, (baseElement, otherElement) => baseElement.isEquivalent(otherElement));
- }
- class Expression {
- constructor(type, sourceSpan) {
- this.type = type || null;
- this.sourceSpan = sourceSpan || null;
- }
- prop(name, sourceSpan) {
- return new ReadPropExpr(this, name, null, sourceSpan);
- }
- key(index, type, sourceSpan) {
- return new ReadKeyExpr(this, index, type, sourceSpan);
- }
- callFn(params, sourceSpan, pure) {
- return new InvokeFunctionExpr(this, params, null, sourceSpan, pure);
- }
- instantiate(params, type, sourceSpan) {
- return new InstantiateExpr(this, params, type, sourceSpan);
- }
- conditional(trueCase, falseCase = null, sourceSpan) {
- return new ConditionalExpr(this, trueCase, falseCase, null, sourceSpan);
- }
- equals(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs, null, sourceSpan);
- }
- notEquals(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs, null, sourceSpan);
- }
- identical(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs, null, sourceSpan);
- }
- notIdentical(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs, null, sourceSpan);
- }
- minus(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs, null, sourceSpan);
- }
- plus(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs, null, sourceSpan);
- }
- divide(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs, null, sourceSpan);
- }
- multiply(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs, null, sourceSpan);
- }
- modulo(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs, null, sourceSpan);
- }
- and(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.And, this, rhs, null, sourceSpan);
- }
- bitwiseAnd(rhs, sourceSpan, parens = true) {
- return new BinaryOperatorExpr(BinaryOperator.BitwiseAnd, this, rhs, null, sourceSpan, parens);
- }
- or(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs, null, sourceSpan);
- }
- lower(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs, null, sourceSpan);
- }
- lowerEquals(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs, null, sourceSpan);
- }
- bigger(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs, null, sourceSpan);
- }
- biggerEquals(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs, null, sourceSpan);
- }
- isBlank(sourceSpan) {
- // Note: We use equals by purpose here to compare to null and undefined in JS.
- // We use the typed null to allow strictNullChecks to narrow types.
- return this.equals(TYPED_NULL_EXPR, sourceSpan);
- }
- nullishCoalesce(rhs, sourceSpan) {
- return new BinaryOperatorExpr(BinaryOperator.NullishCoalesce, this, rhs, null, sourceSpan);
- }
- toStmt() {
- return new ExpressionStatement(this, null);
- }
- }
- class ReadVarExpr extends Expression {
- constructor(name, type, sourceSpan) {
- super(type, sourceSpan);
- this.name = name;
- }
- isEquivalent(e) {
- return e instanceof ReadVarExpr && this.name === e.name;
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitReadVarExpr(this, context);
- }
- set(value) {
- return new WriteVarExpr(this.name, value, null, this.sourceSpan);
- }
- }
- class TypeofExpr extends Expression {
- constructor(expr, type, sourceSpan) {
- super(type, sourceSpan);
- this.expr = expr;
- }
- visitExpression(visitor, context) {
- return visitor.visitTypeofExpr(this, context);
- }
- isEquivalent(e) {
- return e instanceof TypeofExpr && e.expr.isEquivalent(this.expr);
- }
- isConstant() {
- return this.expr.isConstant();
- }
- }
- class WrappedNodeExpr extends Expression {
- constructor(node, type, sourceSpan) {
- super(type, sourceSpan);
- this.node = node;
- }
- isEquivalent(e) {
- return e instanceof WrappedNodeExpr && this.node === e.node;
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitWrappedNodeExpr(this, context);
- }
- }
- class WriteVarExpr extends Expression {
- constructor(name, value, type, sourceSpan) {
- super(type || value.type, sourceSpan);
- this.name = name;
- this.value = value;
- }
- isEquivalent(e) {
- return e instanceof WriteVarExpr && this.name === e.name && this.value.isEquivalent(e.value);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitWriteVarExpr(this, context);
- }
- toDeclStmt(type, modifiers) {
- return new DeclareVarStmt(this.name, this.value, type, modifiers, this.sourceSpan);
- }
- toConstDecl() {
- return this.toDeclStmt(INFERRED_TYPE, StmtModifier.Final);
- }
- }
- class WriteKeyExpr extends Expression {
- constructor(receiver, index, value, type, sourceSpan) {
- super(type || value.type, sourceSpan);
- this.receiver = receiver;
- this.index = index;
- this.value = value;
- }
- isEquivalent(e) {
- return e instanceof WriteKeyExpr && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index) && this.value.isEquivalent(e.value);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitWriteKeyExpr(this, context);
- }
- }
- class WritePropExpr extends Expression {
- constructor(receiver, name, value, type, sourceSpan) {
- super(type || value.type, sourceSpan);
- this.receiver = receiver;
- this.name = name;
- this.value = value;
- }
- isEquivalent(e) {
- return e instanceof WritePropExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name && this.value.isEquivalent(e.value);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitWritePropExpr(this, context);
- }
- }
- class InvokeFunctionExpr extends Expression {
- constructor(fn, args, type, sourceSpan, pure = false) {
- super(type, sourceSpan);
- this.fn = fn;
- this.args = args;
- this.pure = pure;
- }
- isEquivalent(e) {
- return e instanceof InvokeFunctionExpr && this.fn.isEquivalent(e.fn) && areAllEquivalent(this.args, e.args) && this.pure === e.pure;
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitInvokeFunctionExpr(this, context);
- }
- }
- class TaggedTemplateExpr extends Expression {
- constructor(tag, template, type, sourceSpan) {
- super(type, sourceSpan);
- this.tag = tag;
- this.template = template;
- }
- isEquivalent(e) {
- 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);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitTaggedTemplateExpr(this, context);
- }
- }
- class InstantiateExpr extends Expression {
- constructor(classExpr, args, type, sourceSpan) {
- super(type, sourceSpan);
- this.classExpr = classExpr;
- this.args = args;
- }
- isEquivalent(e) {
- return e instanceof InstantiateExpr && this.classExpr.isEquivalent(e.classExpr) && areAllEquivalent(this.args, e.args);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitInstantiateExpr(this, context);
- }
- }
- class LiteralExpr extends Expression {
- constructor(value, type, sourceSpan) {
- super(type, sourceSpan);
- this.value = value;
- }
- isEquivalent(e) {
- return e instanceof LiteralExpr && this.value === e.value;
- }
- isConstant() {
- return true;
- }
- visitExpression(visitor, context) {
- return visitor.visitLiteralExpr(this, context);
- }
- }
- class TemplateLiteral {
- constructor(elements, expressions) {
- this.elements = elements;
- this.expressions = expressions;
- }
- }
- class TemplateLiteralElement {
- constructor(text, sourceSpan, rawText) {
- var _a;
- this.text = text;
- this.sourceSpan = sourceSpan; // If `rawText` is not provided, try to extract the raw string from its
- // associated `sourceSpan`. If that is also not available, "fake" the raw
- // string instead by escaping the following control sequences:
- // - "\" would otherwise indicate that the next character is a control character.
- // - "`" and "${" are template string control sequences that would otherwise prematurely
- // indicate the end of the template literal element.
- 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));
- }
- }
- class LiteralPiece {
- constructor(text, sourceSpan) {
- this.text = text;
- this.sourceSpan = sourceSpan;
- }
- }
- class PlaceholderPiece {
- /**
- * Create a new instance of a `PlaceholderPiece`.
- *
- * @param text the name of this placeholder (e.g. `PH_1`).
- * @param sourceSpan the location of this placeholder in its localized message the source code.
- * @param associatedMessage reference to another message that this placeholder is associated with.
- * The `associatedMessage` is mainly used to provide a relationship to an ICU message that has
- * been extracted out from the message containing the placeholder.
- */
- constructor(text, sourceSpan, associatedMessage) {
- this.text = text;
- this.sourceSpan = sourceSpan;
- this.associatedMessage = associatedMessage;
- }
- }
- const MEANING_SEPARATOR$1 = '|';
- const ID_SEPARATOR$1 = '@@';
- const LEGACY_ID_INDICATOR = '␟';
- class LocalizedString extends Expression {
- constructor(metaBlock, messageParts, placeHolderNames, expressions, sourceSpan) {
- super(STRING_TYPE, sourceSpan);
- this.metaBlock = metaBlock;
- this.messageParts = messageParts;
- this.placeHolderNames = placeHolderNames;
- this.expressions = expressions;
- }
- isEquivalent(e) {
- // return e instanceof LocalizedString && this.message === e.message;
- return false;
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitLocalizedString(this, context);
- }
- /**
- * Serialize the given `meta` and `messagePart` into "cooked" and "raw" strings that can be used
- * in a `$localize` tagged string. The format of the metadata is the same as that parsed by
- * `parseI18nMeta()`.
- *
- * @param meta The metadata to serialize
- * @param messagePart The first part of the tagged string
- */
- serializeI18nHead() {
- let metaBlock = this.metaBlock.description || '';
- if (this.metaBlock.meaning) {
- metaBlock = `${this.metaBlock.meaning}${MEANING_SEPARATOR$1}${metaBlock}`;
- }
- if (this.metaBlock.customId) {
- metaBlock = `${metaBlock}${ID_SEPARATOR$1}${this.metaBlock.customId}`;
- }
- if (this.metaBlock.legacyIds) {
- this.metaBlock.legacyIds.forEach(legacyId => {
- metaBlock = `${metaBlock}${LEGACY_ID_INDICATOR}${legacyId}`;
- });
- }
- return createCookedRawString(metaBlock, this.messageParts[0].text, this.getMessagePartSourceSpan(0));
- }
- getMessagePartSourceSpan(i) {
- var _a, _b;
- return (_b = (_a = this.messageParts[i]) === null || _a === void 0 ? void 0 : _a.sourceSpan) !== null && _b !== void 0 ? _b : this.sourceSpan;
- }
- getPlaceholderSourceSpan(i) {
- var _a, _b, _c, _d;
- 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;
- }
- /**
- * Serialize the given `placeholderName` and `messagePart` into "cooked" and "raw" strings that
- * can be used in a `$localize` tagged string.
- *
- * The format is `:<placeholder-name>[@@<associated-id>]:`.
- *
- * The `associated-id` is the message id of the (usually an ICU) message to which this placeholder
- * refers.
- *
- * @param partIndex The index of the message part to serialize.
- */
- serializeI18nTemplatePart(partIndex) {
- var _a;
- const placeholder = this.placeHolderNames[partIndex - 1];
- const messagePart = this.messageParts[partIndex];
- let metaBlock = placeholder.text;
- if (((_a = placeholder.associatedMessage) === null || _a === void 0 ? void 0 : _a.legacyIds.length) === 0) {
- metaBlock += `${ID_SEPARATOR$1}${computeMsgId(placeholder.associatedMessage.messageString, placeholder.associatedMessage.meaning)}`;
- }
- return createCookedRawString(metaBlock, messagePart.text, this.getMessagePartSourceSpan(partIndex));
- }
- }
- const escapeSlashes = str => str.replace(/\\/g, '\\\\');
- const escapeStartingColon = str => str.replace(/^:/, '\\:');
- const escapeColons = str => str.replace(/:/g, '\\:');
- const escapeForTemplateLiteral = str => str.replace(/`/g, '\\`').replace(/\${/g, '$\\{');
- /**
- * Creates a `{cooked, raw}` object from the `metaBlock` and `messagePart`.
- *
- * The `raw` text must have various character sequences escaped:
- * * "\" would otherwise indicate that the next character is a control character.
- * * "`" and "${" are template string control sequences that would otherwise prematurely indicate
- * the end of a message part.
- * * ":" inside a metablock would prematurely indicate the end of the metablock.
- * * ":" at the start of a messagePart with no metablock would erroneously indicate the start of a
- * metablock.
- *
- * @param metaBlock Any metadata that should be prepended to the string
- * @param messagePart The message part of the string
- */
- function createCookedRawString(metaBlock, messagePart, range) {
- if (metaBlock === '') {
- return {
- cooked: messagePart,
- raw: escapeForTemplateLiteral(escapeStartingColon(escapeSlashes(messagePart))),
- range
- };
- } else {
- return {
- cooked: `:${metaBlock}:${messagePart}`,
- raw: escapeForTemplateLiteral(`:${escapeColons(escapeSlashes(metaBlock))}:${escapeSlashes(messagePart)}`),
- range
- };
- }
- }
- class ExternalExpr extends Expression {
- constructor(value, type, typeParams = null, sourceSpan) {
- super(type, sourceSpan);
- this.value = value;
- this.typeParams = typeParams;
- }
- isEquivalent(e) {
- return e instanceof ExternalExpr && this.value.name === e.value.name && this.value.moduleName === e.value.moduleName && this.value.runtime === e.value.runtime;
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitExternalExpr(this, context);
- }
- }
- class ExternalReference {
- constructor(moduleName, name, runtime) {
- this.moduleName = moduleName;
- this.name = name;
- this.runtime = runtime;
- }
- }
- class ConditionalExpr extends Expression {
- constructor(condition, trueCase, falseCase = null, type, sourceSpan) {
- super(type || trueCase.type, sourceSpan);
- this.condition = condition;
- this.falseCase = falseCase;
- this.trueCase = trueCase;
- }
- isEquivalent(e) {
- return e instanceof ConditionalExpr && this.condition.isEquivalent(e.condition) && this.trueCase.isEquivalent(e.trueCase) && nullSafeIsEquivalent(this.falseCase, e.falseCase);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitConditionalExpr(this, context);
- }
- }
- class NotExpr extends Expression {
- constructor(condition, sourceSpan) {
- super(BOOL_TYPE, sourceSpan);
- this.condition = condition;
- }
- isEquivalent(e) {
- return e instanceof NotExpr && this.condition.isEquivalent(e.condition);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitNotExpr(this, context);
- }
- }
- class FnParam {
- constructor(name, type = null) {
- this.name = name;
- this.type = type;
- }
- isEquivalent(param) {
- return this.name === param.name;
- }
- }
- class FunctionExpr extends Expression {
- constructor(params, statements, type, sourceSpan, name) {
- super(type, sourceSpan);
- this.params = params;
- this.statements = statements;
- this.name = name;
- }
- isEquivalent(e) {
- return e instanceof FunctionExpr && areAllEquivalent(this.params, e.params) && areAllEquivalent(this.statements, e.statements);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitFunctionExpr(this, context);
- }
- toDeclStmt(name, modifiers) {
- return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers, this.sourceSpan);
- }
- }
- class UnaryOperatorExpr extends Expression {
- constructor(operator, expr, type, sourceSpan, parens = true) {
- super(type || NUMBER_TYPE, sourceSpan);
- this.operator = operator;
- this.expr = expr;
- this.parens = parens;
- }
- isEquivalent(e) {
- return e instanceof UnaryOperatorExpr && this.operator === e.operator && this.expr.isEquivalent(e.expr);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitUnaryOperatorExpr(this, context);
- }
- }
- class BinaryOperatorExpr extends Expression {
- constructor(operator, lhs, rhs, type, sourceSpan, parens = true) {
- super(type || lhs.type, sourceSpan);
- this.operator = operator;
- this.rhs = rhs;
- this.parens = parens;
- this.lhs = lhs;
- }
- isEquivalent(e) {
- return e instanceof BinaryOperatorExpr && this.operator === e.operator && this.lhs.isEquivalent(e.lhs) && this.rhs.isEquivalent(e.rhs);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitBinaryOperatorExpr(this, context);
- }
- }
- class ReadPropExpr extends Expression {
- constructor(receiver, name, type, sourceSpan) {
- super(type, sourceSpan);
- this.receiver = receiver;
- this.name = name;
- }
- isEquivalent(e) {
- return e instanceof ReadPropExpr && this.receiver.isEquivalent(e.receiver) && this.name === e.name;
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitReadPropExpr(this, context);
- }
- set(value) {
- return new WritePropExpr(this.receiver, this.name, value, null, this.sourceSpan);
- }
- }
- class ReadKeyExpr extends Expression {
- constructor(receiver, index, type, sourceSpan) {
- super(type, sourceSpan);
- this.receiver = receiver;
- this.index = index;
- }
- isEquivalent(e) {
- return e instanceof ReadKeyExpr && this.receiver.isEquivalent(e.receiver) && this.index.isEquivalent(e.index);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitReadKeyExpr(this, context);
- }
- set(value) {
- return new WriteKeyExpr(this.receiver, this.index, value, null, this.sourceSpan);
- }
- }
- class LiteralArrayExpr extends Expression {
- constructor(entries, type, sourceSpan) {
- super(type, sourceSpan);
- this.entries = entries;
- }
- isConstant() {
- return this.entries.every(e => e.isConstant());
- }
- isEquivalent(e) {
- return e instanceof LiteralArrayExpr && areAllEquivalent(this.entries, e.entries);
- }
- visitExpression(visitor, context) {
- return visitor.visitLiteralArrayExpr(this, context);
- }
- }
- class LiteralMapEntry {
- constructor(key, value, quoted) {
- this.key = key;
- this.value = value;
- this.quoted = quoted;
- }
- isEquivalent(e) {
- return this.key === e.key && this.value.isEquivalent(e.value);
- }
- }
- class LiteralMapExpr extends Expression {
- constructor(entries, type, sourceSpan) {
- super(type, sourceSpan);
- this.entries = entries;
- this.valueType = null;
- if (type) {
- this.valueType = type.valueType;
- }
- }
- isEquivalent(e) {
- return e instanceof LiteralMapExpr && areAllEquivalent(this.entries, e.entries);
- }
- isConstant() {
- return this.entries.every(e => e.value.isConstant());
- }
- visitExpression(visitor, context) {
- return visitor.visitLiteralMapExpr(this, context);
- }
- }
- class CommaExpr extends Expression {
- constructor(parts, sourceSpan) {
- super(parts[parts.length - 1].type, sourceSpan);
- this.parts = parts;
- }
- isEquivalent(e) {
- return e instanceof CommaExpr && areAllEquivalent(this.parts, e.parts);
- }
- isConstant() {
- return false;
- }
- visitExpression(visitor, context) {
- return visitor.visitCommaExpr(this, context);
- }
- }
- const NULL_EXPR = new LiteralExpr(null, null, null);
- const TYPED_NULL_EXPR = new LiteralExpr(null, INFERRED_TYPE, null); //// Statements
- var StmtModifier;
- (function (StmtModifier) {
- StmtModifier[StmtModifier["None"] = 0] = "None";
- StmtModifier[StmtModifier["Final"] = 1] = "Final";
- StmtModifier[StmtModifier["Private"] = 2] = "Private";
- StmtModifier[StmtModifier["Exported"] = 4] = "Exported";
- StmtModifier[StmtModifier["Static"] = 8] = "Static";
- })(StmtModifier || (StmtModifier = {}));
- class LeadingComment {
- constructor(text, multiline, trailingNewline) {
- this.text = text;
- this.multiline = multiline;
- this.trailingNewline = trailingNewline;
- }
- toString() {
- return this.multiline ? ` ${this.text} ` : this.text;
- }
- }
- class JSDocComment extends LeadingComment {
- constructor(tags) {
- super('',
- /* multiline */
- true,
- /* trailingNewline */
- true);
- this.tags = tags;
- }
- toString() {
- return serializeTags(this.tags);
- }
- }
- class Statement {
- constructor(modifiers = StmtModifier.None, sourceSpan = null, leadingComments) {
- this.modifiers = modifiers;
- this.sourceSpan = sourceSpan;
- this.leadingComments = leadingComments;
- }
- hasModifier(modifier) {
- return (this.modifiers & modifier) !== 0;
- }
- addLeadingComment(leadingComment) {
- var _a;
- this.leadingComments = (_a = this.leadingComments) !== null && _a !== void 0 ? _a : [];
- this.leadingComments.push(leadingComment);
- }
- }
- class DeclareVarStmt extends Statement {
- constructor(name, value, type, modifiers, sourceSpan, leadingComments) {
- super(modifiers, sourceSpan, leadingComments);
- this.name = name;
- this.value = value;
- this.type = type || value && value.type || null;
- }
- isEquivalent(stmt) {
- return stmt instanceof DeclareVarStmt && this.name === stmt.name && (this.value ? !!stmt.value && this.value.isEquivalent(stmt.value) : !stmt.value);
- }
- visitStatement(visitor, context) {
- return visitor.visitDeclareVarStmt(this, context);
- }
- }
- class DeclareFunctionStmt extends Statement {
- constructor(name, params, statements, type, modifiers, sourceSpan, leadingComments) {
- super(modifiers, sourceSpan, leadingComments);
- this.name = name;
- this.params = params;
- this.statements = statements;
- this.type = type || null;
- }
- isEquivalent(stmt) {
- return stmt instanceof DeclareFunctionStmt && areAllEquivalent(this.params, stmt.params) && areAllEquivalent(this.statements, stmt.statements);
- }
- visitStatement(visitor, context) {
- return visitor.visitDeclareFunctionStmt(this, context);
- }
- }
- class ExpressionStatement extends Statement {
- constructor(expr, sourceSpan, leadingComments) {
- super(StmtModifier.None, sourceSpan, leadingComments);
- this.expr = expr;
- }
- isEquivalent(stmt) {
- return stmt instanceof ExpressionStatement && this.expr.isEquivalent(stmt.expr);
- }
- visitStatement(visitor, context) {
- return visitor.visitExpressionStmt(this, context);
- }
- }
- class ReturnStatement extends Statement {
- constructor(value, sourceSpan = null, leadingComments) {
- super(StmtModifier.None, sourceSpan, leadingComments);
- this.value = value;
- }
- isEquivalent(stmt) {
- return stmt instanceof ReturnStatement && this.value.isEquivalent(stmt.value);
- }
- visitStatement(visitor, context) {
- return visitor.visitReturnStmt(this, context);
- }
- }
- class IfStmt extends Statement {
- constructor(condition, trueCase, falseCase = [], sourceSpan, leadingComments) {
- super(StmtModifier.None, sourceSpan, leadingComments);
- this.condition = condition;
- this.trueCase = trueCase;
- this.falseCase = falseCase;
- }
- isEquivalent(stmt) {
- return stmt instanceof IfStmt && this.condition.isEquivalent(stmt.condition) && areAllEquivalent(this.trueCase, stmt.trueCase) && areAllEquivalent(this.falseCase, stmt.falseCase);
- }
- visitStatement(visitor, context) {
- return visitor.visitIfStmt(this, context);
- }
- }
- class RecursiveAstVisitor$1 {
- visitType(ast, context) {
- return ast;
- }
- visitExpression(ast, context) {
- if (ast.type) {
- ast.type.visitType(this, context);
- }
- return ast;
- }
- visitBuiltinType(type, context) {
- return this.visitType(type, context);
- }
- visitExpressionType(type, context) {
- type.value.visitExpression(this, context);
- if (type.typeParams !== null) {
- type.typeParams.forEach(param => this.visitType(param, context));
- }
- return this.visitType(type, context);
- }
- visitArrayType(type, context) {
- return this.visitType(type, context);
- }
- visitMapType(type, context) {
- return this.visitType(type, context);
- }
- visitWrappedNodeExpr(ast, context) {
- return ast;
- }
- visitTypeofExpr(ast, context) {
- return this.visitExpression(ast, context);
- }
- visitReadVarExpr(ast, context) {
- return this.visitExpression(ast, context);
- }
- visitWriteVarExpr(ast, context) {
- ast.value.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitWriteKeyExpr(ast, context) {
- ast.receiver.visitExpression(this, context);
- ast.index.visitExpression(this, context);
- ast.value.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitWritePropExpr(ast, context) {
- ast.receiver.visitExpression(this, context);
- ast.value.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitInvokeFunctionExpr(ast, context) {
- ast.fn.visitExpression(this, context);
- this.visitAllExpressions(ast.args, context);
- return this.visitExpression(ast, context);
- }
- visitTaggedTemplateExpr(ast, context) {
- ast.tag.visitExpression(this, context);
- this.visitAllExpressions(ast.template.expressions, context);
- return this.visitExpression(ast, context);
- }
- visitInstantiateExpr(ast, context) {
- ast.classExpr.visitExpression(this, context);
- this.visitAllExpressions(ast.args, context);
- return this.visitExpression(ast, context);
- }
- visitLiteralExpr(ast, context) {
- return this.visitExpression(ast, context);
- }
- visitLocalizedString(ast, context) {
- return this.visitExpression(ast, context);
- }
- visitExternalExpr(ast, context) {
- if (ast.typeParams) {
- ast.typeParams.forEach(type => type.visitType(this, context));
- }
- return this.visitExpression(ast, context);
- }
- visitConditionalExpr(ast, context) {
- ast.condition.visitExpression(this, context);
- ast.trueCase.visitExpression(this, context);
- ast.falseCase.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitNotExpr(ast, context) {
- ast.condition.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitFunctionExpr(ast, context) {
- this.visitAllStatements(ast.statements, context);
- return this.visitExpression(ast, context);
- }
- visitUnaryOperatorExpr(ast, context) {
- ast.expr.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitBinaryOperatorExpr(ast, context) {
- ast.lhs.visitExpression(this, context);
- ast.rhs.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitReadPropExpr(ast, context) {
- ast.receiver.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitReadKeyExpr(ast, context) {
- ast.receiver.visitExpression(this, context);
- ast.index.visitExpression(this, context);
- return this.visitExpression(ast, context);
- }
- visitLiteralArrayExpr(ast, context) {
- this.visitAllExpressions(ast.entries, context);
- return this.visitExpression(ast, context);
- }
- visitLiteralMapExpr(ast, context) {
- ast.entries.forEach(entry => entry.value.visitExpression(this, context));
- return this.visitExpression(ast, context);
- }
- visitCommaExpr(ast, context) {
- this.visitAllExpressions(ast.parts, context);
- return this.visitExpression(ast, context);
- }
- visitAllExpressions(exprs, context) {
- exprs.forEach(expr => expr.visitExpression(this, context));
- }
- visitDeclareVarStmt(stmt, context) {
- if (stmt.value) {
- stmt.value.visitExpression(this, context);
- }
- if (stmt.type) {
- stmt.type.visitType(this, context);
- }
- return stmt;
- }
- visitDeclareFunctionStmt(stmt, context) {
- this.visitAllStatements(stmt.statements, context);
- if (stmt.type) {
- stmt.type.visitType(this, context);
- }
- return stmt;
- }
- visitExpressionStmt(stmt, context) {
- stmt.expr.visitExpression(this, context);
- return stmt;
- }
- visitReturnStmt(stmt, context) {
- stmt.value.visitExpression(this, context);
- return stmt;
- }
- visitIfStmt(stmt, context) {
- stmt.condition.visitExpression(this, context);
- this.visitAllStatements(stmt.trueCase, context);
- this.visitAllStatements(stmt.falseCase, context);
- return stmt;
- }
- visitAllStatements(stmts, context) {
- stmts.forEach(stmt => stmt.visitStatement(this, context));
- }
- }
- function leadingComment(text, multiline = false, trailingNewline = true) {
- return new LeadingComment(text, multiline, trailingNewline);
- }
- function jsDocComment(tags = []) {
- return new JSDocComment(tags);
- }
- function variable(name, type, sourceSpan) {
- return new ReadVarExpr(name, type, sourceSpan);
- }
- function importExpr(id, typeParams = null, sourceSpan) {
- return new ExternalExpr(id, null, typeParams, sourceSpan);
- }
- function importType(id, typeParams, typeModifiers) {
- return id != null ? expressionType(importExpr(id, typeParams, null), typeModifiers) : null;
- }
- function expressionType(expr, typeModifiers, typeParams) {
- return new ExpressionType(expr, typeModifiers, typeParams);
- }
- function typeofExpr(expr) {
- return new TypeofExpr(expr);
- }
- function literalArr(values, type, sourceSpan) {
- return new LiteralArrayExpr(values, type, sourceSpan);
- }
- function literalMap(values, type = null) {
- return new LiteralMapExpr(values.map(e => new LiteralMapEntry(e.key, e.value, e.quoted)), type, null);
- }
- function unary(operator, expr, type, sourceSpan) {
- return new UnaryOperatorExpr(operator, expr, type, sourceSpan);
- }
- function not(expr, sourceSpan) {
- return new NotExpr(expr, sourceSpan);
- }
- function fn(params, body, type, sourceSpan, name) {
- return new FunctionExpr(params, body, type, sourceSpan, name);
- }
- function ifStmt(condition, thenClause, elseClause, sourceSpan, leadingComments) {
- return new IfStmt(condition, thenClause, elseClause, sourceSpan, leadingComments);
- }
- function taggedTemplate(tag, template, type, sourceSpan) {
- return new TaggedTemplateExpr(tag, template, type, sourceSpan);
- }
- function literal(value, type, sourceSpan) {
- return new LiteralExpr(value, type, sourceSpan);
- }
- function localizedString(metaBlock, messageParts, placeholderNames, expressions, sourceSpan) {
- return new LocalizedString(metaBlock, messageParts, placeholderNames, expressions, sourceSpan);
- }
- function isNull(exp) {
- return exp instanceof LiteralExpr && exp.value === null;
- }
- /*
- * Serializes a `Tag` into a string.
- * Returns a string like " @foo {bar} baz" (note the leading whitespace before `@foo`).
- */
- function tagToString(tag) {
- let out = '';
- if (tag.tagName) {
- out += ` @${tag.tagName}`;
- }
- if (tag.text) {
- if (tag.text.match(/\/\*|\*\//)) {
- throw new Error('JSDoc text cannot contain "/*" and "*/"');
- }
- out += ' ' + tag.text.replace(/@/g, '\\@');
- }
- return out;
- }
- function serializeTags(tags) {
- if (tags.length === 0) return '';
- if (tags.length === 1 && tags[0].tagName && !tags[0].text) {
- // The JSDOC comment is a single simple tag: e.g `/** @tagname */`.
- return `*${tagToString(tags[0])} `;
- }
- let out = '*\n';
- for (const tag of tags) {
- out += ' *'; // If the tagToString is multi-line, insert " * " prefixes on lines.
- out += tagToString(tag).replace(/\n/g, '\n * ');
- out += '\n';
- }
- out += ' ';
- return out;
- }
- var output_ast = /*#__PURE__*/Object.freeze({
- __proto__: null,
- get TypeModifier() {
- return TypeModifier;
- },
- Type: Type,
- get BuiltinTypeName() {
- return BuiltinTypeName;
- },
- BuiltinType: BuiltinType,
- ExpressionType: ExpressionType,
- ArrayType: ArrayType,
- MapType: MapType,
- DYNAMIC_TYPE: DYNAMIC_TYPE,
- INFERRED_TYPE: INFERRED_TYPE,
- BOOL_TYPE: BOOL_TYPE,
- INT_TYPE: INT_TYPE,
- NUMBER_TYPE: NUMBER_TYPE,
- STRING_TYPE: STRING_TYPE,
- FUNCTION_TYPE: FUNCTION_TYPE,
- NONE_TYPE: NONE_TYPE,
- get UnaryOperator() {
- return UnaryOperator;
- },
- get BinaryOperator() {
- return BinaryOperator;
- },
- nullSafeIsEquivalent: nullSafeIsEquivalent,
- areAllEquivalent: areAllEquivalent,
- Expression: Expression,
- ReadVarExpr: ReadVarExpr,
- TypeofExpr: TypeofExpr,
- WrappedNodeExpr: WrappedNodeExpr,
- WriteVarExpr: WriteVarExpr,
- WriteKeyExpr: WriteKeyExpr,
- WritePropExpr: WritePropExpr,
- InvokeFunctionExpr: InvokeFunctionExpr,
- TaggedTemplateExpr: TaggedTemplateExpr,
- InstantiateExpr: InstantiateExpr,
- LiteralExpr: LiteralExpr,
- TemplateLiteral: TemplateLiteral,
- TemplateLiteralElement: TemplateLiteralElement,
- LiteralPiece: LiteralPiece,
- PlaceholderPiece: PlaceholderPiece,
- LocalizedString: LocalizedString,
- ExternalExpr: ExternalExpr,
- ExternalReference: ExternalReference,
- ConditionalExpr: ConditionalExpr,
- NotExpr: NotExpr,
- FnParam: FnParam,
- FunctionExpr: FunctionExpr,
- UnaryOperatorExpr: UnaryOperatorExpr,
- BinaryOperatorExpr: BinaryOperatorExpr,
- ReadPropExpr: ReadPropExpr,
- ReadKeyExpr: ReadKeyExpr,
- LiteralArrayExpr: LiteralArrayExpr,
- LiteralMapEntry: LiteralMapEntry,
- LiteralMapExpr: LiteralMapExpr,
- CommaExpr: CommaExpr,
- NULL_EXPR: NULL_EXPR,
- TYPED_NULL_EXPR: TYPED_NULL_EXPR,
- get StmtModifier() {
- return StmtModifier;
- },
- LeadingComment: LeadingComment,
- JSDocComment: JSDocComment,
- Statement: Statement,
- DeclareVarStmt: DeclareVarStmt,
- DeclareFunctionStmt: DeclareFunctionStmt,
- ExpressionStatement: ExpressionStatement,
- ReturnStatement: ReturnStatement,
- IfStmt: IfStmt,
- RecursiveAstVisitor: RecursiveAstVisitor$1,
- leadingComment: leadingComment,
- jsDocComment: jsDocComment,
- variable: variable,
- importExpr: importExpr,
- importType: importType,
- expressionType: expressionType,
- typeofExpr: typeofExpr,
- literalArr: literalArr,
- literalMap: literalMap,
- unary: unary,
- not: not,
- fn: fn,
- ifStmt: ifStmt,
- taggedTemplate: taggedTemplate,
- literal: literal,
- localizedString: localizedString,
- isNull: isNull
- });
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const CONSTANT_PREFIX = '_c';
- /**
- * `ConstantPool` tries to reuse literal factories when two or more literals are identical.
- * We determine whether literals are identical by creating a key out of their AST using the
- * `KeyVisitor`. This constant is used to replace dynamic expressions which can't be safely
- * converted into a key. E.g. given an expression `{foo: bar()}`, since we don't know what
- * the result of `bar` will be, we create a key that looks like `{foo: <unknown>}`. Note
- * that we use a variable, rather than something like `null` in order to avoid collisions.
- */
- const UNKNOWN_VALUE_KEY = variable('<unknown>');
- /**
- * Context to use when producing a key.
- *
- * This ensures we see the constant not the reference variable when producing
- * a key.
- */
- const KEY_CONTEXT = {};
- /**
- * Generally all primitive values are excluded from the `ConstantPool`, but there is an exclusion
- * for strings that reach a certain length threshold. This constant defines the length threshold for
- * strings.
- */
- const POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS = 50;
- /**
- * A node that is a place-holder that allows the node to be replaced when the actual
- * node is known.
- *
- * This allows the constant pool to change an expression from a direct reference to
- * a constant to a shared constant. It returns a fix-up node that is later allowed to
- * change the referenced expression.
- */
- class FixupExpression extends Expression {
- constructor(resolved) {
- super(resolved.type);
- this.resolved = resolved;
- this.original = resolved;
- }
- visitExpression(visitor, context) {
- if (context === KEY_CONTEXT) {
- // When producing a key we want to traverse the constant not the
- // variable used to refer to it.
- return this.original.visitExpression(visitor, context);
- } else {
- return this.resolved.visitExpression(visitor, context);
- }
- }
- isEquivalent(e) {
- return e instanceof FixupExpression && this.resolved.isEquivalent(e.resolved);
- }
- isConstant() {
- return true;
- }
- fixup(expression) {
- this.resolved = expression;
- this.shared = true;
- }
- }
- /**
- * A constant pool allows a code emitter to share constant in an output context.
- *
- * The constant pool also supports sharing access to ivy definitions references.
- */
- class ConstantPool {
- constructor(isClosureCompilerEnabled = false) {
- this.isClosureCompilerEnabled = isClosureCompilerEnabled;
- this.statements = [];
- this.literals = new Map();
- this.literalFactories = new Map();
- this.nextNameIndex = 0;
- }
- getConstLiteral(literal, forceShared) {
- if (literal instanceof LiteralExpr && !isLongStringLiteral(literal) || literal instanceof FixupExpression) {
- // Do no put simple literals into the constant pool or try to produce a constant for a
- // reference to a constant.
- return literal;
- }
- const key = this.keyOf(literal);
- let fixup = this.literals.get(key);
- let newValue = false;
- if (!fixup) {
- fixup = new FixupExpression(literal);
- this.literals.set(key, fixup);
- newValue = true;
- }
- if (!newValue && !fixup.shared || newValue && forceShared) {
- // Replace the expression with a variable
- const name = this.freshName();
- let definition;
- let usage;
- if (this.isClosureCompilerEnabled && isLongStringLiteral(literal)) {
- // For string literals, Closure will **always** inline the string at
- // **all** usages, duplicating it each time. For large strings, this
- // unnecessarily bloats bundle size. To work around this restriction, we
- // wrap the string in a function, and call that function for each usage.
- // This tricks Closure into using inline logic for functions instead of
- // string literals. Function calls are only inlined if the body is small
- // enough to be worth it. By doing this, very large strings will be
- // shared across multiple usages, rather than duplicating the string at
- // each usage site.
- //
- // const myStr = function() { return "very very very long string"; };
- // const usage1 = myStr();
- // const usage2 = myStr();
- definition = variable(name).set(new FunctionExpr([], // Params.
- [// Statements.
- new ReturnStatement(literal)]));
- usage = variable(name).callFn([]);
- } else {
- // Just declare and use the variable directly, without a function call
- // indirection. This saves a few bytes and avoids an unnecessary call.
- definition = variable(name).set(literal);
- usage = variable(name);
- }
- this.statements.push(definition.toDeclStmt(INFERRED_TYPE, StmtModifier.Final));
- fixup.fixup(usage);
- }
- return fixup;
- }
- getLiteralFactory(literal) {
- // Create a pure function that builds an array of a mix of constant and variable expressions
- if (literal instanceof LiteralArrayExpr) {
- const argumentsForKey = literal.entries.map(e => e.isConstant() ? e : UNKNOWN_VALUE_KEY);
- const key = this.keyOf(literalArr(argumentsForKey));
- return this._getLiteralFactory(key, literal.entries, entries => literalArr(entries));
- } else {
- const expressionForKey = literalMap(literal.entries.map(e => ({
- key: e.key,
- value: e.value.isConstant() ? e.value : UNKNOWN_VALUE_KEY,
- quoted: e.quoted
- })));
- const key = this.keyOf(expressionForKey);
- return this._getLiteralFactory(key, literal.entries.map(e => e.value), entries => literalMap(entries.map((value, index) => ({
- key: literal.entries[index].key,
- value,
- quoted: literal.entries[index].quoted
- }))));
- }
- }
- _getLiteralFactory(key, values, resultMap) {
- let literalFactory = this.literalFactories.get(key);
- const literalFactoryArguments = values.filter(e => !e.isConstant());
- if (!literalFactory) {
- const resultExpressions = values.map((e, index) => e.isConstant() ? this.getConstLiteral(e, true) : variable(`a${index}`));
- const parameters = resultExpressions.filter(isVariable).map(e => new FnParam(e.name, DYNAMIC_TYPE));
- const pureFunctionDeclaration = fn(parameters, [new ReturnStatement(resultMap(resultExpressions))], INFERRED_TYPE);
- const name = this.freshName();
- this.statements.push(variable(name).set(pureFunctionDeclaration).toDeclStmt(INFERRED_TYPE, StmtModifier.Final));
- literalFactory = variable(name);
- this.literalFactories.set(key, literalFactory);
- }
- return {
- literalFactory,
- literalFactoryArguments
- };
- }
- /**
- * Produce a unique name.
- *
- * The name might be unique among different prefixes if any of the prefixes end in
- * a digit so the prefix should be a constant string (not based on user input) and
- * must not end in a digit.
- */
- uniqueName(prefix) {
- return `${prefix}${this.nextNameIndex++}`;
- }
- freshName() {
- return this.uniqueName(CONSTANT_PREFIX);
- }
- keyOf(expression) {
- return expression.visitExpression(new KeyVisitor(), KEY_CONTEXT);
- }
- }
- /**
- * Visitor used to determine if 2 expressions are equivalent and can be shared in the
- * `ConstantPool`.
- *
- * When the id (string) generated by the visitor is equal, expressions are considered equivalent.
- */
- class KeyVisitor {
- constructor() {
- this.visitWrappedNodeExpr = invalid$1;
- this.visitWriteVarExpr = invalid$1;
- this.visitWriteKeyExpr = invalid$1;
- this.visitWritePropExpr = invalid$1;
- this.visitInvokeFunctionExpr = invalid$1;
- this.visitTaggedTemplateExpr = invalid$1;
- this.visitInstantiateExpr = invalid$1;
- this.visitConditionalExpr = invalid$1;
- this.visitNotExpr = invalid$1;
- this.visitAssertNotNullExpr = invalid$1;
- this.visitCastExpr = invalid$1;
- this.visitFunctionExpr = invalid$1;
- this.visitUnaryOperatorExpr = invalid$1;
- this.visitBinaryOperatorExpr = invalid$1;
- this.visitReadPropExpr = invalid$1;
- this.visitReadKeyExpr = invalid$1;
- this.visitCommaExpr = invalid$1;
- this.visitLocalizedString = invalid$1;
- }
- visitLiteralExpr(ast) {
- return `${typeof ast.value === 'string' ? '"' + ast.value + '"' : ast.value}`;
- }
- visitLiteralArrayExpr(ast, context) {
- return `[${ast.entries.map(entry => entry.visitExpression(this, context)).join(',')}]`;
- }
- visitLiteralMapExpr(ast, context) {
- const mapKey = entry => {
- const quote = entry.quoted ? '"' : '';
- return `${quote}${entry.key}${quote}`;
- };
- const mapEntry = entry => `${mapKey(entry)}:${entry.value.visitExpression(this, context)}`;
- return `{${ast.entries.map(mapEntry).join(',')}`;
- }
- visitExternalExpr(ast) {
- return ast.value.moduleName ? `EX:${ast.value.moduleName}:${ast.value.name}` : `EX:${ast.value.runtime.name}`;
- }
- visitReadVarExpr(node) {
- return `VAR:${node.name}`;
- }
- visitTypeofExpr(node, context) {
- return `TYPEOF:${node.expr.visitExpression(this, context)}`;
- }
- }
- function invalid$1(arg) {
- throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${arg.constructor.name}`);
- }
- function isVariable(e) {
- return e instanceof ReadVarExpr;
- }
- function isLongStringLiteral(expr) {
- return expr instanceof LiteralExpr && typeof expr.value === 'string' && expr.value.length >= POOL_INCLUSION_LENGTH_THRESHOLD_FOR_STRINGS;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const CORE = '@angular/core';
- class Identifiers {}
- /* Methods */
- Identifiers.NEW_METHOD = 'factory';
- Identifiers.TRANSFORM_METHOD = 'transform';
- Identifiers.PATCH_DEPS = 'patchedDeps';
- Identifiers.core = {
- name: null,
- moduleName: CORE
- };
- /* Instructions */
- Identifiers.namespaceHTML = {
- name: 'ɵɵnamespaceHTML',
- moduleName: CORE
- };
- Identifiers.namespaceMathML = {
- name: 'ɵɵnamespaceMathML',
- moduleName: CORE
- };
- Identifiers.namespaceSVG = {
- name: 'ɵɵnamespaceSVG',
- moduleName: CORE
- };
- Identifiers.element = {
- name: 'ɵɵelement',
- moduleName: CORE
- };
- Identifiers.elementStart = {
- name: 'ɵɵelementStart',
- moduleName: CORE
- };
- Identifiers.elementEnd = {
- name: 'ɵɵelementEnd',
- moduleName: CORE
- };
- Identifiers.advance = {
- name: 'ɵɵadvance',
- moduleName: CORE
- };
- Identifiers.syntheticHostProperty = {
- name: 'ɵɵsyntheticHostProperty',
- moduleName: CORE
- };
- Identifiers.syntheticHostListener = {
- name: 'ɵɵsyntheticHostListener',
- moduleName: CORE
- };
- Identifiers.attribute = {
- name: 'ɵɵattribute',
- moduleName: CORE
- };
- Identifiers.attributeInterpolate1 = {
- name: 'ɵɵattributeInterpolate1',
- moduleName: CORE
- };
- Identifiers.attributeInterpolate2 = {
- name: 'ɵɵattributeInterpolate2',
- moduleName: CORE
- };
- Identifiers.attributeInterpolate3 = {
- name: 'ɵɵattributeInterpolate3',
- moduleName: CORE
- };
- Identifiers.attributeInterpolate4 = {
- name: 'ɵɵattributeInterpolate4',
- moduleName: CORE
- };
- Identifiers.attributeInterpolate5 = {
- name: 'ɵɵattributeInterpolate5',
- moduleName: CORE
- };
- Identifiers.attributeInterpolate6 = {
- name: 'ɵɵattributeInterpolate6',
- moduleName: CORE
- };
- Identifiers.attributeInterpolate7 = {
- name: 'ɵɵattributeInterpolate7',
- moduleName: CORE
- };
- Identifiers.attributeInterpolate8 = {
- name: 'ɵɵattributeInterpolate8',
- moduleName: CORE
- };
- Identifiers.attributeInterpolateV = {
- name: 'ɵɵattributeInterpolateV',
- moduleName: CORE
- };
- Identifiers.classProp = {
- name: 'ɵɵclassProp',
- moduleName: CORE
- };
- Identifiers.elementContainerStart = {
- name: 'ɵɵelementContainerStart',
- moduleName: CORE
- };
- Identifiers.elementContainerEnd = {
- name: 'ɵɵelementContainerEnd',
- moduleName: CORE
- };
- Identifiers.elementContainer = {
- name: 'ɵɵelementContainer',
- moduleName: CORE
- };
- Identifiers.styleMap = {
- name: 'ɵɵstyleMap',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolate1 = {
- name: 'ɵɵstyleMapInterpolate1',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolate2 = {
- name: 'ɵɵstyleMapInterpolate2',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolate3 = {
- name: 'ɵɵstyleMapInterpolate3',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolate4 = {
- name: 'ɵɵstyleMapInterpolate4',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolate5 = {
- name: 'ɵɵstyleMapInterpolate5',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolate6 = {
- name: 'ɵɵstyleMapInterpolate6',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolate7 = {
- name: 'ɵɵstyleMapInterpolate7',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolate8 = {
- name: 'ɵɵstyleMapInterpolate8',
- moduleName: CORE
- };
- Identifiers.styleMapInterpolateV = {
- name: 'ɵɵstyleMapInterpolateV',
- moduleName: CORE
- };
- Identifiers.classMap = {
- name: 'ɵɵclassMap',
- moduleName: CORE
- };
- Identifiers.classMapInterpolate1 = {
- name: 'ɵɵclassMapInterpolate1',
- moduleName: CORE
- };
- Identifiers.classMapInterpolate2 = {
- name: 'ɵɵclassMapInterpolate2',
- moduleName: CORE
- };
- Identifiers.classMapInterpolate3 = {
- name: 'ɵɵclassMapInterpolate3',
- moduleName: CORE
- };
- Identifiers.classMapInterpolate4 = {
- name: 'ɵɵclassMapInterpolate4',
- moduleName: CORE
- };
- Identifiers.classMapInterpolate5 = {
- name: 'ɵɵclassMapInterpolate5',
- moduleName: CORE
- };
- Identifiers.classMapInterpolate6 = {
- name: 'ɵɵclassMapInterpolate6',
- moduleName: CORE
- };
- Identifiers.classMapInterpolate7 = {
- name: 'ɵɵclassMapInterpolate7',
- moduleName: CORE
- };
- Identifiers.classMapInterpolate8 = {
- name: 'ɵɵclassMapInterpolate8',
- moduleName: CORE
- };
- Identifiers.classMapInterpolateV = {
- name: 'ɵɵclassMapInterpolateV',
- moduleName: CORE
- };
- Identifiers.styleProp = {
- name: 'ɵɵstyleProp',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolate1 = {
- name: 'ɵɵstylePropInterpolate1',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolate2 = {
- name: 'ɵɵstylePropInterpolate2',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolate3 = {
- name: 'ɵɵstylePropInterpolate3',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolate4 = {
- name: 'ɵɵstylePropInterpolate4',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolate5 = {
- name: 'ɵɵstylePropInterpolate5',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolate6 = {
- name: 'ɵɵstylePropInterpolate6',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolate7 = {
- name: 'ɵɵstylePropInterpolate7',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolate8 = {
- name: 'ɵɵstylePropInterpolate8',
- moduleName: CORE
- };
- Identifiers.stylePropInterpolateV = {
- name: 'ɵɵstylePropInterpolateV',
- moduleName: CORE
- };
- Identifiers.nextContext = {
- name: 'ɵɵnextContext',
- moduleName: CORE
- };
- Identifiers.resetView = {
- name: 'ɵɵresetView',
- moduleName: CORE
- };
- Identifiers.templateCreate = {
- name: 'ɵɵtemplate',
- moduleName: CORE
- };
- Identifiers.text = {
- name: 'ɵɵtext',
- moduleName: CORE
- };
- Identifiers.enableBindings = {
- name: 'ɵɵenableBindings',
- moduleName: CORE
- };
- Identifiers.disableBindings = {
- name: 'ɵɵdisableBindings',
- moduleName: CORE
- };
- Identifiers.getCurrentView = {
- name: 'ɵɵgetCurrentView',
- moduleName: CORE
- };
- Identifiers.textInterpolate = {
- name: 'ɵɵtextInterpolate',
- moduleName: CORE
- };
- Identifiers.textInterpolate1 = {
- name: 'ɵɵtextInterpolate1',
- moduleName: CORE
- };
- Identifiers.textInterpolate2 = {
- name: 'ɵɵtextInterpolate2',
- moduleName: CORE
- };
- Identifiers.textInterpolate3 = {
- name: 'ɵɵtextInterpolate3',
- moduleName: CORE
- };
- Identifiers.textInterpolate4 = {
- name: 'ɵɵtextInterpolate4',
- moduleName: CORE
- };
- Identifiers.textInterpolate5 = {
- name: 'ɵɵtextInterpolate5',
- moduleName: CORE
- };
- Identifiers.textInterpolate6 = {
- name: 'ɵɵtextInterpolate6',
- moduleName: CORE
- };
- Identifiers.textInterpolate7 = {
- name: 'ɵɵtextInterpolate7',
- moduleName: CORE
- };
- Identifiers.textInterpolate8 = {
- name: 'ɵɵtextInterpolate8',
- moduleName: CORE
- };
- Identifiers.textInterpolateV = {
- name: 'ɵɵtextInterpolateV',
- moduleName: CORE
- };
- Identifiers.restoreView = {
- name: 'ɵɵrestoreView',
- moduleName: CORE
- };
- Identifiers.pureFunction0 = {
- name: 'ɵɵpureFunction0',
- moduleName: CORE
- };
- Identifiers.pureFunction1 = {
- name: 'ɵɵpureFunction1',
- moduleName: CORE
- };
- Identifiers.pureFunction2 = {
- name: 'ɵɵpureFunction2',
- moduleName: CORE
- };
- Identifiers.pureFunction3 = {
- name: 'ɵɵpureFunction3',
- moduleName: CORE
- };
- Identifiers.pureFunction4 = {
- name: 'ɵɵpureFunction4',
- moduleName: CORE
- };
- Identifiers.pureFunction5 = {
- name: 'ɵɵpureFunction5',
- moduleName: CORE
- };
- Identifiers.pureFunction6 = {
- name: 'ɵɵpureFunction6',
- moduleName: CORE
- };
- Identifiers.pureFunction7 = {
- name: 'ɵɵpureFunction7',
- moduleName: CORE
- };
- Identifiers.pureFunction8 = {
- name: 'ɵɵpureFunction8',
- moduleName: CORE
- };
- Identifiers.pureFunctionV = {
- name: 'ɵɵpureFunctionV',
- moduleName: CORE
- };
- Identifiers.pipeBind1 = {
- name: 'ɵɵpipeBind1',
- moduleName: CORE
- };
- Identifiers.pipeBind2 = {
- name: 'ɵɵpipeBind2',
- moduleName: CORE
- };
- Identifiers.pipeBind3 = {
- name: 'ɵɵpipeBind3',
- moduleName: CORE
- };
- Identifiers.pipeBind4 = {
- name: 'ɵɵpipeBind4',
- moduleName: CORE
- };
- Identifiers.pipeBindV = {
- name: 'ɵɵpipeBindV',
- moduleName: CORE
- };
- Identifiers.hostProperty = {
- name: 'ɵɵhostProperty',
- moduleName: CORE
- };
- Identifiers.property = {
- name: 'ɵɵproperty',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate = {
- name: 'ɵɵpropertyInterpolate',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate1 = {
- name: 'ɵɵpropertyInterpolate1',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate2 = {
- name: 'ɵɵpropertyInterpolate2',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate3 = {
- name: 'ɵɵpropertyInterpolate3',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate4 = {
- name: 'ɵɵpropertyInterpolate4',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate5 = {
- name: 'ɵɵpropertyInterpolate5',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate6 = {
- name: 'ɵɵpropertyInterpolate6',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate7 = {
- name: 'ɵɵpropertyInterpolate7',
- moduleName: CORE
- };
- Identifiers.propertyInterpolate8 = {
- name: 'ɵɵpropertyInterpolate8',
- moduleName: CORE
- };
- Identifiers.propertyInterpolateV = {
- name: 'ɵɵpropertyInterpolateV',
- moduleName: CORE
- };
- Identifiers.i18n = {
- name: 'ɵɵi18n',
- moduleName: CORE
- };
- Identifiers.i18nAttributes = {
- name: 'ɵɵi18nAttributes',
- moduleName: CORE
- };
- Identifiers.i18nExp = {
- name: 'ɵɵi18nExp',
- moduleName: CORE
- };
- Identifiers.i18nStart = {
- name: 'ɵɵi18nStart',
- moduleName: CORE
- };
- Identifiers.i18nEnd = {
- name: 'ɵɵi18nEnd',
- moduleName: CORE
- };
- Identifiers.i18nApply = {
- name: 'ɵɵi18nApply',
- moduleName: CORE
- };
- Identifiers.i18nPostprocess = {
- name: 'ɵɵi18nPostprocess',
- moduleName: CORE
- };
- Identifiers.pipe = {
- name: 'ɵɵpipe',
- moduleName: CORE
- };
- Identifiers.projection = {
- name: 'ɵɵprojection',
- moduleName: CORE
- };
- Identifiers.projectionDef = {
- name: 'ɵɵprojectionDef',
- moduleName: CORE
- };
- Identifiers.reference = {
- name: 'ɵɵreference',
- moduleName: CORE
- };
- Identifiers.inject = {
- name: 'ɵɵinject',
- moduleName: CORE
- };
- Identifiers.injectAttribute = {
- name: 'ɵɵinjectAttribute',
- moduleName: CORE
- };
- Identifiers.directiveInject = {
- name: 'ɵɵdirectiveInject',
- moduleName: CORE
- };
- Identifiers.invalidFactory = {
- name: 'ɵɵinvalidFactory',
- moduleName: CORE
- };
- Identifiers.invalidFactoryDep = {
- name: 'ɵɵinvalidFactoryDep',
- moduleName: CORE
- };
- Identifiers.templateRefExtractor = {
- name: 'ɵɵtemplateRefExtractor',
- moduleName: CORE
- };
- Identifiers.forwardRef = {
- name: 'forwardRef',
- moduleName: CORE
- };
- Identifiers.resolveForwardRef = {
- name: 'resolveForwardRef',
- moduleName: CORE
- };
- Identifiers.ɵɵdefineInjectable = {
- name: 'ɵɵdefineInjectable',
- moduleName: CORE
- };
- Identifiers.declareInjectable = {
- name: 'ɵɵngDeclareInjectable',
- moduleName: CORE
- };
- Identifiers.InjectableDeclaration = {
- name: 'ɵɵInjectableDeclaration',
- moduleName: CORE
- };
- Identifiers.resolveWindow = {
- name: 'ɵɵresolveWindow',
- moduleName: CORE
- };
- Identifiers.resolveDocument = {
- name: 'ɵɵresolveDocument',
- moduleName: CORE
- };
- Identifiers.resolveBody = {
- name: 'ɵɵresolveBody',
- moduleName: CORE
- };
- Identifiers.defineComponent = {
- name: 'ɵɵdefineComponent',
- moduleName: CORE
- };
- Identifiers.declareComponent = {
- name: 'ɵɵngDeclareComponent',
- moduleName: CORE
- };
- Identifiers.setComponentScope = {
- name: 'ɵɵsetComponentScope',
- moduleName: CORE
- };
- Identifiers.ChangeDetectionStrategy = {
- name: 'ChangeDetectionStrategy',
- moduleName: CORE
- };
- Identifiers.ViewEncapsulation = {
- name: 'ViewEncapsulation',
- moduleName: CORE
- };
- Identifiers.ComponentDeclaration = {
- name: 'ɵɵComponentDeclaration',
- moduleName: CORE
- };
- Identifiers.FactoryDeclaration = {
- name: 'ɵɵFactoryDeclaration',
- moduleName: CORE
- };
- Identifiers.declareFactory = {
- name: 'ɵɵngDeclareFactory',
- moduleName: CORE
- };
- Identifiers.FactoryTarget = {
- name: 'ɵɵFactoryTarget',
- moduleName: CORE
- };
- Identifiers.defineDirective = {
- name: 'ɵɵdefineDirective',
- moduleName: CORE
- };
- Identifiers.declareDirective = {
- name: 'ɵɵngDeclareDirective',
- moduleName: CORE
- };
- Identifiers.DirectiveDeclaration = {
- name: 'ɵɵDirectiveDeclaration',
- moduleName: CORE
- };
- Identifiers.InjectorDef = {
- name: 'ɵɵInjectorDef',
- moduleName: CORE
- };
- Identifiers.InjectorDeclaration = {
- name: 'ɵɵInjectorDeclaration',
- moduleName: CORE
- };
- Identifiers.defineInjector = {
- name: 'ɵɵdefineInjector',
- moduleName: CORE
- };
- Identifiers.declareInjector = {
- name: 'ɵɵngDeclareInjector',
- moduleName: CORE
- };
- Identifiers.NgModuleDeclaration = {
- name: 'ɵɵNgModuleDeclaration',
- moduleName: CORE
- };
- Identifiers.ModuleWithProviders = {
- name: 'ModuleWithProviders',
- moduleName: CORE
- };
- Identifiers.defineNgModule = {
- name: 'ɵɵdefineNgModule',
- moduleName: CORE
- };
- Identifiers.declareNgModule = {
- name: 'ɵɵngDeclareNgModule',
- moduleName: CORE
- };
- Identifiers.setNgModuleScope = {
- name: 'ɵɵsetNgModuleScope',
- moduleName: CORE
- };
- Identifiers.registerNgModuleType = {
- name: 'ɵɵregisterNgModuleType',
- moduleName: CORE
- };
- Identifiers.PipeDeclaration = {
- name: 'ɵɵPipeDeclaration',
- moduleName: CORE
- };
- Identifiers.definePipe = {
- name: 'ɵɵdefinePipe',
- moduleName: CORE
- };
- Identifiers.declarePipe = {
- name: 'ɵɵngDeclarePipe',
- moduleName: CORE
- };
- Identifiers.declareClassMetadata = {
- name: 'ɵɵngDeclareClassMetadata',
- moduleName: CORE
- };
- Identifiers.setClassMetadata = {
- name: 'ɵsetClassMetadata',
- moduleName: CORE
- };
- Identifiers.queryRefresh = {
- name: 'ɵɵqueryRefresh',
- moduleName: CORE
- };
- Identifiers.viewQuery = {
- name: 'ɵɵviewQuery',
- moduleName: CORE
- };
- Identifiers.loadQuery = {
- name: 'ɵɵloadQuery',
- moduleName: CORE
- };
- Identifiers.contentQuery = {
- name: 'ɵɵcontentQuery',
- moduleName: CORE
- };
- Identifiers.NgOnChangesFeature = {
- name: 'ɵɵNgOnChangesFeature',
- moduleName: CORE
- };
- Identifiers.InheritDefinitionFeature = {
- name: 'ɵɵInheritDefinitionFeature',
- moduleName: CORE
- };
- Identifiers.CopyDefinitionFeature = {
- name: 'ɵɵCopyDefinitionFeature',
- moduleName: CORE
- };
- Identifiers.StandaloneFeature = {
- name: 'ɵɵStandaloneFeature',
- moduleName: CORE
- };
- Identifiers.ProvidersFeature = {
- name: 'ɵɵProvidersFeature',
- moduleName: CORE
- };
- Identifiers.listener = {
- name: 'ɵɵlistener',
- moduleName: CORE
- };
- Identifiers.getInheritedFactory = {
- name: 'ɵɵgetInheritedFactory',
- moduleName: CORE
- }; // sanitization-related functions
- Identifiers.sanitizeHtml = {
- name: 'ɵɵsanitizeHtml',
- moduleName: CORE
- };
- Identifiers.sanitizeStyle = {
- name: 'ɵɵsanitizeStyle',
- moduleName: CORE
- };
- Identifiers.sanitizeResourceUrl = {
- name: 'ɵɵsanitizeResourceUrl',
- moduleName: CORE
- };
- Identifiers.sanitizeScript = {
- name: 'ɵɵsanitizeScript',
- moduleName: CORE
- };
- Identifiers.sanitizeUrl = {
- name: 'ɵɵsanitizeUrl',
- moduleName: CORE
- };
- Identifiers.sanitizeUrlOrResourceUrl = {
- name: 'ɵɵsanitizeUrlOrResourceUrl',
- moduleName: CORE
- };
- Identifiers.trustConstantHtml = {
- name: 'ɵɵtrustConstantHtml',
- moduleName: CORE
- };
- Identifiers.trustConstantResourceUrl = {
- name: 'ɵɵtrustConstantResourceUrl',
- moduleName: CORE
- };
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit
- const VERSION$1 = 3;
- const JS_B64_PREFIX = '# sourceMappingURL=data:application/json;base64,';
- class SourceMapGenerator {
- constructor(file = null) {
- this.file = file;
- this.sourcesContent = new Map();
- this.lines = [];
- this.lastCol0 = 0;
- this.hasMappings = false;
- } // The content is `null` when the content is expected to be loaded using the URL
- addSource(url, content = null) {
- if (!this.sourcesContent.has(url)) {
- this.sourcesContent.set(url, content);
- }
- return this;
- }
- addLine() {
- this.lines.push([]);
- this.lastCol0 = 0;
- return this;
- }
- addMapping(col0, sourceUrl, sourceLine0, sourceCol0) {
- if (!this.currentLine) {
- throw new Error(`A line must be added before mappings can be added`);
- }
- if (sourceUrl != null && !this.sourcesContent.has(sourceUrl)) {
- throw new Error(`Unknown source file "${sourceUrl}"`);
- }
- if (col0 == null) {
- throw new Error(`The column in the generated code must be provided`);
- }
- if (col0 < this.lastCol0) {
- throw new Error(`Mapping should be added in output order`);
- }
- if (sourceUrl && (sourceLine0 == null || sourceCol0 == null)) {
- throw new Error(`The source location must be provided when a source url is provided`);
- }
- this.hasMappings = true;
- this.lastCol0 = col0;
- this.currentLine.push({
- col0,
- sourceUrl,
- sourceLine0,
- sourceCol0
- });
- return this;
- }
- /**
- * @internal strip this from published d.ts files due to
- * https://github.com/microsoft/TypeScript/issues/36216
- */
- get currentLine() {
- return this.lines.slice(-1)[0];
- }
- toJSON() {
- if (!this.hasMappings) {
- return null;
- }
- const sourcesIndex = new Map();
- const sources = [];
- const sourcesContent = [];
- Array.from(this.sourcesContent.keys()).forEach((url, i) => {
- sourcesIndex.set(url, i);
- sources.push(url);
- sourcesContent.push(this.sourcesContent.get(url) || null);
- });
- let mappings = '';
- let lastCol0 = 0;
- let lastSourceIndex = 0;
- let lastSourceLine0 = 0;
- let lastSourceCol0 = 0;
- this.lines.forEach(segments => {
- lastCol0 = 0;
- mappings += segments.map(segment => {
- // zero-based starting column of the line in the generated code
- let segAsStr = toBase64VLQ(segment.col0 - lastCol0);
- lastCol0 = segment.col0;
- if (segment.sourceUrl != null) {
- // zero-based index into the “sources” list
- segAsStr += toBase64VLQ(sourcesIndex.get(segment.sourceUrl) - lastSourceIndex);
- lastSourceIndex = sourcesIndex.get(segment.sourceUrl); // the zero-based starting line in the original source
- segAsStr += toBase64VLQ(segment.sourceLine0 - lastSourceLine0);
- lastSourceLine0 = segment.sourceLine0; // the zero-based starting column in the original source
- segAsStr += toBase64VLQ(segment.sourceCol0 - lastSourceCol0);
- lastSourceCol0 = segment.sourceCol0;
- }
- return segAsStr;
- }).join(',');
- mappings += ';';
- });
- mappings = mappings.slice(0, -1);
- return {
- 'file': this.file || '',
- 'version': VERSION$1,
- 'sourceRoot': '',
- 'sources': sources,
- 'sourcesContent': sourcesContent,
- 'mappings': mappings
- };
- }
- toJsComment() {
- return this.hasMappings ? '//' + JS_B64_PREFIX + toBase64String(JSON.stringify(this, null, 0)) : '';
- }
- }
- function toBase64String(value) {
- let b64 = '';
- const encoded = utf8Encode(value);
- for (let i = 0; i < encoded.length;) {
- const i1 = encoded[i++];
- const i2 = i < encoded.length ? encoded[i++] : null;
- const i3 = i < encoded.length ? encoded[i++] : null;
- b64 += toBase64Digit(i1 >> 2);
- b64 += toBase64Digit((i1 & 3) << 4 | (i2 === null ? 0 : i2 >> 4));
- b64 += i2 === null ? '=' : toBase64Digit((i2 & 15) << 2 | (i3 === null ? 0 : i3 >> 6));
- b64 += i2 === null || i3 === null ? '=' : toBase64Digit(i3 & 63);
- }
- return b64;
- }
- function toBase64VLQ(value) {
- value = value < 0 ? (-value << 1) + 1 : value << 1;
- let out = '';
- do {
- let digit = value & 31;
- value = value >> 5;
- if (value > 0) {
- digit = digit | 32;
- }
- out += toBase64Digit(digit);
- } while (value > 0);
- return out;
- }
- const B64_DIGITS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
- function toBase64Digit(value) {
- if (value < 0 || value >= 64) {
- throw new Error(`Can only encode value in the range [0, 63]`);
- }
- return B64_DIGITS[value];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
- const _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;
- const _INDENT_WITH = ' ';
- class _EmittedLine {
- constructor(indent) {
- this.indent = indent;
- this.partsLength = 0;
- this.parts = [];
- this.srcSpans = [];
- }
- }
- class EmitterVisitorContext {
- constructor(_indent) {
- this._indent = _indent;
- this._lines = [new _EmittedLine(_indent)];
- }
- static createRoot() {
- return new EmitterVisitorContext(0);
- }
- /**
- * @internal strip this from published d.ts files due to
- * https://github.com/microsoft/TypeScript/issues/36216
- */
- get _currentLine() {
- return this._lines[this._lines.length - 1];
- }
- println(from, lastPart = '') {
- this.print(from || null, lastPart, true);
- }
- lineIsEmpty() {
- return this._currentLine.parts.length === 0;
- }
- lineLength() {
- return this._currentLine.indent * _INDENT_WITH.length + this._currentLine.partsLength;
- }
- print(from, part, newLine = false) {
- if (part.length > 0) {
- this._currentLine.parts.push(part);
- this._currentLine.partsLength += part.length;
- this._currentLine.srcSpans.push(from && from.sourceSpan || null);
- }
- if (newLine) {
- this._lines.push(new _EmittedLine(this._indent));
- }
- }
- removeEmptyLastLine() {
- if (this.lineIsEmpty()) {
- this._lines.pop();
- }
- }
- incIndent() {
- this._indent++;
- if (this.lineIsEmpty()) {
- this._currentLine.indent = this._indent;
- }
- }
- decIndent() {
- this._indent--;
- if (this.lineIsEmpty()) {
- this._currentLine.indent = this._indent;
- }
- }
- toSource() {
- return this.sourceLines.map(l => l.parts.length > 0 ? _createIndent(l.indent) + l.parts.join('') : '').join('\n');
- }
- toSourceMapGenerator(genFilePath, startsAtLine = 0) {
- const map = new SourceMapGenerator(genFilePath);
- let firstOffsetMapped = false;
- const mapFirstOffsetIfNeeded = () => {
- if (!firstOffsetMapped) {
- // Add a single space so that tools won't try to load the file from disk.
- // Note: We are using virtual urls like `ng:///`, so we have to
- // provide a content here.
- map.addSource(genFilePath, ' ').addMapping(0, genFilePath, 0, 0);
- firstOffsetMapped = true;
- }
- };
- for (let i = 0; i < startsAtLine; i++) {
- map.addLine();
- mapFirstOffsetIfNeeded();
- }
- this.sourceLines.forEach((line, lineIdx) => {
- map.addLine();
- const spans = line.srcSpans;
- const parts = line.parts;
- let col0 = line.indent * _INDENT_WITH.length;
- let spanIdx = 0; // skip leading parts without source spans
- while (spanIdx < spans.length && !spans[spanIdx]) {
- col0 += parts[spanIdx].length;
- spanIdx++;
- }
- if (spanIdx < spans.length && lineIdx === 0 && col0 === 0) {
- firstOffsetMapped = true;
- } else {
- mapFirstOffsetIfNeeded();
- }
- while (spanIdx < spans.length) {
- const span = spans[spanIdx];
- const source = span.start.file;
- const sourceLine = span.start.line;
- const sourceCol = span.start.col;
- map.addSource(source.url, source.content).addMapping(col0, source.url, sourceLine, sourceCol);
- col0 += parts[spanIdx].length;
- spanIdx++; // assign parts without span or the same span to the previous segment
- while (spanIdx < spans.length && (span === spans[spanIdx] || !spans[spanIdx])) {
- col0 += parts[spanIdx].length;
- spanIdx++;
- }
- }
- });
- return map;
- }
- spanOf(line, column) {
- const emittedLine = this._lines[line];
- if (emittedLine) {
- let columnsLeft = column - _createIndent(emittedLine.indent).length;
- for (let partIndex = 0; partIndex < emittedLine.parts.length; partIndex++) {
- const part = emittedLine.parts[partIndex];
- if (part.length > columnsLeft) {
- return emittedLine.srcSpans[partIndex];
- }
- columnsLeft -= part.length;
- }
- }
- return null;
- }
- /**
- * @internal strip this from published d.ts files due to
- * https://github.com/microsoft/TypeScript/issues/36216
- */
- get sourceLines() {
- if (this._lines.length && this._lines[this._lines.length - 1].parts.length === 0) {
- return this._lines.slice(0, -1);
- }
- return this._lines;
- }
- }
- class AbstractEmitterVisitor {
- constructor(_escapeDollarInStrings) {
- this._escapeDollarInStrings = _escapeDollarInStrings;
- }
- printLeadingComments(stmt, ctx) {
- if (stmt.leadingComments === undefined) {
- return;
- }
- for (const comment of stmt.leadingComments) {
- if (comment instanceof JSDocComment) {
- ctx.print(stmt, `/*${comment.toString()}*/`, comment.trailingNewline);
- } else {
- if (comment.multiline) {
- ctx.print(stmt, `/* ${comment.text} */`, comment.trailingNewline);
- } else {
- comment.text.split('\n').forEach(line => {
- ctx.println(stmt, `// ${line}`);
- });
- }
- }
- }
- }
- visitExpressionStmt(stmt, ctx) {
- this.printLeadingComments(stmt, ctx);
- stmt.expr.visitExpression(this, ctx);
- ctx.println(stmt, ';');
- return null;
- }
- visitReturnStmt(stmt, ctx) {
- this.printLeadingComments(stmt, ctx);
- ctx.print(stmt, `return `);
- stmt.value.visitExpression(this, ctx);
- ctx.println(stmt, ';');
- return null;
- }
- visitIfStmt(stmt, ctx) {
- this.printLeadingComments(stmt, ctx);
- ctx.print(stmt, `if (`);
- stmt.condition.visitExpression(this, ctx);
- ctx.print(stmt, `) {`);
- const hasElseCase = stmt.falseCase != null && stmt.falseCase.length > 0;
- if (stmt.trueCase.length <= 1 && !hasElseCase) {
- ctx.print(stmt, ` `);
- this.visitAllStatements(stmt.trueCase, ctx);
- ctx.removeEmptyLastLine();
- ctx.print(stmt, ` `);
- } else {
- ctx.println();
- ctx.incIndent();
- this.visitAllStatements(stmt.trueCase, ctx);
- ctx.decIndent();
- if (hasElseCase) {
- ctx.println(stmt, `} else {`);
- ctx.incIndent();
- this.visitAllStatements(stmt.falseCase, ctx);
- ctx.decIndent();
- }
- }
- ctx.println(stmt, `}`);
- return null;
- }
- visitWriteVarExpr(expr, ctx) {
- const lineWasEmpty = ctx.lineIsEmpty();
- if (!lineWasEmpty) {
- ctx.print(expr, '(');
- }
- ctx.print(expr, `${expr.name} = `);
- expr.value.visitExpression(this, ctx);
- if (!lineWasEmpty) {
- ctx.print(expr, ')');
- }
- return null;
- }
- visitWriteKeyExpr(expr, ctx) {
- const lineWasEmpty = ctx.lineIsEmpty();
- if (!lineWasEmpty) {
- ctx.print(expr, '(');
- }
- expr.receiver.visitExpression(this, ctx);
- ctx.print(expr, `[`);
- expr.index.visitExpression(this, ctx);
- ctx.print(expr, `] = `);
- expr.value.visitExpression(this, ctx);
- if (!lineWasEmpty) {
- ctx.print(expr, ')');
- }
- return null;
- }
- visitWritePropExpr(expr, ctx) {
- const lineWasEmpty = ctx.lineIsEmpty();
- if (!lineWasEmpty) {
- ctx.print(expr, '(');
- }
- expr.receiver.visitExpression(this, ctx);
- ctx.print(expr, `.${expr.name} = `);
- expr.value.visitExpression(this, ctx);
- if (!lineWasEmpty) {
- ctx.print(expr, ')');
- }
- return null;
- }
- visitInvokeFunctionExpr(expr, ctx) {
- expr.fn.visitExpression(this, ctx);
- ctx.print(expr, `(`);
- this.visitAllExpressions(expr.args, ctx, ',');
- ctx.print(expr, `)`);
- return null;
- }
- visitTaggedTemplateExpr(expr, ctx) {
- expr.tag.visitExpression(this, ctx);
- ctx.print(expr, '`' + expr.template.elements[0].rawText);
- for (let i = 1; i < expr.template.elements.length; i++) {
- ctx.print(expr, '${');
- expr.template.expressions[i - 1].visitExpression(this, ctx);
- ctx.print(expr, `}${expr.template.elements[i].rawText}`);
- }
- ctx.print(expr, '`');
- return null;
- }
- visitWrappedNodeExpr(ast, ctx) {
- throw new Error('Abstract emitter cannot visit WrappedNodeExpr.');
- }
- visitTypeofExpr(expr, ctx) {
- ctx.print(expr, 'typeof ');
- expr.expr.visitExpression(this, ctx);
- }
- visitReadVarExpr(ast, ctx) {
- ctx.print(ast, ast.name);
- return null;
- }
- visitInstantiateExpr(ast, ctx) {
- ctx.print(ast, `new `);
- ast.classExpr.visitExpression(this, ctx);
- ctx.print(ast, `(`);
- this.visitAllExpressions(ast.args, ctx, ',');
- ctx.print(ast, `)`);
- return null;
- }
- visitLiteralExpr(ast, ctx) {
- const value = ast.value;
- if (typeof value === 'string') {
- ctx.print(ast, escapeIdentifier(value, this._escapeDollarInStrings));
- } else {
- ctx.print(ast, `${value}`);
- }
- return null;
- }
- visitLocalizedString(ast, ctx) {
- const head = ast.serializeI18nHead();
- ctx.print(ast, '$localize `' + head.raw);
- for (let i = 1; i < ast.messageParts.length; i++) {
- ctx.print(ast, '${');
- ast.expressions[i - 1].visitExpression(this, ctx);
- ctx.print(ast, `}${ast.serializeI18nTemplatePart(i).raw}`);
- }
- ctx.print(ast, '`');
- return null;
- }
- visitConditionalExpr(ast, ctx) {
- ctx.print(ast, `(`);
- ast.condition.visitExpression(this, ctx);
- ctx.print(ast, '? ');
- ast.trueCase.visitExpression(this, ctx);
- ctx.print(ast, ': ');
- ast.falseCase.visitExpression(this, ctx);
- ctx.print(ast, `)`);
- return null;
- }
- visitNotExpr(ast, ctx) {
- ctx.print(ast, '!');
- ast.condition.visitExpression(this, ctx);
- return null;
- }
- visitUnaryOperatorExpr(ast, ctx) {
- let opStr;
- switch (ast.operator) {
- case UnaryOperator.Plus:
- opStr = '+';
- break;
- case UnaryOperator.Minus:
- opStr = '-';
- break;
- default:
- throw new Error(`Unknown operator ${ast.operator}`);
- }
- if (ast.parens) ctx.print(ast, `(`);
- ctx.print(ast, opStr);
- ast.expr.visitExpression(this, ctx);
- if (ast.parens) ctx.print(ast, `)`);
- return null;
- }
- visitBinaryOperatorExpr(ast, ctx) {
- let opStr;
- switch (ast.operator) {
- case BinaryOperator.Equals:
- opStr = '==';
- break;
- case BinaryOperator.Identical:
- opStr = '===';
- break;
- case BinaryOperator.NotEquals:
- opStr = '!=';
- break;
- case BinaryOperator.NotIdentical:
- opStr = '!==';
- break;
- case BinaryOperator.And:
- opStr = '&&';
- break;
- case BinaryOperator.BitwiseAnd:
- opStr = '&';
- break;
- case BinaryOperator.Or:
- opStr = '||';
- break;
- case BinaryOperator.Plus:
- opStr = '+';
- break;
- case BinaryOperator.Minus:
- opStr = '-';
- break;
- case BinaryOperator.Divide:
- opStr = '/';
- break;
- case BinaryOperator.Multiply:
- opStr = '*';
- break;
- case BinaryOperator.Modulo:
- opStr = '%';
- break;
- case BinaryOperator.Lower:
- opStr = '<';
- break;
- case BinaryOperator.LowerEquals:
- opStr = '<=';
- break;
- case BinaryOperator.Bigger:
- opStr = '>';
- break;
- case BinaryOperator.BiggerEquals:
- opStr = '>=';
- break;
- case BinaryOperator.NullishCoalesce:
- opStr = '??';
- break;
- default:
- throw new Error(`Unknown operator ${ast.operator}`);
- }
- if (ast.parens) ctx.print(ast, `(`);
- ast.lhs.visitExpression(this, ctx);
- ctx.print(ast, ` ${opStr} `);
- ast.rhs.visitExpression(this, ctx);
- if (ast.parens) ctx.print(ast, `)`);
- return null;
- }
- visitReadPropExpr(ast, ctx) {
- ast.receiver.visitExpression(this, ctx);
- ctx.print(ast, `.`);
- ctx.print(ast, ast.name);
- return null;
- }
- visitReadKeyExpr(ast, ctx) {
- ast.receiver.visitExpression(this, ctx);
- ctx.print(ast, `[`);
- ast.index.visitExpression(this, ctx);
- ctx.print(ast, `]`);
- return null;
- }
- visitLiteralArrayExpr(ast, ctx) {
- ctx.print(ast, `[`);
- this.visitAllExpressions(ast.entries, ctx, ',');
- ctx.print(ast, `]`);
- return null;
- }
- visitLiteralMapExpr(ast, ctx) {
- ctx.print(ast, `{`);
- this.visitAllObjects(entry => {
- ctx.print(ast, `${escapeIdentifier(entry.key, this._escapeDollarInStrings, entry.quoted)}:`);
- entry.value.visitExpression(this, ctx);
- }, ast.entries, ctx, ',');
- ctx.print(ast, `}`);
- return null;
- }
- visitCommaExpr(ast, ctx) {
- ctx.print(ast, '(');
- this.visitAllExpressions(ast.parts, ctx, ',');
- ctx.print(ast, ')');
- return null;
- }
- visitAllExpressions(expressions, ctx, separator) {
- this.visitAllObjects(expr => expr.visitExpression(this, ctx), expressions, ctx, separator);
- }
- visitAllObjects(handler, expressions, ctx, separator) {
- let incrementedIndent = false;
- for (let i = 0; i < expressions.length; i++) {
- if (i > 0) {
- if (ctx.lineLength() > 80) {
- ctx.print(null, separator, true);
- if (!incrementedIndent) {
- // continuation are marked with double indent.
- ctx.incIndent();
- ctx.incIndent();
- incrementedIndent = true;
- }
- } else {
- ctx.print(null, separator, false);
- }
- }
- handler(expressions[i]);
- }
- if (incrementedIndent) {
- // continuation are marked with double indent.
- ctx.decIndent();
- ctx.decIndent();
- }
- }
- visitAllStatements(statements, ctx) {
- statements.forEach(stmt => stmt.visitStatement(this, ctx));
- }
- }
- function escapeIdentifier(input, escapeDollar, alwaysQuote = true) {
- if (input == null) {
- return null;
- }
- const body = input.replace(_SINGLE_QUOTE_ESCAPE_STRING_RE, (...match) => {
- if (match[0] == '$') {
- return escapeDollar ? '\\$' : '$';
- } else if (match[0] == '\n') {
- return '\\n';
- } else if (match[0] == '\r') {
- return '\\r';
- } else {
- return `\\${match[0]}`;
- }
- });
- const requiresQuotes = alwaysQuote || !_LEGAL_IDENTIFIER_RE.test(body);
- return requiresQuotes ? `'${body}'` : body;
- }
- function _createIndent(count) {
- let res = '';
- for (let i = 0; i < count; i++) {
- res += _INDENT_WITH;
- }
- return res;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function typeWithParameters(type, numParams) {
- if (numParams === 0) {
- return expressionType(type);
- }
- const params = [];
- for (let i = 0; i < numParams; i++) {
- params.push(DYNAMIC_TYPE);
- }
- return expressionType(type, undefined, params);
- }
- const ANIMATE_SYMBOL_PREFIX = '@';
- function prepareSyntheticPropertyName(name) {
- return `${ANIMATE_SYMBOL_PREFIX}${name}`;
- }
- function prepareSyntheticListenerName(name, phase) {
- return `${ANIMATE_SYMBOL_PREFIX}${name}.${phase}`;
- }
- function getSafePropertyAccessString(accessor, name) {
- const escapedName = escapeIdentifier(name, false, false);
- return escapedName !== name ? `${accessor}[${escapedName}]` : `${accessor}.${name}`;
- }
- function prepareSyntheticListenerFunctionName(name, phase) {
- return `animation_${name}_${phase}`;
- }
- function jitOnlyGuardedExpression(expr) {
- return guardedExpression('ngJitMode', expr);
- }
- function devOnlyGuardedExpression(expr) {
- return guardedExpression('ngDevMode', expr);
- }
- function guardedExpression(guard, expr) {
- const guardExpr = new ExternalExpr({
- name: guard,
- moduleName: null
- });
- const guardNotDefined = new BinaryOperatorExpr(BinaryOperator.Identical, new TypeofExpr(guardExpr), literal('undefined'));
- const guardUndefinedOrTrue = new BinaryOperatorExpr(BinaryOperator.Or, guardNotDefined, guardExpr,
- /* type */
- undefined,
- /* sourceSpan */
- undefined, true);
- return new BinaryOperatorExpr(BinaryOperator.And, guardUndefinedOrTrue, expr);
- }
- function wrapReference(value) {
- const wrapped = new WrappedNodeExpr(value);
- return {
- value: wrapped,
- type: wrapped
- };
- }
- function refsToArray(refs, shouldForwardDeclare) {
- const values = literalArr(refs.map(ref => ref.value));
- return shouldForwardDeclare ? fn([], [new ReturnStatement(values)]) : values;
- }
- function createMayBeForwardRefExpression(expression, forwardRef) {
- return {
- expression,
- forwardRef
- };
- }
- /**
- * Convert a `MaybeForwardRefExpression` to an `Expression`, possibly wrapping its expression in a
- * `forwardRef()` call.
- *
- * If `MaybeForwardRefExpression.forwardRef` is `ForwardRefHandling.Unwrapped` then the expression
- * was originally wrapped in a `forwardRef()` call to prevent the value from being eagerly evaluated
- * in the code.
- *
- * See `packages/compiler-cli/src/ngtsc/annotations/src/injectable.ts` and
- * `packages/compiler/src/jit_compiler_facade.ts` for more information.
- */
- function convertFromMaybeForwardRefExpression({
- expression,
- forwardRef
- }) {
- switch (forwardRef) {
- case 0
- /* ForwardRefHandling.None */
- :
- case 1
- /* ForwardRefHandling.Wrapped */
- :
- return expression;
- case 2
- /* ForwardRefHandling.Unwrapped */
- :
- return generateForwardRef(expression);
- }
- }
- /**
- * Generate an expression that has the given `expr` wrapped in the following form:
- *
- * ```
- * forwardRef(() => expr)
- * ```
- */
- function generateForwardRef(expr) {
- return importExpr(Identifiers.forwardRef).callFn([fn([], [new ReturnStatement(expr)])]);
- }
- var R3FactoryDelegateType;
- (function (R3FactoryDelegateType) {
- R3FactoryDelegateType[R3FactoryDelegateType["Class"] = 0] = "Class";
- R3FactoryDelegateType[R3FactoryDelegateType["Function"] = 1] = "Function";
- })(R3FactoryDelegateType || (R3FactoryDelegateType = {}));
- var FactoryTarget$1;
- (function (FactoryTarget) {
- FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
- FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
- FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
- FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
- FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
- })(FactoryTarget$1 || (FactoryTarget$1 = {}));
- /**
- * Construct a factory function expression for the given `R3FactoryMetadata`.
- */
- function compileFactoryFunction(meta) {
- const t = variable('t');
- let baseFactoryVar = null; // The type to instantiate via constructor invocation. If there is no delegated factory, meaning
- // this type is always created by constructor invocation, then this is the type-to-create
- // parameter provided by the user (t) if specified, or the current type if not. If there is a
- // delegated factory (which is used to create the current type) then this is only the type-to-
- // create parameter (t).
- const typeForCtor = !isDelegatedFactoryMetadata(meta) ? new BinaryOperatorExpr(BinaryOperator.Or, t, meta.internalType) : t;
- let ctorExpr = null;
- if (meta.deps !== null) {
- // There is a constructor (either explicitly or implicitly defined).
- if (meta.deps !== 'invalid') {
- ctorExpr = new InstantiateExpr(typeForCtor, injectDependencies(meta.deps, meta.target));
- }
- } else {
- // There is no constructor, use the base class' factory to construct typeForCtor.
- baseFactoryVar = variable(`ɵ${meta.name}_BaseFactory`);
- ctorExpr = baseFactoryVar.callFn([typeForCtor]);
- }
- const body = [];
- let retExpr = null;
- function makeConditionalFactory(nonCtorExpr) {
- const r = variable('r');
- body.push(r.set(NULL_EXPR).toDeclStmt());
- const ctorStmt = ctorExpr !== null ? r.set(ctorExpr).toStmt() : importExpr(Identifiers.invalidFactory).callFn([]).toStmt();
- body.push(ifStmt(t, [ctorStmt], [r.set(nonCtorExpr).toStmt()]));
- return r;
- }
- if (isDelegatedFactoryMetadata(meta)) {
- // This type is created with a delegated factory. If a type parameter is not specified, call
- // the factory instead.
- const delegateArgs = injectDependencies(meta.delegateDeps, meta.target); // Either call `new delegate(...)` or `delegate(...)` depending on meta.delegateType.
- const factoryExpr = new (meta.delegateType === R3FactoryDelegateType.Class ? InstantiateExpr : InvokeFunctionExpr)(meta.delegate, delegateArgs);
- retExpr = makeConditionalFactory(factoryExpr);
- } else if (isExpressionFactoryMetadata(meta)) {
- // TODO(alxhub): decide whether to lower the value here or in the caller
- retExpr = makeConditionalFactory(meta.expression);
- } else {
- retExpr = ctorExpr;
- }
- if (retExpr === null) {
- // The expression cannot be formed so render an `ɵɵinvalidFactory()` call.
- body.push(importExpr(Identifiers.invalidFactory).callFn([]).toStmt());
- } else if (baseFactoryVar !== null) {
- // This factory uses a base factory, so call `ɵɵgetInheritedFactory()` to compute it.
- const getInheritedFactoryCall = importExpr(Identifiers.getInheritedFactory).callFn([meta.internalType]); // Memoize the base factoryFn: `baseFactory || (baseFactory = ɵɵgetInheritedFactory(...))`
- const baseFactory = new BinaryOperatorExpr(BinaryOperator.Or, baseFactoryVar, baseFactoryVar.set(getInheritedFactoryCall));
- body.push(new ReturnStatement(baseFactory.callFn([typeForCtor])));
- } else {
- // This is straightforward factory, just return it.
- body.push(new ReturnStatement(retExpr));
- }
- let factoryFn = fn([new FnParam('t', DYNAMIC_TYPE)], body, INFERRED_TYPE, undefined, `${meta.name}_Factory`);
- if (baseFactoryVar !== null) {
- // There is a base factory variable so wrap its declaration along with the factory function into
- // an IIFE.
- factoryFn = fn([], [new DeclareVarStmt(baseFactoryVar.name), new ReturnStatement(factoryFn)]).callFn([],
- /* sourceSpan */
- undefined,
- /* pure */
- true);
- }
- return {
- expression: factoryFn,
- statements: [],
- type: createFactoryType(meta)
- };
- }
- function createFactoryType(meta) {
- const ctorDepsType = meta.deps !== null && meta.deps !== 'invalid' ? createCtorDepsType(meta.deps) : NONE_TYPE;
- return expressionType(importExpr(Identifiers.FactoryDeclaration, [typeWithParameters(meta.type.type, meta.typeArgumentCount), ctorDepsType]));
- }
- function injectDependencies(deps, target) {
- return deps.map((dep, index) => compileInjectDependency(dep, target, index));
- }
- function compileInjectDependency(dep, target, index) {
- // Interpret the dependency according to its resolved type.
- if (dep.token === null) {
- return importExpr(Identifiers.invalidFactoryDep).callFn([literal(index)]);
- } else if (dep.attributeNameType === null) {
- // Build up the injection flags according to the metadata.
- const flags = 0
- /* InjectFlags.Default */
- | (dep.self ? 2
- /* InjectFlags.Self */
- : 0) | (dep.skipSelf ? 4
- /* InjectFlags.SkipSelf */
- : 0) | (dep.host ? 1
- /* InjectFlags.Host */
- : 0) | (dep.optional ? 8
- /* InjectFlags.Optional */
- : 0) | (target === FactoryTarget$1.Pipe ? 16
- /* InjectFlags.ForPipe */
- : 0); // If this dependency is optional or otherwise has non-default flags, then additional
- // parameters describing how to inject the dependency must be passed to the inject function
- // that's being used.
- let flagsParam = flags !== 0
- /* InjectFlags.Default */
- || dep.optional ? literal(flags) : null; // Build up the arguments to the injectFn call.
- const injectArgs = [dep.token];
- if (flagsParam) {
- injectArgs.push(flagsParam);
- }
- const injectFn = getInjectFn(target);
- return importExpr(injectFn).callFn(injectArgs);
- } else {
- // The `dep.attributeTypeName` value is defined, which indicates that this is an `@Attribute()`
- // type dependency. For the generated JS we still want to use the `dep.token` value in case the
- // name given for the attribute is not a string literal. For example given `@Attribute(foo())`,
- // we want to generate `ɵɵinjectAttribute(foo())`.
- //
- // The `dep.attributeTypeName` is only actually used (in `createCtorDepType()`) to generate
- // typings.
- return importExpr(Identifiers.injectAttribute).callFn([dep.token]);
- }
- }
- function createCtorDepsType(deps) {
- let hasTypes = false;
- const attributeTypes = deps.map(dep => {
- const type = createCtorDepType(dep);
- if (type !== null) {
- hasTypes = true;
- return type;
- } else {
- return literal(null);
- }
- });
- if (hasTypes) {
- return expressionType(literalArr(attributeTypes));
- } else {
- return NONE_TYPE;
- }
- }
- function createCtorDepType(dep) {
- const entries = [];
- if (dep.attributeNameType !== null) {
- entries.push({
- key: 'attribute',
- value: dep.attributeNameType,
- quoted: false
- });
- }
- if (dep.optional) {
- entries.push({
- key: 'optional',
- value: literal(true),
- quoted: false
- });
- }
- if (dep.host) {
- entries.push({
- key: 'host',
- value: literal(true),
- quoted: false
- });
- }
- if (dep.self) {
- entries.push({
- key: 'self',
- value: literal(true),
- quoted: false
- });
- }
- if (dep.skipSelf) {
- entries.push({
- key: 'skipSelf',
- value: literal(true),
- quoted: false
- });
- }
- return entries.length > 0 ? literalMap(entries) : null;
- }
- function isDelegatedFactoryMetadata(meta) {
- return meta.delegateType !== undefined;
- }
- function isExpressionFactoryMetadata(meta) {
- return meta.expression !== undefined;
- }
- function getInjectFn(target) {
- switch (target) {
- case FactoryTarget$1.Component:
- case FactoryTarget$1.Directive:
- case FactoryTarget$1.Pipe:
- return Identifiers.directiveInject;
- case FactoryTarget$1.NgModule:
- case FactoryTarget$1.Injectable:
- default:
- return Identifiers.inject;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This is an R3 `Node`-like wrapper for a raw `html.Comment` node. We do not currently
- * require the implementation of a visitor for Comments as they are only collected at
- * the top-level of the R3 AST, and only if `Render3ParseOptions['collectCommentNodes']`
- * is true.
- */
- class Comment$1 {
- constructor(value, sourceSpan) {
- this.value = value;
- this.sourceSpan = sourceSpan;
- }
- visit(_visitor) {
- throw new Error('visit() not implemented for Comment');
- }
- }
- class Text$3 {
- constructor(value, sourceSpan) {
- this.value = value;
- this.sourceSpan = sourceSpan;
- }
- visit(visitor) {
- return visitor.visitText(this);
- }
- }
- class BoundText {
- constructor(value, sourceSpan, i18n) {
- this.value = value;
- this.sourceSpan = sourceSpan;
- this.i18n = i18n;
- }
- visit(visitor) {
- return visitor.visitBoundText(this);
- }
- }
- /**
- * Represents a text attribute in the template.
- *
- * `valueSpan` may not be present in cases where there is no value `<div a></div>`.
- * `keySpan` may also not be present for synthetic attributes from ICU expansions.
- */
- class TextAttribute {
- constructor(name, value, sourceSpan, keySpan, valueSpan, i18n) {
- this.name = name;
- this.value = value;
- this.sourceSpan = sourceSpan;
- this.keySpan = keySpan;
- this.valueSpan = valueSpan;
- this.i18n = i18n;
- }
- visit(visitor) {
- return visitor.visitTextAttribute(this);
- }
- }
- class BoundAttribute {
- constructor(name, type, securityContext, value, unit, sourceSpan, keySpan, valueSpan, i18n) {
- this.name = name;
- this.type = type;
- this.securityContext = securityContext;
- this.value = value;
- this.unit = unit;
- this.sourceSpan = sourceSpan;
- this.keySpan = keySpan;
- this.valueSpan = valueSpan;
- this.i18n = i18n;
- }
- static fromBoundElementProperty(prop, i18n) {
- if (prop.keySpan === undefined) {
- throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${prop.name}: ${prop.sourceSpan}`);
- }
- return new BoundAttribute(prop.name, prop.type, prop.securityContext, prop.value, prop.unit, prop.sourceSpan, prop.keySpan, prop.valueSpan, i18n);
- }
- visit(visitor) {
- return visitor.visitBoundAttribute(this);
- }
- }
- class BoundEvent {
- constructor(name, type, handler, target, phase, sourceSpan, handlerSpan, keySpan) {
- this.name = name;
- this.type = type;
- this.handler = handler;
- this.target = target;
- this.phase = phase;
- this.sourceSpan = sourceSpan;
- this.handlerSpan = handlerSpan;
- this.keySpan = keySpan;
- }
- static fromParsedEvent(event) {
- const target = event.type === 0
- /* ParsedEventType.Regular */
- ? event.targetOrPhase : null;
- const phase = event.type === 1
- /* ParsedEventType.Animation */
- ? event.targetOrPhase : null;
- if (event.keySpan === undefined) {
- throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${event.name}: ${event.sourceSpan}`);
- }
- return new BoundEvent(event.name, event.type, event.handler, target, phase, event.sourceSpan, event.handlerSpan, event.keySpan);
- }
- visit(visitor) {
- return visitor.visitBoundEvent(this);
- }
- }
- class Element$1 {
- constructor(name, attributes, inputs, outputs, children, references, sourceSpan, startSourceSpan, endSourceSpan, i18n) {
- this.name = name;
- this.attributes = attributes;
- this.inputs = inputs;
- this.outputs = outputs;
- this.children = children;
- this.references = references;
- this.sourceSpan = sourceSpan;
- this.startSourceSpan = startSourceSpan;
- this.endSourceSpan = endSourceSpan;
- this.i18n = i18n;
- }
- visit(visitor) {
- return visitor.visitElement(this);
- }
- }
- class Template {
- constructor( // tagName is the name of the container element, if applicable.
- // `null` is a special case for when there is a structural directive on an `ng-template` so
- // the renderer can differentiate between the synthetic template and the one written in the
- // file.
- tagName, attributes, inputs, outputs, templateAttrs, children, references, variables, sourceSpan, startSourceSpan, endSourceSpan, i18n) {
- this.tagName = tagName;
- this.attributes = attributes;
- this.inputs = inputs;
- this.outputs = outputs;
- this.templateAttrs = templateAttrs;
- this.children = children;
- this.references = references;
- this.variables = variables;
- this.sourceSpan = sourceSpan;
- this.startSourceSpan = startSourceSpan;
- this.endSourceSpan = endSourceSpan;
- this.i18n = i18n;
- }
- visit(visitor) {
- return visitor.visitTemplate(this);
- }
- }
- class Content {
- constructor(selector, attributes, sourceSpan, i18n) {
- this.selector = selector;
- this.attributes = attributes;
- this.sourceSpan = sourceSpan;
- this.i18n = i18n;
- this.name = 'ng-content';
- }
- visit(visitor) {
- return visitor.visitContent(this);
- }
- }
- class Variable {
- constructor(name, value, sourceSpan, keySpan, valueSpan) {
- this.name = name;
- this.value = value;
- this.sourceSpan = sourceSpan;
- this.keySpan = keySpan;
- this.valueSpan = valueSpan;
- }
- visit(visitor) {
- return visitor.visitVariable(this);
- }
- }
- class Reference {
- constructor(name, value, sourceSpan, keySpan, valueSpan) {
- this.name = name;
- this.value = value;
- this.sourceSpan = sourceSpan;
- this.keySpan = keySpan;
- this.valueSpan = valueSpan;
- }
- visit(visitor) {
- return visitor.visitReference(this);
- }
- }
- class Icu$1 {
- constructor(vars, placeholders, sourceSpan, i18n) {
- this.vars = vars;
- this.placeholders = placeholders;
- this.sourceSpan = sourceSpan;
- this.i18n = i18n;
- }
- visit(visitor) {
- return visitor.visitIcu(this);
- }
- }
- class NullVisitor {
- visitElement(element) {}
- visitTemplate(template) {}
- visitContent(content) {}
- visitVariable(variable) {}
- visitReference(reference) {}
- visitTextAttribute(attribute) {}
- visitBoundAttribute(attribute) {}
- visitBoundEvent(attribute) {}
- visitText(text) {}
- visitBoundText(text) {}
- visitIcu(icu) {}
- }
- class RecursiveVisitor$1 {
- visitElement(element) {
- visitAll$1(this, element.attributes);
- visitAll$1(this, element.inputs);
- visitAll$1(this, element.outputs);
- visitAll$1(this, element.children);
- visitAll$1(this, element.references);
- }
- visitTemplate(template) {
- visitAll$1(this, template.attributes);
- visitAll$1(this, template.inputs);
- visitAll$1(this, template.outputs);
- visitAll$1(this, template.children);
- visitAll$1(this, template.references);
- visitAll$1(this, template.variables);
- }
- visitContent(content) {}
- visitVariable(variable) {}
- visitReference(reference) {}
- visitTextAttribute(attribute) {}
- visitBoundAttribute(attribute) {}
- visitBoundEvent(attribute) {}
- visitText(text) {}
- visitBoundText(text) {}
- visitIcu(icu) {}
- }
- class TransformVisitor {
- visitElement(element) {
- const newAttributes = transformAll(this, element.attributes);
- const newInputs = transformAll(this, element.inputs);
- const newOutputs = transformAll(this, element.outputs);
- const newChildren = transformAll(this, element.children);
- const newReferences = transformAll(this, element.references);
- if (newAttributes != element.attributes || newInputs != element.inputs || newOutputs != element.outputs || newChildren != element.children || newReferences != element.references) {
- return new Element$1(element.name, newAttributes, newInputs, newOutputs, newChildren, newReferences, element.sourceSpan, element.startSourceSpan, element.endSourceSpan);
- }
- return element;
- }
- visitTemplate(template) {
- const newAttributes = transformAll(this, template.attributes);
- const newInputs = transformAll(this, template.inputs);
- const newOutputs = transformAll(this, template.outputs);
- const newTemplateAttrs = transformAll(this, template.templateAttrs);
- const newChildren = transformAll(this, template.children);
- const newReferences = transformAll(this, template.references);
- const newVariables = transformAll(this, template.variables);
- if (newAttributes != template.attributes || newInputs != template.inputs || newOutputs != template.outputs || newTemplateAttrs != template.templateAttrs || newChildren != template.children || newReferences != template.references || newVariables != template.variables) {
- return new Template(template.tagName, newAttributes, newInputs, newOutputs, newTemplateAttrs, newChildren, newReferences, newVariables, template.sourceSpan, template.startSourceSpan, template.endSourceSpan);
- }
- return template;
- }
- visitContent(content) {
- return content;
- }
- visitVariable(variable) {
- return variable;
- }
- visitReference(reference) {
- return reference;
- }
- visitTextAttribute(attribute) {
- return attribute;
- }
- visitBoundAttribute(attribute) {
- return attribute;
- }
- visitBoundEvent(attribute) {
- return attribute;
- }
- visitText(text) {
- return text;
- }
- visitBoundText(text) {
- return text;
- }
- visitIcu(icu) {
- return icu;
- }
- }
- function visitAll$1(visitor, nodes) {
- const result = [];
- if (visitor.visit) {
- for (const node of nodes) {
- const newNode = visitor.visit(node) || node.visit(visitor);
- }
- } else {
- for (const node of nodes) {
- const newNode = node.visit(visitor);
- if (newNode) {
- result.push(newNode);
- }
- }
- }
- return result;
- }
- function transformAll(visitor, nodes) {
- const result = [];
- let changed = false;
- for (const node of nodes) {
- const newNode = node.visit(visitor);
- if (newNode) {
- result.push(newNode);
- }
- changed = changed || newNode != node;
- }
- return changed ? result : nodes;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class Message {
- /**
- * @param nodes message AST
- * @param placeholders maps placeholder names to static content and their source spans
- * @param placeholderToMessage maps placeholder names to messages (used for nested ICU messages)
- * @param meaning
- * @param description
- * @param customId
- */
- constructor(nodes, placeholders, placeholderToMessage, meaning, description, customId) {
- this.nodes = nodes;
- this.placeholders = placeholders;
- this.placeholderToMessage = placeholderToMessage;
- this.meaning = meaning;
- this.description = description;
- this.customId = customId;
- this.id = this.customId;
- /** The ids to use if there are no custom id and if `i18nLegacyMessageIdFormat` is not empty */
- this.legacyIds = [];
- this.messageString = serializeMessage(this.nodes);
- if (nodes.length) {
- this.sources = [{
- filePath: nodes[0].sourceSpan.start.file.url,
- startLine: nodes[0].sourceSpan.start.line + 1,
- startCol: nodes[0].sourceSpan.start.col + 1,
- endLine: nodes[nodes.length - 1].sourceSpan.end.line + 1,
- endCol: nodes[0].sourceSpan.start.col + 1
- }];
- } else {
- this.sources = [];
- }
- }
- }
- class Text$2 {
- constructor(value, sourceSpan) {
- this.value = value;
- this.sourceSpan = sourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitText(this, context);
- }
- } // TODO(vicb): do we really need this node (vs an array) ?
- class Container {
- constructor(children, sourceSpan) {
- this.children = children;
- this.sourceSpan = sourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitContainer(this, context);
- }
- }
- class Icu {
- constructor(expression, type, cases, sourceSpan) {
- this.expression = expression;
- this.type = type;
- this.cases = cases;
- this.sourceSpan = sourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitIcu(this, context);
- }
- }
- class TagPlaceholder {
- constructor(tag, attrs, startName, closeName, children, isVoid, // TODO sourceSpan should cover all (we need a startSourceSpan and endSourceSpan)
- sourceSpan, startSourceSpan, endSourceSpan) {
- this.tag = tag;
- this.attrs = attrs;
- this.startName = startName;
- this.closeName = closeName;
- this.children = children;
- this.isVoid = isVoid;
- this.sourceSpan = sourceSpan;
- this.startSourceSpan = startSourceSpan;
- this.endSourceSpan = endSourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitTagPlaceholder(this, context);
- }
- }
- class Placeholder {
- constructor(value, name, sourceSpan) {
- this.value = value;
- this.name = name;
- this.sourceSpan = sourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitPlaceholder(this, context);
- }
- }
- class IcuPlaceholder {
- constructor(value, name, sourceSpan) {
- this.value = value;
- this.name = name;
- this.sourceSpan = sourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitIcuPlaceholder(this, context);
- }
- } // Clone the AST
- class CloneVisitor {
- visitText(text, context) {
- return new Text$2(text.value, text.sourceSpan);
- }
- visitContainer(container, context) {
- const children = container.children.map(n => n.visit(this, context));
- return new Container(children, container.sourceSpan);
- }
- visitIcu(icu, context) {
- const cases = {};
- Object.keys(icu.cases).forEach(key => cases[key] = icu.cases[key].visit(this, context));
- const msg = new Icu(icu.expression, icu.type, cases, icu.sourceSpan);
- msg.expressionPlaceholder = icu.expressionPlaceholder;
- return msg;
- }
- visitTagPlaceholder(ph, context) {
- const children = ph.children.map(n => n.visit(this, context));
- return new TagPlaceholder(ph.tag, ph.attrs, ph.startName, ph.closeName, children, ph.isVoid, ph.sourceSpan, ph.startSourceSpan, ph.endSourceSpan);
- }
- visitPlaceholder(ph, context) {
- return new Placeholder(ph.value, ph.name, ph.sourceSpan);
- }
- visitIcuPlaceholder(ph, context) {
- return new IcuPlaceholder(ph.value, ph.name, ph.sourceSpan);
- }
- } // Visit all the nodes recursively
- class RecurseVisitor {
- visitText(text, context) {}
- visitContainer(container, context) {
- container.children.forEach(child => child.visit(this));
- }
- visitIcu(icu, context) {
- Object.keys(icu.cases).forEach(k => {
- icu.cases[k].visit(this);
- });
- }
- visitTagPlaceholder(ph, context) {
- ph.children.forEach(child => child.visit(this));
- }
- visitPlaceholder(ph, context) {}
- visitIcuPlaceholder(ph, context) {}
- }
- /**
- * Serialize the message to the Localize backtick string format that would appear in compiled code.
- */
- function serializeMessage(messageNodes) {
- const visitor = new LocalizeMessageStringVisitor();
- const str = messageNodes.map(n => n.visit(visitor)).join('');
- return str;
- }
- class LocalizeMessageStringVisitor {
- visitText(text) {
- return text.value;
- }
- visitContainer(container) {
- return container.children.map(child => child.visit(this)).join('');
- }
- visitIcu(icu) {
- const strCases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`);
- return `{${icu.expressionPlaceholder}, ${icu.type}, ${strCases.join(' ')}}`;
- }
- visitTagPlaceholder(ph) {
- const children = ph.children.map(child => child.visit(this)).join('');
- return `{$${ph.startName}}${children}{$${ph.closeName}}`;
- }
- visitPlaceholder(ph) {
- return `{$${ph.name}}`;
- }
- visitIcuPlaceholder(ph) {
- return `{$${ph.name}}`;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class Serializer {
- // Creates a name mapper, see `PlaceholderMapper`
- // Returning `null` means that no name mapping is used.
- createNameMapper(message) {
- return null;
- }
- }
- /**
- * A simple mapper that take a function to transform an internal name to a public name
- */
- class SimplePlaceholderMapper extends RecurseVisitor {
- // create a mapping from the message
- constructor(message, mapName) {
- super();
- this.mapName = mapName;
- this.internalToPublic = {};
- this.publicToNextId = {};
- this.publicToInternal = {};
- message.nodes.forEach(node => node.visit(this));
- }
- toPublicName(internalName) {
- return this.internalToPublic.hasOwnProperty(internalName) ? this.internalToPublic[internalName] : null;
- }
- toInternalName(publicName) {
- return this.publicToInternal.hasOwnProperty(publicName) ? this.publicToInternal[publicName] : null;
- }
- visitText(text, context) {
- return null;
- }
- visitTagPlaceholder(ph, context) {
- this.visitPlaceholderName(ph.startName);
- super.visitTagPlaceholder(ph, context);
- this.visitPlaceholderName(ph.closeName);
- }
- visitPlaceholder(ph, context) {
- this.visitPlaceholderName(ph.name);
- }
- visitIcuPlaceholder(ph, context) {
- this.visitPlaceholderName(ph.name);
- } // XMB placeholders could only contains A-Z, 0-9 and _
- visitPlaceholderName(internalName) {
- if (!internalName || this.internalToPublic.hasOwnProperty(internalName)) {
- return;
- }
- let publicName = this.mapName(internalName);
- if (this.publicToInternal.hasOwnProperty(publicName)) {
- // Create a new XMB when it has already been used
- const nextId = this.publicToNextId[publicName];
- this.publicToNextId[publicName] = nextId + 1;
- publicName = `${publicName}_${nextId}`;
- } else {
- this.publicToNextId[publicName] = 1;
- }
- this.internalToPublic[internalName] = publicName;
- this.publicToInternal[publicName] = internalName;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class _Visitor$2 {
- visitTag(tag) {
- const strAttrs = this._serializeAttributes(tag.attrs);
- if (tag.children.length == 0) {
- return `<${tag.name}${strAttrs}/>`;
- }
- const strChildren = tag.children.map(node => node.visit(this));
- return `<${tag.name}${strAttrs}>${strChildren.join('')}</${tag.name}>`;
- }
- visitText(text) {
- return text.value;
- }
- visitDeclaration(decl) {
- return `<?xml${this._serializeAttributes(decl.attrs)} ?>`;
- }
- _serializeAttributes(attrs) {
- const strAttrs = Object.keys(attrs).map(name => `${name}="${attrs[name]}"`).join(' ');
- return strAttrs.length > 0 ? ' ' + strAttrs : '';
- }
- visitDoctype(doctype) {
- return `<!DOCTYPE ${doctype.rootTag} [\n${doctype.dtd}\n]>`;
- }
- }
- const _visitor = new _Visitor$2();
- function serialize(nodes) {
- return nodes.map(node => node.visit(_visitor)).join('');
- }
- class Declaration {
- constructor(unescapedAttrs) {
- this.attrs = {};
- Object.keys(unescapedAttrs).forEach(k => {
- this.attrs[k] = escapeXml(unescapedAttrs[k]);
- });
- }
- visit(visitor) {
- return visitor.visitDeclaration(this);
- }
- }
- class Doctype {
- constructor(rootTag, dtd) {
- this.rootTag = rootTag;
- this.dtd = dtd;
- }
- visit(visitor) {
- return visitor.visitDoctype(this);
- }
- }
- class Tag {
- constructor(name, unescapedAttrs = {}, children = []) {
- this.name = name;
- this.children = children;
- this.attrs = {};
- Object.keys(unescapedAttrs).forEach(k => {
- this.attrs[k] = escapeXml(unescapedAttrs[k]);
- });
- }
- visit(visitor) {
- return visitor.visitTag(this);
- }
- }
- class Text$1 {
- constructor(unescapedValue) {
- this.value = escapeXml(unescapedValue);
- }
- visit(visitor) {
- return visitor.visitText(this);
- }
- }
- class CR extends Text$1 {
- constructor(ws = 0) {
- super(`\n${new Array(ws + 1).join(' ')}`);
- }
- }
- const _ESCAPED_CHARS = [[/&/g, '&'], [/"/g, '"'], [/'/g, '''], [/</g, '<'], [/>/g, '>']]; // Escape `_ESCAPED_CHARS` characters in the given text with encoded entities
- function escapeXml(text) {
- return _ESCAPED_CHARS.reduce((text, entry) => text.replace(entry[0], entry[1]), text);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _MESSAGES_TAG = 'messagebundle';
- const _MESSAGE_TAG = 'msg';
- const _PLACEHOLDER_TAG$3 = 'ph';
- const _EXAMPLE_TAG = 'ex';
- const _SOURCE_TAG$2 = 'source';
- const _DOCTYPE = `<!ELEMENT messagebundle (msg)*>
- <!ATTLIST messagebundle class CDATA #IMPLIED>
- <!ELEMENT msg (#PCDATA|ph|source)*>
- <!ATTLIST msg id CDATA #IMPLIED>
- <!ATTLIST msg seq CDATA #IMPLIED>
- <!ATTLIST msg name CDATA #IMPLIED>
- <!ATTLIST msg desc CDATA #IMPLIED>
- <!ATTLIST msg meaning CDATA #IMPLIED>
- <!ATTLIST msg obsolete (obsolete) #IMPLIED>
- <!ATTLIST msg xml:space (default|preserve) "default">
- <!ATTLIST msg is_hidden CDATA #IMPLIED>
- <!ELEMENT source (#PCDATA)>
- <!ELEMENT ph (#PCDATA|ex)*>
- <!ATTLIST ph name CDATA #REQUIRED>
- <!ELEMENT ex (#PCDATA)>`;
- class Xmb extends Serializer {
- write(messages, locale) {
- const exampleVisitor = new ExampleVisitor();
- const visitor = new _Visitor$1();
- let rootNode = new Tag(_MESSAGES_TAG);
- messages.forEach(message => {
- const attrs = {
- id: message.id
- };
- if (message.description) {
- attrs['desc'] = message.description;
- }
- if (message.meaning) {
- attrs['meaning'] = message.meaning;
- }
- let sourceTags = [];
- message.sources.forEach(source => {
- sourceTags.push(new Tag(_SOURCE_TAG$2, {}, [new Text$1(`${source.filePath}:${source.startLine}${source.endLine !== source.startLine ? ',' + source.endLine : ''}`)]));
- });
- rootNode.children.push(new CR(2), new Tag(_MESSAGE_TAG, attrs, [...sourceTags, ...visitor.serialize(message.nodes)]));
- });
- rootNode.children.push(new CR());
- return serialize([new Declaration({
- version: '1.0',
- encoding: 'UTF-8'
- }), new CR(), new Doctype(_MESSAGES_TAG, _DOCTYPE), new CR(), exampleVisitor.addDefaultExamples(rootNode), new CR()]);
- }
- load(content, url) {
- throw new Error('Unsupported');
- }
- digest(message) {
- return digest(message);
- }
- createNameMapper(message) {
- return new SimplePlaceholderMapper(message, toPublicName);
- }
- }
- class _Visitor$1 {
- visitText(text, context) {
- return [new Text$1(text.value)];
- }
- visitContainer(container, context) {
- const nodes = [];
- container.children.forEach(node => nodes.push(...node.visit(this)));
- return nodes;
- }
- visitIcu(icu, context) {
- const nodes = [new Text$1(`{${icu.expressionPlaceholder}, ${icu.type}, `)];
- Object.keys(icu.cases).forEach(c => {
- nodes.push(new Text$1(`${c} {`), ...icu.cases[c].visit(this), new Text$1(`} `));
- });
- nodes.push(new Text$1(`}`));
- return nodes;
- }
- visitTagPlaceholder(ph, context) {
- const startTagAsText = new Text$1(`<${ph.tag}>`);
- 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.
- const startTagPh = new Tag(_PLACEHOLDER_TAG$3, {
- name: ph.startName
- }, [startEx, startTagAsText]);
- if (ph.isVoid) {
- // void tags have no children nor closing tags
- return [startTagPh];
- }
- const closeTagAsText = new Text$1(`</${ph.tag}>`);
- 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.
- const closeTagPh = new Tag(_PLACEHOLDER_TAG$3, {
- name: ph.closeName
- }, [closeEx, closeTagAsText]);
- return [startTagPh, ...this.serialize(ph.children), closeTagPh];
- }
- visitPlaceholder(ph, context) {
- const interpolationAsText = new Text$1(`{{${ph.value}}}`); // Example tag needs to be not-empty for TC.
- const exTag = new Tag(_EXAMPLE_TAG, {}, [interpolationAsText]);
- return [// TC requires PH to have a non empty EX, and uses the text node to show the "original" value.
- new Tag(_PLACEHOLDER_TAG$3, {
- name: ph.name
- }, [exTag, interpolationAsText])];
- }
- visitIcuPlaceholder(ph, context) {
- const icuExpression = ph.value.expression;
- const icuType = ph.value.type;
- const icuCases = Object.keys(ph.value.cases).map(value => value + ' {...}').join(' ');
- const icuAsText = new Text$1(`{${icuExpression}, ${icuType}, ${icuCases}}`);
- const exTag = new Tag(_EXAMPLE_TAG, {}, [icuAsText]);
- return [// TC requires PH to have a non empty EX, and uses the text node to show the "original" value.
- new Tag(_PLACEHOLDER_TAG$3, {
- name: ph.name
- }, [exTag, icuAsText])];
- }
- serialize(nodes) {
- return [].concat(...nodes.map(node => node.visit(this)));
- }
- }
- function digest(message) {
- return decimalDigest(message);
- } // TC requires at least one non-empty example on placeholders
- class ExampleVisitor {
- addDefaultExamples(node) {
- node.visit(this);
- return node;
- }
- visitTag(tag) {
- if (tag.name === _PLACEHOLDER_TAG$3) {
- if (!tag.children || tag.children.length == 0) {
- const exText = new Text$1(tag.attrs['name'] || '...');
- tag.children = [new Tag(_EXAMPLE_TAG, {}, [exText])];
- }
- } else if (tag.children) {
- tag.children.forEach(node => node.visit(this));
- }
- }
- visitText(text) {}
- visitDeclaration(decl) {}
- visitDoctype(doctype) {}
- } // XMB/XTB placeholders can only contain A-Z, 0-9 and _
- function toPublicName(internalName) {
- return internalName.toUpperCase().replace(/[^A-Z0-9_]/g, '_');
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /* Closure variables holding messages must be named `MSG_[A-Z0-9]+` */
- const CLOSURE_TRANSLATION_VAR_PREFIX = 'MSG_';
- /**
- * Prefix for non-`goog.getMsg` i18n-related vars.
- * Note: the prefix uses lowercase characters intentionally due to a Closure behavior that
- * considers variables like `I18N_0` as constants and throws an error when their value changes.
- */
- const TRANSLATION_VAR_PREFIX = 'i18n_';
- /** Name of the i18n attributes **/
- const I18N_ATTR = 'i18n';
- const I18N_ATTR_PREFIX = 'i18n-';
- /** Prefix of var expressions used in ICUs */
- const I18N_ICU_VAR_PREFIX = 'VAR_';
- /** Prefix of ICU expressions for post processing */
- const I18N_ICU_MAPPING_PREFIX = 'I18N_EXP_';
- /** Placeholder wrapper for i18n expressions **/
- const I18N_PLACEHOLDER_SYMBOL = '�';
- function isI18nAttribute(name) {
- return name === I18N_ATTR || name.startsWith(I18N_ATTR_PREFIX);
- }
- function isI18nRootNode(meta) {
- return meta instanceof Message;
- }
- function isSingleI18nIcu(meta) {
- return isI18nRootNode(meta) && meta.nodes.length === 1 && meta.nodes[0] instanceof Icu;
- }
- function hasI18nMeta(node) {
- return !!node.i18n;
- }
- function hasI18nAttrs(element) {
- return element.attrs.some(attr => isI18nAttribute(attr.name));
- }
- function icuFromI18nMessage(message) {
- return message.nodes[0];
- }
- function wrapI18nPlaceholder(content, contextId = 0) {
- const blockId = contextId > 0 ? `:${contextId}` : '';
- return `${I18N_PLACEHOLDER_SYMBOL}${content}${blockId}${I18N_PLACEHOLDER_SYMBOL}`;
- }
- function assembleI18nBoundString(strings, bindingStartIndex = 0, contextId = 0) {
- if (!strings.length) return '';
- let acc = '';
- const lastIdx = strings.length - 1;
- for (let i = 0; i < lastIdx; i++) {
- acc += `${strings[i]}${wrapI18nPlaceholder(bindingStartIndex + i, contextId)}`;
- }
- acc += strings[lastIdx];
- return acc;
- }
- function getSeqNumberGenerator(startsAt = 0) {
- let current = startsAt;
- return () => current++;
- }
- function placeholdersToParams(placeholders) {
- const params = {};
- placeholders.forEach((values, key) => {
- params[key] = literal(values.length > 1 ? `[${values.join('|')}]` : values[0]);
- });
- return params;
- }
- function updatePlaceholderMap(map, name, ...values) {
- const current = map.get(name) || [];
- current.push(...values);
- map.set(name, current);
- }
- function assembleBoundTextPlaceholders(meta, bindingStartIndex = 0, contextId = 0) {
- const startIdx = bindingStartIndex;
- const placeholders = new Map();
- const node = meta instanceof Message ? meta.nodes.find(node => node instanceof Container) : meta;
- if (node) {
- node.children.filter(child => child instanceof Placeholder).forEach((child, idx) => {
- const content = wrapI18nPlaceholder(startIdx + idx, contextId);
- updatePlaceholderMap(placeholders, child.name, content);
- });
- }
- return placeholders;
- }
- /**
- * Format the placeholder names in a map of placeholders to expressions.
- *
- * The placeholder names are converted from "internal" format (e.g. `START_TAG_DIV_1`) to "external"
- * format (e.g. `startTagDiv_1`).
- *
- * @param params A map of placeholder names to expressions.
- * @param useCamelCase whether to camelCase the placeholder name when formatting.
- * @returns A new map of formatted placeholder names to expressions.
- */
- function formatI18nPlaceholderNamesInMap(params = {}, useCamelCase) {
- const _params = {};
- if (params && Object.keys(params).length) {
- Object.keys(params).forEach(key => _params[formatI18nPlaceholderName(key, useCamelCase)] = params[key]);
- }
- return _params;
- }
- /**
- * Converts internal placeholder names to public-facing format
- * (for example to use in goog.getMsg call).
- * Example: `START_TAG_DIV_1` is converted to `startTagDiv_1`.
- *
- * @param name The placeholder name that should be formatted
- * @returns Formatted placeholder name
- */
- function formatI18nPlaceholderName(name, useCamelCase = true) {
- const publicName = toPublicName(name);
- if (!useCamelCase) {
- return publicName;
- }
- const chunks = publicName.split('_');
- if (chunks.length === 1) {
- // if no "_" found - just lowercase the value
- return name.toLowerCase();
- }
- let postfix; // eject last element if it's a number
- if (/^\d+$/.test(chunks[chunks.length - 1])) {
- postfix = chunks.pop();
- }
- let raw = chunks.shift().toLowerCase();
- if (chunks.length) {
- raw += chunks.map(c => c.charAt(0).toUpperCase() + c.slice(1).toLowerCase()).join('');
- }
- return postfix ? `${raw}_${postfix}` : raw;
- }
- /**
- * Generates a prefix for translation const name.
- *
- * @param extra Additional local prefix that should be injected into translation var name
- * @returns Complete translation const prefix
- */
- function getTranslationConstPrefix(extra) {
- return `${CLOSURE_TRANSLATION_VAR_PREFIX}${extra}`.toUpperCase();
- }
- /**
- * Generate AST to declare a variable. E.g. `var I18N_1;`.
- * @param variable the name of the variable to declare.
- */
- function declareI18nVariable(variable) {
- return new DeclareVarStmt(variable.name, undefined, INFERRED_TYPE, undefined, variable.sourceSpan);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Checks whether an object key contains potentially unsafe chars, thus the key should be wrapped in
- * quotes. Note: we do not wrap all keys into quotes, as it may have impact on minification and may
- * bot work in some cases when object keys are mangled by minifier.
- *
- * TODO(FW-1136): this is a temporary solution, we need to come up with a better way of working with
- * inputs that contain potentially unsafe chars.
- */
- const UNSAFE_OBJECT_KEY_NAME_REGEXP = /[-.]/;
- /** Name of the temporary to use during data binding */
- const TEMPORARY_NAME = '_t';
- /** Name of the context parameter passed into a template function */
- const CONTEXT_NAME = 'ctx';
- /** Name of the RenderFlag passed into a template function */
- const RENDER_FLAGS = 'rf';
- /** The prefix reference variables */
- const REFERENCE_PREFIX = '_r';
- /** The name of the implicit context reference */
- const IMPLICIT_REFERENCE = '$implicit';
- /** Non bindable attribute name **/
- const NON_BINDABLE_ATTR = 'ngNonBindable';
- /** Name for the variable keeping track of the context returned by `ɵɵrestoreView`. */
- const RESTORED_VIEW_CONTEXT_NAME = 'restoredCtx';
- /**
- * Maximum length of a single instruction chain. Because our output AST uses recursion, we're
- * limited in how many expressions we can nest before we reach the call stack limit. This
- * length is set very conservatively in order to reduce the chance of problems.
- */
- const MAX_CHAIN_LENGTH = 500;
- /** Instructions that support chaining. */
- 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]);
- /** Generates a call to a single instruction. */
- function invokeInstruction(span, reference, params) {
- return importExpr(reference, null, span).callFn(params, span);
- }
- /**
- * Creates an allocator for a temporary variable.
- *
- * A variable declaration is added to the statements the first time the allocator is invoked.
- */
- function temporaryAllocator(statements, name) {
- let temp = null;
- return () => {
- if (!temp) {
- statements.push(new DeclareVarStmt(TEMPORARY_NAME, undefined, DYNAMIC_TYPE));
- temp = variable(name);
- }
- return temp;
- };
- }
- function invalid(arg) {
- throw new Error(`Invalid state: Visitor ${this.constructor.name} doesn't handle ${arg.constructor.name}`);
- }
- function asLiteral(value) {
- if (Array.isArray(value)) {
- return literalArr(value.map(asLiteral));
- }
- return literal(value, INFERRED_TYPE);
- }
- function conditionallyCreateMapObjectLiteral(keys, keepDeclared) {
- if (Object.getOwnPropertyNames(keys).length > 0) {
- return mapToExpression(keys, keepDeclared);
- }
- return null;
- }
- function mapToExpression(map, keepDeclared) {
- return literalMap(Object.getOwnPropertyNames(map).map(key => {
- // canonical syntax: `dirProp: publicProp`
- const value = map[key];
- let declaredName;
- let publicName;
- let minifiedName;
- let needsDeclaredName;
- if (Array.isArray(value)) {
- [publicName, declaredName] = value;
- minifiedName = key;
- needsDeclaredName = publicName !== declaredName;
- } else {
- minifiedName = declaredName = key;
- publicName = value;
- needsDeclaredName = false;
- }
- return {
- key: minifiedName,
- // put quotes around keys that contain potentially unsafe characters
- quoted: UNSAFE_OBJECT_KEY_NAME_REGEXP.test(minifiedName),
- value: keepDeclared && needsDeclaredName ? literalArr([asLiteral(publicName), asLiteral(declaredName)]) : asLiteral(publicName)
- };
- }));
- }
- /**
- * Remove trailing null nodes as they are implied.
- */
- function trimTrailingNulls(parameters) {
- while (isNull(parameters[parameters.length - 1])) {
- parameters.pop();
- }
- return parameters;
- }
- function getQueryPredicate(query, constantPool) {
- if (Array.isArray(query.predicate)) {
- let predicate = [];
- query.predicate.forEach(selector => {
- // Each item in predicates array may contain strings with comma-separated refs
- // (for ex. 'ref, ref1, ..., refN'), thus we extract individual refs and store them
- // as separate array entities
- const selectors = selector.split(',').map(token => literal(token.trim()));
- predicate.push(...selectors);
- });
- return constantPool.getConstLiteral(literalArr(predicate), true);
- } else {
- // The original predicate may have been wrapped in a `forwardRef()` call.
- switch (query.predicate.forwardRef) {
- case 0
- /* ForwardRefHandling.None */
- :
- case 2
- /* ForwardRefHandling.Unwrapped */
- :
- return query.predicate.expression;
- case 1
- /* ForwardRefHandling.Wrapped */
- :
- return importExpr(Identifiers.resolveForwardRef).callFn([query.predicate.expression]);
- }
- }
- }
- /**
- * A representation for an object literal used during codegen of definition objects. The generic
- * type `T` allows to reference a documented type of the generated structure, such that the
- * property names that are set can be resolved to their documented declaration.
- */
- class DefinitionMap {
- constructor() {
- this.values = [];
- }
- set(key, value) {
- if (value) {
- this.values.push({
- key: key,
- value,
- quoted: false
- });
- }
- }
- toLiteralMap() {
- return literalMap(this.values);
- }
- }
- /**
- * Extract a map of properties to values for a given element or template node, which can be used
- * by the directive matching machinery.
- *
- * @param elOrTpl the element or template in question
- * @return an object set up for directive matching. For attributes on the element/template, this
- * object maps a property name to its (static) value. For any bindings, this map simply maps the
- * property name to an empty string.
- */
- function getAttrsForDirectiveMatching(elOrTpl) {
- const attributesMap = {};
- if (elOrTpl instanceof Template && elOrTpl.tagName !== 'ng-template') {
- elOrTpl.templateAttrs.forEach(a => attributesMap[a.name] = '');
- } else {
- elOrTpl.attributes.forEach(a => {
- if (!isI18nAttribute(a.name)) {
- attributesMap[a.name] = a.value;
- }
- });
- elOrTpl.inputs.forEach(i => {
- attributesMap[i.name] = '';
- });
- elOrTpl.outputs.forEach(o => {
- attributesMap[o.name] = '';
- });
- }
- return attributesMap;
- }
- /**
- * Gets the number of arguments expected to be passed to a generated instruction in the case of
- * interpolation instructions.
- * @param interpolation An interpolation ast
- */
- function getInterpolationArgsLength(interpolation) {
- const {
- expressions,
- strings
- } = interpolation;
- if (expressions.length === 1 && strings.length === 2 && strings[0] === '' && strings[1] === '') {
- // If the interpolation has one interpolated value, but the prefix and suffix are both empty
- // strings, we only pass one argument, to a special instruction like `propertyInterpolate` or
- // `textInterpolate`.
- return 1;
- } else {
- return expressions.length + strings.length;
- }
- }
- /**
- * Generates the final instruction call statements based on the passed in configuration.
- * Will try to chain instructions as much as possible, if chaining is supported.
- */
- function getInstructionStatements(instructions) {
- var _a;
- const statements = [];
- let pendingExpression = null;
- let pendingExpressionType = null;
- let chainLength = 0;
- for (const current of instructions) {
- const resolvedParams = (_a = typeof current.paramsOrFn === 'function' ? current.paramsOrFn() : current.paramsOrFn) !== null && _a !== void 0 ? _a : [];
- const params = Array.isArray(resolvedParams) ? resolvedParams : [resolvedParams]; // If the current instruction is the same as the previous one
- // and it can be chained, add another call to the chain.
- if (chainLength < MAX_CHAIN_LENGTH && pendingExpressionType === current.reference && CHAINABLE_INSTRUCTIONS.has(pendingExpressionType)) {
- // We'll always have a pending expression when there's a pending expression type.
- pendingExpression = pendingExpression.callFn(params, pendingExpression.sourceSpan);
- chainLength++;
- } else {
- if (pendingExpression !== null) {
- statements.push(pendingExpression.toStmt());
- }
- pendingExpression = invokeInstruction(current.span, current.reference, params);
- pendingExpressionType = current.reference;
- chainLength = 0;
- }
- } // Since the current instruction adds the previous one to the statements,
- // we may be left with the final one at the end that is still pending.
- if (pendingExpression !== null) {
- statements.push(pendingExpression.toStmt());
- }
- return statements;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function compileInjectable(meta, resolveForwardRefs) {
- let result = null;
- const factoryMeta = {
- name: meta.name,
- type: meta.type,
- internalType: meta.internalType,
- typeArgumentCount: meta.typeArgumentCount,
- deps: [],
- target: FactoryTarget$1.Injectable
- };
- if (meta.useClass !== undefined) {
- // meta.useClass has two modes of operation. Either deps are specified, in which case `new` is
- // used to instantiate the class with dependencies injected, or deps are not specified and
- // the factory of the class is used to instantiate it.
- //
- // A special case exists for useClass: Type where Type is the injectable type itself and no
- // deps are specified, in which case 'useClass' is effectively ignored.
- const useClassOnSelf = meta.useClass.expression.isEquivalent(meta.internalType);
- let deps = undefined;
- if (meta.deps !== undefined) {
- deps = meta.deps;
- }
- if (deps !== undefined) {
- // factory: () => new meta.useClass(...deps)
- result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), {
- delegate: meta.useClass.expression,
- delegateDeps: deps,
- delegateType: R3FactoryDelegateType.Class
- }));
- } else if (useClassOnSelf) {
- result = compileFactoryFunction(factoryMeta);
- } else {
- result = {
- statements: [],
- expression: delegateToFactory(meta.type.value, meta.useClass.expression, resolveForwardRefs)
- };
- }
- } else if (meta.useFactory !== undefined) {
- if (meta.deps !== undefined) {
- result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), {
- delegate: meta.useFactory,
- delegateDeps: meta.deps || [],
- delegateType: R3FactoryDelegateType.Function
- }));
- } else {
- result = {
- statements: [],
- expression: fn([], [new ReturnStatement(meta.useFactory.callFn([]))])
- };
- }
- } else if (meta.useValue !== undefined) {
- // Note: it's safe to use `meta.useValue` instead of the `USE_VALUE in meta` check used for
- // client code because meta.useValue is an Expression which will be defined even if the actual
- // value is undefined.
- result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), {
- expression: meta.useValue.expression
- }));
- } else if (meta.useExisting !== undefined) {
- // useExisting is an `inject` call on the existing token.
- result = compileFactoryFunction(Object.assign(Object.assign({}, factoryMeta), {
- expression: importExpr(Identifiers.inject).callFn([meta.useExisting.expression])
- }));
- } else {
- result = {
- statements: [],
- expression: delegateToFactory(meta.type.value, meta.internalType, resolveForwardRefs)
- };
- }
- const token = meta.internalType;
- const injectableProps = new DefinitionMap();
- injectableProps.set('token', token);
- injectableProps.set('factory', result.expression); // Only generate providedIn property if it has a non-null value
- if (meta.providedIn.expression.value !== null) {
- injectableProps.set('providedIn', convertFromMaybeForwardRefExpression(meta.providedIn));
- }
- const expression = importExpr(Identifiers.ɵɵdefineInjectable).callFn([injectableProps.toLiteralMap()], undefined, true);
- return {
- expression,
- type: createInjectableType(meta),
- statements: result.statements
- };
- }
- function createInjectableType(meta) {
- return new ExpressionType(importExpr(Identifiers.InjectableDeclaration, [typeWithParameters(meta.type.type, meta.typeArgumentCount)]));
- }
- function delegateToFactory(type, internalType, unwrapForwardRefs) {
- if (type.node === internalType.node) {
- // The types are the same, so we can simply delegate directly to the type's factory.
- // ```
- // factory: type.ɵfac
- // ```
- return internalType.prop('ɵfac');
- }
- if (!unwrapForwardRefs) {
- // The type is not wrapped in a `forwardRef()`, so we create a simple factory function that
- // accepts a sub-type as an argument.
- // ```
- // factory: function(t) { return internalType.ɵfac(t); }
- // ```
- return createFactoryFunction(internalType);
- } // The internalType is actually wrapped in a `forwardRef()` so we need to resolve that before
- // calling its factory.
- // ```
- // factory: function(t) { return core.resolveForwardRef(type).ɵfac(t); }
- // ```
- const unwrappedType = importExpr(Identifiers.resolveForwardRef).callFn([internalType]);
- return createFactoryFunction(unwrappedType);
- }
- function createFactoryFunction(type) {
- return fn([new FnParam('t', DYNAMIC_TYPE)], [new ReturnStatement(type.prop('ɵfac').callFn([variable('t')]))]);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const UNUSABLE_INTERPOLATION_REGEXPS = [/^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\// // comment
- ];
- function assertInterpolationSymbols(identifier, value) {
- if (value != null && !(Array.isArray(value) && value.length == 2)) {
- throw new Error(`Expected '${identifier}' to be an array, [start, end].`);
- } else if (value != null) {
- const start = value[0];
- const end = value[1]; // Check for unusable interpolation symbols
- UNUSABLE_INTERPOLATION_REGEXPS.forEach(regexp => {
- if (regexp.test(start) || regexp.test(end)) {
- throw new Error(`['${start}', '${end}'] contains unusable interpolation symbol.`);
- }
- });
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class InterpolationConfig {
- constructor(start, end) {
- this.start = start;
- this.end = end;
- }
- static fromArray(markers) {
- if (!markers) {
- return DEFAULT_INTERPOLATION_CONFIG;
- }
- assertInterpolationSymbols('interpolation', markers);
- return new InterpolationConfig(markers[0], markers[1]);
- }
- }
- const DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const $EOF = 0;
- const $BSPACE = 8;
- const $TAB = 9;
- const $LF = 10;
- const $VTAB = 11;
- const $FF = 12;
- const $CR = 13;
- const $SPACE = 32;
- const $BANG = 33;
- const $DQ = 34;
- const $HASH = 35;
- const $$ = 36;
- const $PERCENT = 37;
- const $AMPERSAND = 38;
- const $SQ = 39;
- const $LPAREN = 40;
- const $RPAREN = 41;
- const $STAR = 42;
- const $PLUS = 43;
- const $COMMA = 44;
- const $MINUS = 45;
- const $PERIOD = 46;
- const $SLASH = 47;
- const $COLON = 58;
- const $SEMICOLON = 59;
- const $LT = 60;
- const $EQ = 61;
- const $GT = 62;
- const $QUESTION = 63;
- const $0 = 48;
- const $7 = 55;
- const $9 = 57;
- const $A = 65;
- const $E = 69;
- const $F = 70;
- const $X = 88;
- const $Z = 90;
- const $LBRACKET = 91;
- const $BACKSLASH = 92;
- const $RBRACKET = 93;
- const $CARET = 94;
- const $_ = 95;
- const $a = 97;
- const $b = 98;
- const $e = 101;
- const $f = 102;
- const $n = 110;
- const $r = 114;
- const $t = 116;
- const $u = 117;
- const $v = 118;
- const $x = 120;
- const $z = 122;
- const $LBRACE = 123;
- const $BAR = 124;
- const $RBRACE = 125;
- const $NBSP = 160;
- const $PIPE = 124;
- const $TILDA = 126;
- const $AT = 64;
- const $BT = 96;
- function isWhitespace(code) {
- return code >= $TAB && code <= $SPACE || code == $NBSP;
- }
- function isDigit(code) {
- return $0 <= code && code <= $9;
- }
- function isAsciiLetter(code) {
- return code >= $a && code <= $z || code >= $A && code <= $Z;
- }
- function isAsciiHexDigit(code) {
- return code >= $a && code <= $f || code >= $A && code <= $F || isDigit(code);
- }
- function isNewLine(code) {
- return code === $LF || code === $CR;
- }
- function isOctalDigit(code) {
- return $0 <= code && code <= $7;
- }
- function isQuote(code) {
- return code === $SQ || code === $DQ || code === $BT;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class ParseLocation {
- constructor(file, offset, line, col) {
- this.file = file;
- this.offset = offset;
- this.line = line;
- this.col = col;
- }
- toString() {
- return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
- }
- moveBy(delta) {
- const source = this.file.content;
- const len = source.length;
- let offset = this.offset;
- let line = this.line;
- let col = this.col;
- while (offset > 0 && delta < 0) {
- offset--;
- delta++;
- const ch = source.charCodeAt(offset);
- if (ch == $LF) {
- line--;
- const priorLine = source.substring(0, offset - 1).lastIndexOf(String.fromCharCode($LF));
- col = priorLine > 0 ? offset - priorLine : offset;
- } else {
- col--;
- }
- }
- while (offset < len && delta > 0) {
- const ch = source.charCodeAt(offset);
- offset++;
- delta--;
- if (ch == $LF) {
- line++;
- col = 0;
- } else {
- col++;
- }
- }
- return new ParseLocation(this.file, offset, line, col);
- } // Return the source around the location
- // Up to `maxChars` or `maxLines` on each side of the location
- getContext(maxChars, maxLines) {
- const content = this.file.content;
- let startOffset = this.offset;
- if (startOffset != null) {
- if (startOffset > content.length - 1) {
- startOffset = content.length - 1;
- }
- let endOffset = startOffset;
- let ctxChars = 0;
- let ctxLines = 0;
- while (ctxChars < maxChars && startOffset > 0) {
- startOffset--;
- ctxChars++;
- if (content[startOffset] == '\n') {
- if (++ctxLines == maxLines) {
- break;
- }
- }
- }
- ctxChars = 0;
- ctxLines = 0;
- while (ctxChars < maxChars && endOffset < content.length - 1) {
- endOffset++;
- ctxChars++;
- if (content[endOffset] == '\n') {
- if (++ctxLines == maxLines) {
- break;
- }
- }
- }
- return {
- before: content.substring(startOffset, this.offset),
- after: content.substring(this.offset, endOffset + 1)
- };
- }
- return null;
- }
- }
- class ParseSourceFile {
- constructor(content, url) {
- this.content = content;
- this.url = url;
- }
- }
- class ParseSourceSpan {
- /**
- * Create an object that holds information about spans of tokens/nodes captured during
- * lexing/parsing of text.
- *
- * @param start
- * The location of the start of the span (having skipped leading trivia).
- * Skipping leading trivia makes source-spans more "user friendly", since things like HTML
- * elements will appear to begin at the start of the opening tag, rather than at the start of any
- * leading trivia, which could include newlines.
- *
- * @param end
- * The location of the end of the span.
- *
- * @param fullStart
- * The start of the token without skipping the leading trivia.
- * This is used by tooling that splits tokens further, such as extracting Angular interpolations
- * from text tokens. Such tooling creates new source-spans relative to the original token's
- * source-span. If leading trivia characters have been skipped then the new source-spans may be
- * incorrectly offset.
- *
- * @param details
- * Additional information (such as identifier names) that should be associated with the span.
- */
- constructor(start, end, fullStart = start, details = null) {
- this.start = start;
- this.end = end;
- this.fullStart = fullStart;
- this.details = details;
- }
- toString() {
- return this.start.file.content.substring(this.start.offset, this.end.offset);
- }
- }
- var ParseErrorLevel;
- (function (ParseErrorLevel) {
- ParseErrorLevel[ParseErrorLevel["WARNING"] = 0] = "WARNING";
- ParseErrorLevel[ParseErrorLevel["ERROR"] = 1] = "ERROR";
- })(ParseErrorLevel || (ParseErrorLevel = {}));
- class ParseError {
- constructor(span, msg, level = ParseErrorLevel.ERROR) {
- this.span = span;
- this.msg = msg;
- this.level = level;
- }
- contextualMessage() {
- const ctx = this.span.start.getContext(100, 3);
- return ctx ? `${this.msg} ("${ctx.before}[${ParseErrorLevel[this.level]} ->]${ctx.after}")` : this.msg;
- }
- toString() {
- const details = this.span.details ? `, ${this.span.details}` : '';
- return `${this.contextualMessage()}: ${this.span.start}${details}`;
- }
- }
- /**
- * Generates Source Span object for a given R3 Type for JIT mode.
- *
- * @param kind Component or Directive.
- * @param typeName name of the Component or Directive.
- * @param sourceUrl reference to Component or Directive source.
- * @returns instance of ParseSourceSpan that represent a given Component or Directive.
- */
- function r3JitTypeSourceSpan(kind, typeName, sourceUrl) {
- const sourceFileName = `in ${kind} ${typeName} in ${sourceUrl}`;
- const sourceFile = new ParseSourceFile('', sourceFileName);
- return new ParseSourceSpan(new ParseLocation(sourceFile, -1, -1, -1), new ParseLocation(sourceFile, -1, -1, -1));
- }
- let _anonymousTypeIndex = 0;
- function identifierName(compileIdentifier) {
- if (!compileIdentifier || !compileIdentifier.reference) {
- return null;
- }
- const ref = compileIdentifier.reference;
- if (ref['__anonymousType']) {
- return ref['__anonymousType'];
- }
- if (ref['__forward_ref__']) {
- // We do not want to try to stringify a `forwardRef()` function because that would cause the
- // inner function to be evaluated too early, defeating the whole point of the `forwardRef`.
- return '__forward_ref__';
- }
- let identifier = stringify(ref);
- if (identifier.indexOf('(') >= 0) {
- // case: anonymous functions!
- identifier = `anonymous_${_anonymousTypeIndex++}`;
- ref['__anonymousType'] = identifier;
- } else {
- identifier = sanitizeIdentifier(identifier);
- }
- return identifier;
- }
- function sanitizeIdentifier(name) {
- return name.replace(/\W/g, '_');
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * In TypeScript, tagged template functions expect a "template object", which is an array of
- * "cooked" strings plus a `raw` property that contains an array of "raw" strings. This is
- * typically constructed with a function called `__makeTemplateObject(cooked, raw)`, but it may not
- * be available in all environments.
- *
- * This is a JavaScript polyfill that uses __makeTemplateObject when it's available, but otherwise
- * creates an inline helper with the same functionality.
- *
- * In the inline function, if `Object.defineProperty` is available we use that to attach the `raw`
- * array.
- */
- const makeTemplateObjectPolyfill = '(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';
- class AbstractJsEmitterVisitor extends AbstractEmitterVisitor {
- constructor() {
- super(false);
- }
- visitWrappedNodeExpr(ast, ctx) {
- throw new Error('Cannot emit a WrappedNodeExpr in Javascript.');
- }
- visitDeclareVarStmt(stmt, ctx) {
- ctx.print(stmt, `var ${stmt.name}`);
- if (stmt.value) {
- ctx.print(stmt, ' = ');
- stmt.value.visitExpression(this, ctx);
- }
- ctx.println(stmt, `;`);
- return null;
- }
- visitTaggedTemplateExpr(ast, ctx) {
- // The following convoluted piece of code is effectively the downlevelled equivalent of
- // ```
- // tag`...`
- // ```
- // which is effectively like:
- // ```
- // tag(__makeTemplateObject(cooked, raw), expression1, expression2, ...);
- // ```
- const elements = ast.template.elements;
- ast.tag.visitExpression(this, ctx);
- ctx.print(ast, `(${makeTemplateObjectPolyfill}(`);
- ctx.print(ast, `[${elements.map(part => escapeIdentifier(part.text, false)).join(', ')}], `);
- ctx.print(ast, `[${elements.map(part => escapeIdentifier(part.rawText, false)).join(', ')}])`);
- ast.template.expressions.forEach(expression => {
- ctx.print(ast, ', ');
- expression.visitExpression(this, ctx);
- });
- ctx.print(ast, ')');
- return null;
- }
- visitFunctionExpr(ast, ctx) {
- ctx.print(ast, `function${ast.name ? ' ' + ast.name : ''}(`);
- this._visitParams(ast.params, ctx);
- ctx.println(ast, `) {`);
- ctx.incIndent();
- this.visitAllStatements(ast.statements, ctx);
- ctx.decIndent();
- ctx.print(ast, `}`);
- return null;
- }
- visitDeclareFunctionStmt(stmt, ctx) {
- ctx.print(stmt, `function ${stmt.name}(`);
- this._visitParams(stmt.params, ctx);
- ctx.println(stmt, `) {`);
- ctx.incIndent();
- this.visitAllStatements(stmt.statements, ctx);
- ctx.decIndent();
- ctx.println(stmt, `}`);
- return null;
- }
- visitLocalizedString(ast, ctx) {
- // The following convoluted piece of code is effectively the downlevelled equivalent of
- // ```
- // $localize `...`
- // ```
- // which is effectively like:
- // ```
- // $localize(__makeTemplateObject(cooked, raw), expression1, expression2, ...);
- // ```
- ctx.print(ast, `$localize(${makeTemplateObjectPolyfill}(`);
- const parts = [ast.serializeI18nHead()];
- for (let i = 1; i < ast.messageParts.length; i++) {
- parts.push(ast.serializeI18nTemplatePart(i));
- }
- ctx.print(ast, `[${parts.map(part => escapeIdentifier(part.cooked, false)).join(', ')}], `);
- ctx.print(ast, `[${parts.map(part => escapeIdentifier(part.raw, false)).join(', ')}])`);
- ast.expressions.forEach(expression => {
- ctx.print(ast, ', ');
- expression.visitExpression(this, ctx);
- });
- ctx.print(ast, ')');
- return null;
- }
- _visitParams(params, ctx) {
- this.visitAllObjects(param => ctx.print(null, param.name), params, ctx, ',');
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The Trusted Types policy, or null if Trusted Types are not
- * enabled/supported, or undefined if the policy has not been created yet.
- */
- let policy;
- /**
- * Returns the Trusted Types policy, or null if Trusted Types are not
- * enabled/supported. The first call to this function will create the policy.
- */
- function getPolicy() {
- if (policy === undefined) {
- policy = null;
- if (_global.trustedTypes) {
- try {
- policy = _global.trustedTypes.createPolicy('angular#unsafe-jit', {
- createScript: s => s
- });
- } catch (_a) {// trustedTypes.createPolicy throws if called with a name that is
- // already registered, even in report-only mode. Until the API changes,
- // catch the error not to break the applications functionally. In such
- // cases, the code will fall back to using strings.
- }
- }
- }
- return policy;
- }
- /**
- * Unsafely promote a string to a TrustedScript, falling back to strings when
- * Trusted Types are not available.
- * @security In particular, it must be assured that the provided string will
- * never cause an XSS vulnerability if used in a context that will be
- * interpreted and executed as a script by a browser, e.g. when calling eval.
- */
- function trustedScriptFromString(script) {
- var _a;
- return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
- }
- /**
- * Unsafely call the Function constructor with the given string arguments.
- * @security This is a security-sensitive function; any use of this function
- * must go through security review. In particular, it must be assured that it
- * is only called from the JIT compiler, as use in other code can lead to XSS
- * vulnerabilities.
- */
- function newTrustedFunctionForJIT(...args) {
- if (!_global.trustedTypes) {
- // In environments that don't support Trusted Types, fall back to the most
- // straightforward implementation:
- return new Function(...args);
- } // Chrome currently does not support passing TrustedScript to the Function
- // constructor. The following implements the workaround proposed on the page
- // below, where the Chromium bug is also referenced:
- // https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor
- const fnArgs = args.slice(0, -1).join(',');
- const fnBody = args[args.length - 1];
- const body = `(function anonymous(${fnArgs}
- ) { ${fnBody}
- })`; // Using eval directly confuses the compiler and prevents this module from
- // being stripped out of JS binaries even if not used. The global['eval']
- // indirection fixes that.
- const fn = _global['eval'](trustedScriptFromString(body));
- if (fn.bind === undefined) {
- // Workaround for a browser bug that only exists in Chrome 83, where passing
- // a TrustedScript to eval just returns the TrustedScript back without
- // evaluating it. In that case, fall back to the most straightforward
- // implementation:
- return new Function(...args);
- } // To completely mimic the behavior of calling "new Function", two more
- // things need to happen:
- // 1. Stringifying the resulting function should return its source code
- fn.toString = () => body; // 2. When calling the resulting function, `this` should refer to `global`
- return fn.bind(_global); // When Trusted Types support in Function constructors is widely available,
- // the implementation of this function can be simplified to:
- // return new Function(...args.map(a => trustedScriptFromString(a)));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A helper class to manage the evaluation of JIT generated code.
- */
- class JitEvaluator {
- /**
- *
- * @param sourceUrl The URL of the generated code.
- * @param statements An array of Angular statement AST nodes to be evaluated.
- * @param refResolver Resolves `o.ExternalReference`s into values.
- * @param createSourceMaps If true then create a source-map for the generated code and include it
- * inline as a source-map comment.
- * @returns A map of all the variables in the generated code.
- */
- evaluateStatements(sourceUrl, statements, refResolver, createSourceMaps) {
- const converter = new JitEmitterVisitor(refResolver);
- const ctx = EmitterVisitorContext.createRoot(); // Ensure generated code is in strict mode
- if (statements.length > 0 && !isUseStrictStatement(statements[0])) {
- statements = [literal('use strict').toStmt(), ...statements];
- }
- converter.visitAllStatements(statements, ctx);
- converter.createReturnStmt(ctx);
- return this.evaluateCode(sourceUrl, ctx, converter.getArgs(), createSourceMaps);
- }
- /**
- * Evaluate a piece of JIT generated code.
- * @param sourceUrl The URL of this generated code.
- * @param ctx A context object that contains an AST of the code to be evaluated.
- * @param vars A map containing the names and values of variables that the evaluated code might
- * reference.
- * @param createSourceMap If true then create a source-map for the generated code and include it
- * inline as a source-map comment.
- * @returns The result of evaluating the code.
- */
- evaluateCode(sourceUrl, ctx, vars, createSourceMap) {
- let fnBody = `"use strict";${ctx.toSource()}\n//# sourceURL=${sourceUrl}`;
- const fnArgNames = [];
- const fnArgValues = [];
- for (const argName in vars) {
- fnArgValues.push(vars[argName]);
- fnArgNames.push(argName);
- }
- if (createSourceMap) {
- // using `new Function(...)` generates a header, 1 line of no arguments, 2 lines otherwise
- // E.g. ```
- // function anonymous(a,b,c
- // /**/) { ... }```
- // We don't want to hard code this fact, so we auto detect it via an empty function first.
- const emptyFn = newTrustedFunctionForJIT(...fnArgNames.concat('return null;')).toString();
- const headerLines = emptyFn.slice(0, emptyFn.indexOf('return null;')).split('\n').length - 1;
- fnBody += `\n${ctx.toSourceMapGenerator(sourceUrl, headerLines).toJsComment()}`;
- }
- const fn = newTrustedFunctionForJIT(...fnArgNames.concat(fnBody));
- return this.executeFunction(fn, fnArgValues);
- }
- /**
- * Execute a JIT generated function by calling it.
- *
- * This method can be overridden in tests to capture the functions that are generated
- * by this `JitEvaluator` class.
- *
- * @param fn A function to execute.
- * @param args The arguments to pass to the function being executed.
- * @returns The return value of the executed function.
- */
- executeFunction(fn, args) {
- return fn(...args);
- }
- }
- /**
- * An Angular AST visitor that converts AST nodes into executable JavaScript code.
- */
- class JitEmitterVisitor extends AbstractJsEmitterVisitor {
- constructor(refResolver) {
- super();
- this.refResolver = refResolver;
- this._evalArgNames = [];
- this._evalArgValues = [];
- this._evalExportedVars = [];
- }
- createReturnStmt(ctx) {
- const stmt = new ReturnStatement(new LiteralMapExpr(this._evalExportedVars.map(resultVar => new LiteralMapEntry(resultVar, variable(resultVar), false))));
- stmt.visitStatement(this, ctx);
- }
- getArgs() {
- const result = {};
- for (let i = 0; i < this._evalArgNames.length; i++) {
- result[this._evalArgNames[i]] = this._evalArgValues[i];
- }
- return result;
- }
- visitExternalExpr(ast, ctx) {
- this._emitReferenceToExternal(ast, this.refResolver.resolveExternalReference(ast.value), ctx);
- return null;
- }
- visitWrappedNodeExpr(ast, ctx) {
- this._emitReferenceToExternal(ast, ast.node, ctx);
- return null;
- }
- visitDeclareVarStmt(stmt, ctx) {
- if (stmt.hasModifier(StmtModifier.Exported)) {
- this._evalExportedVars.push(stmt.name);
- }
- return super.visitDeclareVarStmt(stmt, ctx);
- }
- visitDeclareFunctionStmt(stmt, ctx) {
- if (stmt.hasModifier(StmtModifier.Exported)) {
- this._evalExportedVars.push(stmt.name);
- }
- return super.visitDeclareFunctionStmt(stmt, ctx);
- }
- _emitReferenceToExternal(ast, value, ctx) {
- let id = this._evalArgValues.indexOf(value);
- if (id === -1) {
- id = this._evalArgValues.length;
- this._evalArgValues.push(value);
- const name = identifierName({
- reference: value
- }) || 'val';
- this._evalArgNames.push(`jit_${name}_${id}`);
- }
- ctx.print(ast, this._evalArgNames[id]);
- }
- }
- function isUseStrictStatement(statement) {
- return statement.isEquivalent(literal('use strict').toStmt());
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function compileInjector(meta) {
- const definitionMap = new DefinitionMap();
- if (meta.providers !== null) {
- definitionMap.set('providers', meta.providers);
- }
- if (meta.imports.length > 0) {
- definitionMap.set('imports', literalArr(meta.imports));
- }
- const expression = importExpr(Identifiers.defineInjector).callFn([definitionMap.toLiteralMap()], undefined, true);
- const type = createInjectorType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- function createInjectorType(meta) {
- return new ExpressionType(importExpr(Identifiers.InjectorDeclaration, [new ExpressionType(meta.type.type)]));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Implementation of `CompileReflector` which resolves references to @angular/core
- * symbols at runtime, according to a consumer-provided mapping.
- *
- * Only supports `resolveExternalReference`, all other methods throw.
- */
- class R3JitReflector {
- constructor(context) {
- this.context = context;
- }
- resolveExternalReference(ref) {
- // This reflector only handles @angular/core imports.
- if (ref.moduleName !== '@angular/core') {
- throw new Error(`Cannot resolve external reference to ${ref.moduleName}, only references to @angular/core are supported.`);
- }
- if (!this.context.hasOwnProperty(ref.name)) {
- throw new Error(`No value provided for @angular/core symbol '${ref.name}'.`);
- }
- return this.context[ref.name];
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * How the selector scope of an NgModule (its declarations, imports, and exports) should be emitted
- * as a part of the NgModule definition.
- */
- var R3SelectorScopeMode;
- (function (R3SelectorScopeMode) {
- /**
- * Emit the declarations inline into the module definition.
- *
- * This option is useful in certain contexts where it's known that JIT support is required. The
- * tradeoff here is that this emit style prevents directives and pipes from being tree-shaken if
- * they are unused, but the NgModule is used.
- */
- R3SelectorScopeMode[R3SelectorScopeMode["Inline"] = 0] = "Inline";
- /**
- * Emit the declarations using a side effectful function call, `ɵɵsetNgModuleScope`, that is
- * guarded with the `ngJitMode` flag.
- *
- * This form of emit supports JIT and can be optimized away if the `ngJitMode` flag is set to
- * false, which allows unused directives and pipes to be tree-shaken.
- */
- R3SelectorScopeMode[R3SelectorScopeMode["SideEffect"] = 1] = "SideEffect";
- /**
- * Don't generate selector scopes at all.
- *
- * This is useful for contexts where JIT support is known to be unnecessary.
- */
- R3SelectorScopeMode[R3SelectorScopeMode["Omit"] = 2] = "Omit";
- })(R3SelectorScopeMode || (R3SelectorScopeMode = {}));
- /**
- * Construct an `R3NgModuleDef` for the given `R3NgModuleMetadata`.
- */
- function compileNgModule(meta) {
- const {
- adjacentType,
- internalType,
- bootstrap,
- declarations,
- imports,
- exports,
- schemas,
- containsForwardDecls,
- selectorScopeMode,
- id
- } = meta;
- const statements = [];
- const definitionMap = new DefinitionMap();
- definitionMap.set('type', internalType);
- if (bootstrap.length > 0) {
- definitionMap.set('bootstrap', refsToArray(bootstrap, containsForwardDecls));
- }
- if (selectorScopeMode === R3SelectorScopeMode.Inline) {
- // If requested to emit scope information inline, pass the `declarations`, `imports` and
- // `exports` to the `ɵɵdefineNgModule()` call directly.
- if (declarations.length > 0) {
- definitionMap.set('declarations', refsToArray(declarations, containsForwardDecls));
- }
- if (imports.length > 0) {
- definitionMap.set('imports', refsToArray(imports, containsForwardDecls));
- }
- if (exports.length > 0) {
- definitionMap.set('exports', refsToArray(exports, containsForwardDecls));
- }
- } else if (selectorScopeMode === R3SelectorScopeMode.SideEffect) {
- // In this mode, scope information is not passed into `ɵɵdefineNgModule` as it
- // would prevent tree-shaking of the declarations, imports and exports references. Instead, it's
- // patched onto the NgModule definition with a `ɵɵsetNgModuleScope` call that's guarded by the
- // `ngJitMode` flag.
- const setNgModuleScopeCall = generateSetNgModuleScopeCall(meta);
- if (setNgModuleScopeCall !== null) {
- statements.push(setNgModuleScopeCall);
- }
- } else {// Selector scope emit was not requested, so skip it.
- }
- if (schemas !== null && schemas.length > 0) {
- definitionMap.set('schemas', literalArr(schemas.map(ref => ref.value)));
- }
- if (id !== null) {
- definitionMap.set('id', id); // Generate a side-effectful call to register this NgModule by its id, as per the semantics of
- // NgModule ids.
- statements.push(importExpr(Identifiers.registerNgModuleType).callFn([adjacentType, id]).toStmt());
- }
- const expression = importExpr(Identifiers.defineNgModule).callFn([definitionMap.toLiteralMap()], undefined, true);
- const type = createNgModuleType(meta);
- return {
- expression,
- type,
- statements
- };
- }
- /**
- * This function is used in JIT mode to generate the call to `ɵɵdefineNgModule()` from a call to
- * `ɵɵngDeclareNgModule()`.
- */
- function compileNgModuleDeclarationExpression(meta) {
- const definitionMap = new DefinitionMap();
- definitionMap.set('type', new WrappedNodeExpr(meta.type));
- if (meta.bootstrap !== undefined) {
- definitionMap.set('bootstrap', new WrappedNodeExpr(meta.bootstrap));
- }
- if (meta.declarations !== undefined) {
- definitionMap.set('declarations', new WrappedNodeExpr(meta.declarations));
- }
- if (meta.imports !== undefined) {
- definitionMap.set('imports', new WrappedNodeExpr(meta.imports));
- }
- if (meta.exports !== undefined) {
- definitionMap.set('exports', new WrappedNodeExpr(meta.exports));
- }
- if (meta.schemas !== undefined) {
- definitionMap.set('schemas', new WrappedNodeExpr(meta.schemas));
- }
- if (meta.id !== undefined) {
- definitionMap.set('id', new WrappedNodeExpr(meta.id));
- }
- return importExpr(Identifiers.defineNgModule).callFn([definitionMap.toLiteralMap()]);
- }
- function createNgModuleType({
- type: moduleType,
- declarations,
- exports,
- imports,
- includeImportTypes,
- publicDeclarationTypes
- }) {
- return new ExpressionType(importExpr(Identifiers.NgModuleDeclaration, [new ExpressionType(moduleType.type), publicDeclarationTypes === null ? tupleTypeOf(declarations) : tupleOfTypes(publicDeclarationTypes), includeImportTypes ? tupleTypeOf(imports) : NONE_TYPE, tupleTypeOf(exports)]));
- }
- /**
- * Generates a function call to `ɵɵsetNgModuleScope` with all necessary information so that the
- * transitive module scope can be computed during runtime in JIT mode. This call is marked pure
- * such that the references to declarations, imports and exports may be elided causing these
- * symbols to become tree-shakeable.
- */
- function generateSetNgModuleScopeCall(meta) {
- const {
- adjacentType: moduleType,
- declarations,
- imports,
- exports,
- containsForwardDecls
- } = meta;
- const scopeMap = new DefinitionMap();
- if (declarations.length > 0) {
- scopeMap.set('declarations', refsToArray(declarations, containsForwardDecls));
- }
- if (imports.length > 0) {
- scopeMap.set('imports', refsToArray(imports, containsForwardDecls));
- }
- if (exports.length > 0) {
- scopeMap.set('exports', refsToArray(exports, containsForwardDecls));
- }
- if (Object.keys(scopeMap.values).length === 0) {
- return null;
- } // setNgModuleScope(...)
- const fnCall = new InvokeFunctionExpr(
- /* fn */
- importExpr(Identifiers.setNgModuleScope),
- /* args */
- [moduleType, scopeMap.toLiteralMap()]); // (ngJitMode guard) && setNgModuleScope(...)
- const guardedCall = jitOnlyGuardedExpression(fnCall); // function() { (ngJitMode guard) && setNgModuleScope(...); }
- const iife = new FunctionExpr(
- /* params */
- [],
- /* statements */
- [guardedCall.toStmt()]); // (function() { (ngJitMode guard) && setNgModuleScope(...); })()
- const iifeCall = new InvokeFunctionExpr(
- /* fn */
- iife,
- /* args */
- []);
- return iifeCall.toStmt();
- }
- function tupleTypeOf(exp) {
- const types = exp.map(ref => typeofExpr(ref.type));
- return exp.length > 0 ? expressionType(literalArr(types)) : NONE_TYPE;
- }
- function tupleOfTypes(types) {
- const typeofTypes = types.map(type => typeofExpr(type));
- return types.length > 0 ? expressionType(literalArr(typeofTypes)) : NONE_TYPE;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function compilePipeFromMetadata(metadata) {
- const definitionMapValues = []; // e.g. `name: 'myPipe'`
- definitionMapValues.push({
- key: 'name',
- value: literal(metadata.pipeName),
- quoted: false
- }); // e.g. `type: MyPipe`
- definitionMapValues.push({
- key: 'type',
- value: metadata.type.value,
- quoted: false
- }); // e.g. `pure: true`
- definitionMapValues.push({
- key: 'pure',
- value: literal(metadata.pure),
- quoted: false
- });
- if (metadata.isStandalone) {
- definitionMapValues.push({
- key: 'standalone',
- value: literal(true),
- quoted: false
- });
- }
- const expression = importExpr(Identifiers.definePipe).callFn([literalMap(definitionMapValues)], undefined, true);
- const type = createPipeType(metadata);
- return {
- expression,
- type,
- statements: []
- };
- }
- function createPipeType(metadata) {
- return new ExpressionType(importExpr(Identifiers.PipeDeclaration, [typeWithParameters(metadata.type.type, metadata.typeArgumentCount), new ExpressionType(new LiteralExpr(metadata.pipeName)), new ExpressionType(new LiteralExpr(metadata.isStandalone))]));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- var R3TemplateDependencyKind;
- (function (R3TemplateDependencyKind) {
- R3TemplateDependencyKind[R3TemplateDependencyKind["Directive"] = 0] = "Directive";
- R3TemplateDependencyKind[R3TemplateDependencyKind["Pipe"] = 1] = "Pipe";
- R3TemplateDependencyKind[R3TemplateDependencyKind["NgModule"] = 2] = "NgModule";
- })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class ParserError {
- constructor(message, input, errLocation, ctxLocation) {
- this.input = input;
- this.errLocation = errLocation;
- this.ctxLocation = ctxLocation;
- this.message = `Parser Error: ${message} ${errLocation} [${input}] in ${ctxLocation}`;
- }
- }
- class ParseSpan {
- constructor(start, end) {
- this.start = start;
- this.end = end;
- }
- toAbsolute(absoluteOffset) {
- return new AbsoluteSourceSpan(absoluteOffset + this.start, absoluteOffset + this.end);
- }
- }
- class AST {
- constructor(span,
- /**
- * Absolute location of the expression AST in a source code file.
- */
- sourceSpan) {
- this.span = span;
- this.sourceSpan = sourceSpan;
- }
- toString() {
- return 'AST';
- }
- }
- class ASTWithName extends AST {
- constructor(span, sourceSpan, nameSpan) {
- super(span, sourceSpan);
- this.nameSpan = nameSpan;
- }
- }
- class EmptyExpr extends AST {
- visit(visitor, context = null) {// do nothing
- }
- }
- class ImplicitReceiver extends AST {
- visit(visitor, context = null) {
- return visitor.visitImplicitReceiver(this, context);
- }
- }
- /**
- * Receiver when something is accessed through `this` (e.g. `this.foo`). Note that this class
- * inherits from `ImplicitReceiver`, because accessing something through `this` is treated the
- * same as accessing it implicitly inside of an Angular template (e.g. `[attr.title]="this.title"`
- * is the same as `[attr.title]="title"`.). Inheriting allows for the `this` accesses to be treated
- * the same as implicit ones, except for a couple of exceptions like `$event` and `$any`.
- * TODO: we should find a way for this class not to extend from `ImplicitReceiver` in the future.
- */
- class ThisReceiver extends ImplicitReceiver {
- visit(visitor, context = null) {
- var _a;
- return (_a = visitor.visitThisReceiver) === null || _a === void 0 ? void 0 : _a.call(visitor, this, context);
- }
- }
- /**
- * Multiple expressions separated by a semicolon.
- */
- class Chain extends AST {
- constructor(span, sourceSpan, expressions) {
- super(span, sourceSpan);
- this.expressions = expressions;
- }
- visit(visitor, context = null) {
- return visitor.visitChain(this, context);
- }
- }
- class Conditional extends AST {
- constructor(span, sourceSpan, condition, trueExp, falseExp) {
- super(span, sourceSpan);
- this.condition = condition;
- this.trueExp = trueExp;
- this.falseExp = falseExp;
- }
- visit(visitor, context = null) {
- return visitor.visitConditional(this, context);
- }
- }
- class PropertyRead extends ASTWithName {
- constructor(span, sourceSpan, nameSpan, receiver, name) {
- super(span, sourceSpan, nameSpan);
- this.receiver = receiver;
- this.name = name;
- }
- visit(visitor, context = null) {
- return visitor.visitPropertyRead(this, context);
- }
- }
- class PropertyWrite extends ASTWithName {
- constructor(span, sourceSpan, nameSpan, receiver, name, value) {
- super(span, sourceSpan, nameSpan);
- this.receiver = receiver;
- this.name = name;
- this.value = value;
- }
- visit(visitor, context = null) {
- return visitor.visitPropertyWrite(this, context);
- }
- }
- class SafePropertyRead extends ASTWithName {
- constructor(span, sourceSpan, nameSpan, receiver, name) {
- super(span, sourceSpan, nameSpan);
- this.receiver = receiver;
- this.name = name;
- }
- visit(visitor, context = null) {
- return visitor.visitSafePropertyRead(this, context);
- }
- }
- class KeyedRead extends AST {
- constructor(span, sourceSpan, receiver, key) {
- super(span, sourceSpan);
- this.receiver = receiver;
- this.key = key;
- }
- visit(visitor, context = null) {
- return visitor.visitKeyedRead(this, context);
- }
- }
- class SafeKeyedRead extends AST {
- constructor(span, sourceSpan, receiver, key) {
- super(span, sourceSpan);
- this.receiver = receiver;
- this.key = key;
- }
- visit(visitor, context = null) {
- return visitor.visitSafeKeyedRead(this, context);
- }
- }
- class KeyedWrite extends AST {
- constructor(span, sourceSpan, receiver, key, value) {
- super(span, sourceSpan);
- this.receiver = receiver;
- this.key = key;
- this.value = value;
- }
- visit(visitor, context = null) {
- return visitor.visitKeyedWrite(this, context);
- }
- }
- class BindingPipe extends ASTWithName {
- constructor(span, sourceSpan, exp, name, args, nameSpan) {
- super(span, sourceSpan, nameSpan);
- this.exp = exp;
- this.name = name;
- this.args = args;
- }
- visit(visitor, context = null) {
- return visitor.visitPipe(this, context);
- }
- }
- class LiteralPrimitive extends AST {
- constructor(span, sourceSpan, value) {
- super(span, sourceSpan);
- this.value = value;
- }
- visit(visitor, context = null) {
- return visitor.visitLiteralPrimitive(this, context);
- }
- }
- class LiteralArray extends AST {
- constructor(span, sourceSpan, expressions) {
- super(span, sourceSpan);
- this.expressions = expressions;
- }
- visit(visitor, context = null) {
- return visitor.visitLiteralArray(this, context);
- }
- }
- class LiteralMap extends AST {
- constructor(span, sourceSpan, keys, values) {
- super(span, sourceSpan);
- this.keys = keys;
- this.values = values;
- }
- visit(visitor, context = null) {
- return visitor.visitLiteralMap(this, context);
- }
- }
- class Interpolation extends AST {
- constructor(span, sourceSpan, strings, expressions) {
- super(span, sourceSpan);
- this.strings = strings;
- this.expressions = expressions;
- }
- visit(visitor, context = null) {
- return visitor.visitInterpolation(this, context);
- }
- }
- class Binary extends AST {
- constructor(span, sourceSpan, operation, left, right) {
- super(span, sourceSpan);
- this.operation = operation;
- this.left = left;
- this.right = right;
- }
- visit(visitor, context = null) {
- return visitor.visitBinary(this, context);
- }
- }
- /**
- * For backwards compatibility reasons, `Unary` inherits from `Binary` and mimics the binary AST
- * node that was originally used. This inheritance relation can be deleted in some future major,
- * after consumers have been given a chance to fully support Unary.
- */
- class Unary extends Binary {
- /**
- * During the deprecation period this constructor is private, to avoid consumers from creating
- * a `Unary` with the fallback properties for `Binary`.
- */
- constructor(span, sourceSpan, operator, expr, binaryOp, binaryLeft, binaryRight) {
- super(span, sourceSpan, binaryOp, binaryLeft, binaryRight);
- this.operator = operator;
- this.expr = expr; // Redeclare the properties that are inherited from `Binary` as `never`, as consumers should not
- // depend on these fields when operating on `Unary`.
- this.left = null;
- this.right = null;
- this.operation = null;
- }
- /**
- * Creates a unary minus expression "-x", represented as `Binary` using "0 - x".
- */
- static createMinus(span, sourceSpan, expr) {
- return new Unary(span, sourceSpan, '-', expr, '-', new LiteralPrimitive(span, sourceSpan, 0), expr);
- }
- /**
- * Creates a unary plus expression "+x", represented as `Binary` using "x - 0".
- */
- static createPlus(span, sourceSpan, expr) {
- return new Unary(span, sourceSpan, '+', expr, '-', expr, new LiteralPrimitive(span, sourceSpan, 0));
- }
- visit(visitor, context = null) {
- if (visitor.visitUnary !== undefined) {
- return visitor.visitUnary(this, context);
- }
- return visitor.visitBinary(this, context);
- }
- }
- class PrefixNot extends AST {
- constructor(span, sourceSpan, expression) {
- super(span, sourceSpan);
- this.expression = expression;
- }
- visit(visitor, context = null) {
- return visitor.visitPrefixNot(this, context);
- }
- }
- class NonNullAssert extends AST {
- constructor(span, sourceSpan, expression) {
- super(span, sourceSpan);
- this.expression = expression;
- }
- visit(visitor, context = null) {
- return visitor.visitNonNullAssert(this, context);
- }
- }
- class Call extends AST {
- constructor(span, sourceSpan, receiver, args, argumentSpan) {
- super(span, sourceSpan);
- this.receiver = receiver;
- this.args = args;
- this.argumentSpan = argumentSpan;
- }
- visit(visitor, context = null) {
- return visitor.visitCall(this, context);
- }
- }
- class SafeCall extends AST {
- constructor(span, sourceSpan, receiver, args, argumentSpan) {
- super(span, sourceSpan);
- this.receiver = receiver;
- this.args = args;
- this.argumentSpan = argumentSpan;
- }
- visit(visitor, context = null) {
- return visitor.visitSafeCall(this, context);
- }
- }
- /**
- * Records the absolute position of a text span in a source file, where `start` and `end` are the
- * starting and ending byte offsets, respectively, of the text span in a source file.
- */
- class AbsoluteSourceSpan {
- constructor(start, end) {
- this.start = start;
- this.end = end;
- }
- }
- class ASTWithSource extends AST {
- constructor(ast, source, location, absoluteOffset, errors) {
- super(new ParseSpan(0, source === null ? 0 : source.length), new AbsoluteSourceSpan(absoluteOffset, source === null ? absoluteOffset : absoluteOffset + source.length));
- this.ast = ast;
- this.source = source;
- this.location = location;
- this.errors = errors;
- }
- visit(visitor, context = null) {
- if (visitor.visitASTWithSource) {
- return visitor.visitASTWithSource(this, context);
- }
- return this.ast.visit(visitor, context);
- }
- toString() {
- return `${this.source} in ${this.location}`;
- }
- }
- class VariableBinding {
- /**
- * @param sourceSpan entire span of the binding.
- * @param key name of the LHS along with its span.
- * @param value optional value for the RHS along with its span.
- */
- constructor(sourceSpan, key, value) {
- this.sourceSpan = sourceSpan;
- this.key = key;
- this.value = value;
- }
- }
- class ExpressionBinding {
- /**
- * @param sourceSpan entire span of the binding.
- * @param key binding name, like ngForOf, ngForTrackBy, ngIf, along with its
- * span. Note that the length of the span may not be the same as
- * `key.source.length`. For example,
- * 1. key.source = ngFor, key.span is for "ngFor"
- * 2. key.source = ngForOf, key.span is for "of"
- * 3. key.source = ngForTrackBy, key.span is for "trackBy"
- * @param value optional expression for the RHS.
- */
- constructor(sourceSpan, key, value) {
- this.sourceSpan = sourceSpan;
- this.key = key;
- this.value = value;
- }
- }
- class RecursiveAstVisitor {
- visit(ast, context) {
- // The default implementation just visits every node.
- // Classes that extend RecursiveAstVisitor should override this function
- // to selectively visit the specified node.
- ast.visit(this, context);
- }
- visitUnary(ast, context) {
- this.visit(ast.expr, context);
- }
- visitBinary(ast, context) {
- this.visit(ast.left, context);
- this.visit(ast.right, context);
- }
- visitChain(ast, context) {
- this.visitAll(ast.expressions, context);
- }
- visitConditional(ast, context) {
- this.visit(ast.condition, context);
- this.visit(ast.trueExp, context);
- this.visit(ast.falseExp, context);
- }
- visitPipe(ast, context) {
- this.visit(ast.exp, context);
- this.visitAll(ast.args, context);
- }
- visitImplicitReceiver(ast, context) {}
- visitThisReceiver(ast, context) {}
- visitInterpolation(ast, context) {
- this.visitAll(ast.expressions, context);
- }
- visitKeyedRead(ast, context) {
- this.visit(ast.receiver, context);
- this.visit(ast.key, context);
- }
- visitKeyedWrite(ast, context) {
- this.visit(ast.receiver, context);
- this.visit(ast.key, context);
- this.visit(ast.value, context);
- }
- visitLiteralArray(ast, context) {
- this.visitAll(ast.expressions, context);
- }
- visitLiteralMap(ast, context) {
- this.visitAll(ast.values, context);
- }
- visitLiteralPrimitive(ast, context) {}
- visitPrefixNot(ast, context) {
- this.visit(ast.expression, context);
- }
- visitNonNullAssert(ast, context) {
- this.visit(ast.expression, context);
- }
- visitPropertyRead(ast, context) {
- this.visit(ast.receiver, context);
- }
- visitPropertyWrite(ast, context) {
- this.visit(ast.receiver, context);
- this.visit(ast.value, context);
- }
- visitSafePropertyRead(ast, context) {
- this.visit(ast.receiver, context);
- }
- visitSafeKeyedRead(ast, context) {
- this.visit(ast.receiver, context);
- this.visit(ast.key, context);
- }
- visitCall(ast, context) {
- this.visit(ast.receiver, context);
- this.visitAll(ast.args, context);
- }
- visitSafeCall(ast, context) {
- this.visit(ast.receiver, context);
- this.visitAll(ast.args, context);
- } // This is not part of the AstVisitor interface, just a helper method
- visitAll(asts, context) {
- for (const ast of asts) {
- this.visit(ast, context);
- }
- }
- }
- class AstTransformer {
- visitImplicitReceiver(ast, context) {
- return ast;
- }
- visitThisReceiver(ast, context) {
- return ast;
- }
- visitInterpolation(ast, context) {
- return new Interpolation(ast.span, ast.sourceSpan, ast.strings, this.visitAll(ast.expressions));
- }
- visitLiteralPrimitive(ast, context) {
- return new LiteralPrimitive(ast.span, ast.sourceSpan, ast.value);
- }
- visitPropertyRead(ast, context) {
- return new PropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name);
- }
- visitPropertyWrite(ast, context) {
- return new PropertyWrite(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name, ast.value.visit(this));
- }
- visitSafePropertyRead(ast, context) {
- return new SafePropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, ast.receiver.visit(this), ast.name);
- }
- visitLiteralArray(ast, context) {
- return new LiteralArray(ast.span, ast.sourceSpan, this.visitAll(ast.expressions));
- }
- visitLiteralMap(ast, context) {
- return new LiteralMap(ast.span, ast.sourceSpan, ast.keys, this.visitAll(ast.values));
- }
- visitUnary(ast, context) {
- switch (ast.operator) {
- case '+':
- return Unary.createPlus(ast.span, ast.sourceSpan, ast.expr.visit(this));
- case '-':
- return Unary.createMinus(ast.span, ast.sourceSpan, ast.expr.visit(this));
- default:
- throw new Error(`Unknown unary operator ${ast.operator}`);
- }
- }
- visitBinary(ast, context) {
- return new Binary(ast.span, ast.sourceSpan, ast.operation, ast.left.visit(this), ast.right.visit(this));
- }
- visitPrefixNot(ast, context) {
- return new PrefixNot(ast.span, ast.sourceSpan, ast.expression.visit(this));
- }
- visitNonNullAssert(ast, context) {
- return new NonNullAssert(ast.span, ast.sourceSpan, ast.expression.visit(this));
- }
- visitConditional(ast, context) {
- return new Conditional(ast.span, ast.sourceSpan, ast.condition.visit(this), ast.trueExp.visit(this), ast.falseExp.visit(this));
- }
- visitPipe(ast, context) {
- return new BindingPipe(ast.span, ast.sourceSpan, ast.exp.visit(this), ast.name, this.visitAll(ast.args), ast.nameSpan);
- }
- visitKeyedRead(ast, context) {
- return new KeyedRead(ast.span, ast.sourceSpan, ast.receiver.visit(this), ast.key.visit(this));
- }
- visitKeyedWrite(ast, context) {
- return new KeyedWrite(ast.span, ast.sourceSpan, ast.receiver.visit(this), ast.key.visit(this), ast.value.visit(this));
- }
- visitCall(ast, context) {
- return new Call(ast.span, ast.sourceSpan, ast.receiver.visit(this), this.visitAll(ast.args), ast.argumentSpan);
- }
- visitSafeCall(ast, context) {
- return new SafeCall(ast.span, ast.sourceSpan, ast.receiver.visit(this), this.visitAll(ast.args), ast.argumentSpan);
- }
- visitAll(asts) {
- const res = [];
- for (let i = 0; i < asts.length; ++i) {
- res[i] = asts[i].visit(this);
- }
- return res;
- }
- visitChain(ast, context) {
- return new Chain(ast.span, ast.sourceSpan, this.visitAll(ast.expressions));
- }
- visitSafeKeyedRead(ast, context) {
- return new SafeKeyedRead(ast.span, ast.sourceSpan, ast.receiver.visit(this), ast.key.visit(this));
- }
- } // A transformer that only creates new nodes if the transformer makes a change or
- // a change is made a child node.
- class AstMemoryEfficientTransformer {
- visitImplicitReceiver(ast, context) {
- return ast;
- }
- visitThisReceiver(ast, context) {
- return ast;
- }
- visitInterpolation(ast, context) {
- const expressions = this.visitAll(ast.expressions);
- if (expressions !== ast.expressions) return new Interpolation(ast.span, ast.sourceSpan, ast.strings, expressions);
- return ast;
- }
- visitLiteralPrimitive(ast, context) {
- return ast;
- }
- visitPropertyRead(ast, context) {
- const receiver = ast.receiver.visit(this);
- if (receiver !== ast.receiver) {
- return new PropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name);
- }
- return ast;
- }
- visitPropertyWrite(ast, context) {
- const receiver = ast.receiver.visit(this);
- const value = ast.value.visit(this);
- if (receiver !== ast.receiver || value !== ast.value) {
- return new PropertyWrite(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name, value);
- }
- return ast;
- }
- visitSafePropertyRead(ast, context) {
- const receiver = ast.receiver.visit(this);
- if (receiver !== ast.receiver) {
- return new SafePropertyRead(ast.span, ast.sourceSpan, ast.nameSpan, receiver, ast.name);
- }
- return ast;
- }
- visitLiteralArray(ast, context) {
- const expressions = this.visitAll(ast.expressions);
- if (expressions !== ast.expressions) {
- return new LiteralArray(ast.span, ast.sourceSpan, expressions);
- }
- return ast;
- }
- visitLiteralMap(ast, context) {
- const values = this.visitAll(ast.values);
- if (values !== ast.values) {
- return new LiteralMap(ast.span, ast.sourceSpan, ast.keys, values);
- }
- return ast;
- }
- visitUnary(ast, context) {
- const expr = ast.expr.visit(this);
- if (expr !== ast.expr) {
- switch (ast.operator) {
- case '+':
- return Unary.createPlus(ast.span, ast.sourceSpan, expr);
- case '-':
- return Unary.createMinus(ast.span, ast.sourceSpan, expr);
- default:
- throw new Error(`Unknown unary operator ${ast.operator}`);
- }
- }
- return ast;
- }
- visitBinary(ast, context) {
- const left = ast.left.visit(this);
- const right = ast.right.visit(this);
- if (left !== ast.left || right !== ast.right) {
- return new Binary(ast.span, ast.sourceSpan, ast.operation, left, right);
- }
- return ast;
- }
- visitPrefixNot(ast, context) {
- const expression = ast.expression.visit(this);
- if (expression !== ast.expression) {
- return new PrefixNot(ast.span, ast.sourceSpan, expression);
- }
- return ast;
- }
- visitNonNullAssert(ast, context) {
- const expression = ast.expression.visit(this);
- if (expression !== ast.expression) {
- return new NonNullAssert(ast.span, ast.sourceSpan, expression);
- }
- return ast;
- }
- visitConditional(ast, context) {
- const condition = ast.condition.visit(this);
- const trueExp = ast.trueExp.visit(this);
- const falseExp = ast.falseExp.visit(this);
- if (condition !== ast.condition || trueExp !== ast.trueExp || falseExp !== ast.falseExp) {
- return new Conditional(ast.span, ast.sourceSpan, condition, trueExp, falseExp);
- }
- return ast;
- }
- visitPipe(ast, context) {
- const exp = ast.exp.visit(this);
- const args = this.visitAll(ast.args);
- if (exp !== ast.exp || args !== ast.args) {
- return new BindingPipe(ast.span, ast.sourceSpan, exp, ast.name, args, ast.nameSpan);
- }
- return ast;
- }
- visitKeyedRead(ast, context) {
- const obj = ast.receiver.visit(this);
- const key = ast.key.visit(this);
- if (obj !== ast.receiver || key !== ast.key) {
- return new KeyedRead(ast.span, ast.sourceSpan, obj, key);
- }
- return ast;
- }
- visitKeyedWrite(ast, context) {
- const obj = ast.receiver.visit(this);
- const key = ast.key.visit(this);
- const value = ast.value.visit(this);
- if (obj !== ast.receiver || key !== ast.key || value !== ast.value) {
- return new KeyedWrite(ast.span, ast.sourceSpan, obj, key, value);
- }
- return ast;
- }
- visitAll(asts) {
- const res = [];
- let modified = false;
- for (let i = 0; i < asts.length; ++i) {
- const original = asts[i];
- const value = original.visit(this);
- res[i] = value;
- modified = modified || value !== original;
- }
- return modified ? res : asts;
- }
- visitChain(ast, context) {
- const expressions = this.visitAll(ast.expressions);
- if (expressions !== ast.expressions) {
- return new Chain(ast.span, ast.sourceSpan, expressions);
- }
- return ast;
- }
- visitCall(ast, context) {
- const receiver = ast.receiver.visit(this);
- const args = this.visitAll(ast.args);
- if (receiver !== ast.receiver || args !== ast.args) {
- return new Call(ast.span, ast.sourceSpan, receiver, args, ast.argumentSpan);
- }
- return ast;
- }
- visitSafeCall(ast, context) {
- const receiver = ast.receiver.visit(this);
- const args = this.visitAll(ast.args);
- if (receiver !== ast.receiver || args !== ast.args) {
- return new SafeCall(ast.span, ast.sourceSpan, receiver, args, ast.argumentSpan);
- }
- return ast;
- }
- visitSafeKeyedRead(ast, context) {
- const obj = ast.receiver.visit(this);
- const key = ast.key.visit(this);
- if (obj !== ast.receiver || key !== ast.key) {
- return new SafeKeyedRead(ast.span, ast.sourceSpan, obj, key);
- }
- return ast;
- }
- } // Bindings
- class ParsedProperty {
- constructor(name, expression, type, sourceSpan, keySpan, valueSpan) {
- this.name = name;
- this.expression = expression;
- this.type = type;
- this.sourceSpan = sourceSpan;
- this.keySpan = keySpan;
- this.valueSpan = valueSpan;
- this.isLiteral = this.type === ParsedPropertyType.LITERAL_ATTR;
- this.isAnimation = this.type === ParsedPropertyType.ANIMATION;
- }
- }
- var ParsedPropertyType;
- (function (ParsedPropertyType) {
- ParsedPropertyType[ParsedPropertyType["DEFAULT"] = 0] = "DEFAULT";
- ParsedPropertyType[ParsedPropertyType["LITERAL_ATTR"] = 1] = "LITERAL_ATTR";
- ParsedPropertyType[ParsedPropertyType["ANIMATION"] = 2] = "ANIMATION";
- })(ParsedPropertyType || (ParsedPropertyType = {}));
- class ParsedEvent {
- // Regular events have a target
- // Animation events have a phase
- constructor(name, targetOrPhase, type, handler, sourceSpan, handlerSpan, keySpan) {
- this.name = name;
- this.targetOrPhase = targetOrPhase;
- this.type = type;
- this.handler = handler;
- this.sourceSpan = sourceSpan;
- this.handlerSpan = handlerSpan;
- this.keySpan = keySpan;
- }
- }
- /**
- * ParsedVariable represents a variable declaration in a microsyntax expression.
- */
- class ParsedVariable {
- constructor(name, value, sourceSpan, keySpan, valueSpan) {
- this.name = name;
- this.value = value;
- this.sourceSpan = sourceSpan;
- this.keySpan = keySpan;
- this.valueSpan = valueSpan;
- }
- }
- class BoundElementProperty {
- constructor(name, type, securityContext, value, unit, sourceSpan, keySpan, valueSpan) {
- this.name = name;
- this.type = type;
- this.securityContext = securityContext;
- this.value = value;
- this.unit = unit;
- this.sourceSpan = sourceSpan;
- this.keySpan = keySpan;
- this.valueSpan = valueSpan;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class EventHandlerVars {}
- EventHandlerVars.event = variable('$event');
- /**
- * Converts the given expression AST into an executable output AST, assuming the expression is
- * used in an action binding (e.g. an event handler).
- */
- function convertActionBinding(localResolver, implicitReceiver, action, bindingId, baseSourceSpan, implicitReceiverAccesses, globals) {
- if (!localResolver) {
- localResolver = new DefaultLocalResolver(globals);
- }
- const actionWithoutBuiltins = convertPropertyBindingBuiltins({
- createLiteralArrayConverter: argCount => {
- // Note: no caching for literal arrays in actions.
- return args => literalArr(args);
- },
- createLiteralMapConverter: keys => {
- // Note: no caching for literal maps in actions.
- return values => {
- const entries = keys.map((k, i) => ({
- key: k.key,
- value: values[i],
- quoted: k.quoted
- }));
- return literalMap(entries);
- };
- },
- createPipeConverter: name => {
- throw new Error(`Illegal State: Actions are not allowed to contain pipes. Pipe: ${name}`);
- }
- }, action);
- const visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId,
- /* supportsInterpolation */
- false, baseSourceSpan, implicitReceiverAccesses);
- const actionStmts = [];
- flattenStatements(actionWithoutBuiltins.visit(visitor, _Mode.Statement), actionStmts);
- prependTemporaryDecls(visitor.temporaryCount, bindingId, actionStmts);
- if (visitor.usesImplicitReceiver) {
- localResolver.notifyImplicitReceiverUse();
- }
- const lastIndex = actionStmts.length - 1;
- if (lastIndex >= 0) {
- const lastStatement = actionStmts[lastIndex]; // Ensure that the value of the last expression statement is returned
- if (lastStatement instanceof ExpressionStatement) {
- actionStmts[lastIndex] = new ReturnStatement(lastStatement.expr);
- }
- }
- return actionStmts;
- }
- function convertPropertyBindingBuiltins(converterFactory, ast) {
- return convertBuiltins(converterFactory, ast);
- }
- class ConvertPropertyBindingResult {
- constructor(stmts, currValExpr) {
- this.stmts = stmts;
- this.currValExpr = currValExpr;
- }
- }
- /**
- * Converts the given expression AST into an executable output AST, assuming the expression
- * is used in property binding. The expression has to be preprocessed via
- * `convertPropertyBindingBuiltins`.
- */
- function convertPropertyBinding(localResolver, implicitReceiver, expressionWithoutBuiltins, bindingId) {
- if (!localResolver) {
- localResolver = new DefaultLocalResolver();
- }
- const visitor = new _AstToIrVisitor(localResolver, implicitReceiver, bindingId,
- /* supportsInterpolation */
- false);
- const outputExpr = expressionWithoutBuiltins.visit(visitor, _Mode.Expression);
- const stmts = getStatementsFromVisitor(visitor, bindingId);
- if (visitor.usesImplicitReceiver) {
- localResolver.notifyImplicitReceiverUse();
- }
- return new ConvertPropertyBindingResult(stmts, outputExpr);
- }
- /**
- * Given some expression, such as a binding or interpolation expression, and a context expression to
- * look values up on, visit each facet of the given expression resolving values from the context
- * expression such that a list of arguments can be derived from the found values that can be used as
- * arguments to an external update instruction.
- *
- * @param localResolver The resolver to use to look up expressions by name appropriately
- * @param contextVariableExpression The expression representing the context variable used to create
- * the final argument expressions
- * @param expressionWithArgumentsToExtract The expression to visit to figure out what values need to
- * be resolved and what arguments list to build.
- * @param bindingId A name prefix used to create temporary variable names if they're needed for the
- * arguments generated
- * @returns An array of expressions that can be passed as arguments to instruction expressions like
- * `o.importExpr(R3.propertyInterpolate).callFn(result)`
- */
- function convertUpdateArguments(localResolver, contextVariableExpression, expressionWithArgumentsToExtract, bindingId) {
- const visitor = new _AstToIrVisitor(localResolver, contextVariableExpression, bindingId,
- /* supportsInterpolation */
- true);
- const outputExpr = visitor.visitInterpolation(expressionWithArgumentsToExtract, _Mode.Expression);
- if (visitor.usesImplicitReceiver) {
- localResolver.notifyImplicitReceiverUse();
- }
- const stmts = getStatementsFromVisitor(visitor, bindingId);
- const args = outputExpr.args;
- return {
- stmts,
- args
- };
- }
- function getStatementsFromVisitor(visitor, bindingId) {
- const stmts = [];
- for (let i = 0; i < visitor.temporaryCount; i++) {
- stmts.push(temporaryDeclaration(bindingId, i));
- }
- return stmts;
- }
- function convertBuiltins(converterFactory, ast) {
- const visitor = new _BuiltinAstConverter(converterFactory);
- return ast.visit(visitor);
- }
- function temporaryName(bindingId, temporaryNumber) {
- return `tmp_${bindingId}_${temporaryNumber}`;
- }
- function temporaryDeclaration(bindingId, temporaryNumber) {
- return new DeclareVarStmt(temporaryName(bindingId, temporaryNumber));
- }
- function prependTemporaryDecls(temporaryCount, bindingId, statements) {
- for (let i = temporaryCount - 1; i >= 0; i--) {
- statements.unshift(temporaryDeclaration(bindingId, i));
- }
- }
- var _Mode;
- (function (_Mode) {
- _Mode[_Mode["Statement"] = 0] = "Statement";
- _Mode[_Mode["Expression"] = 1] = "Expression";
- })(_Mode || (_Mode = {}));
- function ensureStatementMode(mode, ast) {
- if (mode !== _Mode.Statement) {
- throw new Error(`Expected a statement, but saw ${ast}`);
- }
- }
- function ensureExpressionMode(mode, ast) {
- if (mode !== _Mode.Expression) {
- throw new Error(`Expected an expression, but saw ${ast}`);
- }
- }
- function convertToStatementIfNeeded(mode, expr) {
- if (mode === _Mode.Statement) {
- return expr.toStmt();
- } else {
- return expr;
- }
- }
- class _BuiltinAstConverter extends AstTransformer {
- constructor(_converterFactory) {
- super();
- this._converterFactory = _converterFactory;
- }
- visitPipe(ast, context) {
- const args = [ast.exp, ...ast.args].map(ast => ast.visit(this, context));
- return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createPipeConverter(ast.name, args.length));
- }
- visitLiteralArray(ast, context) {
- const args = ast.expressions.map(ast => ast.visit(this, context));
- return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createLiteralArrayConverter(ast.expressions.length));
- }
- visitLiteralMap(ast, context) {
- const args = ast.values.map(ast => ast.visit(this, context));
- return new BuiltinFunctionCall(ast.span, ast.sourceSpan, args, this._converterFactory.createLiteralMapConverter(ast.keys));
- }
- }
- class _AstToIrVisitor {
- constructor(_localResolver, _implicitReceiver, bindingId, supportsInterpolation, baseSourceSpan, implicitReceiverAccesses) {
- this._localResolver = _localResolver;
- this._implicitReceiver = _implicitReceiver;
- this.bindingId = bindingId;
- this.supportsInterpolation = supportsInterpolation;
- this.baseSourceSpan = baseSourceSpan;
- this.implicitReceiverAccesses = implicitReceiverAccesses;
- this._nodeMap = new Map();
- this._resultMap = new Map();
- this._currentTemporary = 0;
- this.temporaryCount = 0;
- this.usesImplicitReceiver = false;
- }
- visitUnary(ast, mode) {
- let op;
- switch (ast.operator) {
- case '+':
- op = UnaryOperator.Plus;
- break;
- case '-':
- op = UnaryOperator.Minus;
- break;
- default:
- throw new Error(`Unsupported operator ${ast.operator}`);
- }
- return convertToStatementIfNeeded(mode, new UnaryOperatorExpr(op, this._visit(ast.expr, _Mode.Expression), undefined, this.convertSourceSpan(ast.span)));
- }
- visitBinary(ast, mode) {
- let op;
- switch (ast.operation) {
- case '+':
- op = BinaryOperator.Plus;
- break;
- case '-':
- op = BinaryOperator.Minus;
- break;
- case '*':
- op = BinaryOperator.Multiply;
- break;
- case '/':
- op = BinaryOperator.Divide;
- break;
- case '%':
- op = BinaryOperator.Modulo;
- break;
- case '&&':
- op = BinaryOperator.And;
- break;
- case '||':
- op = BinaryOperator.Or;
- break;
- case '==':
- op = BinaryOperator.Equals;
- break;
- case '!=':
- op = BinaryOperator.NotEquals;
- break;
- case '===':
- op = BinaryOperator.Identical;
- break;
- case '!==':
- op = BinaryOperator.NotIdentical;
- break;
- case '<':
- op = BinaryOperator.Lower;
- break;
- case '>':
- op = BinaryOperator.Bigger;
- break;
- case '<=':
- op = BinaryOperator.LowerEquals;
- break;
- case '>=':
- op = BinaryOperator.BiggerEquals;
- break;
- case '??':
- return this.convertNullishCoalesce(ast, mode);
- default:
- throw new Error(`Unsupported operation ${ast.operation}`);
- }
- return convertToStatementIfNeeded(mode, new BinaryOperatorExpr(op, this._visit(ast.left, _Mode.Expression), this._visit(ast.right, _Mode.Expression), undefined, this.convertSourceSpan(ast.span)));
- }
- visitChain(ast, mode) {
- ensureStatementMode(mode, ast);
- return this.visitAll(ast.expressions, mode);
- }
- visitConditional(ast, mode) {
- const value = this._visit(ast.condition, _Mode.Expression);
- return convertToStatementIfNeeded(mode, value.conditional(this._visit(ast.trueExp, _Mode.Expression), this._visit(ast.falseExp, _Mode.Expression), this.convertSourceSpan(ast.span)));
- }
- visitPipe(ast, mode) {
- throw new Error(`Illegal state: Pipes should have been converted into functions. Pipe: ${ast.name}`);
- }
- visitImplicitReceiver(ast, mode) {
- ensureExpressionMode(mode, ast);
- this.usesImplicitReceiver = true;
- return this._implicitReceiver;
- }
- visitThisReceiver(ast, mode) {
- return this.visitImplicitReceiver(ast, mode);
- }
- visitInterpolation(ast, mode) {
- if (!this.supportsInterpolation) {
- throw new Error('Unexpected interpolation');
- }
- ensureExpressionMode(mode, ast);
- let args = [];
- for (let i = 0; i < ast.strings.length - 1; i++) {
- args.push(literal(ast.strings[i]));
- args.push(this._visit(ast.expressions[i], _Mode.Expression));
- }
- 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
- // args returned to just the value, because we're going to pass it to a special instruction.
- const strings = ast.strings;
- if (strings.length === 2 && strings[0] === '' && strings[1] === '') {
- // Single argument interpolate instructions.
- args = [args[1]];
- } else if (ast.expressions.length >= 9) {
- // 9 or more arguments must be passed to the `interpolateV`-style instructions, which accept
- // an array of arguments
- args = [literalArr(args)];
- }
- return new InterpolationExpression(args);
- }
- visitKeyedRead(ast, mode) {
- const leftMostSafe = this.leftMostSafeNode(ast);
- if (leftMostSafe) {
- return this.convertSafeAccess(ast, leftMostSafe, mode);
- } else {
- return convertToStatementIfNeeded(mode, this._visit(ast.receiver, _Mode.Expression).key(this._visit(ast.key, _Mode.Expression)));
- }
- }
- visitKeyedWrite(ast, mode) {
- const obj = this._visit(ast.receiver, _Mode.Expression);
- const key = this._visit(ast.key, _Mode.Expression);
- const value = this._visit(ast.value, _Mode.Expression);
- if (obj === this._implicitReceiver) {
- this._localResolver.maybeRestoreView();
- }
- return convertToStatementIfNeeded(mode, obj.key(key).set(value));
- }
- visitLiteralArray(ast, mode) {
- throw new Error(`Illegal State: literal arrays should have been converted into functions`);
- }
- visitLiteralMap(ast, mode) {
- throw new Error(`Illegal State: literal maps should have been converted into functions`);
- }
- visitLiteralPrimitive(ast, mode) {
- // For literal values of null, undefined, true, or false allow type interference
- // to infer the type.
- const type = ast.value === null || ast.value === undefined || ast.value === true || ast.value === true ? INFERRED_TYPE : undefined;
- return convertToStatementIfNeeded(mode, literal(ast.value, type, this.convertSourceSpan(ast.span)));
- }
- _getLocal(name, receiver) {
- var _a;
- if (((_a = this._localResolver.globals) === null || _a === void 0 ? void 0 : _a.has(name)) && receiver instanceof ThisReceiver) {
- return null;
- }
- return this._localResolver.getLocal(name);
- }
- visitPrefixNot(ast, mode) {
- return convertToStatementIfNeeded(mode, not(this._visit(ast.expression, _Mode.Expression)));
- }
- visitNonNullAssert(ast, mode) {
- return convertToStatementIfNeeded(mode, this._visit(ast.expression, _Mode.Expression));
- }
- visitPropertyRead(ast, mode) {
- const leftMostSafe = this.leftMostSafeNode(ast);
- if (leftMostSafe) {
- return this.convertSafeAccess(ast, leftMostSafe, mode);
- } else {
- let result = null;
- const prevUsesImplicitReceiver = this.usesImplicitReceiver;
- const receiver = this._visit(ast.receiver, _Mode.Expression);
- if (receiver === this._implicitReceiver) {
- result = this._getLocal(ast.name, ast.receiver);
- if (result) {
- // Restore the previous "usesImplicitReceiver" state since the implicit
- // receiver has been replaced with a resolved local expression.
- this.usesImplicitReceiver = prevUsesImplicitReceiver;
- this.addImplicitReceiverAccess(ast.name);
- }
- }
- if (result == null) {
- result = receiver.prop(ast.name, this.convertSourceSpan(ast.span));
- }
- return convertToStatementIfNeeded(mode, result);
- }
- }
- visitPropertyWrite(ast, mode) {
- const receiver = this._visit(ast.receiver, _Mode.Expression);
- const prevUsesImplicitReceiver = this.usesImplicitReceiver;
- let varExpr = null;
- if (receiver === this._implicitReceiver) {
- const localExpr = this._getLocal(ast.name, ast.receiver);
- if (localExpr) {
- if (localExpr instanceof ReadPropExpr) {
- // If the local variable is a property read expression, it's a reference
- // to a 'context.property' value and will be used as the target of the
- // write expression.
- varExpr = localExpr; // Restore the previous "usesImplicitReceiver" state since the implicit
- // receiver has been replaced with a resolved local expression.
- this.usesImplicitReceiver = prevUsesImplicitReceiver;
- this.addImplicitReceiverAccess(ast.name);
- } else {
- // Otherwise it's an error.
- const receiver = ast.name;
- const value = ast.value instanceof PropertyRead ? ast.value.name : undefined;
- throw new Error(`Cannot assign value "${value}" to template variable "${receiver}". Template variables are read-only.`);
- }
- }
- } // If no local expression could be produced, use the original receiver's
- // property as the target.
- if (varExpr === null) {
- varExpr = receiver.prop(ast.name, this.convertSourceSpan(ast.span));
- }
- return convertToStatementIfNeeded(mode, varExpr.set(this._visit(ast.value, _Mode.Expression)));
- }
- visitSafePropertyRead(ast, mode) {
- return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);
- }
- visitSafeKeyedRead(ast, mode) {
- return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);
- }
- visitAll(asts, mode) {
- return asts.map(ast => this._visit(ast, mode));
- }
- visitCall(ast, mode) {
- const leftMostSafe = this.leftMostSafeNode(ast);
- if (leftMostSafe) {
- return this.convertSafeAccess(ast, leftMostSafe, mode);
- }
- const convertedArgs = this.visitAll(ast.args, _Mode.Expression);
- if (ast instanceof BuiltinFunctionCall) {
- return convertToStatementIfNeeded(mode, ast.converter(convertedArgs));
- }
- const receiver = ast.receiver;
- if (receiver instanceof PropertyRead && receiver.receiver instanceof ImplicitReceiver && !(receiver.receiver instanceof ThisReceiver) && receiver.name === '$any') {
- if (convertedArgs.length !== 1) {
- throw new Error(`Invalid call to $any, expected 1 argument but received ${convertedArgs.length || 'none'}`);
- }
- return convertToStatementIfNeeded(mode, convertedArgs[0]);
- }
- const call = this._visit(receiver, _Mode.Expression).callFn(convertedArgs, this.convertSourceSpan(ast.span));
- return convertToStatementIfNeeded(mode, call);
- }
- visitSafeCall(ast, mode) {
- return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);
- }
- _visit(ast, mode) {
- const result = this._resultMap.get(ast);
- if (result) return result;
- return (this._nodeMap.get(ast) || ast).visit(this, mode);
- }
- convertSafeAccess(ast, leftMostSafe, mode) {
- // If the expression contains a safe access node on the left it needs to be converted to
- // an expression that guards the access to the member by checking the receiver for blank. As
- // execution proceeds from left to right, the left most part of the expression must be guarded
- // first but, because member access is left associative, the right side of the expression is at
- // the top of the AST. The desired result requires lifting a copy of the left part of the
- // expression up to test it for blank before generating the unguarded version.
- // Consider, for example the following expression: a?.b.c?.d.e
- // This results in the ast:
- // .
- // / \
- // ?. e
- // / \
- // . d
- // / \
- // ?. c
- // / \
- // a b
- // The following tree should be generated:
- //
- // /---- ? ----\
- // / | \
- // a /--- ? ---\ null
- // / | \
- // . . null
- // / \ / \
- // . c . e
- // / \ / \
- // a b . d
- // / \
- // . c
- // / \
- // a b
- //
- // Notice that the first guard condition is the left hand of the left most safe access node
- // which comes in as leftMostSafe to this routine.
- let guardedExpression = this._visit(leftMostSafe.receiver, _Mode.Expression);
- let temporary = undefined;
- if (this.needsTemporaryInSafeAccess(leftMostSafe.receiver)) {
- // If the expression has method calls or pipes then we need to save the result into a
- // temporary variable to avoid calling stateful or impure code more than once.
- temporary = this.allocateTemporary(); // Preserve the result in the temporary variable
- guardedExpression = temporary.set(guardedExpression); // Ensure all further references to the guarded expression refer to the temporary instead.
- this._resultMap.set(leftMostSafe.receiver, temporary);
- }
- const condition = guardedExpression.isBlank(); // Convert the ast to an unguarded access to the receiver's member. The map will substitute
- // leftMostNode with its unguarded version in the call to `this.visit()`.
- if (leftMostSafe instanceof SafeCall) {
- this._nodeMap.set(leftMostSafe, new Call(leftMostSafe.span, leftMostSafe.sourceSpan, leftMostSafe.receiver, leftMostSafe.args, leftMostSafe.argumentSpan));
- } else if (leftMostSafe instanceof SafeKeyedRead) {
- this._nodeMap.set(leftMostSafe, new KeyedRead(leftMostSafe.span, leftMostSafe.sourceSpan, leftMostSafe.receiver, leftMostSafe.key));
- } else {
- this._nodeMap.set(leftMostSafe, new PropertyRead(leftMostSafe.span, leftMostSafe.sourceSpan, leftMostSafe.nameSpan, leftMostSafe.receiver, leftMostSafe.name));
- } // Recursively convert the node now without the guarded member access.
- const access = this._visit(ast, _Mode.Expression); // Remove the mapping. This is not strictly required as the converter only traverses each node
- // once but is safer if the conversion is changed to traverse the nodes more than once.
- this._nodeMap.delete(leftMostSafe); // If we allocated a temporary, release it.
- if (temporary) {
- this.releaseTemporary(temporary);
- } // Produce the conditional
- return convertToStatementIfNeeded(mode, condition.conditional(NULL_EXPR, access));
- }
- convertNullishCoalesce(ast, mode) {
- const left = this._visit(ast.left, _Mode.Expression);
- const right = this._visit(ast.right, _Mode.Expression);
- const temporary = this.allocateTemporary();
- this.releaseTemporary(temporary); // Generate the following expression. It is identical to how TS
- // transpiles binary expressions with a nullish coalescing operator.
- // let temp;
- // (temp = a) !== null && temp !== undefined ? temp : b;
- return convertToStatementIfNeeded(mode, temporary.set(left).notIdentical(NULL_EXPR).and(temporary.notIdentical(literal(undefined))).conditional(temporary, right));
- } // Given an expression of the form a?.b.c?.d.e then the left most safe node is
- // the (a?.b). The . and ?. are left associative thus can be rewritten as:
- // ((((a?.c).b).c)?.d).e. This returns the most deeply nested safe read or
- // safe method call as this needs to be transformed initially to:
- // a == null ? null : a.c.b.c?.d.e
- // then to:
- // a == null ? null : a.b.c == null ? null : a.b.c.d.e
- leftMostSafeNode(ast) {
- const visit = (visitor, ast) => {
- return (this._nodeMap.get(ast) || ast).visit(visitor);
- };
- return ast.visit({
- visitUnary(ast) {
- return null;
- },
- visitBinary(ast) {
- return null;
- },
- visitChain(ast) {
- return null;
- },
- visitConditional(ast) {
- return null;
- },
- visitCall(ast) {
- return visit(this, ast.receiver);
- },
- visitSafeCall(ast) {
- return visit(this, ast.receiver) || ast;
- },
- visitImplicitReceiver(ast) {
- return null;
- },
- visitThisReceiver(ast) {
- return null;
- },
- visitInterpolation(ast) {
- return null;
- },
- visitKeyedRead(ast) {
- return visit(this, ast.receiver);
- },
- visitKeyedWrite(ast) {
- return null;
- },
- visitLiteralArray(ast) {
- return null;
- },
- visitLiteralMap(ast) {
- return null;
- },
- visitLiteralPrimitive(ast) {
- return null;
- },
- visitPipe(ast) {
- return null;
- },
- visitPrefixNot(ast) {
- return null;
- },
- visitNonNullAssert(ast) {
- return null;
- },
- visitPropertyRead(ast) {
- return visit(this, ast.receiver);
- },
- visitPropertyWrite(ast) {
- return null;
- },
- visitSafePropertyRead(ast) {
- return visit(this, ast.receiver) || ast;
- },
- visitSafeKeyedRead(ast) {
- return visit(this, ast.receiver) || ast;
- }
- });
- } // Returns true of the AST includes a method or a pipe indicating that, if the
- // expression is used as the target of a safe property or method access then
- // the expression should be stored into a temporary variable.
- needsTemporaryInSafeAccess(ast) {
- const visit = (visitor, ast) => {
- return ast && (this._nodeMap.get(ast) || ast).visit(visitor);
- };
- const visitSome = (visitor, ast) => {
- return ast.some(ast => visit(visitor, ast));
- };
- return ast.visit({
- visitUnary(ast) {
- return visit(this, ast.expr);
- },
- visitBinary(ast) {
- return visit(this, ast.left) || visit(this, ast.right);
- },
- visitChain(ast) {
- return false;
- },
- visitConditional(ast) {
- return visit(this, ast.condition) || visit(this, ast.trueExp) || visit(this, ast.falseExp);
- },
- visitCall(ast) {
- return true;
- },
- visitSafeCall(ast) {
- return true;
- },
- visitImplicitReceiver(ast) {
- return false;
- },
- visitThisReceiver(ast) {
- return false;
- },
- visitInterpolation(ast) {
- return visitSome(this, ast.expressions);
- },
- visitKeyedRead(ast) {
- return false;
- },
- visitKeyedWrite(ast) {
- return false;
- },
- visitLiteralArray(ast) {
- return true;
- },
- visitLiteralMap(ast) {
- return true;
- },
- visitLiteralPrimitive(ast) {
- return false;
- },
- visitPipe(ast) {
- return true;
- },
- visitPrefixNot(ast) {
- return visit(this, ast.expression);
- },
- visitNonNullAssert(ast) {
- return visit(this, ast.expression);
- },
- visitPropertyRead(ast) {
- return false;
- },
- visitPropertyWrite(ast) {
- return false;
- },
- visitSafePropertyRead(ast) {
- return false;
- },
- visitSafeKeyedRead(ast) {
- return false;
- }
- });
- }
- allocateTemporary() {
- const tempNumber = this._currentTemporary++;
- this.temporaryCount = Math.max(this._currentTemporary, this.temporaryCount);
- return new ReadVarExpr(temporaryName(this.bindingId, tempNumber));
- }
- releaseTemporary(temporary) {
- this._currentTemporary--;
- if (temporary.name != temporaryName(this.bindingId, this._currentTemporary)) {
- throw new Error(`Temporary ${temporary.name} released out of order`);
- }
- }
- /**
- * Creates an absolute `ParseSourceSpan` from the relative `ParseSpan`.
- *
- * `ParseSpan` objects are relative to the start of the expression.
- * This method converts these to full `ParseSourceSpan` objects that
- * show where the span is within the overall source file.
- *
- * @param span the relative span to convert.
- * @returns a `ParseSourceSpan` for the given span or null if no
- * `baseSourceSpan` was provided to this class.
- */
- convertSourceSpan(span) {
- if (this.baseSourceSpan) {
- const start = this.baseSourceSpan.start.moveBy(span.start);
- const end = this.baseSourceSpan.start.moveBy(span.end);
- const fullStart = this.baseSourceSpan.fullStart.moveBy(span.start);
- return new ParseSourceSpan(start, end, fullStart);
- } else {
- return null;
- }
- }
- /** Adds the name of an AST to the list of implicit receiver accesses. */
- addImplicitReceiverAccess(name) {
- if (this.implicitReceiverAccesses) {
- this.implicitReceiverAccesses.add(name);
- }
- }
- }
- function flattenStatements(arg, output) {
- if (Array.isArray(arg)) {
- arg.forEach(entry => flattenStatements(entry, output));
- } else {
- output.push(arg);
- }
- }
- function unsupported() {
- throw new Error('Unsupported operation');
- }
- class InterpolationExpression extends Expression {
- constructor(args) {
- super(null, null);
- this.args = args;
- this.isConstant = unsupported;
- this.isEquivalent = unsupported;
- this.visitExpression = unsupported;
- }
- }
- class DefaultLocalResolver {
- constructor(globals) {
- this.globals = globals;
- }
- notifyImplicitReceiverUse() {}
- maybeRestoreView() {}
- getLocal(name) {
- if (name === EventHandlerVars.event.name) {
- return EventHandlerVars.event;
- }
- return null;
- }
- }
- class BuiltinFunctionCall extends Call {
- constructor(span, sourceSpan, args, converter) {
- super(span, sourceSpan, new EmptyExpr(span, sourceSpan), args, null);
- this.converter = converter;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This file is a port of shadowCSS from webcomponents.js to TypeScript.
- *
- * Please make sure to keep to edits in sync with the source file.
- *
- * Source:
- * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
- *
- * The original file level comment is reproduced below
- */
- /*
- This is a limited shim for ShadowDOM css styling.
- https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles
- The intention here is to support only the styling features which can be
- relatively simply implemented. The goal is to allow users to avoid the
- most obvious pitfalls and do so without compromising performance significantly.
- For ShadowDOM styling that's not covered here, a set of best practices
- can be provided that should allow users to accomplish more complex styling.
- The following is a list of specific ShadowDOM styling features and a brief
- discussion of the approach used to shim.
- Shimmed features:
- * :host, :host-context: ShadowDOM allows styling of the shadowRoot's host
- element using the :host rule. To shim this feature, the :host styles are
- reformatted and prefixed with a given scope name and promoted to a
- document level stylesheet.
- For example, given a scope name of .foo, a rule like this:
- :host {
- background: red;
- }
- }
- becomes:
- .foo {
- background: red;
- }
- * encapsulation: Styles defined within ShadowDOM, apply only to
- dom inside the ShadowDOM. Polymer uses one of two techniques to implement
- this feature.
- By default, rules are prefixed with the host element tag name
- as a descendant selector. This ensures styling does not leak out of the 'top'
- of the element's ShadowDOM. For example,
- div {
- font-weight: bold;
- }
- becomes:
- x-foo div {
- font-weight: bold;
- }
- becomes:
- Alternatively, if WebComponents.ShadowCSS.strictStyling is set to true then
- selectors are scoped by adding an attribute selector suffix to each
- simple selector that contains the host element tag name. Each element
- in the element's ShadowDOM template is also given the scope attribute.
- Thus, these rules match only elements that have the scope attribute.
- For example, given a scope name of x-foo, a rule like this:
- div {
- font-weight: bold;
- }
- becomes:
- div[x-foo] {
- font-weight: bold;
- }
- Note that elements that are dynamically added to a scope must have the scope
- selector added to them manually.
- * upper/lower bound encapsulation: Styles which are defined outside a
- shadowRoot should not cross the ShadowDOM boundary and should not apply
- inside a shadowRoot.
- This styling behavior is not emulated. Some possible ways to do this that
- were rejected due to complexity and/or performance concerns include: (1) reset
- every possible property for every possible selector for a given scope name;
- (2) re-implement css in javascript.
- As an alternative, users should make sure to use selectors
- specific to the scope in which they are working.
- * ::distributed: This behavior is not emulated. It's often not necessary
- to style the contents of a specific insertion point and instead, descendants
- of the host element can be styled selectively. Users can also create an
- extra node around an insertion point and style that node's contents
- via descendent selectors. For example, with a shadowRoot like this:
- <style>
- ::content(div) {
- background: red;
- }
- </style>
- <content></content>
- could become:
- <style>
- / *@polyfill .content-container div * /
- ::content(div) {
- background: red;
- }
- </style>
- <div class="content-container">
- <content></content>
- </div>
- Note the use of @polyfill in the comment above a ShadowDOM specific style
- declaration. This is a directive to the styling shim to use the selector
- in comments in lieu of the next selector when running under polyfill.
- */
- class ShadowCss {
- constructor() {
- this.strictStyling = true;
- }
- /*
- * Shim some cssText with the given selector. Returns cssText that can
- * be included in the document via WebComponents.ShadowCSS.addCssToDocument(css).
- *
- * When strictStyling is true:
- * - selector is the attribute added to all elements inside the host,
- * - hostSelector is the attribute added to the host itself.
- */
- shimCssText(cssText, selector, hostSelector = '') {
- const commentsWithHash = extractCommentsWithHash(cssText);
- cssText = stripComments(cssText);
- cssText = this._insertDirectives(cssText);
- const scopedCssText = this._scopeCssText(cssText, selector, hostSelector);
- return [scopedCssText, ...commentsWithHash].join('\n');
- }
- _insertDirectives(cssText) {
- cssText = this._insertPolyfillDirectivesInCssText(cssText);
- return this._insertPolyfillRulesInCssText(cssText);
- }
- /*
- * Process styles to convert native ShadowDOM rules that will trip
- * up the css parser; we rely on decorating the stylesheet with inert rules.
- *
- * For example, we convert this rule:
- *
- * polyfill-next-selector { content: ':host menu-item'; }
- * ::content menu-item {
- *
- * to this:
- *
- * scopeName menu-item {
- *
- **/
- _insertPolyfillDirectivesInCssText(cssText) {
- // Difference with webcomponents.js: does not handle comments
- return cssText.replace(_cssContentNextSelectorRe, function (...m) {
- return m[2] + '{';
- });
- }
- /*
- * Process styles to add rules which will only apply under the polyfill
- *
- * For example, we convert this rule:
- *
- * polyfill-rule {
- * content: ':host menu-item';
- * ...
- * }
- *
- * to this:
- *
- * scopeName menu-item {...}
- *
- **/
- _insertPolyfillRulesInCssText(cssText) {
- // Difference with webcomponents.js: does not handle comments
- return cssText.replace(_cssContentRuleRe, (...m) => {
- const rule = m[0].replace(m[1], '').replace(m[2], '');
- return m[4] + rule;
- });
- }
- /* Ensure styles are scoped. Pseudo-scoping takes a rule like:
- *
- * .foo {... }
- *
- * and converts this to
- *
- * scopeName .foo { ... }
- */
- _scopeCssText(cssText, scopeSelector, hostSelector) {
- const unscopedRules = this._extractUnscopedRulesFromCssText(cssText); // replace :host and :host-context -shadowcsshost and -shadowcsshost respectively
- cssText = this._insertPolyfillHostInCssText(cssText);
- cssText = this._convertColonHost(cssText);
- cssText = this._convertColonHostContext(cssText);
- cssText = this._convertShadowDOMSelectors(cssText);
- if (scopeSelector) {
- cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);
- }
- cssText = cssText + '\n' + unscopedRules;
- return cssText.trim();
- }
- /*
- * Process styles to add rules which will only apply under the polyfill
- * and do not process via CSSOM. (CSSOM is destructive to rules on rare
- * occasions, e.g. -webkit-calc on Safari.)
- * For example, we convert this rule:
- *
- * @polyfill-unscoped-rule {
- * content: 'menu-item';
- * ... }
- *
- * to this:
- *
- * menu-item {...}
- *
- **/
- _extractUnscopedRulesFromCssText(cssText) {
- // Difference with webcomponents.js: does not handle comments
- let r = '';
- let m;
- _cssContentUnscopedRuleRe.lastIndex = 0;
- while ((m = _cssContentUnscopedRuleRe.exec(cssText)) !== null) {
- const rule = m[0].replace(m[2], '').replace(m[1], m[4]);
- r += rule + '\n\n';
- }
- return r;
- }
- /*
- * convert a rule like :host(.foo) > .bar { }
- *
- * to
- *
- * .foo<scopeName> > .bar
- */
- _convertColonHost(cssText) {
- return cssText.replace(_cssColonHostRe, (_, hostSelectors, otherSelectors) => {
- if (hostSelectors) {
- const convertedSelectors = [];
- const hostSelectorArray = hostSelectors.split(',').map(p => p.trim());
- for (const hostSelector of hostSelectorArray) {
- if (!hostSelector) break;
- const convertedSelector = _polyfillHostNoCombinator + hostSelector.replace(_polyfillHost, '') + otherSelectors;
- convertedSelectors.push(convertedSelector);
- }
- return convertedSelectors.join(',');
- } else {
- return _polyfillHostNoCombinator + otherSelectors;
- }
- });
- }
- /*
- * convert a rule like :host-context(.foo) > .bar { }
- *
- * to
- *
- * .foo<scopeName> > .bar, .foo <scopeName> > .bar { }
- *
- * and
- *
- * :host-context(.foo:host) .bar { ... }
- *
- * to
- *
- * .foo<scopeName> .bar { ... }
- */
- _convertColonHostContext(cssText) {
- return cssText.replace(_cssColonHostContextReGlobal, selectorText => {
- var _a; // We have captured a selector that contains a `:host-context` rule.
- // For backward compatibility `:host-context` may contain a comma separated list of selectors.
- // Each context selector group will contain a list of host-context selectors that must match
- // an ancestor of the host.
- // (Normally `contextSelectorGroups` will only contain a single array of context selectors.)
- const contextSelectorGroups = [[]]; // There may be more than `:host-context` in this selector so `selectorText` could look like:
- // `:host-context(.one):host-context(.two)`.
- // Execute `_cssColonHostContextRe` over and over until we have extracted all the
- // `:host-context` selectors from this selector.
- let match;
- while (match = _cssColonHostContextRe.exec(selectorText)) {
- // `match` = [':host-context(<selectors>)<rest>', <selectors>, <rest>]
- // The `<selectors>` could actually be a comma separated list: `:host-context(.one, .two)`.
- 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.
- // For example if the current groups are:
- // ```
- // [
- // ['a', 'b', 'c'],
- // ['x', 'y', 'z'],
- // ]
- // ```
- // And we have a new set of comma separated selectors: `:host-context(m,n)` then the new
- // groups are:
- // ```
- // [
- // ['a', 'b', 'c', 'm'],
- // ['x', 'y', 'z', 'm'],
- // ['a', 'b', 'c', 'n'],
- // ['x', 'y', 'z', 'n'],
- // ]
- // ```
- const contextSelectorGroupsLength = contextSelectorGroups.length;
- repeatGroups(contextSelectorGroups, newContextSelectors.length);
- for (let i = 0; i < newContextSelectors.length; i++) {
- for (let j = 0; j < contextSelectorGroupsLength; j++) {
- contextSelectorGroups[j + i * contextSelectorGroupsLength].push(newContextSelectors[i]);
- }
- } // Update the `selectorText` and see repeat to see if there are more `:host-context`s.
- selectorText = match[2];
- } // The context selectors now must be combined with each other to capture all the possible
- // selectors that `:host-context` can match. See `combineHostContextSelectors()` for more
- // info about how this is done.
- return contextSelectorGroups.map(contextSelectors => combineHostContextSelectors(contextSelectors, selectorText)).join(', ');
- });
- }
- /*
- * Convert combinators like ::shadow and pseudo-elements like ::content
- * by replacing with space.
- */
- _convertShadowDOMSelectors(cssText) {
- return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);
- } // change a selector like 'div' to 'name div'
- _scopeSelectors(cssText, scopeSelector, hostSelector) {
- return processRules(cssText, rule => {
- let selector = rule.selector;
- let content = rule.content;
- if (rule.selector[0] !== '@') {
- selector = this._scopeSelector(rule.selector, scopeSelector, hostSelector, this.strictStyling);
- } else if (rule.selector.startsWith('@media') || rule.selector.startsWith('@supports') || rule.selector.startsWith('@document') || rule.selector.startsWith('@layer')) {
- content = this._scopeSelectors(rule.content, scopeSelector, hostSelector);
- } else if (rule.selector.startsWith('@font-face') || rule.selector.startsWith('@page')) {
- content = this._stripScopingSelectors(rule.content);
- }
- return new CssRule(selector, content);
- });
- }
- /**
- * Handle a css text that is within a rule that should not contain scope selectors by simply
- * removing them! An example of such a rule is `@font-face`.
- *
- * `@font-face` rules cannot contain nested selectors. Nor can they be nested under a selector.
- * Normally this would be a syntax error by the author of the styles. But in some rare cases, such
- * as importing styles from a library, and applying `:host ::ng-deep` to the imported styles, we
- * can end up with broken css if the imported styles happen to contain @font-face rules.
- *
- * For example:
- *
- * ```
- * :host ::ng-deep {
- * import 'some/lib/containing/font-face';
- * }
- *
- * Similar logic applies to `@page` rules which can contain a particular set of properties,
- * as well as some specific at-rules. Since they can't be encapsulated, we have to strip
- * any scoping selectors from them. For more information: https://www.w3.org/TR/css-page-3
- * ```
- */
- _stripScopingSelectors(cssText) {
- return processRules(cssText, rule => {
- const selector = rule.selector.replace(_shadowDeepSelectors, ' ').replace(_polyfillHostNoCombinatorRe, ' ');
- return new CssRule(selector, rule.content);
- });
- }
- _scopeSelector(selector, scopeSelector, hostSelector, strict) {
- return selector.split(',').map(part => part.trim().split(_shadowDeepSelectors)).map(deepParts => {
- const [shallowPart, ...otherParts] = deepParts;
- const applyScope = shallowPart => {
- if (this._selectorNeedsScoping(shallowPart, scopeSelector)) {
- return strict ? this._applyStrictSelectorScope(shallowPart, scopeSelector, hostSelector) : this._applySelectorScope(shallowPart, scopeSelector, hostSelector);
- } else {
- return shallowPart;
- }
- };
- return [applyScope(shallowPart), ...otherParts].join(' ');
- }).join(', ');
- }
- _selectorNeedsScoping(selector, scopeSelector) {
- const re = this._makeScopeMatcher(scopeSelector);
- return !re.test(selector);
- }
- _makeScopeMatcher(scopeSelector) {
- const lre = /\[/g;
- const rre = /\]/g;
- scopeSelector = scopeSelector.replace(lre, '\\[').replace(rre, '\\]');
- return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');
- }
- _applySelectorScope(selector, scopeSelector, hostSelector) {
- // Difference from webcomponents.js: scopeSelector could not be an array
- return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);
- } // scope via name and [is=name]
- _applySimpleSelectorScope(selector, scopeSelector, hostSelector) {
- // In Android browser, the lastIndex is not reset when the regex is used in String.replace()
- _polyfillHostRe.lastIndex = 0;
- if (_polyfillHostRe.test(selector)) {
- const replaceBy = this.strictStyling ? `[${hostSelector}]` : scopeSelector;
- return selector.replace(_polyfillHostNoCombinatorRe, (hnc, selector) => {
- return selector.replace(/([^:]*)(:*)(.*)/, (_, before, colon, after) => {
- return before + replaceBy + colon + after;
- });
- }).replace(_polyfillHostRe, replaceBy + ' ');
- }
- return scopeSelector + ' ' + selector;
- } // return a selector with [name] suffix on each simple selector
- // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name] /** @internal */
- _applyStrictSelectorScope(selector, scopeSelector, hostSelector) {
- const isRe = /\[is=([^\]]*)\]/g;
- scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
- const attrName = '[' + scopeSelector + ']';
- const _scopeSelectorPart = p => {
- let scopedP = p.trim();
- if (!scopedP) {
- return '';
- }
- if (p.indexOf(_polyfillHostNoCombinator) > -1) {
- scopedP = this._applySimpleSelectorScope(p, scopeSelector, hostSelector);
- } else {
- // remove :host since it should be unnecessary
- const t = p.replace(_polyfillHostRe, '');
- if (t.length > 0) {
- const matches = t.match(/([^:]*)(:*)(.*)/);
- if (matches) {
- scopedP = matches[1] + attrName + matches[2] + matches[3];
- }
- }
- }
- return scopedP;
- };
- const safeContent = new SafeSelector(selector);
- selector = safeContent.content();
- let scopedSelector = '';
- let startIndex = 0;
- let res;
- const sep = /( |>|\+|~(?!=))\s*/g; // If a selector appears before :host it should not be shimmed as it
- // matches on ancestor elements and not on elements in the host's shadow
- // `:host-context(div)` is transformed to
- // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`
- // the `div` is not part of the component in the 2nd selectors and should not be scoped.
- // Historically `component-tag:host` was matching the component so we also want to preserve
- // this behavior to avoid breaking legacy apps (it should not match).
- // The behavior should be:
- // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)
- // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a
- // `:host-context(tag)`)
- const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1; // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present
- let shouldScope = !hasHost;
- while ((res = sep.exec(selector)) !== null) {
- const separator = res[1];
- const part = selector.slice(startIndex, res.index).trim();
- shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
- const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;
- scopedSelector += `${scopedPart} ${separator} `;
- startIndex = sep.lastIndex;
- }
- const part = selector.substring(startIndex);
- shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
- scopedSelector += shouldScope ? _scopeSelectorPart(part) : part; // replace the placeholders with their original values
- return safeContent.restore(scopedSelector);
- }
- _insertPolyfillHostInCssText(selector) {
- return selector.replace(_colonHostContextRe, _polyfillHostContext).replace(_colonHostRe, _polyfillHost);
- }
- }
- class SafeSelector {
- constructor(selector) {
- this.placeholders = [];
- this.index = 0; // Replaces attribute selectors with placeholders.
- // The WS in [attr="va lue"] would otherwise be interpreted as a selector separator.
- selector = this._escapeRegexMatches(selector, /(\[[^\]]*\])/g); // CSS allows for certain special characters to be used in selectors if they're escaped.
- // E.g. `.foo:blue` won't match a class called `foo:blue`, because the colon denotes a
- // pseudo-class, but writing `.foo\:blue` will match, because the colon was escaped.
- // Replace all escape sequences (`\` followed by a character) with a placeholder so
- // that our handling of pseudo-selectors doesn't mess with them.
- selector = this._escapeRegexMatches(selector, /(\\.)/g); // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.
- // WS and "+" would otherwise be interpreted as selector separators.
- this._content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
- const replaceBy = `__ph-${this.index}__`;
- this.placeholders.push(exp);
- this.index++;
- return pseudo + replaceBy;
- });
- }
- restore(content) {
- return content.replace(/__ph-(\d+)__/g, (_ph, index) => this.placeholders[+index]);
- }
- content() {
- return this._content;
- }
- /**
- * Replaces all of the substrings that match a regex within a
- * special string (e.g. `__ph-0__`, `__ph-1__`, etc).
- */
- _escapeRegexMatches(content, pattern) {
- return content.replace(pattern, (_, keep) => {
- const replaceBy = `__ph-${this.index}__`;
- this.placeholders.push(keep);
- this.index++;
- return replaceBy;
- });
- }
- }
- const _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim;
- const _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
- const _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim;
- const _polyfillHost = '-shadowcsshost'; // note: :host-context pre-processed to -shadowcsshostcontext.
- const _polyfillHostContext = '-shadowcsscontext';
- const _parenSuffix = '(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))?([^,{]*)';
- const _cssColonHostRe = new RegExp(_polyfillHost + _parenSuffix, 'gim');
- const _cssColonHostContextReGlobal = new RegExp(_polyfillHostContext + _parenSuffix, 'gim');
- const _cssColonHostContextRe = new RegExp(_polyfillHostContext + _parenSuffix, 'im');
- const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
- const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
- const _shadowDOMSelectorsRe = [/::shadow/g, /::content/g, // Deprecated selectors
- /\/shadow-deep\//g, /\/shadow\//g]; // The deep combinator is deprecated in the CSS spec
- // Support for `>>>`, `deep`, `::ng-deep` is then also deprecated and will be removed in the future.
- // see https://github.com/angular/angular/pull/17677
- const _shadowDeepSelectors = /(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g;
- const _selectorReSuffix = '([>\\s~+[.,{:][\\s\\S]*)?$';
- const _polyfillHostRe = /-shadowcsshost/gim;
- const _colonHostRe = /:host/gim;
- const _colonHostContextRe = /:host-context/gim;
- const _commentRe = /\/\*[\s\S]*?\*\//g;
- function stripComments(input) {
- return input.replace(_commentRe, '');
- }
- const _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
- function extractCommentsWithHash(input) {
- return input.match(_commentWithHashRe) || [];
- }
- const BLOCK_PLACEHOLDER = '%BLOCK%';
- const QUOTE_PLACEHOLDER = '%QUOTED%';
- const _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
- const _quotedRe = /%QUOTED%/g;
- const CONTENT_PAIRS = new Map([['{', '}']]);
- const QUOTE_PAIRS = new Map([[`"`, `"`], [`'`, `'`]]);
- class CssRule {
- constructor(selector, content) {
- this.selector = selector;
- this.content = content;
- }
- }
- function processRules(input, ruleCallback) {
- const inputWithEscapedQuotes = escapeBlocks(input, QUOTE_PAIRS, QUOTE_PLACEHOLDER);
- const inputWithEscapedBlocks = escapeBlocks(inputWithEscapedQuotes.escapedString, CONTENT_PAIRS, BLOCK_PLACEHOLDER);
- let nextBlockIndex = 0;
- let nextQuoteIndex = 0;
- return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
- const selector = m[2];
- let content = '';
- let suffix = m[4];
- let contentPrefix = '';
- if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {
- content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
- suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
- contentPrefix = '{';
- }
- const rule = ruleCallback(new CssRule(selector, content));
- return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
- }).replace(_quotedRe, () => inputWithEscapedQuotes.blocks[nextQuoteIndex++]);
- }
- class StringWithEscapedBlocks {
- constructor(escapedString, blocks) {
- this.escapedString = escapedString;
- this.blocks = blocks;
- }
- }
- function escapeBlocks(input, charPairs, placeholder) {
- const resultParts = [];
- const escapedBlocks = [];
- let openCharCount = 0;
- let nonBlockStartIndex = 0;
- let blockStartIndex = -1;
- let openChar;
- let closeChar;
- for (let i = 0; i < input.length; i++) {
- const char = input[i];
- if (char === '\\') {
- i++;
- } else if (char === closeChar) {
- openCharCount--;
- if (openCharCount === 0) {
- escapedBlocks.push(input.substring(blockStartIndex, i));
- resultParts.push(placeholder);
- nonBlockStartIndex = i;
- blockStartIndex = -1;
- openChar = closeChar = undefined;
- }
- } else if (char === openChar) {
- openCharCount++;
- } else if (openCharCount === 0 && charPairs.has(char)) {
- openChar = char;
- closeChar = charPairs.get(char);
- openCharCount = 1;
- blockStartIndex = i + 1;
- resultParts.push(input.substring(nonBlockStartIndex, blockStartIndex));
- }
- }
- if (blockStartIndex !== -1) {
- escapedBlocks.push(input.substring(blockStartIndex));
- resultParts.push(placeholder);
- } else {
- resultParts.push(input.substring(nonBlockStartIndex));
- }
- return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);
- }
- /**
- * Combine the `contextSelectors` with the `hostMarker` and the `otherSelectors`
- * to create a selector that matches the same as `:host-context()`.
- *
- * Given a single context selector `A` we need to output selectors that match on the host and as an
- * ancestor of the host:
- *
- * ```
- * A <hostMarker>, A<hostMarker> {}
- * ```
- *
- * When there is more than one context selector we also have to create combinations of those
- * selectors with each other. For example if there are `A` and `B` selectors the output is:
- *
- * ```
- * AB<hostMarker>, AB <hostMarker>, A B<hostMarker>,
- * B A<hostMarker>, A B <hostMarker>, B A <hostMarker> {}
- * ```
- *
- * And so on...
- *
- * @param hostMarker the string that selects the host element.
- * @param contextSelectors an array of context selectors that will be combined.
- * @param otherSelectors the rest of the selectors that are not context selectors.
- */
- function combineHostContextSelectors(contextSelectors, otherSelectors) {
- const hostMarker = _polyfillHostNoCombinator;
- _polyfillHostRe.lastIndex = 0; // reset the regex to ensure we get an accurate test
- const otherSelectorsHasHost = _polyfillHostRe.test(otherSelectors); // If there are no context selectors then just output a host marker
- if (contextSelectors.length === 0) {
- return hostMarker + otherSelectors;
- }
- const combined = [contextSelectors.pop() || ''];
- while (contextSelectors.length > 0) {
- const length = combined.length;
- const contextSelector = contextSelectors.pop();
- for (let i = 0; i < length; i++) {
- const previousSelectors = combined[i]; // Add the new selector as a descendant of the previous selectors
- combined[length * 2 + i] = previousSelectors + ' ' + contextSelector; // Add the new selector as an ancestor of the previous selectors
- combined[length + i] = contextSelector + ' ' + previousSelectors; // Add the new selector to act on the same element as the previous selectors
- combined[i] = contextSelector + previousSelectors;
- }
- } // Finally connect the selector to the `hostMarker`s: either acting directly on the host
- // (A<hostMarker>) or as an ancestor (A <hostMarker>).
- return combined.map(s => otherSelectorsHasHost ? `${s}${otherSelectors}` : `${s}${hostMarker}${otherSelectors}, ${s} ${hostMarker}${otherSelectors}`).join(',');
- }
- /**
- * Mutate the given `groups` array so that there are `multiples` clones of the original array
- * stored.
- *
- * For example `repeatGroups([a, b], 3)` will result in `[a, b, a, b, a, b]` - but importantly the
- * newly added groups will be clones of the original.
- *
- * @param groups An array of groups of strings that will be repeated. This array is mutated
- * in-place.
- * @param multiples The number of times the current groups should appear.
- */
- function repeatGroups(groups, multiples) {
- const length = groups.length;
- for (let i = 1; i < multiples; i++) {
- for (let j = 0; j < length; j++) {
- groups[j + i * length] = groups[j].slice(0);
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Parses string representation of a style and converts it into object literal.
- *
- * @param value string representation of style as used in the `style` attribute in HTML.
- * Example: `color: red; height: auto`.
- * @returns An array of style property name and value pairs, e.g. `['color', 'red', 'height',
- * 'auto']`
- */
- function parse(value) {
- // we use a string array here instead of a string map
- // because a string-map is not guaranteed to retain the
- // order of the entries whereas a string array can be
- // constructed in a [key, value, key, value] format.
- const styles = [];
- let i = 0;
- let parenDepth = 0;
- let quote = 0
- /* Char.QuoteNone */
- ;
- let valueStart = 0;
- let propStart = 0;
- let currentProp = null;
- let valueHasQuotes = false;
- while (i < value.length) {
- const token = value.charCodeAt(i++);
- switch (token) {
- case 40
- /* Char.OpenParen */
- :
- parenDepth++;
- break;
- case 41
- /* Char.CloseParen */
- :
- parenDepth--;
- break;
- case 39
- /* Char.QuoteSingle */
- :
- // valueStart needs to be there since prop values don't
- // have quotes in CSS
- valueHasQuotes = valueHasQuotes || valueStart > 0;
- if (quote === 0
- /* Char.QuoteNone */
- ) {
- quote = 39
- /* Char.QuoteSingle */
- ;
- } else if (quote === 39
- /* Char.QuoteSingle */
- && value.charCodeAt(i - 1) !== 92
- /* Char.BackSlash */
- ) {
- quote = 0
- /* Char.QuoteNone */
- ;
- }
- break;
- case 34
- /* Char.QuoteDouble */
- :
- // same logic as above
- valueHasQuotes = valueHasQuotes || valueStart > 0;
- if (quote === 0
- /* Char.QuoteNone */
- ) {
- quote = 34
- /* Char.QuoteDouble */
- ;
- } else if (quote === 34
- /* Char.QuoteDouble */
- && value.charCodeAt(i - 1) !== 92
- /* Char.BackSlash */
- ) {
- quote = 0
- /* Char.QuoteNone */
- ;
- }
- break;
- case 58
- /* Char.Colon */
- :
- if (!currentProp && parenDepth === 0 && quote === 0
- /* Char.QuoteNone */
- ) {
- currentProp = hyphenate(value.substring(propStart, i - 1).trim());
- valueStart = i;
- }
- break;
- case 59
- /* Char.Semicolon */
- :
- if (currentProp && valueStart > 0 && parenDepth === 0 && quote === 0
- /* Char.QuoteNone */
- ) {
- const styleVal = value.substring(valueStart, i - 1).trim();
- styles.push(currentProp, valueHasQuotes ? stripUnnecessaryQuotes(styleVal) : styleVal);
- propStart = i;
- valueStart = 0;
- currentProp = null;
- valueHasQuotes = false;
- }
- break;
- }
- }
- if (currentProp && valueStart) {
- const styleVal = value.slice(valueStart).trim();
- styles.push(currentProp, valueHasQuotes ? stripUnnecessaryQuotes(styleVal) : styleVal);
- }
- return styles;
- }
- function stripUnnecessaryQuotes(value) {
- const qS = value.charCodeAt(0);
- const qE = value.charCodeAt(value.length - 1);
- if (qS == qE && (qS == 39
- /* Char.QuoteSingle */
- || qS == 34
- /* Char.QuoteDouble */
- )) {
- const tempValue = value.substring(1, value.length - 1); // special case to avoid using a multi-quoted string that was just chomped
- // (e.g. `font-family: "Verdana", "sans-serif"`)
- if (tempValue.indexOf('\'') == -1 && tempValue.indexOf('"') == -1) {
- value = tempValue;
- }
- }
- return value;
- }
- function hyphenate(value) {
- return value.replace(/[a-z][A-Z]/g, v => {
- return v.charAt(0) + '-' + v.charAt(1);
- }).toLowerCase();
- }
- const IMPORTANT_FLAG = '!important';
- /**
- * Minimum amount of binding slots required in the runtime for style/class bindings.
- *
- * Styling in Angular uses up two slots in the runtime LView/TData data structures to
- * record binding data, property information and metadata.
- *
- * When a binding is registered it will place the following information in the `LView`:
- *
- * slot 1) binding value
- * slot 2) cached value (all other values collected before it in string form)
- *
- * When a binding is registered it will place the following information in the `TData`:
- *
- * slot 1) prop name
- * slot 2) binding index that points to the previous style/class binding (and some extra config
- * values)
- *
- * Let's imagine we have a binding that looks like so:
- *
- * ```
- * <div [style.width]="x" [style.height]="y">
- * ```
- *
- * Our `LView` and `TData` data-structures look like so:
- *
- * ```typescript
- * LView = [
- * // ...
- * x, // value of x
- * "width: x",
- *
- * y, // value of y
- * "width: x; height: y",
- * // ...
- * ];
- *
- * TData = [
- * // ...
- * "width", // binding slot 20
- * 0,
- *
- * "height",
- * 20,
- * // ...
- * ];
- * ```
- *
- * */
- const MIN_STYLING_BINDING_SLOTS_REQUIRED = 2;
- /**
- * Produces creation/update instructions for all styling bindings (class and style)
- *
- * It also produces the creation instruction to register all initial styling values
- * (which are all the static class="..." and style="..." attribute values that exist
- * on an element within a template).
- *
- * The builder class below handles producing instructions for the following cases:
- *
- * - Static style/class attributes (style="..." and class="...")
- * - Dynamic style/class map bindings ([style]="map" and [class]="map|string")
- * - Dynamic style/class property bindings ([style.prop]="exp" and [class.name]="exp")
- *
- * Due to the complex relationship of all of these cases, the instructions generated
- * for these attributes/properties/bindings must be done so in the correct order. The
- * order which these must be generated is as follows:
- *
- * if (createMode) {
- * styling(...)
- * }
- * if (updateMode) {
- * styleMap(...)
- * classMap(...)
- * styleProp(...)
- * classProp(...)
- * }
- *
- * The creation/update methods within the builder class produce these instructions.
- */
- class StylingBuilder {
- constructor(_directiveExpr) {
- this._directiveExpr = _directiveExpr;
- /** Whether or not there are any static styling values present */
- this._hasInitialValues = false;
- /**
- * Whether or not there are any styling bindings present
- * (i.e. `[style]`, `[class]`, `[style.prop]` or `[class.name]`)
- */
- this.hasBindings = false;
- this.hasBindingsWithPipes = false;
- /** the input for [class] (if it exists) */
- this._classMapInput = null;
- /** the input for [style] (if it exists) */
- this._styleMapInput = null;
- /** an array of each [style.prop] input */
- this._singleStyleInputs = null;
- /** an array of each [class.name] input */
- this._singleClassInputs = null;
- this._lastStylingInput = null;
- this._firstStylingInput = null; // maps are used instead of hash maps because a Map will
- // retain the ordering of the keys
- /**
- * Represents the location of each style binding in the template
- * (e.g. `<div [style.width]="w" [style.height]="h">` implies
- * that `width=0` and `height=1`)
- */
- this._stylesIndex = new Map();
- /**
- * Represents the location of each class binding in the template
- * (e.g. `<div [class.big]="b" [class.hidden]="h">` implies
- * that `big=0` and `hidden=1`)
- */
- this._classesIndex = new Map();
- this._initialStyleValues = [];
- this._initialClassValues = [];
- }
- /**
- * Registers a given input to the styling builder to be later used when producing AOT code.
- *
- * The code below will only accept the input if it is somehow tied to styling (whether it be
- * style/class bindings or static style/class attributes).
- */
- registerBoundInput(input) {
- // [attr.style] or [attr.class] are skipped in the code below,
- // they should not be treated as styling-based bindings since
- // they are intended to be written directly to the attr and
- // will therefore skip all style/class resolution that is present
- // with style="", [style]="" and [style.prop]="", class="",
- // [class.prop]="". [class]="" assignments
- let binding = null;
- let name = input.name;
- switch (input.type) {
- case 0
- /* BindingType.Property */
- :
- binding = this.registerInputBasedOnName(name, input.value, input.sourceSpan);
- break;
- case 3
- /* BindingType.Style */
- :
- binding = this.registerStyleInput(name, false, input.value, input.sourceSpan, input.unit);
- break;
- case 2
- /* BindingType.Class */
- :
- binding = this.registerClassInput(name, false, input.value, input.sourceSpan);
- break;
- }
- return binding ? true : false;
- }
- registerInputBasedOnName(name, expression, sourceSpan) {
- let binding = null;
- const prefix = name.substring(0, 6);
- const isStyle = name === 'style' || prefix === 'style.' || prefix === 'style!';
- const isClass = !isStyle && (name === 'class' || prefix === 'class.' || prefix === 'class!');
- if (isStyle || isClass) {
- const isMapBased = name.charAt(5) !== '.'; // style.prop or class.prop makes this a no
- const property = name.slice(isMapBased ? 5 : 6); // the dot explains why there's a +1
- if (isStyle) {
- binding = this.registerStyleInput(property, isMapBased, expression, sourceSpan);
- } else {
- binding = this.registerClassInput(property, isMapBased, expression, sourceSpan);
- }
- }
- return binding;
- }
- registerStyleInput(name, isMapBased, value, sourceSpan, suffix) {
- if (isEmptyExpression(value)) {
- return null;
- } // CSS custom properties are case-sensitive so we shouldn't normalize them.
- // See: https://www.w3.org/TR/css-variables-1/#defining-variables
- if (!isCssCustomProperty(name)) {
- name = hyphenate(name);
- }
- const {
- property,
- hasOverrideFlag,
- suffix: bindingSuffix
- } = parseProperty(name);
- suffix = typeof suffix === 'string' && suffix.length !== 0 ? suffix : bindingSuffix;
- const entry = {
- name: property,
- suffix: suffix,
- value,
- sourceSpan,
- hasOverrideFlag
- };
- if (isMapBased) {
- this._styleMapInput = entry;
- } else {
- (this._singleStyleInputs = this._singleStyleInputs || []).push(entry);
- registerIntoMap(this._stylesIndex, property);
- }
- this._lastStylingInput = entry;
- this._firstStylingInput = this._firstStylingInput || entry;
- this._checkForPipes(value);
- this.hasBindings = true;
- return entry;
- }
- registerClassInput(name, isMapBased, value, sourceSpan) {
- if (isEmptyExpression(value)) {
- return null;
- }
- const {
- property,
- hasOverrideFlag
- } = parseProperty(name);
- const entry = {
- name: property,
- value,
- sourceSpan,
- hasOverrideFlag,
- suffix: null
- };
- if (isMapBased) {
- this._classMapInput = entry;
- } else {
- (this._singleClassInputs = this._singleClassInputs || []).push(entry);
- registerIntoMap(this._classesIndex, property);
- }
- this._lastStylingInput = entry;
- this._firstStylingInput = this._firstStylingInput || entry;
- this._checkForPipes(value);
- this.hasBindings = true;
- return entry;
- }
- _checkForPipes(value) {
- if (value instanceof ASTWithSource && value.ast instanceof BindingPipe) {
- this.hasBindingsWithPipes = true;
- }
- }
- /**
- * Registers the element's static style string value to the builder.
- *
- * @param value the style string (e.g. `width:100px; height:200px;`)
- */
- registerStyleAttr(value) {
- this._initialStyleValues = parse(value);
- this._hasInitialValues = true;
- }
- /**
- * Registers the element's static class string value to the builder.
- *
- * @param value the className string (e.g. `disabled gold zoom`)
- */
- registerClassAttr(value) {
- this._initialClassValues = value.trim().split(/\s+/g);
- this._hasInitialValues = true;
- }
- /**
- * Appends all styling-related expressions to the provided attrs array.
- *
- * @param attrs an existing array where each of the styling expressions
- * will be inserted into.
- */
- populateInitialStylingAttrs(attrs) {
- // [CLASS_MARKER, 'foo', 'bar', 'baz' ...]
- if (this._initialClassValues.length) {
- attrs.push(literal(1
- /* AttributeMarker.Classes */
- ));
- for (let i = 0; i < this._initialClassValues.length; i++) {
- attrs.push(literal(this._initialClassValues[i]));
- }
- } // [STYLE_MARKER, 'width', '200px', 'height', '100px', ...]
- if (this._initialStyleValues.length) {
- attrs.push(literal(2
- /* AttributeMarker.Styles */
- ));
- for (let i = 0; i < this._initialStyleValues.length; i += 2) {
- attrs.push(literal(this._initialStyleValues[i]), literal(this._initialStyleValues[i + 1]));
- }
- }
- }
- /**
- * Builds an instruction with all the expressions and parameters for `elementHostAttrs`.
- *
- * The instruction generation code below is used for producing the AOT statement code which is
- * responsible for registering initial styles (within a directive hostBindings' creation block),
- * as well as any of the provided attribute values, to the directive host element.
- */
- assignHostAttrs(attrs, definitionMap) {
- if (this._directiveExpr && (attrs.length || this._hasInitialValues)) {
- this.populateInitialStylingAttrs(attrs);
- definitionMap.set('hostAttrs', literalArr(attrs));
- }
- }
- /**
- * Builds an instruction with all the expressions and parameters for `classMap`.
- *
- * The instruction data will contain all expressions for `classMap` to function
- * which includes the `[class]` expression params.
- */
- buildClassMapInstruction(valueConverter) {
- if (this._classMapInput) {
- return this._buildMapBasedInstruction(valueConverter, true, this._classMapInput);
- }
- return null;
- }
- /**
- * Builds an instruction with all the expressions and parameters for `styleMap`.
- *
- * The instruction data will contain all expressions for `styleMap` to function
- * which includes the `[style]` expression params.
- */
- buildStyleMapInstruction(valueConverter) {
- if (this._styleMapInput) {
- return this._buildMapBasedInstruction(valueConverter, false, this._styleMapInput);
- }
- return null;
- }
- _buildMapBasedInstruction(valueConverter, isClassBased, stylingInput) {
- // each styling binding value is stored in the LView
- // map-based bindings allocate two slots: one for the
- // previous binding value and another for the previous
- // className or style attribute value.
- let totalBindingSlotsRequired = MIN_STYLING_BINDING_SLOTS_REQUIRED; // these values must be outside of the update block so that they can
- // be evaluated (the AST visit call) during creation time so that any
- // pipes can be picked up in time before the template is built
- const mapValue = stylingInput.value.visit(valueConverter);
- let reference;
- if (mapValue instanceof Interpolation) {
- totalBindingSlotsRequired += mapValue.expressions.length;
- reference = isClassBased ? getClassMapInterpolationExpression(mapValue) : getStyleMapInterpolationExpression(mapValue);
- } else {
- reference = isClassBased ? Identifiers.classMap : Identifiers.styleMap;
- }
- return {
- reference,
- calls: [{
- supportsInterpolation: true,
- sourceSpan: stylingInput.sourceSpan,
- allocateBindingSlots: totalBindingSlotsRequired,
- params: convertFn => {
- const convertResult = convertFn(mapValue);
- const params = Array.isArray(convertResult) ? convertResult : [convertResult];
- return params;
- }
- }]
- };
- }
- _buildSingleInputs(reference, inputs, valueConverter, getInterpolationExpressionFn, isClassBased) {
- const instructions = [];
- inputs.forEach(input => {
- const previousInstruction = instructions[instructions.length - 1];
- const value = input.value.visit(valueConverter);
- let referenceForCall = reference; // each styling binding value is stored in the LView
- // but there are two values stored for each binding:
- // 1) the value itself
- // 2) an intermediate value (concatenation of style up to this point).
- // We need to store the intermediate value so that we don't allocate
- // the strings on each CD.
- let totalBindingSlotsRequired = MIN_STYLING_BINDING_SLOTS_REQUIRED;
- if (value instanceof Interpolation) {
- totalBindingSlotsRequired += value.expressions.length;
- if (getInterpolationExpressionFn) {
- referenceForCall = getInterpolationExpressionFn(value);
- }
- }
- const call = {
- sourceSpan: input.sourceSpan,
- allocateBindingSlots: totalBindingSlotsRequired,
- supportsInterpolation: !!getInterpolationExpressionFn,
- params: convertFn => {
- // params => stylingProp(propName, value, suffix)
- const params = [];
- params.push(literal(input.name));
- const convertResult = convertFn(value);
- if (Array.isArray(convertResult)) {
- params.push(...convertResult);
- } else {
- params.push(convertResult);
- } // [style.prop] bindings may use suffix values (e.g. px, em, etc...), therefore,
- // if that is detected then we need to pass that in as an optional param.
- if (!isClassBased && input.suffix !== null) {
- params.push(literal(input.suffix));
- }
- return params;
- }
- }; // If we ended up generating a call to the same instruction as the previous styling property
- // we can chain the calls together safely to save some bytes, otherwise we have to generate
- // a separate instruction call. This is primarily a concern with interpolation instructions
- // where we may start off with one `reference`, but end up using another based on the
- // number of interpolations.
- if (previousInstruction && previousInstruction.reference === referenceForCall) {
- previousInstruction.calls.push(call);
- } else {
- instructions.push({
- reference: referenceForCall,
- calls: [call]
- });
- }
- });
- return instructions;
- }
- _buildClassInputs(valueConverter) {
- if (this._singleClassInputs) {
- return this._buildSingleInputs(Identifiers.classProp, this._singleClassInputs, valueConverter, null, true);
- }
- return [];
- }
- _buildStyleInputs(valueConverter) {
- if (this._singleStyleInputs) {
- return this._buildSingleInputs(Identifiers.styleProp, this._singleStyleInputs, valueConverter, getStylePropInterpolationExpression, false);
- }
- return [];
- }
- /**
- * Constructs all instructions which contain the expressions that will be placed
- * into the update block of a template function or a directive hostBindings function.
- */
- buildUpdateLevelInstructions(valueConverter) {
- const instructions = [];
- if (this.hasBindings) {
- const styleMapInstruction = this.buildStyleMapInstruction(valueConverter);
- if (styleMapInstruction) {
- instructions.push(styleMapInstruction);
- }
- const classMapInstruction = this.buildClassMapInstruction(valueConverter);
- if (classMapInstruction) {
- instructions.push(classMapInstruction);
- }
- instructions.push(...this._buildStyleInputs(valueConverter));
- instructions.push(...this._buildClassInputs(valueConverter));
- }
- return instructions;
- }
- }
- function registerIntoMap(map, key) {
- if (!map.has(key)) {
- map.set(key, map.size);
- }
- }
- function parseProperty(name) {
- let hasOverrideFlag = false;
- const overrideIndex = name.indexOf(IMPORTANT_FLAG);
- if (overrideIndex !== -1) {
- name = overrideIndex > 0 ? name.substring(0, overrideIndex) : '';
- hasOverrideFlag = true;
- }
- let suffix = null;
- let property = name;
- const unitIndex = name.lastIndexOf('.');
- if (unitIndex > 0) {
- suffix = name.slice(unitIndex + 1);
- property = name.substring(0, unitIndex);
- }
- return {
- property,
- suffix,
- hasOverrideFlag
- };
- }
- /**
- * Gets the instruction to generate for an interpolated class map.
- * @param interpolation An Interpolation AST
- */
- function getClassMapInterpolationExpression(interpolation) {
- switch (getInterpolationArgsLength(interpolation)) {
- case 1:
- return Identifiers.classMap;
- case 3:
- return Identifiers.classMapInterpolate1;
- case 5:
- return Identifiers.classMapInterpolate2;
- case 7:
- return Identifiers.classMapInterpolate3;
- case 9:
- return Identifiers.classMapInterpolate4;
- case 11:
- return Identifiers.classMapInterpolate5;
- case 13:
- return Identifiers.classMapInterpolate6;
- case 15:
- return Identifiers.classMapInterpolate7;
- case 17:
- return Identifiers.classMapInterpolate8;
- default:
- return Identifiers.classMapInterpolateV;
- }
- }
- /**
- * Gets the instruction to generate for an interpolated style map.
- * @param interpolation An Interpolation AST
- */
- function getStyleMapInterpolationExpression(interpolation) {
- switch (getInterpolationArgsLength(interpolation)) {
- case 1:
- return Identifiers.styleMap;
- case 3:
- return Identifiers.styleMapInterpolate1;
- case 5:
- return Identifiers.styleMapInterpolate2;
- case 7:
- return Identifiers.styleMapInterpolate3;
- case 9:
- return Identifiers.styleMapInterpolate4;
- case 11:
- return Identifiers.styleMapInterpolate5;
- case 13:
- return Identifiers.styleMapInterpolate6;
- case 15:
- return Identifiers.styleMapInterpolate7;
- case 17:
- return Identifiers.styleMapInterpolate8;
- default:
- return Identifiers.styleMapInterpolateV;
- }
- }
- /**
- * Gets the instruction to generate for an interpolated style prop.
- * @param interpolation An Interpolation AST
- */
- function getStylePropInterpolationExpression(interpolation) {
- switch (getInterpolationArgsLength(interpolation)) {
- case 1:
- return Identifiers.styleProp;
- case 3:
- return Identifiers.stylePropInterpolate1;
- case 5:
- return Identifiers.stylePropInterpolate2;
- case 7:
- return Identifiers.stylePropInterpolate3;
- case 9:
- return Identifiers.stylePropInterpolate4;
- case 11:
- return Identifiers.stylePropInterpolate5;
- case 13:
- return Identifiers.stylePropInterpolate6;
- case 15:
- return Identifiers.stylePropInterpolate7;
- case 17:
- return Identifiers.stylePropInterpolate8;
- default:
- return Identifiers.stylePropInterpolateV;
- }
- }
- /**
- * Checks whether property name is a custom CSS property.
- * See: https://www.w3.org/TR/css-variables-1
- */
- function isCssCustomProperty(name) {
- return name.startsWith('--');
- }
- function isEmptyExpression(ast) {
- if (ast instanceof ASTWithSource) {
- ast = ast.ast;
- }
- return ast instanceof EmptyExpr;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- var TokenType;
- (function (TokenType) {
- TokenType[TokenType["Character"] = 0] = "Character";
- TokenType[TokenType["Identifier"] = 1] = "Identifier";
- TokenType[TokenType["PrivateIdentifier"] = 2] = "PrivateIdentifier";
- TokenType[TokenType["Keyword"] = 3] = "Keyword";
- TokenType[TokenType["String"] = 4] = "String";
- TokenType[TokenType["Operator"] = 5] = "Operator";
- TokenType[TokenType["Number"] = 6] = "Number";
- TokenType[TokenType["Error"] = 7] = "Error";
- })(TokenType || (TokenType = {}));
- const KEYWORDS = ['var', 'let', 'as', 'null', 'undefined', 'true', 'false', 'if', 'else', 'this'];
- class Lexer {
- tokenize(text) {
- const scanner = new _Scanner(text);
- const tokens = [];
- let token = scanner.scanToken();
- while (token != null) {
- tokens.push(token);
- token = scanner.scanToken();
- }
- return tokens;
- }
- }
- class Token {
- constructor(index, end, type, numValue, strValue) {
- this.index = index;
- this.end = end;
- this.type = type;
- this.numValue = numValue;
- this.strValue = strValue;
- }
- isCharacter(code) {
- return this.type == TokenType.Character && this.numValue == code;
- }
- isNumber() {
- return this.type == TokenType.Number;
- }
- isString() {
- return this.type == TokenType.String;
- }
- isOperator(operator) {
- return this.type == TokenType.Operator && this.strValue == operator;
- }
- isIdentifier() {
- return this.type == TokenType.Identifier;
- }
- isPrivateIdentifier() {
- return this.type == TokenType.PrivateIdentifier;
- }
- isKeyword() {
- return this.type == TokenType.Keyword;
- }
- isKeywordLet() {
- return this.type == TokenType.Keyword && this.strValue == 'let';
- }
- isKeywordAs() {
- return this.type == TokenType.Keyword && this.strValue == 'as';
- }
- isKeywordNull() {
- return this.type == TokenType.Keyword && this.strValue == 'null';
- }
- isKeywordUndefined() {
- return this.type == TokenType.Keyword && this.strValue == 'undefined';
- }
- isKeywordTrue() {
- return this.type == TokenType.Keyword && this.strValue == 'true';
- }
- isKeywordFalse() {
- return this.type == TokenType.Keyword && this.strValue == 'false';
- }
- isKeywordThis() {
- return this.type == TokenType.Keyword && this.strValue == 'this';
- }
- isError() {
- return this.type == TokenType.Error;
- }
- toNumber() {
- return this.type == TokenType.Number ? this.numValue : -1;
- }
- toString() {
- switch (this.type) {
- case TokenType.Character:
- case TokenType.Identifier:
- case TokenType.Keyword:
- case TokenType.Operator:
- case TokenType.PrivateIdentifier:
- case TokenType.String:
- case TokenType.Error:
- return this.strValue;
- case TokenType.Number:
- return this.numValue.toString();
- default:
- return null;
- }
- }
- }
- function newCharacterToken(index, end, code) {
- return new Token(index, end, TokenType.Character, code, String.fromCharCode(code));
- }
- function newIdentifierToken(index, end, text) {
- return new Token(index, end, TokenType.Identifier, 0, text);
- }
- function newPrivateIdentifierToken(index, end, text) {
- return new Token(index, end, TokenType.PrivateIdentifier, 0, text);
- }
- function newKeywordToken(index, end, text) {
- return new Token(index, end, TokenType.Keyword, 0, text);
- }
- function newOperatorToken(index, end, text) {
- return new Token(index, end, TokenType.Operator, 0, text);
- }
- function newStringToken(index, end, text) {
- return new Token(index, end, TokenType.String, 0, text);
- }
- function newNumberToken(index, end, n) {
- return new Token(index, end, TokenType.Number, n, '');
- }
- function newErrorToken(index, end, message) {
- return new Token(index, end, TokenType.Error, 0, message);
- }
- const EOF = new Token(-1, -1, TokenType.Character, 0, '');
- class _Scanner {
- constructor(input) {
- this.input = input;
- this.peek = 0;
- this.index = -1;
- this.length = input.length;
- this.advance();
- }
- advance() {
- this.peek = ++this.index >= this.length ? $EOF : this.input.charCodeAt(this.index);
- }
- scanToken() {
- const input = this.input,
- length = this.length;
- let peek = this.peek,
- index = this.index; // Skip whitespace.
- while (peek <= $SPACE) {
- if (++index >= length) {
- peek = $EOF;
- break;
- } else {
- peek = input.charCodeAt(index);
- }
- }
- this.peek = peek;
- this.index = index;
- if (index >= length) {
- return null;
- } // Handle identifiers and numbers.
- if (isIdentifierStart(peek)) return this.scanIdentifier();
- if (isDigit(peek)) return this.scanNumber(index);
- const start = index;
- switch (peek) {
- case $PERIOD:
- this.advance();
- return isDigit(this.peek) ? this.scanNumber(start) : newCharacterToken(start, this.index, $PERIOD);
- case $LPAREN:
- case $RPAREN:
- case $LBRACE:
- case $RBRACE:
- case $LBRACKET:
- case $RBRACKET:
- case $COMMA:
- case $COLON:
- case $SEMICOLON:
- return this.scanCharacter(start, peek);
- case $SQ:
- case $DQ:
- return this.scanString();
- case $HASH:
- return this.scanPrivateIdentifier();
- case $PLUS:
- case $MINUS:
- case $STAR:
- case $SLASH:
- case $PERCENT:
- case $CARET:
- return this.scanOperator(start, String.fromCharCode(peek));
- case $QUESTION:
- return this.scanQuestion(start);
- case $LT:
- case $GT:
- return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=');
- case $BANG:
- case $EQ:
- return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=', $EQ, '=');
- case $AMPERSAND:
- return this.scanComplexOperator(start, '&', $AMPERSAND, '&');
- case $BAR:
- return this.scanComplexOperator(start, '|', $BAR, '|');
- case $NBSP:
- while (isWhitespace(this.peek)) this.advance();
- return this.scanToken();
- }
- this.advance();
- return this.error(`Unexpected character [${String.fromCharCode(peek)}]`, 0);
- }
- scanCharacter(start, code) {
- this.advance();
- return newCharacterToken(start, this.index, code);
- }
- scanOperator(start, str) {
- this.advance();
- return newOperatorToken(start, this.index, str);
- }
- /**
- * Tokenize a 2/3 char long operator
- *
- * @param start start index in the expression
- * @param one first symbol (always part of the operator)
- * @param twoCode code point for the second symbol
- * @param two second symbol (part of the operator when the second code point matches)
- * @param threeCode code point for the third symbol
- * @param three third symbol (part of the operator when provided and matches source expression)
- */
- scanComplexOperator(start, one, twoCode, two, threeCode, three) {
- this.advance();
- let str = one;
- if (this.peek == twoCode) {
- this.advance();
- str += two;
- }
- if (threeCode != null && this.peek == threeCode) {
- this.advance();
- str += three;
- }
- return newOperatorToken(start, this.index, str);
- }
- scanIdentifier() {
- const start = this.index;
- this.advance();
- while (isIdentifierPart(this.peek)) this.advance();
- const str = this.input.substring(start, this.index);
- return KEYWORDS.indexOf(str) > -1 ? newKeywordToken(start, this.index, str) : newIdentifierToken(start, this.index, str);
- }
- /** Scans an ECMAScript private identifier. */
- scanPrivateIdentifier() {
- const start = this.index;
- this.advance();
- if (!isIdentifierStart(this.peek)) {
- return this.error('Invalid character [#]', -1);
- }
- while (isIdentifierPart(this.peek)) this.advance();
- const identifierName = this.input.substring(start, this.index);
- return newPrivateIdentifierToken(start, this.index, identifierName);
- }
- scanNumber(start) {
- let simple = this.index === start;
- let hasSeparators = false;
- this.advance(); // Skip initial digit.
- while (true) {
- if (isDigit(this.peek)) {// Do nothing.
- } else if (this.peek === $_) {
- // Separators are only valid when they're surrounded by digits. E.g. `1_0_1` is
- // valid while `_101` and `101_` are not. The separator can't be next to the decimal
- // point or another separator either. Note that it's unlikely that we'll hit a case where
- // the underscore is at the start, because that's a valid identifier and it will be picked
- // up earlier in the parsing. We validate for it anyway just in case.
- if (!isDigit(this.input.charCodeAt(this.index - 1)) || !isDigit(this.input.charCodeAt(this.index + 1))) {
- return this.error('Invalid numeric separator', 0);
- }
- hasSeparators = true;
- } else if (this.peek === $PERIOD) {
- simple = false;
- } else if (isExponentStart(this.peek)) {
- this.advance();
- if (isExponentSign(this.peek)) this.advance();
- if (!isDigit(this.peek)) return this.error('Invalid exponent', -1);
- simple = false;
- } else {
- break;
- }
- this.advance();
- }
- let str = this.input.substring(start, this.index);
- if (hasSeparators) {
- str = str.replace(/_/g, '');
- }
- const value = simple ? parseIntAutoRadix(str) : parseFloat(str);
- return newNumberToken(start, this.index, value);
- }
- scanString() {
- const start = this.index;
- const quote = this.peek;
- this.advance(); // Skip initial quote.
- let buffer = '';
- let marker = this.index;
- const input = this.input;
- while (this.peek != quote) {
- if (this.peek == $BACKSLASH) {
- buffer += input.substring(marker, this.index);
- this.advance();
- let unescapedCode; // Workaround for TS2.1-introduced type strictness
- this.peek = this.peek;
- if (this.peek == $u) {
- // 4 character hex code for unicode character.
- const hex = input.substring(this.index + 1, this.index + 5);
- if (/^[0-9a-f]+$/i.test(hex)) {
- unescapedCode = parseInt(hex, 16);
- } else {
- return this.error(`Invalid unicode escape [\\u${hex}]`, 0);
- }
- for (let i = 0; i < 5; i++) {
- this.advance();
- }
- } else {
- unescapedCode = unescape(this.peek);
- this.advance();
- }
- buffer += String.fromCharCode(unescapedCode);
- marker = this.index;
- } else if (this.peek == $EOF) {
- return this.error('Unterminated quote', 0);
- } else {
- this.advance();
- }
- }
- const last = input.substring(marker, this.index);
- this.advance(); // Skip terminating quote.
- return newStringToken(start, this.index, buffer + last);
- }
- scanQuestion(start) {
- this.advance();
- let str = '?'; // Either `a ?? b` or 'a?.b'.
- if (this.peek === $QUESTION || this.peek === $PERIOD) {
- str += this.peek === $PERIOD ? '.' : '?';
- this.advance();
- }
- return newOperatorToken(start, this.index, str);
- }
- error(message, offset) {
- const position = this.index + offset;
- return newErrorToken(position, this.index, `Lexer Error: ${message} at column ${position} in expression [${this.input}]`);
- }
- }
- function isIdentifierStart(code) {
- return $a <= code && code <= $z || $A <= code && code <= $Z || code == $_ || code == $$;
- }
- function isIdentifier(input) {
- if (input.length == 0) return false;
- const scanner = new _Scanner(input);
- if (!isIdentifierStart(scanner.peek)) return false;
- scanner.advance();
- while (scanner.peek !== $EOF) {
- if (!isIdentifierPart(scanner.peek)) return false;
- scanner.advance();
- }
- return true;
- }
- function isIdentifierPart(code) {
- return isAsciiLetter(code) || isDigit(code) || code == $_ || code == $$;
- }
- function isExponentStart(code) {
- return code == $e || code == $E;
- }
- function isExponentSign(code) {
- return code == $MINUS || code == $PLUS;
- }
- function unescape(code) {
- switch (code) {
- case $n:
- return $LF;
- case $f:
- return $FF;
- case $r:
- return $CR;
- case $t:
- return $TAB;
- case $v:
- return $VTAB;
- default:
- return code;
- }
- }
- function parseIntAutoRadix(text) {
- const result = parseInt(text);
- if (isNaN(result)) {
- throw new Error('Invalid integer literal when parsing ' + text);
- }
- return result;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class SplitInterpolation {
- constructor(strings, expressions, offsets) {
- this.strings = strings;
- this.expressions = expressions;
- this.offsets = offsets;
- }
- }
- class TemplateBindingParseResult {
- constructor(templateBindings, warnings, errors) {
- this.templateBindings = templateBindings;
- this.warnings = warnings;
- this.errors = errors;
- }
- }
- class Parser$1 {
- constructor(_lexer) {
- this._lexer = _lexer;
- this.errors = [];
- }
- parseAction(input, isAssignmentEvent, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
- this._checkNoInterpolation(input, location, interpolationConfig);
- const sourceToLex = this._stripComments(input);
- const tokens = this._lexer.tokenize(sourceToLex);
- let flags = 1
- /* ParseFlags.Action */
- ;
- if (isAssignmentEvent) {
- flags |= 2
- /* ParseFlags.AssignmentEvent */
- ;
- }
- const ast = new _ParseAST(input, location, absoluteOffset, tokens, flags, this.errors, 0).parseChain();
- return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);
- }
- parseBinding(input, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
- const ast = this._parseBindingAst(input, location, absoluteOffset, interpolationConfig);
- return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);
- }
- checkSimpleExpression(ast) {
- const checker = new SimpleExpressionChecker();
- ast.visit(checker);
- return checker.errors;
- }
- parseSimpleBinding(input, location, absoluteOffset, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
- const ast = this._parseBindingAst(input, location, absoluteOffset, interpolationConfig);
- const errors = this.checkSimpleExpression(ast);
- if (errors.length > 0) {
- this._reportError(`Host binding expression cannot contain ${errors.join(' ')}`, input, location);
- }
- return new ASTWithSource(ast, input, location, absoluteOffset, this.errors);
- }
- _reportError(message, input, errLocation, ctxLocation) {
- this.errors.push(new ParserError(message, input, errLocation, ctxLocation));
- }
- _parseBindingAst(input, location, absoluteOffset, interpolationConfig) {
- this._checkNoInterpolation(input, location, interpolationConfig);
- const sourceToLex = this._stripComments(input);
- const tokens = this._lexer.tokenize(sourceToLex);
- return new _ParseAST(input, location, absoluteOffset, tokens, 0
- /* ParseFlags.None */
- , this.errors, 0).parseChain();
- }
- /**
- * Parse microsyntax template expression and return a list of bindings or
- * parsing errors in case the given expression is invalid.
- *
- * For example,
- * ```
- * <div *ngFor="let item of items">
- * ^ ^ absoluteValueOffset for `templateValue`
- * absoluteKeyOffset for `templateKey`
- * ```
- * contains three bindings:
- * 1. ngFor -> null
- * 2. item -> NgForOfContext.$implicit
- * 3. ngForOf -> items
- *
- * This is apparent from the de-sugared template:
- * ```
- * <ng-template ngFor let-item [ngForOf]="items">
- * ```
- *
- * @param templateKey name of directive, without the * prefix. For example: ngIf, ngFor
- * @param templateValue RHS of the microsyntax attribute
- * @param templateUrl template filename if it's external, component filename if it's inline
- * @param absoluteKeyOffset start of the `templateKey`
- * @param absoluteValueOffset start of the `templateValue`
- */
- parseTemplateBindings(templateKey, templateValue, templateUrl, absoluteKeyOffset, absoluteValueOffset) {
- const tokens = this._lexer.tokenize(templateValue);
- const parser = new _ParseAST(templateValue, templateUrl, absoluteValueOffset, tokens, 0
- /* ParseFlags.None */
- , this.errors, 0
- /* relative offset */
- );
- return parser.parseTemplateBindings({
- source: templateKey,
- span: new AbsoluteSourceSpan(absoluteKeyOffset, absoluteKeyOffset + templateKey.length)
- });
- }
- parseInterpolation(input, location, absoluteOffset, interpolatedTokens, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
- const {
- strings,
- expressions,
- offsets
- } = this.splitInterpolation(input, location, interpolatedTokens, interpolationConfig);
- if (expressions.length === 0) return null;
- const expressionNodes = [];
- for (let i = 0; i < expressions.length; ++i) {
- const expressionText = expressions[i].text;
- const sourceToLex = this._stripComments(expressionText);
- const tokens = this._lexer.tokenize(sourceToLex);
- const ast = new _ParseAST(input, location, absoluteOffset, tokens, 0
- /* ParseFlags.None */
- , this.errors, offsets[i]).parseChain();
- expressionNodes.push(ast);
- }
- return this.createInterpolationAst(strings.map(s => s.text), expressionNodes, input, location, absoluteOffset);
- }
- /**
- * Similar to `parseInterpolation`, but treats the provided string as a single expression
- * element that would normally appear within the interpolation prefix and suffix (`{{` and `}}`).
- * This is used for parsing the switch expression in ICUs.
- */
- parseInterpolationExpression(expression, location, absoluteOffset) {
- const sourceToLex = this._stripComments(expression);
- const tokens = this._lexer.tokenize(sourceToLex);
- const ast = new _ParseAST(expression, location, absoluteOffset, tokens, 0
- /* ParseFlags.None */
- , this.errors, 0).parseChain();
- const strings = ['', '']; // The prefix and suffix strings are both empty
- return this.createInterpolationAst(strings, [ast], expression, location, absoluteOffset);
- }
- createInterpolationAst(strings, expressions, input, location, absoluteOffset) {
- const span = new ParseSpan(0, input.length);
- const interpolation = new Interpolation(span, span.toAbsolute(absoluteOffset), strings, expressions);
- return new ASTWithSource(interpolation, input, location, absoluteOffset, this.errors);
- }
- /**
- * Splits a string of text into "raw" text segments and expressions present in interpolations in
- * the string.
- * Returns `null` if there are no interpolations, otherwise a
- * `SplitInterpolation` with splits that look like
- * <raw text> <expression> <raw text> ... <raw text> <expression> <raw text>
- */
- splitInterpolation(input, location, interpolatedTokens, interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
- var _a;
- const strings = [];
- const expressions = [];
- const offsets = [];
- const inputToTemplateIndexMap = interpolatedTokens ? getIndexMapForOriginalTemplate(interpolatedTokens) : null;
- let i = 0;
- let atInterpolation = false;
- let extendLastString = false;
- let {
- start: interpStart,
- end: interpEnd
- } = interpolationConfig;
- while (i < input.length) {
- if (!atInterpolation) {
- // parse until starting {{
- const start = i;
- i = input.indexOf(interpStart, i);
- if (i === -1) {
- i = input.length;
- }
- const text = input.substring(start, i);
- strings.push({
- text,
- start,
- end: i
- });
- atInterpolation = true;
- } else {
- // parse from starting {{ to ending }} while ignoring content inside quotes.
- const fullStart = i;
- const exprStart = fullStart + interpStart.length;
- const exprEnd = this._getInterpolationEndIndex(input, interpEnd, exprStart);
- if (exprEnd === -1) {
- // Could not find the end of the interpolation; do not parse an expression.
- // Instead we should extend the content on the last raw string.
- atInterpolation = false;
- extendLastString = true;
- break;
- }
- const fullEnd = exprEnd + interpEnd.length;
- const text = input.substring(exprStart, exprEnd);
- if (text.trim().length === 0) {
- this._reportError('Blank expressions are not allowed in interpolated strings', input, `at column ${i} in`, location);
- }
- expressions.push({
- text,
- start: fullStart,
- end: fullEnd
- });
- const startInOriginalTemplate = (_a = inputToTemplateIndexMap === null || inputToTemplateIndexMap === void 0 ? void 0 : inputToTemplateIndexMap.get(fullStart)) !== null && _a !== void 0 ? _a : fullStart;
- const offset = startInOriginalTemplate + interpStart.length;
- offsets.push(offset);
- i = fullEnd;
- atInterpolation = false;
- }
- }
- if (!atInterpolation) {
- // If we are now at a text section, add the remaining content as a raw string.
- if (extendLastString) {
- const piece = strings[strings.length - 1];
- piece.text += input.substring(i);
- piece.end = input.length;
- } else {
- strings.push({
- text: input.substring(i),
- start: i,
- end: input.length
- });
- }
- }
- return new SplitInterpolation(strings, expressions, offsets);
- }
- wrapLiteralPrimitive(input, location, absoluteOffset) {
- const span = new ParseSpan(0, input == null ? 0 : input.length);
- return new ASTWithSource(new LiteralPrimitive(span, span.toAbsolute(absoluteOffset), input), input, location, absoluteOffset, this.errors);
- }
- _stripComments(input) {
- const i = this._commentStart(input);
- return i != null ? input.substring(0, i) : input;
- }
- _commentStart(input) {
- let outerQuote = null;
- for (let i = 0; i < input.length - 1; i++) {
- const char = input.charCodeAt(i);
- const nextChar = input.charCodeAt(i + 1);
- if (char === $SLASH && nextChar == $SLASH && outerQuote == null) return i;
- if (outerQuote === char) {
- outerQuote = null;
- } else if (outerQuote == null && isQuote(char)) {
- outerQuote = char;
- }
- }
- return null;
- }
- _checkNoInterpolation(input, location, {
- start,
- end
- }) {
- let startIndex = -1;
- let endIndex = -1;
- for (const charIndex of this._forEachUnquotedChar(input, 0)) {
- if (startIndex === -1) {
- if (input.startsWith(start)) {
- startIndex = charIndex;
- }
- } else {
- endIndex = this._getInterpolationEndIndex(input, end, charIndex);
- if (endIndex > -1) {
- break;
- }
- }
- }
- if (startIndex > -1 && endIndex > -1) {
- this._reportError(`Got interpolation (${start}${end}) where expression was expected`, input, `at column ${startIndex} in`, location);
- }
- }
- /**
- * Finds the index of the end of an interpolation expression
- * while ignoring comments and quoted content.
- */
- _getInterpolationEndIndex(input, expressionEnd, start) {
- for (const charIndex of this._forEachUnquotedChar(input, start)) {
- if (input.startsWith(expressionEnd, charIndex)) {
- return charIndex;
- } // Nothing else in the expression matters after we've
- // hit a comment so look directly for the end token.
- if (input.startsWith('//', charIndex)) {
- return input.indexOf(expressionEnd, charIndex);
- }
- }
- return -1;
- }
- /**
- * Generator used to iterate over the character indexes of a string that are outside of quotes.
- * @param input String to loop through.
- * @param start Index within the string at which to start.
- */
- *_forEachUnquotedChar(input, start) {
- let currentQuote = null;
- let escapeCount = 0;
- for (let i = start; i < input.length; i++) {
- const char = input[i]; // Skip the characters inside quotes. Note that we only care about the outer-most
- // quotes matching up and we need to account for escape characters.
- if (isQuote(input.charCodeAt(i)) && (currentQuote === null || currentQuote === char) && escapeCount % 2 === 0) {
- currentQuote = currentQuote === null ? char : null;
- } else if (currentQuote === null) {
- yield i;
- }
- escapeCount = char === '\\' ? escapeCount + 1 : 0;
- }
- }
- }
- /** Describes a stateful context an expression parser is in. */
- var ParseContextFlags;
- (function (ParseContextFlags) {
- ParseContextFlags[ParseContextFlags["None"] = 0] = "None";
- /**
- * A Writable context is one in which a value may be written to an lvalue.
- * For example, after we see a property access, we may expect a write to the
- * property via the "=" operator.
- * prop
- * ^ possible "=" after
- */
- ParseContextFlags[ParseContextFlags["Writable"] = 1] = "Writable";
- })(ParseContextFlags || (ParseContextFlags = {}));
- class _ParseAST {
- constructor(input, location, absoluteOffset, tokens, parseFlags, errors, offset) {
- this.input = input;
- this.location = location;
- this.absoluteOffset = absoluteOffset;
- this.tokens = tokens;
- this.parseFlags = parseFlags;
- this.errors = errors;
- this.offset = offset;
- this.rparensExpected = 0;
- this.rbracketsExpected = 0;
- this.rbracesExpected = 0;
- this.context = ParseContextFlags.None; // Cache of expression start and input indeces to the absolute source span they map to, used to
- // prevent creating superfluous source spans in `sourceSpan`.
- // A serial of the expression start and input index is used for mapping because both are stateful
- // and may change for subsequent expressions visited by the parser.
- this.sourceSpanCache = new Map();
- this.index = 0;
- }
- peek(offset) {
- const i = this.index + offset;
- return i < this.tokens.length ? this.tokens[i] : EOF;
- }
- get next() {
- return this.peek(0);
- }
- /** Whether all the parser input has been processed. */
- get atEOF() {
- return this.index >= this.tokens.length;
- }
- /**
- * Index of the next token to be processed, or the end of the last token if all have been
- * processed.
- */
- get inputIndex() {
- return this.atEOF ? this.currentEndIndex : this.next.index + this.offset;
- }
- /**
- * End index of the last processed token, or the start of the first token if none have been
- * processed.
- */
- get currentEndIndex() {
- if (this.index > 0) {
- const curToken = this.peek(-1);
- return curToken.end + this.offset;
- } // No tokens have been processed yet; return the next token's start or the length of the input
- // if there is no token.
- if (this.tokens.length === 0) {
- return this.input.length + this.offset;
- }
- return this.next.index + this.offset;
- }
- /**
- * Returns the absolute offset of the start of the current token.
- */
- get currentAbsoluteOffset() {
- return this.absoluteOffset + this.inputIndex;
- }
- /**
- * Retrieve a `ParseSpan` from `start` to the current position (or to `artificialEndIndex` if
- * provided).
- *
- * @param start Position from which the `ParseSpan` will start.
- * @param artificialEndIndex Optional ending index to be used if provided (and if greater than the
- * natural ending index)
- */
- span(start, artificialEndIndex) {
- let endIndex = this.currentEndIndex;
- if (artificialEndIndex !== undefined && artificialEndIndex > this.currentEndIndex) {
- endIndex = artificialEndIndex;
- } // In some unusual parsing scenarios (like when certain tokens are missing and an `EmptyExpr` is
- // being created), the current token may already be advanced beyond the `currentEndIndex`. This
- // appears to be a deep-seated parser bug.
- //
- // As a workaround for now, swap the start and end indices to ensure a valid `ParseSpan`.
- // TODO(alxhub): fix the bug upstream in the parser state, and remove this workaround.
- if (start > endIndex) {
- const tmp = endIndex;
- endIndex = start;
- start = tmp;
- }
- return new ParseSpan(start, endIndex);
- }
- sourceSpan(start, artificialEndIndex) {
- const serial = `${start}@${this.inputIndex}:${artificialEndIndex}`;
- if (!this.sourceSpanCache.has(serial)) {
- this.sourceSpanCache.set(serial, this.span(start, artificialEndIndex).toAbsolute(this.absoluteOffset));
- }
- return this.sourceSpanCache.get(serial);
- }
- advance() {
- this.index++;
- }
- /**
- * Executes a callback in the provided context.
- */
- withContext(context, cb) {
- this.context |= context;
- const ret = cb();
- this.context ^= context;
- return ret;
- }
- consumeOptionalCharacter(code) {
- if (this.next.isCharacter(code)) {
- this.advance();
- return true;
- } else {
- return false;
- }
- }
- peekKeywordLet() {
- return this.next.isKeywordLet();
- }
- peekKeywordAs() {
- return this.next.isKeywordAs();
- }
- /**
- * Consumes an expected character, otherwise emits an error about the missing expected character
- * and skips over the token stream until reaching a recoverable point.
- *
- * See `this.error` and `this.skip` for more details.
- */
- expectCharacter(code) {
- if (this.consumeOptionalCharacter(code)) return;
- this.error(`Missing expected ${String.fromCharCode(code)}`);
- }
- consumeOptionalOperator(op) {
- if (this.next.isOperator(op)) {
- this.advance();
- return true;
- } else {
- return false;
- }
- }
- expectOperator(operator) {
- if (this.consumeOptionalOperator(operator)) return;
- this.error(`Missing expected operator ${operator}`);
- }
- prettyPrintToken(tok) {
- return tok === EOF ? 'end of input' : `token ${tok}`;
- }
- expectIdentifierOrKeyword() {
- const n = this.next;
- if (!n.isIdentifier() && !n.isKeyword()) {
- if (n.isPrivateIdentifier()) {
- this._reportErrorForPrivateIdentifier(n, 'expected identifier or keyword');
- } else {
- this.error(`Unexpected ${this.prettyPrintToken(n)}, expected identifier or keyword`);
- }
- return null;
- }
- this.advance();
- return n.toString();
- }
- expectIdentifierOrKeywordOrString() {
- const n = this.next;
- if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {
- if (n.isPrivateIdentifier()) {
- this._reportErrorForPrivateIdentifier(n, 'expected identifier, keyword or string');
- } else {
- this.error(`Unexpected ${this.prettyPrintToken(n)}, expected identifier, keyword, or string`);
- }
- return '';
- }
- this.advance();
- return n.toString();
- }
- parseChain() {
- const exprs = [];
- const start = this.inputIndex;
- while (this.index < this.tokens.length) {
- const expr = this.parsePipe();
- exprs.push(expr);
- if (this.consumeOptionalCharacter($SEMICOLON)) {
- if (!(this.parseFlags & 1
- /* ParseFlags.Action */
- )) {
- this.error('Binding expression cannot contain chained expression');
- }
- while (this.consumeOptionalCharacter($SEMICOLON)) {} // read all semicolons
- } else if (this.index < this.tokens.length) {
- const errorIndex = this.index;
- this.error(`Unexpected token '${this.next}'`); // The `error` call above will skip ahead to the next recovery point in an attempt to
- // recover part of the expression, but that might be the token we started from which will
- // lead to an infinite loop. If that's the case, break the loop assuming that we can't
- // parse further.
- if (this.index === errorIndex) {
- break;
- }
- }
- }
- if (exprs.length === 0) {
- // We have no expressions so create an empty expression that spans the entire input length
- const artificialStart = this.offset;
- const artificialEnd = this.offset + this.input.length;
- return new EmptyExpr(this.span(artificialStart, artificialEnd), this.sourceSpan(artificialStart, artificialEnd));
- }
- if (exprs.length == 1) return exprs[0];
- return new Chain(this.span(start), this.sourceSpan(start), exprs);
- }
- parsePipe() {
- const start = this.inputIndex;
- let result = this.parseExpression();
- if (this.consumeOptionalOperator('|')) {
- if (this.parseFlags & 1
- /* ParseFlags.Action */
- ) {
- this.error('Cannot have a pipe in an action expression');
- }
- do {
- const nameStart = this.inputIndex;
- let nameId = this.expectIdentifierOrKeyword();
- let nameSpan;
- let fullSpanEnd = undefined;
- if (nameId !== null) {
- nameSpan = this.sourceSpan(nameStart);
- } else {
- // No valid identifier was found, so we'll assume an empty pipe name ('').
- nameId = ''; // However, there may have been whitespace present between the pipe character and the next
- // token in the sequence (or the end of input). We want to track this whitespace so that
- // the `BindingPipe` we produce covers not just the pipe character, but any trailing
- // whitespace beyond it. Another way of thinking about this is that the zero-length name
- // is assumed to be at the end of any whitespace beyond the pipe character.
- //
- // Therefore, we push the end of the `ParseSpan` for this pipe all the way up to the
- // beginning of the next token, or until the end of input if the next token is EOF.
- 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
- // beyond the pipe character.
- nameSpan = new ParseSpan(fullSpanEnd, fullSpanEnd).toAbsolute(this.absoluteOffset);
- }
- const args = [];
- while (this.consumeOptionalCharacter($COLON)) {
- args.push(this.parseExpression()); // If there are additional expressions beyond the name, then the artificial end for the
- // name is no longer relevant.
- }
- result = new BindingPipe(this.span(start), this.sourceSpan(start, fullSpanEnd), result, nameId, args, nameSpan);
- } while (this.consumeOptionalOperator('|'));
- }
- return result;
- }
- parseExpression() {
- return this.parseConditional();
- }
- parseConditional() {
- const start = this.inputIndex;
- const result = this.parseLogicalOr();
- if (this.consumeOptionalOperator('?')) {
- const yes = this.parsePipe();
- let no;
- if (!this.consumeOptionalCharacter($COLON)) {
- const end = this.inputIndex;
- const expression = this.input.substring(start, end);
- this.error(`Conditional expression ${expression} requires all 3 expressions`);
- no = new EmptyExpr(this.span(start), this.sourceSpan(start));
- } else {
- no = this.parsePipe();
- }
- return new Conditional(this.span(start), this.sourceSpan(start), result, yes, no);
- } else {
- return result;
- }
- }
- parseLogicalOr() {
- // '||'
- const start = this.inputIndex;
- let result = this.parseLogicalAnd();
- while (this.consumeOptionalOperator('||')) {
- const right = this.parseLogicalAnd();
- result = new Binary(this.span(start), this.sourceSpan(start), '||', result, right);
- }
- return result;
- }
- parseLogicalAnd() {
- // '&&'
- const start = this.inputIndex;
- let result = this.parseNullishCoalescing();
- while (this.consumeOptionalOperator('&&')) {
- const right = this.parseNullishCoalescing();
- result = new Binary(this.span(start), this.sourceSpan(start), '&&', result, right);
- }
- return result;
- }
- parseNullishCoalescing() {
- // '??'
- const start = this.inputIndex;
- let result = this.parseEquality();
- while (this.consumeOptionalOperator('??')) {
- const right = this.parseEquality();
- result = new Binary(this.span(start), this.sourceSpan(start), '??', result, right);
- }
- return result;
- }
- parseEquality() {
- // '==','!=','===','!=='
- const start = this.inputIndex;
- let result = this.parseRelational();
- while (this.next.type == TokenType.Operator) {
- const operator = this.next.strValue;
- switch (operator) {
- case '==':
- case '===':
- case '!=':
- case '!==':
- this.advance();
- const right = this.parseRelational();
- result = new Binary(this.span(start), this.sourceSpan(start), operator, result, right);
- continue;
- }
- break;
- }
- return result;
- }
- parseRelational() {
- // '<', '>', '<=', '>='
- const start = this.inputIndex;
- let result = this.parseAdditive();
- while (this.next.type == TokenType.Operator) {
- const operator = this.next.strValue;
- switch (operator) {
- case '<':
- case '>':
- case '<=':
- case '>=':
- this.advance();
- const right = this.parseAdditive();
- result = new Binary(this.span(start), this.sourceSpan(start), operator, result, right);
- continue;
- }
- break;
- }
- return result;
- }
- parseAdditive() {
- // '+', '-'
- const start = this.inputIndex;
- let result = this.parseMultiplicative();
- while (this.next.type == TokenType.Operator) {
- const operator = this.next.strValue;
- switch (operator) {
- case '+':
- case '-':
- this.advance();
- let right = this.parseMultiplicative();
- result = new Binary(this.span(start), this.sourceSpan(start), operator, result, right);
- continue;
- }
- break;
- }
- return result;
- }
- parseMultiplicative() {
- // '*', '%', '/'
- const start = this.inputIndex;
- let result = this.parsePrefix();
- while (this.next.type == TokenType.Operator) {
- const operator = this.next.strValue;
- switch (operator) {
- case '*':
- case '%':
- case '/':
- this.advance();
- let right = this.parsePrefix();
- result = new Binary(this.span(start), this.sourceSpan(start), operator, result, right);
- continue;
- }
- break;
- }
- return result;
- }
- parsePrefix() {
- if (this.next.type == TokenType.Operator) {
- const start = this.inputIndex;
- const operator = this.next.strValue;
- let result;
- switch (operator) {
- case '+':
- this.advance();
- result = this.parsePrefix();
- return Unary.createPlus(this.span(start), this.sourceSpan(start), result);
- case '-':
- this.advance();
- result = this.parsePrefix();
- return Unary.createMinus(this.span(start), this.sourceSpan(start), result);
- case '!':
- this.advance();
- result = this.parsePrefix();
- return new PrefixNot(this.span(start), this.sourceSpan(start), result);
- }
- }
- return this.parseCallChain();
- }
- parseCallChain() {
- const start = this.inputIndex;
- let result = this.parsePrimary();
- while (true) {
- if (this.consumeOptionalCharacter($PERIOD)) {
- result = this.parseAccessMember(result, start, false);
- } else if (this.consumeOptionalOperator('?.')) {
- if (this.consumeOptionalCharacter($LPAREN)) {
- result = this.parseCall(result, start, true);
- } else {
- result = this.consumeOptionalCharacter($LBRACKET) ? this.parseKeyedReadOrWrite(result, start, true) : this.parseAccessMember(result, start, true);
- }
- } else if (this.consumeOptionalCharacter($LBRACKET)) {
- result = this.parseKeyedReadOrWrite(result, start, false);
- } else if (this.consumeOptionalCharacter($LPAREN)) {
- result = this.parseCall(result, start, false);
- } else if (this.consumeOptionalOperator('!')) {
- result = new NonNullAssert(this.span(start), this.sourceSpan(start), result);
- } else {
- return result;
- }
- }
- }
- parsePrimary() {
- const start = this.inputIndex;
- if (this.consumeOptionalCharacter($LPAREN)) {
- this.rparensExpected++;
- const result = this.parsePipe();
- this.rparensExpected--;
- this.expectCharacter($RPAREN);
- return result;
- } else if (this.next.isKeywordNull()) {
- this.advance();
- return new LiteralPrimitive(this.span(start), this.sourceSpan(start), null);
- } else if (this.next.isKeywordUndefined()) {
- this.advance();
- return new LiteralPrimitive(this.span(start), this.sourceSpan(start), void 0);
- } else if (this.next.isKeywordTrue()) {
- this.advance();
- return new LiteralPrimitive(this.span(start), this.sourceSpan(start), true);
- } else if (this.next.isKeywordFalse()) {
- this.advance();
- return new LiteralPrimitive(this.span(start), this.sourceSpan(start), false);
- } else if (this.next.isKeywordThis()) {
- this.advance();
- return new ThisReceiver(this.span(start), this.sourceSpan(start));
- } else if (this.consumeOptionalCharacter($LBRACKET)) {
- this.rbracketsExpected++;
- const elements = this.parseExpressionList($RBRACKET);
- this.rbracketsExpected--;
- this.expectCharacter($RBRACKET);
- return new LiteralArray(this.span(start), this.sourceSpan(start), elements);
- } else if (this.next.isCharacter($LBRACE)) {
- return this.parseLiteralMap();
- } else if (this.next.isIdentifier()) {
- return this.parseAccessMember(new ImplicitReceiver(this.span(start), this.sourceSpan(start)), start, false);
- } else if (this.next.isNumber()) {
- const value = this.next.toNumber();
- this.advance();
- return new LiteralPrimitive(this.span(start), this.sourceSpan(start), value);
- } else if (this.next.isString()) {
- const literalValue = this.next.toString();
- this.advance();
- return new LiteralPrimitive(this.span(start), this.sourceSpan(start), literalValue);
- } else if (this.next.isPrivateIdentifier()) {
- this._reportErrorForPrivateIdentifier(this.next, null);
- return new EmptyExpr(this.span(start), this.sourceSpan(start));
- } else if (this.index >= this.tokens.length) {
- this.error(`Unexpected end of expression: ${this.input}`);
- return new EmptyExpr(this.span(start), this.sourceSpan(start));
- } else {
- this.error(`Unexpected token ${this.next}`);
- return new EmptyExpr(this.span(start), this.sourceSpan(start));
- }
- }
- parseExpressionList(terminator) {
- const result = [];
- do {
- if (!this.next.isCharacter(terminator)) {
- result.push(this.parsePipe());
- } else {
- break;
- }
- } while (this.consumeOptionalCharacter($COMMA));
- return result;
- }
- parseLiteralMap() {
- const keys = [];
- const values = [];
- const start = this.inputIndex;
- this.expectCharacter($LBRACE);
- if (!this.consumeOptionalCharacter($RBRACE)) {
- this.rbracesExpected++;
- do {
- const keyStart = this.inputIndex;
- const quoted = this.next.isString();
- const key = this.expectIdentifierOrKeywordOrString();
- keys.push({
- key,
- quoted
- }); // Properties with quoted keys can't use the shorthand syntax.
- if (quoted) {
- this.expectCharacter($COLON);
- values.push(this.parsePipe());
- } else if (this.consumeOptionalCharacter($COLON)) {
- values.push(this.parsePipe());
- } else {
- const span = this.span(keyStart);
- const sourceSpan = this.sourceSpan(keyStart);
- values.push(new PropertyRead(span, sourceSpan, sourceSpan, new ImplicitReceiver(span, sourceSpan), key));
- }
- } while (this.consumeOptionalCharacter($COMMA));
- this.rbracesExpected--;
- this.expectCharacter($RBRACE);
- }
- return new LiteralMap(this.span(start), this.sourceSpan(start), keys, values);
- }
- parseAccessMember(readReceiver, start, isSafe) {
- const nameStart = this.inputIndex;
- const id = this.withContext(ParseContextFlags.Writable, () => {
- var _a;
- const id = (_a = this.expectIdentifierOrKeyword()) !== null && _a !== void 0 ? _a : '';
- if (id.length === 0) {
- this.error(`Expected identifier for property access`, readReceiver.span.end);
- }
- return id;
- });
- const nameSpan = this.sourceSpan(nameStart);
- let receiver;
- if (isSafe) {
- if (this.consumeOptionalAssignment()) {
- this.error('The \'?.\' operator cannot be used in the assignment');
- receiver = new EmptyExpr(this.span(start), this.sourceSpan(start));
- } else {
- receiver = new SafePropertyRead(this.span(start), this.sourceSpan(start), nameSpan, readReceiver, id);
- }
- } else {
- if (this.consumeOptionalAssignment()) {
- if (!(this.parseFlags & 1
- /* ParseFlags.Action */
- )) {
- this.error('Bindings cannot contain assignments');
- return new EmptyExpr(this.span(start), this.sourceSpan(start));
- }
- const value = this.parseConditional();
- receiver = new PropertyWrite(this.span(start), this.sourceSpan(start), nameSpan, readReceiver, id, value);
- } else {
- receiver = new PropertyRead(this.span(start), this.sourceSpan(start), nameSpan, readReceiver, id);
- }
- }
- return receiver;
- }
- parseCall(receiver, start, isSafe) {
- const argumentStart = this.inputIndex;
- this.rparensExpected++;
- const args = this.parseCallArguments();
- const argumentSpan = this.span(argumentStart, this.inputIndex).toAbsolute(this.absoluteOffset);
- this.expectCharacter($RPAREN);
- this.rparensExpected--;
- const span = this.span(start);
- const sourceSpan = this.sourceSpan(start);
- return isSafe ? new SafeCall(span, sourceSpan, receiver, args, argumentSpan) : new Call(span, sourceSpan, receiver, args, argumentSpan);
- }
- consumeOptionalAssignment() {
- // When parsing assignment events (originating from two-way-binding aka banana-in-a-box syntax),
- // it is valid for the primary expression to be terminated by the non-null operator. This
- // primary expression is substituted as LHS of the assignment operator to achieve
- // two-way-binding, such that the LHS could be the non-null operator. The grammar doesn't
- // naturally allow for this syntax, so assignment events are parsed specially.
- if (this.parseFlags & 2
- /* ParseFlags.AssignmentEvent */
- && this.next.isOperator('!') && this.peek(1).isOperator('=')) {
- // First skip over the ! operator.
- this.advance(); // Then skip over the = operator, to fully consume the optional assignment operator.
- this.advance();
- return true;
- }
- return this.consumeOptionalOperator('=');
- }
- parseCallArguments() {
- if (this.next.isCharacter($RPAREN)) return [];
- const positionals = [];
- do {
- positionals.push(this.parsePipe());
- } while (this.consumeOptionalCharacter($COMMA));
- return positionals;
- }
- /**
- * Parses an identifier, a keyword, a string with an optional `-` in between,
- * and returns the string along with its absolute source span.
- */
- expectTemplateBindingKey() {
- let result = '';
- let operatorFound = false;
- const start = this.currentAbsoluteOffset;
- do {
- result += this.expectIdentifierOrKeywordOrString();
- operatorFound = this.consumeOptionalOperator('-');
- if (operatorFound) {
- result += '-';
- }
- } while (operatorFound);
- return {
- source: result,
- span: new AbsoluteSourceSpan(start, start + result.length)
- };
- }
- /**
- * Parse microsyntax template expression and return a list of bindings or
- * parsing errors in case the given expression is invalid.
- *
- * For example,
- * ```
- * <div *ngFor="let item of items; index as i; trackBy: func">
- * ```
- * contains five bindings:
- * 1. ngFor -> null
- * 2. item -> NgForOfContext.$implicit
- * 3. ngForOf -> items
- * 4. i -> NgForOfContext.index
- * 5. ngForTrackBy -> func
- *
- * For a full description of the microsyntax grammar, see
- * https://gist.github.com/mhevery/d3530294cff2e4a1b3fe15ff75d08855
- *
- * @param templateKey name of the microsyntax directive, like ngIf, ngFor,
- * without the *, along with its absolute span.
- */
- parseTemplateBindings(templateKey) {
- const bindings = []; // The first binding is for the template key itself
- // In *ngFor="let item of items", key = "ngFor", value = null
- // In *ngIf="cond | pipe", key = "ngIf", value = "cond | pipe"
- bindings.push(...this.parseDirectiveKeywordBindings(templateKey));
- while (this.index < this.tokens.length) {
- // If it starts with 'let', then this must be variable declaration
- const letBinding = this.parseLetBinding();
- if (letBinding) {
- bindings.push(letBinding);
- } else {
- // Two possible cases here, either `value "as" key` or
- // "directive-keyword expression". We don't know which case, but both
- // "value" and "directive-keyword" are template binding key, so consume
- // the key first.
- const key = this.expectTemplateBindingKey(); // Peek at the next token, if it is "as" then this must be variable
- // declaration.
- const binding = this.parseAsBinding(key);
- if (binding) {
- bindings.push(binding);
- } else {
- // Otherwise the key must be a directive keyword, like "of". Transform
- // the key to actual key. Eg. of -> ngForOf, trackBy -> ngForTrackBy
- key.source = templateKey.source + key.source.charAt(0).toUpperCase() + key.source.substring(1);
- bindings.push(...this.parseDirectiveKeywordBindings(key));
- }
- }
- this.consumeStatementTerminator();
- }
- return new TemplateBindingParseResult(bindings, []
- /* warnings */
- , this.errors);
- }
- parseKeyedReadOrWrite(receiver, start, isSafe) {
- return this.withContext(ParseContextFlags.Writable, () => {
- this.rbracketsExpected++;
- const key = this.parsePipe();
- if (key instanceof EmptyExpr) {
- this.error(`Key access cannot be empty`);
- }
- this.rbracketsExpected--;
- this.expectCharacter($RBRACKET);
- if (this.consumeOptionalOperator('=')) {
- if (isSafe) {
- this.error('The \'?.\' operator cannot be used in the assignment');
- } else {
- const value = this.parseConditional();
- return new KeyedWrite(this.span(start), this.sourceSpan(start), receiver, key, value);
- }
- } else {
- return isSafe ? new SafeKeyedRead(this.span(start), this.sourceSpan(start), receiver, key) : new KeyedRead(this.span(start), this.sourceSpan(start), receiver, key);
- }
- return new EmptyExpr(this.span(start), this.sourceSpan(start));
- });
- }
- /**
- * Parse a directive keyword, followed by a mandatory expression.
- * For example, "of items", "trackBy: func".
- * The bindings are: ngForOf -> items, ngForTrackBy -> func
- * There could be an optional "as" binding that follows the expression.
- * For example,
- * ```
- * *ngFor="let item of items | slice:0:1 as collection".
- * ^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
- * keyword bound target optional 'as' binding
- * ```
- *
- * @param key binding key, for example, ngFor, ngIf, ngForOf, along with its
- * absolute span.
- */
- parseDirectiveKeywordBindings(key) {
- const bindings = [];
- this.consumeOptionalCharacter($COLON); // trackBy: trackByFunction
- const value = this.getDirectiveBoundTarget();
- let spanEnd = this.currentAbsoluteOffset; // The binding could optionally be followed by "as". For example,
- // *ngIf="cond | pipe as x". In this case, the key in the "as" binding
- // is "x" and the value is the template key itself ("ngIf"). Note that the
- // 'key' in the current context now becomes the "value" in the next binding.
- const asBinding = this.parseAsBinding(key);
- if (!asBinding) {
- this.consumeStatementTerminator();
- spanEnd = this.currentAbsoluteOffset;
- }
- const sourceSpan = new AbsoluteSourceSpan(key.span.start, spanEnd);
- bindings.push(new ExpressionBinding(sourceSpan, key, value));
- if (asBinding) {
- bindings.push(asBinding);
- }
- return bindings;
- }
- /**
- * Return the expression AST for the bound target of a directive keyword
- * binding. For example,
- * ```
- * *ngIf="condition | pipe"
- * ^^^^^^^^^^^^^^^^ bound target for "ngIf"
- * *ngFor="let item of items"
- * ^^^^^ bound target for "ngForOf"
- * ```
- */
- getDirectiveBoundTarget() {
- if (this.next === EOF || this.peekKeywordAs() || this.peekKeywordLet()) {
- return null;
- }
- const ast = this.parsePipe(); // example: "condition | async"
- const {
- start,
- end
- } = ast.span;
- const value = this.input.substring(start, end);
- return new ASTWithSource(ast, value, this.location, this.absoluteOffset + start, this.errors);
- }
- /**
- * Return the binding for a variable declared using `as`. Note that the order
- * of the key-value pair in this declaration is reversed. For example,
- * ```
- * *ngFor="let item of items; index as i"
- * ^^^^^ ^
- * value key
- * ```
- *
- * @param value name of the value in the declaration, "ngIf" in the example
- * above, along with its absolute span.
- */
- parseAsBinding(value) {
- if (!this.peekKeywordAs()) {
- return null;
- }
- this.advance(); // consume the 'as' keyword
- const key = this.expectTemplateBindingKey();
- this.consumeStatementTerminator();
- const sourceSpan = new AbsoluteSourceSpan(value.span.start, this.currentAbsoluteOffset);
- return new VariableBinding(sourceSpan, key, value);
- }
- /**
- * Return the binding for a variable declared using `let`. For example,
- * ```
- * *ngFor="let item of items; let i=index;"
- * ^^^^^^^^ ^^^^^^^^^^^
- * ```
- * In the first binding, `item` is bound to `NgForOfContext.$implicit`.
- * In the second binding, `i` is bound to `NgForOfContext.index`.
- */
- parseLetBinding() {
- if (!this.peekKeywordLet()) {
- return null;
- }
- const spanStart = this.currentAbsoluteOffset;
- this.advance(); // consume the 'let' keyword
- const key = this.expectTemplateBindingKey();
- let value = null;
- if (this.consumeOptionalOperator('=')) {
- value = this.expectTemplateBindingKey();
- }
- this.consumeStatementTerminator();
- const sourceSpan = new AbsoluteSourceSpan(spanStart, this.currentAbsoluteOffset);
- return new VariableBinding(sourceSpan, key, value);
- }
- /**
- * Consume the optional statement terminator: semicolon or comma.
- */
- consumeStatementTerminator() {
- this.consumeOptionalCharacter($SEMICOLON) || this.consumeOptionalCharacter($COMMA);
- }
- /**
- * Records an error and skips over the token stream until reaching a recoverable point. See
- * `this.skip` for more details on token skipping.
- */
- error(message, index = null) {
- this.errors.push(new ParserError(message, this.input, this.locationText(index), this.location));
- this.skip();
- }
- locationText(index = null) {
- if (index == null) index = this.index;
- return index < this.tokens.length ? `at column ${this.tokens[index].index + 1} in` : `at the end of the expression`;
- }
- /**
- * Records an error for an unexpected private identifier being discovered.
- * @param token Token representing a private identifier.
- * @param extraMessage Optional additional message being appended to the error.
- */
- _reportErrorForPrivateIdentifier(token, extraMessage) {
- let errorMessage = `Private identifiers are not supported. Unexpected private identifier: ${token}`;
- if (extraMessage !== null) {
- errorMessage += `, ${extraMessage}`;
- }
- this.error(errorMessage);
- }
- /**
- * Error recovery should skip tokens until it encounters a recovery point.
- *
- * The following are treated as unconditional recovery points:
- * - end of input
- * - ';' (parseChain() is always the root production, and it expects a ';')
- * - '|' (since pipes may be chained and each pipe expression may be treated independently)
- *
- * The following are conditional recovery points:
- * - ')', '}', ']' if one of calling productions is expecting one of these symbols
- * - This allows skip() to recover from errors such as '(a.) + 1' allowing more of the AST to
- * be retained (it doesn't skip any tokens as the ')' is retained because of the '(' begins
- * an '(' <expr> ')' production).
- * The recovery points of grouping symbols must be conditional as they must be skipped if
- * none of the calling productions are not expecting the closing token else we will never
- * make progress in the case of an extraneous group closing symbol (such as a stray ')').
- * That is, we skip a closing symbol if we are not in a grouping production.
- * - '=' in a `Writable` context
- * - In this context, we are able to recover after seeing the `=` operator, which
- * signals the presence of an independent rvalue expression following the `=` operator.
- *
- * If a production expects one of these token it increments the corresponding nesting count,
- * and then decrements it just prior to checking if the token is in the input.
- */
- skip() {
- let n = this.next;
- 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('='))) {
- if (this.next.isError()) {
- this.errors.push(new ParserError(this.next.toString(), this.input, this.locationText(), this.location));
- }
- this.advance();
- n = this.next;
- }
- }
- }
- class SimpleExpressionChecker extends RecursiveAstVisitor {
- constructor() {
- super(...arguments);
- this.errors = [];
- }
- visitPipe() {
- this.errors.push('pipes');
- }
- }
- /**
- * Computes the real offset in the original template for indexes in an interpolation.
- *
- * Because templates can have encoded HTML entities and the input passed to the parser at this stage
- * of the compiler is the _decoded_ value, we need to compute the real offset using the original
- * encoded values in the interpolated tokens. Note that this is only a special case handling for
- * `MlParserTokenType.ENCODED_ENTITY` token types. All other interpolated tokens are expected to
- * have parts which exactly match the input string for parsing the interpolation.
- *
- * @param interpolatedTokens The tokens for the interpolated value.
- *
- * @returns A map of index locations in the decoded template to indexes in the original template
- */
- function getIndexMapForOriginalTemplate(interpolatedTokens) {
- let offsetMap = new Map();
- let consumedInOriginalTemplate = 0;
- let consumedInInput = 0;
- let tokenIndex = 0;
- while (tokenIndex < interpolatedTokens.length) {
- const currentToken = interpolatedTokens[tokenIndex];
- if (currentToken.type === 9
- /* MlParserTokenType.ENCODED_ENTITY */
- ) {
- const [decoded, encoded] = currentToken.parts;
- consumedInOriginalTemplate += encoded.length;
- consumedInInput += decoded.length;
- } else {
- const lengthOfParts = currentToken.parts.reduce((sum, current) => sum + current.length, 0);
- consumedInInput += lengthOfParts;
- consumedInOriginalTemplate += lengthOfParts;
- }
- offsetMap.set(consumedInInput, consumedInOriginalTemplate);
- tokenIndex++;
- }
- return offsetMap;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class NodeWithI18n {
- constructor(sourceSpan, i18n) {
- this.sourceSpan = sourceSpan;
- this.i18n = i18n;
- }
- }
- class Text extends NodeWithI18n {
- constructor(value, sourceSpan, tokens, i18n) {
- super(sourceSpan, i18n);
- this.value = value;
- this.tokens = tokens;
- }
- visit(visitor, context) {
- return visitor.visitText(this, context);
- }
- }
- class Expansion extends NodeWithI18n {
- constructor(switchValue, type, cases, sourceSpan, switchValueSourceSpan, i18n) {
- super(sourceSpan, i18n);
- this.switchValue = switchValue;
- this.type = type;
- this.cases = cases;
- this.switchValueSourceSpan = switchValueSourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitExpansion(this, context);
- }
- }
- class ExpansionCase {
- constructor(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {
- this.value = value;
- this.expression = expression;
- this.sourceSpan = sourceSpan;
- this.valueSourceSpan = valueSourceSpan;
- this.expSourceSpan = expSourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitExpansionCase(this, context);
- }
- }
- class Attribute extends NodeWithI18n {
- constructor(name, value, sourceSpan, keySpan, valueSpan, valueTokens, i18n) {
- super(sourceSpan, i18n);
- this.name = name;
- this.value = value;
- this.keySpan = keySpan;
- this.valueSpan = valueSpan;
- this.valueTokens = valueTokens;
- }
- visit(visitor, context) {
- return visitor.visitAttribute(this, context);
- }
- }
- class Element extends NodeWithI18n {
- constructor(name, attrs, children, sourceSpan, startSourceSpan, endSourceSpan = null, i18n) {
- super(sourceSpan, i18n);
- this.name = name;
- this.attrs = attrs;
- this.children = children;
- this.startSourceSpan = startSourceSpan;
- this.endSourceSpan = endSourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitElement(this, context);
- }
- }
- class Comment {
- constructor(value, sourceSpan) {
- this.value = value;
- this.sourceSpan = sourceSpan;
- }
- visit(visitor, context) {
- return visitor.visitComment(this, context);
- }
- }
- function visitAll(visitor, nodes, context = null) {
- const result = [];
- const visit = visitor.visit ? ast => visitor.visit(ast, context) || ast.visit(visitor, context) : ast => ast.visit(visitor, context);
- nodes.forEach(ast => {
- const astResult = visit(ast);
- if (astResult) {
- result.push(astResult);
- }
- });
- return result;
- }
- class RecursiveVisitor {
- constructor() {}
- visitElement(ast, context) {
- this.visitChildren(context, visit => {
- visit(ast.attrs);
- visit(ast.children);
- });
- }
- visitAttribute(ast, context) {}
- visitText(ast, context) {}
- visitComment(ast, context) {}
- visitExpansion(ast, context) {
- return this.visitChildren(context, visit => {
- visit(ast.cases);
- });
- }
- visitExpansionCase(ast, context) {}
- visitChildren(context, cb) {
- let results = [];
- let t = this;
- function visit(children) {
- if (children) results.push(visitAll(t, children, context));
- }
- cb(visit);
- return Array.prototype.concat.apply([], results);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Mapping between all HTML entity names and their unicode representation.
- // Generated from https://html.spec.whatwg.org/multipage/entities.json by stripping
- // the `&` and `;` from the keys and removing the duplicates.
- // see https://www.w3.org/TR/html51/syntax.html#named-character-references
- const NAMED_ENTITIES = {
- 'AElig': '\u00C6',
- 'AMP': '\u0026',
- 'amp': '\u0026',
- 'Aacute': '\u00C1',
- 'Abreve': '\u0102',
- 'Acirc': '\u00C2',
- 'Acy': '\u0410',
- 'Afr': '\uD835\uDD04',
- 'Agrave': '\u00C0',
- 'Alpha': '\u0391',
- 'Amacr': '\u0100',
- 'And': '\u2A53',
- 'Aogon': '\u0104',
- 'Aopf': '\uD835\uDD38',
- 'ApplyFunction': '\u2061',
- 'af': '\u2061',
- 'Aring': '\u00C5',
- 'angst': '\u00C5',
- 'Ascr': '\uD835\uDC9C',
- 'Assign': '\u2254',
- 'colone': '\u2254',
- 'coloneq': '\u2254',
- 'Atilde': '\u00C3',
- 'Auml': '\u00C4',
- 'Backslash': '\u2216',
- 'setminus': '\u2216',
- 'setmn': '\u2216',
- 'smallsetminus': '\u2216',
- 'ssetmn': '\u2216',
- 'Barv': '\u2AE7',
- 'Barwed': '\u2306',
- 'doublebarwedge': '\u2306',
- 'Bcy': '\u0411',
- 'Because': '\u2235',
- 'becaus': '\u2235',
- 'because': '\u2235',
- 'Bernoullis': '\u212C',
- 'Bscr': '\u212C',
- 'bernou': '\u212C',
- 'Beta': '\u0392',
- 'Bfr': '\uD835\uDD05',
- 'Bopf': '\uD835\uDD39',
- 'Breve': '\u02D8',
- 'breve': '\u02D8',
- 'Bumpeq': '\u224E',
- 'HumpDownHump': '\u224E',
- 'bump': '\u224E',
- 'CHcy': '\u0427',
- 'COPY': '\u00A9',
- 'copy': '\u00A9',
- 'Cacute': '\u0106',
- 'Cap': '\u22D2',
- 'CapitalDifferentialD': '\u2145',
- 'DD': '\u2145',
- 'Cayleys': '\u212D',
- 'Cfr': '\u212D',
- 'Ccaron': '\u010C',
- 'Ccedil': '\u00C7',
- 'Ccirc': '\u0108',
- 'Cconint': '\u2230',
- 'Cdot': '\u010A',
- 'Cedilla': '\u00B8',
- 'cedil': '\u00B8',
- 'CenterDot': '\u00B7',
- 'centerdot': '\u00B7',
- 'middot': '\u00B7',
- 'Chi': '\u03A7',
- 'CircleDot': '\u2299',
- 'odot': '\u2299',
- 'CircleMinus': '\u2296',
- 'ominus': '\u2296',
- 'CirclePlus': '\u2295',
- 'oplus': '\u2295',
- 'CircleTimes': '\u2297',
- 'otimes': '\u2297',
- 'ClockwiseContourIntegral': '\u2232',
- 'cwconint': '\u2232',
- 'CloseCurlyDoubleQuote': '\u201D',
- 'rdquo': '\u201D',
- 'rdquor': '\u201D',
- 'CloseCurlyQuote': '\u2019',
- 'rsquo': '\u2019',
- 'rsquor': '\u2019',
- 'Colon': '\u2237',
- 'Proportion': '\u2237',
- 'Colone': '\u2A74',
- 'Congruent': '\u2261',
- 'equiv': '\u2261',
- 'Conint': '\u222F',
- 'DoubleContourIntegral': '\u222F',
- 'ContourIntegral': '\u222E',
- 'conint': '\u222E',
- 'oint': '\u222E',
- 'Copf': '\u2102',
- 'complexes': '\u2102',
- 'Coproduct': '\u2210',
- 'coprod': '\u2210',
- 'CounterClockwiseContourIntegral': '\u2233',
- 'awconint': '\u2233',
- 'Cross': '\u2A2F',
- 'Cscr': '\uD835\uDC9E',
- 'Cup': '\u22D3',
- 'CupCap': '\u224D',
- 'asympeq': '\u224D',
- 'DDotrahd': '\u2911',
- 'DJcy': '\u0402',
- 'DScy': '\u0405',
- 'DZcy': '\u040F',
- 'Dagger': '\u2021',
- 'ddagger': '\u2021',
- 'Darr': '\u21A1',
- 'Dashv': '\u2AE4',
- 'DoubleLeftTee': '\u2AE4',
- 'Dcaron': '\u010E',
- 'Dcy': '\u0414',
- 'Del': '\u2207',
- 'nabla': '\u2207',
- 'Delta': '\u0394',
- 'Dfr': '\uD835\uDD07',
- 'DiacriticalAcute': '\u00B4',
- 'acute': '\u00B4',
- 'DiacriticalDot': '\u02D9',
- 'dot': '\u02D9',
- 'DiacriticalDoubleAcute': '\u02DD',
- 'dblac': '\u02DD',
- 'DiacriticalGrave': '\u0060',
- 'grave': '\u0060',
- 'DiacriticalTilde': '\u02DC',
- 'tilde': '\u02DC',
- 'Diamond': '\u22C4',
- 'diam': '\u22C4',
- 'diamond': '\u22C4',
- 'DifferentialD': '\u2146',
- 'dd': '\u2146',
- 'Dopf': '\uD835\uDD3B',
- 'Dot': '\u00A8',
- 'DoubleDot': '\u00A8',
- 'die': '\u00A8',
- 'uml': '\u00A8',
- 'DotDot': '\u20DC',
- 'DotEqual': '\u2250',
- 'doteq': '\u2250',
- 'esdot': '\u2250',
- 'DoubleDownArrow': '\u21D3',
- 'Downarrow': '\u21D3',
- 'dArr': '\u21D3',
- 'DoubleLeftArrow': '\u21D0',
- 'Leftarrow': '\u21D0',
- 'lArr': '\u21D0',
- 'DoubleLeftRightArrow': '\u21D4',
- 'Leftrightarrow': '\u21D4',
- 'hArr': '\u21D4',
- 'iff': '\u21D4',
- 'DoubleLongLeftArrow': '\u27F8',
- 'Longleftarrow': '\u27F8',
- 'xlArr': '\u27F8',
- 'DoubleLongLeftRightArrow': '\u27FA',
- 'Longleftrightarrow': '\u27FA',
- 'xhArr': '\u27FA',
- 'DoubleLongRightArrow': '\u27F9',
- 'Longrightarrow': '\u27F9',
- 'xrArr': '\u27F9',
- 'DoubleRightArrow': '\u21D2',
- 'Implies': '\u21D2',
- 'Rightarrow': '\u21D2',
- 'rArr': '\u21D2',
- 'DoubleRightTee': '\u22A8',
- 'vDash': '\u22A8',
- 'DoubleUpArrow': '\u21D1',
- 'Uparrow': '\u21D1',
- 'uArr': '\u21D1',
- 'DoubleUpDownArrow': '\u21D5',
- 'Updownarrow': '\u21D5',
- 'vArr': '\u21D5',
- 'DoubleVerticalBar': '\u2225',
- 'par': '\u2225',
- 'parallel': '\u2225',
- 'shortparallel': '\u2225',
- 'spar': '\u2225',
- 'DownArrow': '\u2193',
- 'ShortDownArrow': '\u2193',
- 'darr': '\u2193',
- 'downarrow': '\u2193',
- 'DownArrowBar': '\u2913',
- 'DownArrowUpArrow': '\u21F5',
- 'duarr': '\u21F5',
- 'DownBreve': '\u0311',
- 'DownLeftRightVector': '\u2950',
- 'DownLeftTeeVector': '\u295E',
- 'DownLeftVector': '\u21BD',
- 'leftharpoondown': '\u21BD',
- 'lhard': '\u21BD',
- 'DownLeftVectorBar': '\u2956',
- 'DownRightTeeVector': '\u295F',
- 'DownRightVector': '\u21C1',
- 'rhard': '\u21C1',
- 'rightharpoondown': '\u21C1',
- 'DownRightVectorBar': '\u2957',
- 'DownTee': '\u22A4',
- 'top': '\u22A4',
- 'DownTeeArrow': '\u21A7',
- 'mapstodown': '\u21A7',
- 'Dscr': '\uD835\uDC9F',
- 'Dstrok': '\u0110',
- 'ENG': '\u014A',
- 'ETH': '\u00D0',
- 'Eacute': '\u00C9',
- 'Ecaron': '\u011A',
- 'Ecirc': '\u00CA',
- 'Ecy': '\u042D',
- 'Edot': '\u0116',
- 'Efr': '\uD835\uDD08',
- 'Egrave': '\u00C8',
- 'Element': '\u2208',
- 'in': '\u2208',
- 'isin': '\u2208',
- 'isinv': '\u2208',
- 'Emacr': '\u0112',
- 'EmptySmallSquare': '\u25FB',
- 'EmptyVerySmallSquare': '\u25AB',
- 'Eogon': '\u0118',
- 'Eopf': '\uD835\uDD3C',
- 'Epsilon': '\u0395',
- 'Equal': '\u2A75',
- 'EqualTilde': '\u2242',
- 'eqsim': '\u2242',
- 'esim': '\u2242',
- 'Equilibrium': '\u21CC',
- 'rightleftharpoons': '\u21CC',
- 'rlhar': '\u21CC',
- 'Escr': '\u2130',
- 'expectation': '\u2130',
- 'Esim': '\u2A73',
- 'Eta': '\u0397',
- 'Euml': '\u00CB',
- 'Exists': '\u2203',
- 'exist': '\u2203',
- 'ExponentialE': '\u2147',
- 'ee': '\u2147',
- 'exponentiale': '\u2147',
- 'Fcy': '\u0424',
- 'Ffr': '\uD835\uDD09',
- 'FilledSmallSquare': '\u25FC',
- 'FilledVerySmallSquare': '\u25AA',
- 'blacksquare': '\u25AA',
- 'squarf': '\u25AA',
- 'squf': '\u25AA',
- 'Fopf': '\uD835\uDD3D',
- 'ForAll': '\u2200',
- 'forall': '\u2200',
- 'Fouriertrf': '\u2131',
- 'Fscr': '\u2131',
- 'GJcy': '\u0403',
- 'GT': '\u003E',
- 'gt': '\u003E',
- 'Gamma': '\u0393',
- 'Gammad': '\u03DC',
- 'Gbreve': '\u011E',
- 'Gcedil': '\u0122',
- 'Gcirc': '\u011C',
- 'Gcy': '\u0413',
- 'Gdot': '\u0120',
- 'Gfr': '\uD835\uDD0A',
- 'Gg': '\u22D9',
- 'ggg': '\u22D9',
- 'Gopf': '\uD835\uDD3E',
- 'GreaterEqual': '\u2265',
- 'ge': '\u2265',
- 'geq': '\u2265',
- 'GreaterEqualLess': '\u22DB',
- 'gel': '\u22DB',
- 'gtreqless': '\u22DB',
- 'GreaterFullEqual': '\u2267',
- 'gE': '\u2267',
- 'geqq': '\u2267',
- 'GreaterGreater': '\u2AA2',
- 'GreaterLess': '\u2277',
- 'gl': '\u2277',
- 'gtrless': '\u2277',
- 'GreaterSlantEqual': '\u2A7E',
- 'geqslant': '\u2A7E',
- 'ges': '\u2A7E',
- 'GreaterTilde': '\u2273',
- 'gsim': '\u2273',
- 'gtrsim': '\u2273',
- 'Gscr': '\uD835\uDCA2',
- 'Gt': '\u226B',
- 'NestedGreaterGreater': '\u226B',
- 'gg': '\u226B',
- 'HARDcy': '\u042A',
- 'Hacek': '\u02C7',
- 'caron': '\u02C7',
- 'Hat': '\u005E',
- 'Hcirc': '\u0124',
- 'Hfr': '\u210C',
- 'Poincareplane': '\u210C',
- 'HilbertSpace': '\u210B',
- 'Hscr': '\u210B',
- 'hamilt': '\u210B',
- 'Hopf': '\u210D',
- 'quaternions': '\u210D',
- 'HorizontalLine': '\u2500',
- 'boxh': '\u2500',
- 'Hstrok': '\u0126',
- 'HumpEqual': '\u224F',
- 'bumpe': '\u224F',
- 'bumpeq': '\u224F',
- 'IEcy': '\u0415',
- 'IJlig': '\u0132',
- 'IOcy': '\u0401',
- 'Iacute': '\u00CD',
- 'Icirc': '\u00CE',
- 'Icy': '\u0418',
- 'Idot': '\u0130',
- 'Ifr': '\u2111',
- 'Im': '\u2111',
- 'image': '\u2111',
- 'imagpart': '\u2111',
- 'Igrave': '\u00CC',
- 'Imacr': '\u012A',
- 'ImaginaryI': '\u2148',
- 'ii': '\u2148',
- 'Int': '\u222C',
- 'Integral': '\u222B',
- 'int': '\u222B',
- 'Intersection': '\u22C2',
- 'bigcap': '\u22C2',
- 'xcap': '\u22C2',
- 'InvisibleComma': '\u2063',
- 'ic': '\u2063',
- 'InvisibleTimes': '\u2062',
- 'it': '\u2062',
- 'Iogon': '\u012E',
- 'Iopf': '\uD835\uDD40',
- 'Iota': '\u0399',
- 'Iscr': '\u2110',
- 'imagline': '\u2110',
- 'Itilde': '\u0128',
- 'Iukcy': '\u0406',
- 'Iuml': '\u00CF',
- 'Jcirc': '\u0134',
- 'Jcy': '\u0419',
- 'Jfr': '\uD835\uDD0D',
- 'Jopf': '\uD835\uDD41',
- 'Jscr': '\uD835\uDCA5',
- 'Jsercy': '\u0408',
- 'Jukcy': '\u0404',
- 'KHcy': '\u0425',
- 'KJcy': '\u040C',
- 'Kappa': '\u039A',
- 'Kcedil': '\u0136',
- 'Kcy': '\u041A',
- 'Kfr': '\uD835\uDD0E',
- 'Kopf': '\uD835\uDD42',
- 'Kscr': '\uD835\uDCA6',
- 'LJcy': '\u0409',
- 'LT': '\u003C',
- 'lt': '\u003C',
- 'Lacute': '\u0139',
- 'Lambda': '\u039B',
- 'Lang': '\u27EA',
- 'Laplacetrf': '\u2112',
- 'Lscr': '\u2112',
- 'lagran': '\u2112',
- 'Larr': '\u219E',
- 'twoheadleftarrow': '\u219E',
- 'Lcaron': '\u013D',
- 'Lcedil': '\u013B',
- 'Lcy': '\u041B',
- 'LeftAngleBracket': '\u27E8',
- 'lang': '\u27E8',
- 'langle': '\u27E8',
- 'LeftArrow': '\u2190',
- 'ShortLeftArrow': '\u2190',
- 'larr': '\u2190',
- 'leftarrow': '\u2190',
- 'slarr': '\u2190',
- 'LeftArrowBar': '\u21E4',
- 'larrb': '\u21E4',
- 'LeftArrowRightArrow': '\u21C6',
- 'leftrightarrows': '\u21C6',
- 'lrarr': '\u21C6',
- 'LeftCeiling': '\u2308',
- 'lceil': '\u2308',
- 'LeftDoubleBracket': '\u27E6',
- 'lobrk': '\u27E6',
- 'LeftDownTeeVector': '\u2961',
- 'LeftDownVector': '\u21C3',
- 'dharl': '\u21C3',
- 'downharpoonleft': '\u21C3',
- 'LeftDownVectorBar': '\u2959',
- 'LeftFloor': '\u230A',
- 'lfloor': '\u230A',
- 'LeftRightArrow': '\u2194',
- 'harr': '\u2194',
- 'leftrightarrow': '\u2194',
- 'LeftRightVector': '\u294E',
- 'LeftTee': '\u22A3',
- 'dashv': '\u22A3',
- 'LeftTeeArrow': '\u21A4',
- 'mapstoleft': '\u21A4',
- 'LeftTeeVector': '\u295A',
- 'LeftTriangle': '\u22B2',
- 'vartriangleleft': '\u22B2',
- 'vltri': '\u22B2',
- 'LeftTriangleBar': '\u29CF',
- 'LeftTriangleEqual': '\u22B4',
- 'ltrie': '\u22B4',
- 'trianglelefteq': '\u22B4',
- 'LeftUpDownVector': '\u2951',
- 'LeftUpTeeVector': '\u2960',
- 'LeftUpVector': '\u21BF',
- 'uharl': '\u21BF',
- 'upharpoonleft': '\u21BF',
- 'LeftUpVectorBar': '\u2958',
- 'LeftVector': '\u21BC',
- 'leftharpoonup': '\u21BC',
- 'lharu': '\u21BC',
- 'LeftVectorBar': '\u2952',
- 'LessEqualGreater': '\u22DA',
- 'leg': '\u22DA',
- 'lesseqgtr': '\u22DA',
- 'LessFullEqual': '\u2266',
- 'lE': '\u2266',
- 'leqq': '\u2266',
- 'LessGreater': '\u2276',
- 'lessgtr': '\u2276',
- 'lg': '\u2276',
- 'LessLess': '\u2AA1',
- 'LessSlantEqual': '\u2A7D',
- 'leqslant': '\u2A7D',
- 'les': '\u2A7D',
- 'LessTilde': '\u2272',
- 'lesssim': '\u2272',
- 'lsim': '\u2272',
- 'Lfr': '\uD835\uDD0F',
- 'Ll': '\u22D8',
- 'Lleftarrow': '\u21DA',
- 'lAarr': '\u21DA',
- 'Lmidot': '\u013F',
- 'LongLeftArrow': '\u27F5',
- 'longleftarrow': '\u27F5',
- 'xlarr': '\u27F5',
- 'LongLeftRightArrow': '\u27F7',
- 'longleftrightarrow': '\u27F7',
- 'xharr': '\u27F7',
- 'LongRightArrow': '\u27F6',
- 'longrightarrow': '\u27F6',
- 'xrarr': '\u27F6',
- 'Lopf': '\uD835\uDD43',
- 'LowerLeftArrow': '\u2199',
- 'swarr': '\u2199',
- 'swarrow': '\u2199',
- 'LowerRightArrow': '\u2198',
- 'searr': '\u2198',
- 'searrow': '\u2198',
- 'Lsh': '\u21B0',
- 'lsh': '\u21B0',
- 'Lstrok': '\u0141',
- 'Lt': '\u226A',
- 'NestedLessLess': '\u226A',
- 'll': '\u226A',
- 'Map': '\u2905',
- 'Mcy': '\u041C',
- 'MediumSpace': '\u205F',
- 'Mellintrf': '\u2133',
- 'Mscr': '\u2133',
- 'phmmat': '\u2133',
- 'Mfr': '\uD835\uDD10',
- 'MinusPlus': '\u2213',
- 'mnplus': '\u2213',
- 'mp': '\u2213',
- 'Mopf': '\uD835\uDD44',
- 'Mu': '\u039C',
- 'NJcy': '\u040A',
- 'Nacute': '\u0143',
- 'Ncaron': '\u0147',
- 'Ncedil': '\u0145',
- 'Ncy': '\u041D',
- 'NegativeMediumSpace': '\u200B',
- 'NegativeThickSpace': '\u200B',
- 'NegativeThinSpace': '\u200B',
- 'NegativeVeryThinSpace': '\u200B',
- 'ZeroWidthSpace': '\u200B',
- 'NewLine': '\u000A',
- 'Nfr': '\uD835\uDD11',
- 'NoBreak': '\u2060',
- 'NonBreakingSpace': '\u00A0',
- 'nbsp': '\u00A0',
- 'Nopf': '\u2115',
- 'naturals': '\u2115',
- 'Not': '\u2AEC',
- 'NotCongruent': '\u2262',
- 'nequiv': '\u2262',
- 'NotCupCap': '\u226D',
- 'NotDoubleVerticalBar': '\u2226',
- 'npar': '\u2226',
- 'nparallel': '\u2226',
- 'nshortparallel': '\u2226',
- 'nspar': '\u2226',
- 'NotElement': '\u2209',
- 'notin': '\u2209',
- 'notinva': '\u2209',
- 'NotEqual': '\u2260',
- 'ne': '\u2260',
- 'NotEqualTilde': '\u2242\u0338',
- 'nesim': '\u2242\u0338',
- 'NotExists': '\u2204',
- 'nexist': '\u2204',
- 'nexists': '\u2204',
- 'NotGreater': '\u226F',
- 'ngt': '\u226F',
- 'ngtr': '\u226F',
- 'NotGreaterEqual': '\u2271',
- 'nge': '\u2271',
- 'ngeq': '\u2271',
- 'NotGreaterFullEqual': '\u2267\u0338',
- 'ngE': '\u2267\u0338',
- 'ngeqq': '\u2267\u0338',
- 'NotGreaterGreater': '\u226B\u0338',
- 'nGtv': '\u226B\u0338',
- 'NotGreaterLess': '\u2279',
- 'ntgl': '\u2279',
- 'NotGreaterSlantEqual': '\u2A7E\u0338',
- 'ngeqslant': '\u2A7E\u0338',
- 'nges': '\u2A7E\u0338',
- 'NotGreaterTilde': '\u2275',
- 'ngsim': '\u2275',
- 'NotHumpDownHump': '\u224E\u0338',
- 'nbump': '\u224E\u0338',
- 'NotHumpEqual': '\u224F\u0338',
- 'nbumpe': '\u224F\u0338',
- 'NotLeftTriangle': '\u22EA',
- 'nltri': '\u22EA',
- 'ntriangleleft': '\u22EA',
- 'NotLeftTriangleBar': '\u29CF\u0338',
- 'NotLeftTriangleEqual': '\u22EC',
- 'nltrie': '\u22EC',
- 'ntrianglelefteq': '\u22EC',
- 'NotLess': '\u226E',
- 'nless': '\u226E',
- 'nlt': '\u226E',
- 'NotLessEqual': '\u2270',
- 'nle': '\u2270',
- 'nleq': '\u2270',
- 'NotLessGreater': '\u2278',
- 'ntlg': '\u2278',
- 'NotLessLess': '\u226A\u0338',
- 'nLtv': '\u226A\u0338',
- 'NotLessSlantEqual': '\u2A7D\u0338',
- 'nleqslant': '\u2A7D\u0338',
- 'nles': '\u2A7D\u0338',
- 'NotLessTilde': '\u2274',
- 'nlsim': '\u2274',
- 'NotNestedGreaterGreater': '\u2AA2\u0338',
- 'NotNestedLessLess': '\u2AA1\u0338',
- 'NotPrecedes': '\u2280',
- 'npr': '\u2280',
- 'nprec': '\u2280',
- 'NotPrecedesEqual': '\u2AAF\u0338',
- 'npre': '\u2AAF\u0338',
- 'npreceq': '\u2AAF\u0338',
- 'NotPrecedesSlantEqual': '\u22E0',
- 'nprcue': '\u22E0',
- 'NotReverseElement': '\u220C',
- 'notni': '\u220C',
- 'notniva': '\u220C',
- 'NotRightTriangle': '\u22EB',
- 'nrtri': '\u22EB',
- 'ntriangleright': '\u22EB',
- 'NotRightTriangleBar': '\u29D0\u0338',
- 'NotRightTriangleEqual': '\u22ED',
- 'nrtrie': '\u22ED',
- 'ntrianglerighteq': '\u22ED',
- 'NotSquareSubset': '\u228F\u0338',
- 'NotSquareSubsetEqual': '\u22E2',
- 'nsqsube': '\u22E2',
- 'NotSquareSuperset': '\u2290\u0338',
- 'NotSquareSupersetEqual': '\u22E3',
- 'nsqsupe': '\u22E3',
- 'NotSubset': '\u2282\u20D2',
- 'nsubset': '\u2282\u20D2',
- 'vnsub': '\u2282\u20D2',
- 'NotSubsetEqual': '\u2288',
- 'nsube': '\u2288',
- 'nsubseteq': '\u2288',
- 'NotSucceeds': '\u2281',
- 'nsc': '\u2281',
- 'nsucc': '\u2281',
- 'NotSucceedsEqual': '\u2AB0\u0338',
- 'nsce': '\u2AB0\u0338',
- 'nsucceq': '\u2AB0\u0338',
- 'NotSucceedsSlantEqual': '\u22E1',
- 'nsccue': '\u22E1',
- 'NotSucceedsTilde': '\u227F\u0338',
- 'NotSuperset': '\u2283\u20D2',
- 'nsupset': '\u2283\u20D2',
- 'vnsup': '\u2283\u20D2',
- 'NotSupersetEqual': '\u2289',
- 'nsupe': '\u2289',
- 'nsupseteq': '\u2289',
- 'NotTilde': '\u2241',
- 'nsim': '\u2241',
- 'NotTildeEqual': '\u2244',
- 'nsime': '\u2244',
- 'nsimeq': '\u2244',
- 'NotTildeFullEqual': '\u2247',
- 'ncong': '\u2247',
- 'NotTildeTilde': '\u2249',
- 'nap': '\u2249',
- 'napprox': '\u2249',
- 'NotVerticalBar': '\u2224',
- 'nmid': '\u2224',
- 'nshortmid': '\u2224',
- 'nsmid': '\u2224',
- 'Nscr': '\uD835\uDCA9',
- 'Ntilde': '\u00D1',
- 'Nu': '\u039D',
- 'OElig': '\u0152',
- 'Oacute': '\u00D3',
- 'Ocirc': '\u00D4',
- 'Ocy': '\u041E',
- 'Odblac': '\u0150',
- 'Ofr': '\uD835\uDD12',
- 'Ograve': '\u00D2',
- 'Omacr': '\u014C',
- 'Omega': '\u03A9',
- 'ohm': '\u03A9',
- 'Omicron': '\u039F',
- 'Oopf': '\uD835\uDD46',
- 'OpenCurlyDoubleQuote': '\u201C',
- 'ldquo': '\u201C',
- 'OpenCurlyQuote': '\u2018',
- 'lsquo': '\u2018',
- 'Or': '\u2A54',
- 'Oscr': '\uD835\uDCAA',
- 'Oslash': '\u00D8',
- 'Otilde': '\u00D5',
- 'Otimes': '\u2A37',
- 'Ouml': '\u00D6',
- 'OverBar': '\u203E',
- 'oline': '\u203E',
- 'OverBrace': '\u23DE',
- 'OverBracket': '\u23B4',
- 'tbrk': '\u23B4',
- 'OverParenthesis': '\u23DC',
- 'PartialD': '\u2202',
- 'part': '\u2202',
- 'Pcy': '\u041F',
- 'Pfr': '\uD835\uDD13',
- 'Phi': '\u03A6',
- 'Pi': '\u03A0',
- 'PlusMinus': '\u00B1',
- 'plusmn': '\u00B1',
- 'pm': '\u00B1',
- 'Popf': '\u2119',
- 'primes': '\u2119',
- 'Pr': '\u2ABB',
- 'Precedes': '\u227A',
- 'pr': '\u227A',
- 'prec': '\u227A',
- 'PrecedesEqual': '\u2AAF',
- 'pre': '\u2AAF',
- 'preceq': '\u2AAF',
- 'PrecedesSlantEqual': '\u227C',
- 'prcue': '\u227C',
- 'preccurlyeq': '\u227C',
- 'PrecedesTilde': '\u227E',
- 'precsim': '\u227E',
- 'prsim': '\u227E',
- 'Prime': '\u2033',
- 'Product': '\u220F',
- 'prod': '\u220F',
- 'Proportional': '\u221D',
- 'prop': '\u221D',
- 'propto': '\u221D',
- 'varpropto': '\u221D',
- 'vprop': '\u221D',
- 'Pscr': '\uD835\uDCAB',
- 'Psi': '\u03A8',
- 'QUOT': '\u0022',
- 'quot': '\u0022',
- 'Qfr': '\uD835\uDD14',
- 'Qopf': '\u211A',
- 'rationals': '\u211A',
- 'Qscr': '\uD835\uDCAC',
- 'RBarr': '\u2910',
- 'drbkarow': '\u2910',
- 'REG': '\u00AE',
- 'circledR': '\u00AE',
- 'reg': '\u00AE',
- 'Racute': '\u0154',
- 'Rang': '\u27EB',
- 'Rarr': '\u21A0',
- 'twoheadrightarrow': '\u21A0',
- 'Rarrtl': '\u2916',
- 'Rcaron': '\u0158',
- 'Rcedil': '\u0156',
- 'Rcy': '\u0420',
- 'Re': '\u211C',
- 'Rfr': '\u211C',
- 'real': '\u211C',
- 'realpart': '\u211C',
- 'ReverseElement': '\u220B',
- 'SuchThat': '\u220B',
- 'ni': '\u220B',
- 'niv': '\u220B',
- 'ReverseEquilibrium': '\u21CB',
- 'leftrightharpoons': '\u21CB',
- 'lrhar': '\u21CB',
- 'ReverseUpEquilibrium': '\u296F',
- 'duhar': '\u296F',
- 'Rho': '\u03A1',
- 'RightAngleBracket': '\u27E9',
- 'rang': '\u27E9',
- 'rangle': '\u27E9',
- 'RightArrow': '\u2192',
- 'ShortRightArrow': '\u2192',
- 'rarr': '\u2192',
- 'rightarrow': '\u2192',
- 'srarr': '\u2192',
- 'RightArrowBar': '\u21E5',
- 'rarrb': '\u21E5',
- 'RightArrowLeftArrow': '\u21C4',
- 'rightleftarrows': '\u21C4',
- 'rlarr': '\u21C4',
- 'RightCeiling': '\u2309',
- 'rceil': '\u2309',
- 'RightDoubleBracket': '\u27E7',
- 'robrk': '\u27E7',
- 'RightDownTeeVector': '\u295D',
- 'RightDownVector': '\u21C2',
- 'dharr': '\u21C2',
- 'downharpoonright': '\u21C2',
- 'RightDownVectorBar': '\u2955',
- 'RightFloor': '\u230B',
- 'rfloor': '\u230B',
- 'RightTee': '\u22A2',
- 'vdash': '\u22A2',
- 'RightTeeArrow': '\u21A6',
- 'map': '\u21A6',
- 'mapsto': '\u21A6',
- 'RightTeeVector': '\u295B',
- 'RightTriangle': '\u22B3',
- 'vartriangleright': '\u22B3',
- 'vrtri': '\u22B3',
- 'RightTriangleBar': '\u29D0',
- 'RightTriangleEqual': '\u22B5',
- 'rtrie': '\u22B5',
- 'trianglerighteq': '\u22B5',
- 'RightUpDownVector': '\u294F',
- 'RightUpTeeVector': '\u295C',
- 'RightUpVector': '\u21BE',
- 'uharr': '\u21BE',
- 'upharpoonright': '\u21BE',
- 'RightUpVectorBar': '\u2954',
- 'RightVector': '\u21C0',
- 'rharu': '\u21C0',
- 'rightharpoonup': '\u21C0',
- 'RightVectorBar': '\u2953',
- 'Ropf': '\u211D',
- 'reals': '\u211D',
- 'RoundImplies': '\u2970',
- 'Rrightarrow': '\u21DB',
- 'rAarr': '\u21DB',
- 'Rscr': '\u211B',
- 'realine': '\u211B',
- 'Rsh': '\u21B1',
- 'rsh': '\u21B1',
- 'RuleDelayed': '\u29F4',
- 'SHCHcy': '\u0429',
- 'SHcy': '\u0428',
- 'SOFTcy': '\u042C',
- 'Sacute': '\u015A',
- 'Sc': '\u2ABC',
- 'Scaron': '\u0160',
- 'Scedil': '\u015E',
- 'Scirc': '\u015C',
- 'Scy': '\u0421',
- 'Sfr': '\uD835\uDD16',
- 'ShortUpArrow': '\u2191',
- 'UpArrow': '\u2191',
- 'uarr': '\u2191',
- 'uparrow': '\u2191',
- 'Sigma': '\u03A3',
- 'SmallCircle': '\u2218',
- 'compfn': '\u2218',
- 'Sopf': '\uD835\uDD4A',
- 'Sqrt': '\u221A',
- 'radic': '\u221A',
- 'Square': '\u25A1',
- 'squ': '\u25A1',
- 'square': '\u25A1',
- 'SquareIntersection': '\u2293',
- 'sqcap': '\u2293',
- 'SquareSubset': '\u228F',
- 'sqsub': '\u228F',
- 'sqsubset': '\u228F',
- 'SquareSubsetEqual': '\u2291',
- 'sqsube': '\u2291',
- 'sqsubseteq': '\u2291',
- 'SquareSuperset': '\u2290',
- 'sqsup': '\u2290',
- 'sqsupset': '\u2290',
- 'SquareSupersetEqual': '\u2292',
- 'sqsupe': '\u2292',
- 'sqsupseteq': '\u2292',
- 'SquareUnion': '\u2294',
- 'sqcup': '\u2294',
- 'Sscr': '\uD835\uDCAE',
- 'Star': '\u22C6',
- 'sstarf': '\u22C6',
- 'Sub': '\u22D0',
- 'Subset': '\u22D0',
- 'SubsetEqual': '\u2286',
- 'sube': '\u2286',
- 'subseteq': '\u2286',
- 'Succeeds': '\u227B',
- 'sc': '\u227B',
- 'succ': '\u227B',
- 'SucceedsEqual': '\u2AB0',
- 'sce': '\u2AB0',
- 'succeq': '\u2AB0',
- 'SucceedsSlantEqual': '\u227D',
- 'sccue': '\u227D',
- 'succcurlyeq': '\u227D',
- 'SucceedsTilde': '\u227F',
- 'scsim': '\u227F',
- 'succsim': '\u227F',
- 'Sum': '\u2211',
- 'sum': '\u2211',
- 'Sup': '\u22D1',
- 'Supset': '\u22D1',
- 'Superset': '\u2283',
- 'sup': '\u2283',
- 'supset': '\u2283',
- 'SupersetEqual': '\u2287',
- 'supe': '\u2287',
- 'supseteq': '\u2287',
- 'THORN': '\u00DE',
- 'TRADE': '\u2122',
- 'trade': '\u2122',
- 'TSHcy': '\u040B',
- 'TScy': '\u0426',
- 'Tab': '\u0009',
- 'Tau': '\u03A4',
- 'Tcaron': '\u0164',
- 'Tcedil': '\u0162',
- 'Tcy': '\u0422',
- 'Tfr': '\uD835\uDD17',
- 'Therefore': '\u2234',
- 'there4': '\u2234',
- 'therefore': '\u2234',
- 'Theta': '\u0398',
- 'ThickSpace': '\u205F\u200A',
- 'ThinSpace': '\u2009',
- 'thinsp': '\u2009',
- 'Tilde': '\u223C',
- 'sim': '\u223C',
- 'thicksim': '\u223C',
- 'thksim': '\u223C',
- 'TildeEqual': '\u2243',
- 'sime': '\u2243',
- 'simeq': '\u2243',
- 'TildeFullEqual': '\u2245',
- 'cong': '\u2245',
- 'TildeTilde': '\u2248',
- 'ap': '\u2248',
- 'approx': '\u2248',
- 'asymp': '\u2248',
- 'thickapprox': '\u2248',
- 'thkap': '\u2248',
- 'Topf': '\uD835\uDD4B',
- 'TripleDot': '\u20DB',
- 'tdot': '\u20DB',
- 'Tscr': '\uD835\uDCAF',
- 'Tstrok': '\u0166',
- 'Uacute': '\u00DA',
- 'Uarr': '\u219F',
- 'Uarrocir': '\u2949',
- 'Ubrcy': '\u040E',
- 'Ubreve': '\u016C',
- 'Ucirc': '\u00DB',
- 'Ucy': '\u0423',
- 'Udblac': '\u0170',
- 'Ufr': '\uD835\uDD18',
- 'Ugrave': '\u00D9',
- 'Umacr': '\u016A',
- 'UnderBar': '\u005F',
- 'lowbar': '\u005F',
- 'UnderBrace': '\u23DF',
- 'UnderBracket': '\u23B5',
- 'bbrk': '\u23B5',
- 'UnderParenthesis': '\u23DD',
- 'Union': '\u22C3',
- 'bigcup': '\u22C3',
- 'xcup': '\u22C3',
- 'UnionPlus': '\u228E',
- 'uplus': '\u228E',
- 'Uogon': '\u0172',
- 'Uopf': '\uD835\uDD4C',
- 'UpArrowBar': '\u2912',
- 'UpArrowDownArrow': '\u21C5',
- 'udarr': '\u21C5',
- 'UpDownArrow': '\u2195',
- 'updownarrow': '\u2195',
- 'varr': '\u2195',
- 'UpEquilibrium': '\u296E',
- 'udhar': '\u296E',
- 'UpTee': '\u22A5',
- 'bot': '\u22A5',
- 'bottom': '\u22A5',
- 'perp': '\u22A5',
- 'UpTeeArrow': '\u21A5',
- 'mapstoup': '\u21A5',
- 'UpperLeftArrow': '\u2196',
- 'nwarr': '\u2196',
- 'nwarrow': '\u2196',
- 'UpperRightArrow': '\u2197',
- 'nearr': '\u2197',
- 'nearrow': '\u2197',
- 'Upsi': '\u03D2',
- 'upsih': '\u03D2',
- 'Upsilon': '\u03A5',
- 'Uring': '\u016E',
- 'Uscr': '\uD835\uDCB0',
- 'Utilde': '\u0168',
- 'Uuml': '\u00DC',
- 'VDash': '\u22AB',
- 'Vbar': '\u2AEB',
- 'Vcy': '\u0412',
- 'Vdash': '\u22A9',
- 'Vdashl': '\u2AE6',
- 'Vee': '\u22C1',
- 'bigvee': '\u22C1',
- 'xvee': '\u22C1',
- 'Verbar': '\u2016',
- 'Vert': '\u2016',
- 'VerticalBar': '\u2223',
- 'mid': '\u2223',
- 'shortmid': '\u2223',
- 'smid': '\u2223',
- 'VerticalLine': '\u007C',
- 'verbar': '\u007C',
- 'vert': '\u007C',
- 'VerticalSeparator': '\u2758',
- 'VerticalTilde': '\u2240',
- 'wr': '\u2240',
- 'wreath': '\u2240',
- 'VeryThinSpace': '\u200A',
- 'hairsp': '\u200A',
- 'Vfr': '\uD835\uDD19',
- 'Vopf': '\uD835\uDD4D',
- 'Vscr': '\uD835\uDCB1',
- 'Vvdash': '\u22AA',
- 'Wcirc': '\u0174',
- 'Wedge': '\u22C0',
- 'bigwedge': '\u22C0',
- 'xwedge': '\u22C0',
- 'Wfr': '\uD835\uDD1A',
- 'Wopf': '\uD835\uDD4E',
- 'Wscr': '\uD835\uDCB2',
- 'Xfr': '\uD835\uDD1B',
- 'Xi': '\u039E',
- 'Xopf': '\uD835\uDD4F',
- 'Xscr': '\uD835\uDCB3',
- 'YAcy': '\u042F',
- 'YIcy': '\u0407',
- 'YUcy': '\u042E',
- 'Yacute': '\u00DD',
- 'Ycirc': '\u0176',
- 'Ycy': '\u042B',
- 'Yfr': '\uD835\uDD1C',
- 'Yopf': '\uD835\uDD50',
- 'Yscr': '\uD835\uDCB4',
- 'Yuml': '\u0178',
- 'ZHcy': '\u0416',
- 'Zacute': '\u0179',
- 'Zcaron': '\u017D',
- 'Zcy': '\u0417',
- 'Zdot': '\u017B',
- 'Zeta': '\u0396',
- 'Zfr': '\u2128',
- 'zeetrf': '\u2128',
- 'Zopf': '\u2124',
- 'integers': '\u2124',
- 'Zscr': '\uD835\uDCB5',
- 'aacute': '\u00E1',
- 'abreve': '\u0103',
- 'ac': '\u223E',
- 'mstpos': '\u223E',
- 'acE': '\u223E\u0333',
- 'acd': '\u223F',
- 'acirc': '\u00E2',
- 'acy': '\u0430',
- 'aelig': '\u00E6',
- 'afr': '\uD835\uDD1E',
- 'agrave': '\u00E0',
- 'alefsym': '\u2135',
- 'aleph': '\u2135',
- 'alpha': '\u03B1',
- 'amacr': '\u0101',
- 'amalg': '\u2A3F',
- 'and': '\u2227',
- 'wedge': '\u2227',
- 'andand': '\u2A55',
- 'andd': '\u2A5C',
- 'andslope': '\u2A58',
- 'andv': '\u2A5A',
- 'ang': '\u2220',
- 'angle': '\u2220',
- 'ange': '\u29A4',
- 'angmsd': '\u2221',
- 'measuredangle': '\u2221',
- 'angmsdaa': '\u29A8',
- 'angmsdab': '\u29A9',
- 'angmsdac': '\u29AA',
- 'angmsdad': '\u29AB',
- 'angmsdae': '\u29AC',
- 'angmsdaf': '\u29AD',
- 'angmsdag': '\u29AE',
- 'angmsdah': '\u29AF',
- 'angrt': '\u221F',
- 'angrtvb': '\u22BE',
- 'angrtvbd': '\u299D',
- 'angsph': '\u2222',
- 'angzarr': '\u237C',
- 'aogon': '\u0105',
- 'aopf': '\uD835\uDD52',
- 'apE': '\u2A70',
- 'apacir': '\u2A6F',
- 'ape': '\u224A',
- 'approxeq': '\u224A',
- 'apid': '\u224B',
- 'apos': '\u0027',
- 'aring': '\u00E5',
- 'ascr': '\uD835\uDCB6',
- 'ast': '\u002A',
- 'midast': '\u002A',
- 'atilde': '\u00E3',
- 'auml': '\u00E4',
- 'awint': '\u2A11',
- 'bNot': '\u2AED',
- 'backcong': '\u224C',
- 'bcong': '\u224C',
- 'backepsilon': '\u03F6',
- 'bepsi': '\u03F6',
- 'backprime': '\u2035',
- 'bprime': '\u2035',
- 'backsim': '\u223D',
- 'bsim': '\u223D',
- 'backsimeq': '\u22CD',
- 'bsime': '\u22CD',
- 'barvee': '\u22BD',
- 'barwed': '\u2305',
- 'barwedge': '\u2305',
- 'bbrktbrk': '\u23B6',
- 'bcy': '\u0431',
- 'bdquo': '\u201E',
- 'ldquor': '\u201E',
- 'bemptyv': '\u29B0',
- 'beta': '\u03B2',
- 'beth': '\u2136',
- 'between': '\u226C',
- 'twixt': '\u226C',
- 'bfr': '\uD835\uDD1F',
- 'bigcirc': '\u25EF',
- 'xcirc': '\u25EF',
- 'bigodot': '\u2A00',
- 'xodot': '\u2A00',
- 'bigoplus': '\u2A01',
- 'xoplus': '\u2A01',
- 'bigotimes': '\u2A02',
- 'xotime': '\u2A02',
- 'bigsqcup': '\u2A06',
- 'xsqcup': '\u2A06',
- 'bigstar': '\u2605',
- 'starf': '\u2605',
- 'bigtriangledown': '\u25BD',
- 'xdtri': '\u25BD',
- 'bigtriangleup': '\u25B3',
- 'xutri': '\u25B3',
- 'biguplus': '\u2A04',
- 'xuplus': '\u2A04',
- 'bkarow': '\u290D',
- 'rbarr': '\u290D',
- 'blacklozenge': '\u29EB',
- 'lozf': '\u29EB',
- 'blacktriangle': '\u25B4',
- 'utrif': '\u25B4',
- 'blacktriangledown': '\u25BE',
- 'dtrif': '\u25BE',
- 'blacktriangleleft': '\u25C2',
- 'ltrif': '\u25C2',
- 'blacktriangleright': '\u25B8',
- 'rtrif': '\u25B8',
- 'blank': '\u2423',
- 'blk12': '\u2592',
- 'blk14': '\u2591',
- 'blk34': '\u2593',
- 'block': '\u2588',
- 'bne': '\u003D\u20E5',
- 'bnequiv': '\u2261\u20E5',
- 'bnot': '\u2310',
- 'bopf': '\uD835\uDD53',
- 'bowtie': '\u22C8',
- 'boxDL': '\u2557',
- 'boxDR': '\u2554',
- 'boxDl': '\u2556',
- 'boxDr': '\u2553',
- 'boxH': '\u2550',
- 'boxHD': '\u2566',
- 'boxHU': '\u2569',
- 'boxHd': '\u2564',
- 'boxHu': '\u2567',
- 'boxUL': '\u255D',
- 'boxUR': '\u255A',
- 'boxUl': '\u255C',
- 'boxUr': '\u2559',
- 'boxV': '\u2551',
- 'boxVH': '\u256C',
- 'boxVL': '\u2563',
- 'boxVR': '\u2560',
- 'boxVh': '\u256B',
- 'boxVl': '\u2562',
- 'boxVr': '\u255F',
- 'boxbox': '\u29C9',
- 'boxdL': '\u2555',
- 'boxdR': '\u2552',
- 'boxdl': '\u2510',
- 'boxdr': '\u250C',
- 'boxhD': '\u2565',
- 'boxhU': '\u2568',
- 'boxhd': '\u252C',
- 'boxhu': '\u2534',
- 'boxminus': '\u229F',
- 'minusb': '\u229F',
- 'boxplus': '\u229E',
- 'plusb': '\u229E',
- 'boxtimes': '\u22A0',
- 'timesb': '\u22A0',
- 'boxuL': '\u255B',
- 'boxuR': '\u2558',
- 'boxul': '\u2518',
- 'boxur': '\u2514',
- 'boxv': '\u2502',
- 'boxvH': '\u256A',
- 'boxvL': '\u2561',
- 'boxvR': '\u255E',
- 'boxvh': '\u253C',
- 'boxvl': '\u2524',
- 'boxvr': '\u251C',
- 'brvbar': '\u00A6',
- 'bscr': '\uD835\uDCB7',
- 'bsemi': '\u204F',
- 'bsol': '\u005C',
- 'bsolb': '\u29C5',
- 'bsolhsub': '\u27C8',
- 'bull': '\u2022',
- 'bullet': '\u2022',
- 'bumpE': '\u2AAE',
- 'cacute': '\u0107',
- 'cap': '\u2229',
- 'capand': '\u2A44',
- 'capbrcup': '\u2A49',
- 'capcap': '\u2A4B',
- 'capcup': '\u2A47',
- 'capdot': '\u2A40',
- 'caps': '\u2229\uFE00',
- 'caret': '\u2041',
- 'ccaps': '\u2A4D',
- 'ccaron': '\u010D',
- 'ccedil': '\u00E7',
- 'ccirc': '\u0109',
- 'ccups': '\u2A4C',
- 'ccupssm': '\u2A50',
- 'cdot': '\u010B',
- 'cemptyv': '\u29B2',
- 'cent': '\u00A2',
- 'cfr': '\uD835\uDD20',
- 'chcy': '\u0447',
- 'check': '\u2713',
- 'checkmark': '\u2713',
- 'chi': '\u03C7',
- 'cir': '\u25CB',
- 'cirE': '\u29C3',
- 'circ': '\u02C6',
- 'circeq': '\u2257',
- 'cire': '\u2257',
- 'circlearrowleft': '\u21BA',
- 'olarr': '\u21BA',
- 'circlearrowright': '\u21BB',
- 'orarr': '\u21BB',
- 'circledS': '\u24C8',
- 'oS': '\u24C8',
- 'circledast': '\u229B',
- 'oast': '\u229B',
- 'circledcirc': '\u229A',
- 'ocir': '\u229A',
- 'circleddash': '\u229D',
- 'odash': '\u229D',
- 'cirfnint': '\u2A10',
- 'cirmid': '\u2AEF',
- 'cirscir': '\u29C2',
- 'clubs': '\u2663',
- 'clubsuit': '\u2663',
- 'colon': '\u003A',
- 'comma': '\u002C',
- 'commat': '\u0040',
- 'comp': '\u2201',
- 'complement': '\u2201',
- 'congdot': '\u2A6D',
- 'copf': '\uD835\uDD54',
- 'copysr': '\u2117',
- 'crarr': '\u21B5',
- 'cross': '\u2717',
- 'cscr': '\uD835\uDCB8',
- 'csub': '\u2ACF',
- 'csube': '\u2AD1',
- 'csup': '\u2AD0',
- 'csupe': '\u2AD2',
- 'ctdot': '\u22EF',
- 'cudarrl': '\u2938',
- 'cudarrr': '\u2935',
- 'cuepr': '\u22DE',
- 'curlyeqprec': '\u22DE',
- 'cuesc': '\u22DF',
- 'curlyeqsucc': '\u22DF',
- 'cularr': '\u21B6',
- 'curvearrowleft': '\u21B6',
- 'cularrp': '\u293D',
- 'cup': '\u222A',
- 'cupbrcap': '\u2A48',
- 'cupcap': '\u2A46',
- 'cupcup': '\u2A4A',
- 'cupdot': '\u228D',
- 'cupor': '\u2A45',
- 'cups': '\u222A\uFE00',
- 'curarr': '\u21B7',
- 'curvearrowright': '\u21B7',
- 'curarrm': '\u293C',
- 'curlyvee': '\u22CE',
- 'cuvee': '\u22CE',
- 'curlywedge': '\u22CF',
- 'cuwed': '\u22CF',
- 'curren': '\u00A4',
- 'cwint': '\u2231',
- 'cylcty': '\u232D',
- 'dHar': '\u2965',
- 'dagger': '\u2020',
- 'daleth': '\u2138',
- 'dash': '\u2010',
- 'hyphen': '\u2010',
- 'dbkarow': '\u290F',
- 'rBarr': '\u290F',
- 'dcaron': '\u010F',
- 'dcy': '\u0434',
- 'ddarr': '\u21CA',
- 'downdownarrows': '\u21CA',
- 'ddotseq': '\u2A77',
- 'eDDot': '\u2A77',
- 'deg': '\u00B0',
- 'delta': '\u03B4',
- 'demptyv': '\u29B1',
- 'dfisht': '\u297F',
- 'dfr': '\uD835\uDD21',
- 'diamondsuit': '\u2666',
- 'diams': '\u2666',
- 'digamma': '\u03DD',
- 'gammad': '\u03DD',
- 'disin': '\u22F2',
- 'div': '\u00F7',
- 'divide': '\u00F7',
- 'divideontimes': '\u22C7',
- 'divonx': '\u22C7',
- 'djcy': '\u0452',
- 'dlcorn': '\u231E',
- 'llcorner': '\u231E',
- 'dlcrop': '\u230D',
- 'dollar': '\u0024',
- 'dopf': '\uD835\uDD55',
- 'doteqdot': '\u2251',
- 'eDot': '\u2251',
- 'dotminus': '\u2238',
- 'minusd': '\u2238',
- 'dotplus': '\u2214',
- 'plusdo': '\u2214',
- 'dotsquare': '\u22A1',
- 'sdotb': '\u22A1',
- 'drcorn': '\u231F',
- 'lrcorner': '\u231F',
- 'drcrop': '\u230C',
- 'dscr': '\uD835\uDCB9',
- 'dscy': '\u0455',
- 'dsol': '\u29F6',
- 'dstrok': '\u0111',
- 'dtdot': '\u22F1',
- 'dtri': '\u25BF',
- 'triangledown': '\u25BF',
- 'dwangle': '\u29A6',
- 'dzcy': '\u045F',
- 'dzigrarr': '\u27FF',
- 'eacute': '\u00E9',
- 'easter': '\u2A6E',
- 'ecaron': '\u011B',
- 'ecir': '\u2256',
- 'eqcirc': '\u2256',
- 'ecirc': '\u00EA',
- 'ecolon': '\u2255',
- 'eqcolon': '\u2255',
- 'ecy': '\u044D',
- 'edot': '\u0117',
- 'efDot': '\u2252',
- 'fallingdotseq': '\u2252',
- 'efr': '\uD835\uDD22',
- 'eg': '\u2A9A',
- 'egrave': '\u00E8',
- 'egs': '\u2A96',
- 'eqslantgtr': '\u2A96',
- 'egsdot': '\u2A98',
- 'el': '\u2A99',
- 'elinters': '\u23E7',
- 'ell': '\u2113',
- 'els': '\u2A95',
- 'eqslantless': '\u2A95',
- 'elsdot': '\u2A97',
- 'emacr': '\u0113',
- 'empty': '\u2205',
- 'emptyset': '\u2205',
- 'emptyv': '\u2205',
- 'varnothing': '\u2205',
- 'emsp13': '\u2004',
- 'emsp14': '\u2005',
- 'emsp': '\u2003',
- 'eng': '\u014B',
- 'ensp': '\u2002',
- 'eogon': '\u0119',
- 'eopf': '\uD835\uDD56',
- 'epar': '\u22D5',
- 'eparsl': '\u29E3',
- 'eplus': '\u2A71',
- 'epsi': '\u03B5',
- 'epsilon': '\u03B5',
- 'epsiv': '\u03F5',
- 'straightepsilon': '\u03F5',
- 'varepsilon': '\u03F5',
- 'equals': '\u003D',
- 'equest': '\u225F',
- 'questeq': '\u225F',
- 'equivDD': '\u2A78',
- 'eqvparsl': '\u29E5',
- 'erDot': '\u2253',
- 'risingdotseq': '\u2253',
- 'erarr': '\u2971',
- 'escr': '\u212F',
- 'eta': '\u03B7',
- 'eth': '\u00F0',
- 'euml': '\u00EB',
- 'euro': '\u20AC',
- 'excl': '\u0021',
- 'fcy': '\u0444',
- 'female': '\u2640',
- 'ffilig': '\uFB03',
- 'fflig': '\uFB00',
- 'ffllig': '\uFB04',
- 'ffr': '\uD835\uDD23',
- 'filig': '\uFB01',
- 'fjlig': '\u0066\u006A',
- 'flat': '\u266D',
- 'fllig': '\uFB02',
- 'fltns': '\u25B1',
- 'fnof': '\u0192',
- 'fopf': '\uD835\uDD57',
- 'fork': '\u22D4',
- 'pitchfork': '\u22D4',
- 'forkv': '\u2AD9',
- 'fpartint': '\u2A0D',
- 'frac12': '\u00BD',
- 'half': '\u00BD',
- 'frac13': '\u2153',
- 'frac14': '\u00BC',
- 'frac15': '\u2155',
- 'frac16': '\u2159',
- 'frac18': '\u215B',
- 'frac23': '\u2154',
- 'frac25': '\u2156',
- 'frac34': '\u00BE',
- 'frac35': '\u2157',
- 'frac38': '\u215C',
- 'frac45': '\u2158',
- 'frac56': '\u215A',
- 'frac58': '\u215D',
- 'frac78': '\u215E',
- 'frasl': '\u2044',
- 'frown': '\u2322',
- 'sfrown': '\u2322',
- 'fscr': '\uD835\uDCBB',
- 'gEl': '\u2A8C',
- 'gtreqqless': '\u2A8C',
- 'gacute': '\u01F5',
- 'gamma': '\u03B3',
- 'gap': '\u2A86',
- 'gtrapprox': '\u2A86',
- 'gbreve': '\u011F',
- 'gcirc': '\u011D',
- 'gcy': '\u0433',
- 'gdot': '\u0121',
- 'gescc': '\u2AA9',
- 'gesdot': '\u2A80',
- 'gesdoto': '\u2A82',
- 'gesdotol': '\u2A84',
- 'gesl': '\u22DB\uFE00',
- 'gesles': '\u2A94',
- 'gfr': '\uD835\uDD24',
- 'gimel': '\u2137',
- 'gjcy': '\u0453',
- 'glE': '\u2A92',
- 'gla': '\u2AA5',
- 'glj': '\u2AA4',
- 'gnE': '\u2269',
- 'gneqq': '\u2269',
- 'gnap': '\u2A8A',
- 'gnapprox': '\u2A8A',
- 'gne': '\u2A88',
- 'gneq': '\u2A88',
- 'gnsim': '\u22E7',
- 'gopf': '\uD835\uDD58',
- 'gscr': '\u210A',
- 'gsime': '\u2A8E',
- 'gsiml': '\u2A90',
- 'gtcc': '\u2AA7',
- 'gtcir': '\u2A7A',
- 'gtdot': '\u22D7',
- 'gtrdot': '\u22D7',
- 'gtlPar': '\u2995',
- 'gtquest': '\u2A7C',
- 'gtrarr': '\u2978',
- 'gvertneqq': '\u2269\uFE00',
- 'gvnE': '\u2269\uFE00',
- 'hardcy': '\u044A',
- 'harrcir': '\u2948',
- 'harrw': '\u21AD',
- 'leftrightsquigarrow': '\u21AD',
- 'hbar': '\u210F',
- 'hslash': '\u210F',
- 'planck': '\u210F',
- 'plankv': '\u210F',
- 'hcirc': '\u0125',
- 'hearts': '\u2665',
- 'heartsuit': '\u2665',
- 'hellip': '\u2026',
- 'mldr': '\u2026',
- 'hercon': '\u22B9',
- 'hfr': '\uD835\uDD25',
- 'hksearow': '\u2925',
- 'searhk': '\u2925',
- 'hkswarow': '\u2926',
- 'swarhk': '\u2926',
- 'hoarr': '\u21FF',
- 'homtht': '\u223B',
- 'hookleftarrow': '\u21A9',
- 'larrhk': '\u21A9',
- 'hookrightarrow': '\u21AA',
- 'rarrhk': '\u21AA',
- 'hopf': '\uD835\uDD59',
- 'horbar': '\u2015',
- 'hscr': '\uD835\uDCBD',
- 'hstrok': '\u0127',
- 'hybull': '\u2043',
- 'iacute': '\u00ED',
- 'icirc': '\u00EE',
- 'icy': '\u0438',
- 'iecy': '\u0435',
- 'iexcl': '\u00A1',
- 'ifr': '\uD835\uDD26',
- 'igrave': '\u00EC',
- 'iiiint': '\u2A0C',
- 'qint': '\u2A0C',
- 'iiint': '\u222D',
- 'tint': '\u222D',
- 'iinfin': '\u29DC',
- 'iiota': '\u2129',
- 'ijlig': '\u0133',
- 'imacr': '\u012B',
- 'imath': '\u0131',
- 'inodot': '\u0131',
- 'imof': '\u22B7',
- 'imped': '\u01B5',
- 'incare': '\u2105',
- 'infin': '\u221E',
- 'infintie': '\u29DD',
- 'intcal': '\u22BA',
- 'intercal': '\u22BA',
- 'intlarhk': '\u2A17',
- 'intprod': '\u2A3C',
- 'iprod': '\u2A3C',
- 'iocy': '\u0451',
- 'iogon': '\u012F',
- 'iopf': '\uD835\uDD5A',
- 'iota': '\u03B9',
- 'iquest': '\u00BF',
- 'iscr': '\uD835\uDCBE',
- 'isinE': '\u22F9',
- 'isindot': '\u22F5',
- 'isins': '\u22F4',
- 'isinsv': '\u22F3',
- 'itilde': '\u0129',
- 'iukcy': '\u0456',
- 'iuml': '\u00EF',
- 'jcirc': '\u0135',
- 'jcy': '\u0439',
- 'jfr': '\uD835\uDD27',
- 'jmath': '\u0237',
- 'jopf': '\uD835\uDD5B',
- 'jscr': '\uD835\uDCBF',
- 'jsercy': '\u0458',
- 'jukcy': '\u0454',
- 'kappa': '\u03BA',
- 'kappav': '\u03F0',
- 'varkappa': '\u03F0',
- 'kcedil': '\u0137',
- 'kcy': '\u043A',
- 'kfr': '\uD835\uDD28',
- 'kgreen': '\u0138',
- 'khcy': '\u0445',
- 'kjcy': '\u045C',
- 'kopf': '\uD835\uDD5C',
- 'kscr': '\uD835\uDCC0',
- 'lAtail': '\u291B',
- 'lBarr': '\u290E',
- 'lEg': '\u2A8B',
- 'lesseqqgtr': '\u2A8B',
- 'lHar': '\u2962',
- 'lacute': '\u013A',
- 'laemptyv': '\u29B4',
- 'lambda': '\u03BB',
- 'langd': '\u2991',
- 'lap': '\u2A85',
- 'lessapprox': '\u2A85',
- 'laquo': '\u00AB',
- 'larrbfs': '\u291F',
- 'larrfs': '\u291D',
- 'larrlp': '\u21AB',
- 'looparrowleft': '\u21AB',
- 'larrpl': '\u2939',
- 'larrsim': '\u2973',
- 'larrtl': '\u21A2',
- 'leftarrowtail': '\u21A2',
- 'lat': '\u2AAB',
- 'latail': '\u2919',
- 'late': '\u2AAD',
- 'lates': '\u2AAD\uFE00',
- 'lbarr': '\u290C',
- 'lbbrk': '\u2772',
- 'lbrace': '\u007B',
- 'lcub': '\u007B',
- 'lbrack': '\u005B',
- 'lsqb': '\u005B',
- 'lbrke': '\u298B',
- 'lbrksld': '\u298F',
- 'lbrkslu': '\u298D',
- 'lcaron': '\u013E',
- 'lcedil': '\u013C',
- 'lcy': '\u043B',
- 'ldca': '\u2936',
- 'ldrdhar': '\u2967',
- 'ldrushar': '\u294B',
- 'ldsh': '\u21B2',
- 'le': '\u2264',
- 'leq': '\u2264',
- 'leftleftarrows': '\u21C7',
- 'llarr': '\u21C7',
- 'leftthreetimes': '\u22CB',
- 'lthree': '\u22CB',
- 'lescc': '\u2AA8',
- 'lesdot': '\u2A7F',
- 'lesdoto': '\u2A81',
- 'lesdotor': '\u2A83',
- 'lesg': '\u22DA\uFE00',
- 'lesges': '\u2A93',
- 'lessdot': '\u22D6',
- 'ltdot': '\u22D6',
- 'lfisht': '\u297C',
- 'lfr': '\uD835\uDD29',
- 'lgE': '\u2A91',
- 'lharul': '\u296A',
- 'lhblk': '\u2584',
- 'ljcy': '\u0459',
- 'llhard': '\u296B',
- 'lltri': '\u25FA',
- 'lmidot': '\u0140',
- 'lmoust': '\u23B0',
- 'lmoustache': '\u23B0',
- 'lnE': '\u2268',
- 'lneqq': '\u2268',
- 'lnap': '\u2A89',
- 'lnapprox': '\u2A89',
- 'lne': '\u2A87',
- 'lneq': '\u2A87',
- 'lnsim': '\u22E6',
- 'loang': '\u27EC',
- 'loarr': '\u21FD',
- 'longmapsto': '\u27FC',
- 'xmap': '\u27FC',
- 'looparrowright': '\u21AC',
- 'rarrlp': '\u21AC',
- 'lopar': '\u2985',
- 'lopf': '\uD835\uDD5D',
- 'loplus': '\u2A2D',
- 'lotimes': '\u2A34',
- 'lowast': '\u2217',
- 'loz': '\u25CA',
- 'lozenge': '\u25CA',
- 'lpar': '\u0028',
- 'lparlt': '\u2993',
- 'lrhard': '\u296D',
- 'lrm': '\u200E',
- 'lrtri': '\u22BF',
- 'lsaquo': '\u2039',
- 'lscr': '\uD835\uDCC1',
- 'lsime': '\u2A8D',
- 'lsimg': '\u2A8F',
- 'lsquor': '\u201A',
- 'sbquo': '\u201A',
- 'lstrok': '\u0142',
- 'ltcc': '\u2AA6',
- 'ltcir': '\u2A79',
- 'ltimes': '\u22C9',
- 'ltlarr': '\u2976',
- 'ltquest': '\u2A7B',
- 'ltrPar': '\u2996',
- 'ltri': '\u25C3',
- 'triangleleft': '\u25C3',
- 'lurdshar': '\u294A',
- 'luruhar': '\u2966',
- 'lvertneqq': '\u2268\uFE00',
- 'lvnE': '\u2268\uFE00',
- 'mDDot': '\u223A',
- 'macr': '\u00AF',
- 'strns': '\u00AF',
- 'male': '\u2642',
- 'malt': '\u2720',
- 'maltese': '\u2720',
- 'marker': '\u25AE',
- 'mcomma': '\u2A29',
- 'mcy': '\u043C',
- 'mdash': '\u2014',
- 'mfr': '\uD835\uDD2A',
- 'mho': '\u2127',
- 'micro': '\u00B5',
- 'midcir': '\u2AF0',
- 'minus': '\u2212',
- 'minusdu': '\u2A2A',
- 'mlcp': '\u2ADB',
- 'models': '\u22A7',
- 'mopf': '\uD835\uDD5E',
- 'mscr': '\uD835\uDCC2',
- 'mu': '\u03BC',
- 'multimap': '\u22B8',
- 'mumap': '\u22B8',
- 'nGg': '\u22D9\u0338',
- 'nGt': '\u226B\u20D2',
- 'nLeftarrow': '\u21CD',
- 'nlArr': '\u21CD',
- 'nLeftrightarrow': '\u21CE',
- 'nhArr': '\u21CE',
- 'nLl': '\u22D8\u0338',
- 'nLt': '\u226A\u20D2',
- 'nRightarrow': '\u21CF',
- 'nrArr': '\u21CF',
- 'nVDash': '\u22AF',
- 'nVdash': '\u22AE',
- 'nacute': '\u0144',
- 'nang': '\u2220\u20D2',
- 'napE': '\u2A70\u0338',
- 'napid': '\u224B\u0338',
- 'napos': '\u0149',
- 'natur': '\u266E',
- 'natural': '\u266E',
- 'ncap': '\u2A43',
- 'ncaron': '\u0148',
- 'ncedil': '\u0146',
- 'ncongdot': '\u2A6D\u0338',
- 'ncup': '\u2A42',
- 'ncy': '\u043D',
- 'ndash': '\u2013',
- 'neArr': '\u21D7',
- 'nearhk': '\u2924',
- 'nedot': '\u2250\u0338',
- 'nesear': '\u2928',
- 'toea': '\u2928',
- 'nfr': '\uD835\uDD2B',
- 'nharr': '\u21AE',
- 'nleftrightarrow': '\u21AE',
- 'nhpar': '\u2AF2',
- 'nis': '\u22FC',
- 'nisd': '\u22FA',
- 'njcy': '\u045A',
- 'nlE': '\u2266\u0338',
- 'nleqq': '\u2266\u0338',
- 'nlarr': '\u219A',
- 'nleftarrow': '\u219A',
- 'nldr': '\u2025',
- 'nopf': '\uD835\uDD5F',
- 'not': '\u00AC',
- 'notinE': '\u22F9\u0338',
- 'notindot': '\u22F5\u0338',
- 'notinvb': '\u22F7',
- 'notinvc': '\u22F6',
- 'notnivb': '\u22FE',
- 'notnivc': '\u22FD',
- 'nparsl': '\u2AFD\u20E5',
- 'npart': '\u2202\u0338',
- 'npolint': '\u2A14',
- 'nrarr': '\u219B',
- 'nrightarrow': '\u219B',
- 'nrarrc': '\u2933\u0338',
- 'nrarrw': '\u219D\u0338',
- 'nscr': '\uD835\uDCC3',
- 'nsub': '\u2284',
- 'nsubE': '\u2AC5\u0338',
- 'nsubseteqq': '\u2AC5\u0338',
- 'nsup': '\u2285',
- 'nsupE': '\u2AC6\u0338',
- 'nsupseteqq': '\u2AC6\u0338',
- 'ntilde': '\u00F1',
- 'nu': '\u03BD',
- 'num': '\u0023',
- 'numero': '\u2116',
- 'numsp': '\u2007',
- 'nvDash': '\u22AD',
- 'nvHarr': '\u2904',
- 'nvap': '\u224D\u20D2',
- 'nvdash': '\u22AC',
- 'nvge': '\u2265\u20D2',
- 'nvgt': '\u003E\u20D2',
- 'nvinfin': '\u29DE',
- 'nvlArr': '\u2902',
- 'nvle': '\u2264\u20D2',
- 'nvlt': '\u003C\u20D2',
- 'nvltrie': '\u22B4\u20D2',
- 'nvrArr': '\u2903',
- 'nvrtrie': '\u22B5\u20D2',
- 'nvsim': '\u223C\u20D2',
- 'nwArr': '\u21D6',
- 'nwarhk': '\u2923',
- 'nwnear': '\u2927',
- 'oacute': '\u00F3',
- 'ocirc': '\u00F4',
- 'ocy': '\u043E',
- 'odblac': '\u0151',
- 'odiv': '\u2A38',
- 'odsold': '\u29BC',
- 'oelig': '\u0153',
- 'ofcir': '\u29BF',
- 'ofr': '\uD835\uDD2C',
- 'ogon': '\u02DB',
- 'ograve': '\u00F2',
- 'ogt': '\u29C1',
- 'ohbar': '\u29B5',
- 'olcir': '\u29BE',
- 'olcross': '\u29BB',
- 'olt': '\u29C0',
- 'omacr': '\u014D',
- 'omega': '\u03C9',
- 'omicron': '\u03BF',
- 'omid': '\u29B6',
- 'oopf': '\uD835\uDD60',
- 'opar': '\u29B7',
- 'operp': '\u29B9',
- 'or': '\u2228',
- 'vee': '\u2228',
- 'ord': '\u2A5D',
- 'order': '\u2134',
- 'orderof': '\u2134',
- 'oscr': '\u2134',
- 'ordf': '\u00AA',
- 'ordm': '\u00BA',
- 'origof': '\u22B6',
- 'oror': '\u2A56',
- 'orslope': '\u2A57',
- 'orv': '\u2A5B',
- 'oslash': '\u00F8',
- 'osol': '\u2298',
- 'otilde': '\u00F5',
- 'otimesas': '\u2A36',
- 'ouml': '\u00F6',
- 'ovbar': '\u233D',
- 'para': '\u00B6',
- 'parsim': '\u2AF3',
- 'parsl': '\u2AFD',
- 'pcy': '\u043F',
- 'percnt': '\u0025',
- 'period': '\u002E',
- 'permil': '\u2030',
- 'pertenk': '\u2031',
- 'pfr': '\uD835\uDD2D',
- 'phi': '\u03C6',
- 'phiv': '\u03D5',
- 'straightphi': '\u03D5',
- 'varphi': '\u03D5',
- 'phone': '\u260E',
- 'pi': '\u03C0',
- 'piv': '\u03D6',
- 'varpi': '\u03D6',
- 'planckh': '\u210E',
- 'plus': '\u002B',
- 'plusacir': '\u2A23',
- 'pluscir': '\u2A22',
- 'plusdu': '\u2A25',
- 'pluse': '\u2A72',
- 'plussim': '\u2A26',
- 'plustwo': '\u2A27',
- 'pointint': '\u2A15',
- 'popf': '\uD835\uDD61',
- 'pound': '\u00A3',
- 'prE': '\u2AB3',
- 'prap': '\u2AB7',
- 'precapprox': '\u2AB7',
- 'precnapprox': '\u2AB9',
- 'prnap': '\u2AB9',
- 'precneqq': '\u2AB5',
- 'prnE': '\u2AB5',
- 'precnsim': '\u22E8',
- 'prnsim': '\u22E8',
- 'prime': '\u2032',
- 'profalar': '\u232E',
- 'profline': '\u2312',
- 'profsurf': '\u2313',
- 'prurel': '\u22B0',
- 'pscr': '\uD835\uDCC5',
- 'psi': '\u03C8',
- 'puncsp': '\u2008',
- 'qfr': '\uD835\uDD2E',
- 'qopf': '\uD835\uDD62',
- 'qprime': '\u2057',
- 'qscr': '\uD835\uDCC6',
- 'quatint': '\u2A16',
- 'quest': '\u003F',
- 'rAtail': '\u291C',
- 'rHar': '\u2964',
- 'race': '\u223D\u0331',
- 'racute': '\u0155',
- 'raemptyv': '\u29B3',
- 'rangd': '\u2992',
- 'range': '\u29A5',
- 'raquo': '\u00BB',
- 'rarrap': '\u2975',
- 'rarrbfs': '\u2920',
- 'rarrc': '\u2933',
- 'rarrfs': '\u291E',
- 'rarrpl': '\u2945',
- 'rarrsim': '\u2974',
- 'rarrtl': '\u21A3',
- 'rightarrowtail': '\u21A3',
- 'rarrw': '\u219D',
- 'rightsquigarrow': '\u219D',
- 'ratail': '\u291A',
- 'ratio': '\u2236',
- 'rbbrk': '\u2773',
- 'rbrace': '\u007D',
- 'rcub': '\u007D',
- 'rbrack': '\u005D',
- 'rsqb': '\u005D',
- 'rbrke': '\u298C',
- 'rbrksld': '\u298E',
- 'rbrkslu': '\u2990',
- 'rcaron': '\u0159',
- 'rcedil': '\u0157',
- 'rcy': '\u0440',
- 'rdca': '\u2937',
- 'rdldhar': '\u2969',
- 'rdsh': '\u21B3',
- 'rect': '\u25AD',
- 'rfisht': '\u297D',
- 'rfr': '\uD835\uDD2F',
- 'rharul': '\u296C',
- 'rho': '\u03C1',
- 'rhov': '\u03F1',
- 'varrho': '\u03F1',
- 'rightrightarrows': '\u21C9',
- 'rrarr': '\u21C9',
- 'rightthreetimes': '\u22CC',
- 'rthree': '\u22CC',
- 'ring': '\u02DA',
- 'rlm': '\u200F',
- 'rmoust': '\u23B1',
- 'rmoustache': '\u23B1',
- 'rnmid': '\u2AEE',
- 'roang': '\u27ED',
- 'roarr': '\u21FE',
- 'ropar': '\u2986',
- 'ropf': '\uD835\uDD63',
- 'roplus': '\u2A2E',
- 'rotimes': '\u2A35',
- 'rpar': '\u0029',
- 'rpargt': '\u2994',
- 'rppolint': '\u2A12',
- 'rsaquo': '\u203A',
- 'rscr': '\uD835\uDCC7',
- 'rtimes': '\u22CA',
- 'rtri': '\u25B9',
- 'triangleright': '\u25B9',
- 'rtriltri': '\u29CE',
- 'ruluhar': '\u2968',
- 'rx': '\u211E',
- 'sacute': '\u015B',
- 'scE': '\u2AB4',
- 'scap': '\u2AB8',
- 'succapprox': '\u2AB8',
- 'scaron': '\u0161',
- 'scedil': '\u015F',
- 'scirc': '\u015D',
- 'scnE': '\u2AB6',
- 'succneqq': '\u2AB6',
- 'scnap': '\u2ABA',
- 'succnapprox': '\u2ABA',
- 'scnsim': '\u22E9',
- 'succnsim': '\u22E9',
- 'scpolint': '\u2A13',
- 'scy': '\u0441',
- 'sdot': '\u22C5',
- 'sdote': '\u2A66',
- 'seArr': '\u21D8',
- 'sect': '\u00A7',
- 'semi': '\u003B',
- 'seswar': '\u2929',
- 'tosa': '\u2929',
- 'sext': '\u2736',
- 'sfr': '\uD835\uDD30',
- 'sharp': '\u266F',
- 'shchcy': '\u0449',
- 'shcy': '\u0448',
- 'shy': '\u00AD',
- 'sigma': '\u03C3',
- 'sigmaf': '\u03C2',
- 'sigmav': '\u03C2',
- 'varsigma': '\u03C2',
- 'simdot': '\u2A6A',
- 'simg': '\u2A9E',
- 'simgE': '\u2AA0',
- 'siml': '\u2A9D',
- 'simlE': '\u2A9F',
- 'simne': '\u2246',
- 'simplus': '\u2A24',
- 'simrarr': '\u2972',
- 'smashp': '\u2A33',
- 'smeparsl': '\u29E4',
- 'smile': '\u2323',
- 'ssmile': '\u2323',
- 'smt': '\u2AAA',
- 'smte': '\u2AAC',
- 'smtes': '\u2AAC\uFE00',
- 'softcy': '\u044C',
- 'sol': '\u002F',
- 'solb': '\u29C4',
- 'solbar': '\u233F',
- 'sopf': '\uD835\uDD64',
- 'spades': '\u2660',
- 'spadesuit': '\u2660',
- 'sqcaps': '\u2293\uFE00',
- 'sqcups': '\u2294\uFE00',
- 'sscr': '\uD835\uDCC8',
- 'star': '\u2606',
- 'sub': '\u2282',
- 'subset': '\u2282',
- 'subE': '\u2AC5',
- 'subseteqq': '\u2AC5',
- 'subdot': '\u2ABD',
- 'subedot': '\u2AC3',
- 'submult': '\u2AC1',
- 'subnE': '\u2ACB',
- 'subsetneqq': '\u2ACB',
- 'subne': '\u228A',
- 'subsetneq': '\u228A',
- 'subplus': '\u2ABF',
- 'subrarr': '\u2979',
- 'subsim': '\u2AC7',
- 'subsub': '\u2AD5',
- 'subsup': '\u2AD3',
- 'sung': '\u266A',
- 'sup1': '\u00B9',
- 'sup2': '\u00B2',
- 'sup3': '\u00B3',
- 'supE': '\u2AC6',
- 'supseteqq': '\u2AC6',
- 'supdot': '\u2ABE',
- 'supdsub': '\u2AD8',
- 'supedot': '\u2AC4',
- 'suphsol': '\u27C9',
- 'suphsub': '\u2AD7',
- 'suplarr': '\u297B',
- 'supmult': '\u2AC2',
- 'supnE': '\u2ACC',
- 'supsetneqq': '\u2ACC',
- 'supne': '\u228B',
- 'supsetneq': '\u228B',
- 'supplus': '\u2AC0',
- 'supsim': '\u2AC8',
- 'supsub': '\u2AD4',
- 'supsup': '\u2AD6',
- 'swArr': '\u21D9',
- 'swnwar': '\u292A',
- 'szlig': '\u00DF',
- 'target': '\u2316',
- 'tau': '\u03C4',
- 'tcaron': '\u0165',
- 'tcedil': '\u0163',
- 'tcy': '\u0442',
- 'telrec': '\u2315',
- 'tfr': '\uD835\uDD31',
- 'theta': '\u03B8',
- 'thetasym': '\u03D1',
- 'thetav': '\u03D1',
- 'vartheta': '\u03D1',
- 'thorn': '\u00FE',
- 'times': '\u00D7',
- 'timesbar': '\u2A31',
- 'timesd': '\u2A30',
- 'topbot': '\u2336',
- 'topcir': '\u2AF1',
- 'topf': '\uD835\uDD65',
- 'topfork': '\u2ADA',
- 'tprime': '\u2034',
- 'triangle': '\u25B5',
- 'utri': '\u25B5',
- 'triangleq': '\u225C',
- 'trie': '\u225C',
- 'tridot': '\u25EC',
- 'triminus': '\u2A3A',
- 'triplus': '\u2A39',
- 'trisb': '\u29CD',
- 'tritime': '\u2A3B',
- 'trpezium': '\u23E2',
- 'tscr': '\uD835\uDCC9',
- 'tscy': '\u0446',
- 'tshcy': '\u045B',
- 'tstrok': '\u0167',
- 'uHar': '\u2963',
- 'uacute': '\u00FA',
- 'ubrcy': '\u045E',
- 'ubreve': '\u016D',
- 'ucirc': '\u00FB',
- 'ucy': '\u0443',
- 'udblac': '\u0171',
- 'ufisht': '\u297E',
- 'ufr': '\uD835\uDD32',
- 'ugrave': '\u00F9',
- 'uhblk': '\u2580',
- 'ulcorn': '\u231C',
- 'ulcorner': '\u231C',
- 'ulcrop': '\u230F',
- 'ultri': '\u25F8',
- 'umacr': '\u016B',
- 'uogon': '\u0173',
- 'uopf': '\uD835\uDD66',
- 'upsi': '\u03C5',
- 'upsilon': '\u03C5',
- 'upuparrows': '\u21C8',
- 'uuarr': '\u21C8',
- 'urcorn': '\u231D',
- 'urcorner': '\u231D',
- 'urcrop': '\u230E',
- 'uring': '\u016F',
- 'urtri': '\u25F9',
- 'uscr': '\uD835\uDCCA',
- 'utdot': '\u22F0',
- 'utilde': '\u0169',
- 'uuml': '\u00FC',
- 'uwangle': '\u29A7',
- 'vBar': '\u2AE8',
- 'vBarv': '\u2AE9',
- 'vangrt': '\u299C',
- 'varsubsetneq': '\u228A\uFE00',
- 'vsubne': '\u228A\uFE00',
- 'varsubsetneqq': '\u2ACB\uFE00',
- 'vsubnE': '\u2ACB\uFE00',
- 'varsupsetneq': '\u228B\uFE00',
- 'vsupne': '\u228B\uFE00',
- 'varsupsetneqq': '\u2ACC\uFE00',
- 'vsupnE': '\u2ACC\uFE00',
- 'vcy': '\u0432',
- 'veebar': '\u22BB',
- 'veeeq': '\u225A',
- 'vellip': '\u22EE',
- 'vfr': '\uD835\uDD33',
- 'vopf': '\uD835\uDD67',
- 'vscr': '\uD835\uDCCB',
- 'vzigzag': '\u299A',
- 'wcirc': '\u0175',
- 'wedbar': '\u2A5F',
- 'wedgeq': '\u2259',
- 'weierp': '\u2118',
- 'wp': '\u2118',
- 'wfr': '\uD835\uDD34',
- 'wopf': '\uD835\uDD68',
- 'wscr': '\uD835\uDCCC',
- 'xfr': '\uD835\uDD35',
- 'xi': '\u03BE',
- 'xnis': '\u22FB',
- 'xopf': '\uD835\uDD69',
- 'xscr': '\uD835\uDCCD',
- 'yacute': '\u00FD',
- 'yacy': '\u044F',
- 'ycirc': '\u0177',
- 'ycy': '\u044B',
- 'yen': '\u00A5',
- 'yfr': '\uD835\uDD36',
- 'yicy': '\u0457',
- 'yopf': '\uD835\uDD6A',
- 'yscr': '\uD835\uDCCE',
- 'yucy': '\u044E',
- 'yuml': '\u00FF',
- 'zacute': '\u017A',
- 'zcaron': '\u017E',
- 'zcy': '\u0437',
- 'zdot': '\u017C',
- 'zeta': '\u03B6',
- 'zfr': '\uD835\uDD37',
- 'zhcy': '\u0436',
- 'zigrarr': '\u21DD',
- 'zopf': '\uD835\uDD6B',
- 'zscr': '\uD835\uDCCF',
- 'zwj': '\u200D',
- 'zwnj': '\u200C'
- }; // The &ngsp; pseudo-entity is denoting a space. see:
- // https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart
- const NGSP_UNICODE = '\uE500';
- NAMED_ENTITIES['ngsp'] = NGSP_UNICODE;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class TokenError extends ParseError {
- constructor(errorMsg, tokenType, span) {
- super(span, errorMsg);
- this.tokenType = tokenType;
- }
- }
- class TokenizeResult {
- constructor(tokens, errors, nonNormalizedIcuExpressions) {
- this.tokens = tokens;
- this.errors = errors;
- this.nonNormalizedIcuExpressions = nonNormalizedIcuExpressions;
- }
- }
- function tokenize(source, url, getTagDefinition, options = {}) {
- const tokenizer = new _Tokenizer(new ParseSourceFile(source, url), getTagDefinition, options);
- tokenizer.tokenize();
- return new TokenizeResult(mergeTextTokens(tokenizer.tokens), tokenizer.errors, tokenizer.nonNormalizedIcuExpressions);
- }
- const _CR_OR_CRLF_REGEXP = /\r\n?/g;
- function _unexpectedCharacterErrorMsg(charCode) {
- const char = charCode === $EOF ? 'EOF' : String.fromCharCode(charCode);
- return `Unexpected character "${char}"`;
- }
- function _unknownEntityErrorMsg(entitySrc) {
- return `Unknown entity "${entitySrc}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
- }
- function _unparsableEntityErrorMsg(type, entityStr) {
- return `Unable to parse entity "${entityStr}" - ${type} character reference entities must end with ";"`;
- }
- var CharacterReferenceType;
- (function (CharacterReferenceType) {
- CharacterReferenceType["HEX"] = "hexadecimal";
- CharacterReferenceType["DEC"] = "decimal";
- })(CharacterReferenceType || (CharacterReferenceType = {}));
- class _ControlFlowError {
- constructor(error) {
- this.error = error;
- }
- } // See https://www.w3.org/TR/html51/syntax.html#writing-html-documents
- class _Tokenizer {
- /**
- * @param _file The html source file being tokenized.
- * @param _getTagDefinition A function that will retrieve a tag definition for a given tag name.
- * @param options Configuration of the tokenization.
- */
- constructor(_file, _getTagDefinition, options) {
- this._getTagDefinition = _getTagDefinition;
- this._currentTokenStart = null;
- this._currentTokenType = null;
- this._expansionCaseStack = [];
- this._inInterpolation = false;
- this.tokens = [];
- this.errors = [];
- this.nonNormalizedIcuExpressions = [];
- this._tokenizeIcu = options.tokenizeExpansionForms || false;
- this._interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;
- this._leadingTriviaCodePoints = options.leadingTriviaChars && options.leadingTriviaChars.map(c => c.codePointAt(0) || 0);
- const range = options.range || {
- endPos: _file.content.length,
- startPos: 0,
- startLine: 0,
- startCol: 0
- };
- this._cursor = options.escapedString ? new EscapedCharacterCursor(_file, range) : new PlainCharacterCursor(_file, range);
- this._preserveLineEndings = options.preserveLineEndings || false;
- this._escapedString = options.escapedString || false;
- this._i18nNormalizeLineEndingsInICUs = options.i18nNormalizeLineEndingsInICUs || false;
- try {
- this._cursor.init();
- } catch (e) {
- this.handleError(e);
- }
- }
- _processCarriageReturns(content) {
- if (this._preserveLineEndings) {
- return content;
- } // https://www.w3.org/TR/html51/syntax.html#preprocessing-the-input-stream
- // In order to keep the original position in the source, we can not
- // pre-process it.
- // Instead CRs are processed right before instantiating the tokens.
- return content.replace(_CR_OR_CRLF_REGEXP, '\n');
- }
- tokenize() {
- while (this._cursor.peek() !== $EOF) {
- const start = this._cursor.clone();
- try {
- if (this._attemptCharCode($LT)) {
- if (this._attemptCharCode($BANG)) {
- if (this._attemptCharCode($LBRACKET)) {
- this._consumeCdata(start);
- } else if (this._attemptCharCode($MINUS)) {
- this._consumeComment(start);
- } else {
- this._consumeDocType(start);
- }
- } else if (this._attemptCharCode($SLASH)) {
- this._consumeTagClose(start);
- } else {
- this._consumeTagOpen(start);
- }
- } else if (!(this._tokenizeIcu && this._tokenizeExpansionForm())) {
- // In (possibly interpolated) text the end of the text is given by `isTextEnd()`, while
- // the premature end of an interpolation is given by the start of a new HTML element.
- this._consumeWithInterpolation(5
- /* TokenType.TEXT */
- , 8
- /* TokenType.INTERPOLATION */
- , () => this._isTextEnd(), () => this._isTagStart());
- }
- } catch (e) {
- this.handleError(e);
- }
- }
- this._beginToken(24
- /* TokenType.EOF */
- );
- this._endToken([]);
- }
- /**
- * @returns whether an ICU token has been created
- * @internal
- */
- _tokenizeExpansionForm() {
- if (this.isExpansionFormStart()) {
- this._consumeExpansionFormStart();
- return true;
- }
- if (isExpansionCaseStart(this._cursor.peek()) && this._isInExpansionForm()) {
- this._consumeExpansionCaseStart();
- return true;
- }
- if (this._cursor.peek() === $RBRACE) {
- if (this._isInExpansionCase()) {
- this._consumeExpansionCaseEnd();
- return true;
- }
- if (this._isInExpansionForm()) {
- this._consumeExpansionFormEnd();
- return true;
- }
- }
- return false;
- }
- _beginToken(type, start = this._cursor.clone()) {
- this._currentTokenStart = start;
- this._currentTokenType = type;
- }
- _endToken(parts, end) {
- if (this._currentTokenStart === null) {
- throw new TokenError('Programming error - attempted to end a token when there was no start to the token', this._currentTokenType, this._cursor.getSpan(end));
- }
- if (this._currentTokenType === null) {
- throw new TokenError('Programming error - attempted to end a token which has no token type', null, this._cursor.getSpan(this._currentTokenStart));
- }
- const token = {
- type: this._currentTokenType,
- parts,
- sourceSpan: (end !== null && end !== void 0 ? end : this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints)
- };
- this.tokens.push(token);
- this._currentTokenStart = null;
- this._currentTokenType = null;
- return token;
- }
- _createError(msg, span) {
- if (this._isInExpansionForm()) {
- msg += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`;
- }
- const error = new TokenError(msg, this._currentTokenType, span);
- this._currentTokenStart = null;
- this._currentTokenType = null;
- return new _ControlFlowError(error);
- }
- handleError(e) {
- if (e instanceof CursorError) {
- e = this._createError(e.msg, this._cursor.getSpan(e.cursor));
- }
- if (e instanceof _ControlFlowError) {
- this.errors.push(e.error);
- } else {
- throw e;
- }
- }
- _attemptCharCode(charCode) {
- if (this._cursor.peek() === charCode) {
- this._cursor.advance();
- return true;
- }
- return false;
- }
- _attemptCharCodeCaseInsensitive(charCode) {
- if (compareCharCodeCaseInsensitive(this._cursor.peek(), charCode)) {
- this._cursor.advance();
- return true;
- }
- return false;
- }
- _requireCharCode(charCode) {
- const location = this._cursor.clone();
- if (!this._attemptCharCode(charCode)) {
- throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location));
- }
- }
- _attemptStr(chars) {
- const len = chars.length;
- if (this._cursor.charsLeft() < len) {
- return false;
- }
- const initialPosition = this._cursor.clone();
- for (let i = 0; i < len; i++) {
- if (!this._attemptCharCode(chars.charCodeAt(i))) {
- // If attempting to parse the string fails, we want to reset the parser
- // to where it was before the attempt
- this._cursor = initialPosition;
- return false;
- }
- }
- return true;
- }
- _attemptStrCaseInsensitive(chars) {
- for (let i = 0; i < chars.length; i++) {
- if (!this._attemptCharCodeCaseInsensitive(chars.charCodeAt(i))) {
- return false;
- }
- }
- return true;
- }
- _requireStr(chars) {
- const location = this._cursor.clone();
- if (!this._attemptStr(chars)) {
- throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(location));
- }
- }
- _attemptCharCodeUntilFn(predicate) {
- while (!predicate(this._cursor.peek())) {
- this._cursor.advance();
- }
- }
- _requireCharCodeUntilFn(predicate, len) {
- const start = this._cursor.clone();
- this._attemptCharCodeUntilFn(predicate);
- if (this._cursor.diff(start) < len) {
- throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start));
- }
- }
- _attemptUntilChar(char) {
- while (this._cursor.peek() !== char) {
- this._cursor.advance();
- }
- }
- _readChar() {
- // Don't rely upon reading directly from `_input` as the actual char value
- // may have been generated from an escape sequence.
- const char = String.fromCodePoint(this._cursor.peek());
- this._cursor.advance();
- return char;
- }
- _consumeEntity(textTokenType) {
- this._beginToken(9
- /* TokenType.ENCODED_ENTITY */
- );
- const start = this._cursor.clone();
- this._cursor.advance();
- if (this._attemptCharCode($HASH)) {
- const isHex = this._attemptCharCode($x) || this._attemptCharCode($X);
- const codeStart = this._cursor.clone();
- this._attemptCharCodeUntilFn(isDigitEntityEnd);
- if (this._cursor.peek() != $SEMICOLON) {
- // Advance cursor to include the peeked character in the string provided to the error
- // message.
- this._cursor.advance();
- const entityType = isHex ? CharacterReferenceType.HEX : CharacterReferenceType.DEC;
- throw this._createError(_unparsableEntityErrorMsg(entityType, this._cursor.getChars(start)), this._cursor.getSpan());
- }
- const strNum = this._cursor.getChars(codeStart);
- this._cursor.advance();
- try {
- const charCode = parseInt(strNum, isHex ? 16 : 10);
- this._endToken([String.fromCharCode(charCode), this._cursor.getChars(start)]);
- } catch (_a) {
- throw this._createError(_unknownEntityErrorMsg(this._cursor.getChars(start)), this._cursor.getSpan());
- }
- } else {
- const nameStart = this._cursor.clone();
- this._attemptCharCodeUntilFn(isNamedEntityEnd);
- if (this._cursor.peek() != $SEMICOLON) {
- // No semicolon was found so abort the encoded entity token that was in progress, and treat
- // this as a text token
- this._beginToken(textTokenType, start);
- this._cursor = nameStart;
- this._endToken(['&']);
- } else {
- const name = this._cursor.getChars(nameStart);
- this._cursor.advance();
- const char = NAMED_ENTITIES[name];
- if (!char) {
- throw this._createError(_unknownEntityErrorMsg(name), this._cursor.getSpan(start));
- }
- this._endToken([char, `&${name};`]);
- }
- }
- }
- _consumeRawText(consumeEntities, endMarkerPredicate) {
- this._beginToken(consumeEntities ? 6
- /* TokenType.ESCAPABLE_RAW_TEXT */
- : 7
- /* TokenType.RAW_TEXT */
- );
- const parts = [];
- while (true) {
- const tagCloseStart = this._cursor.clone();
- const foundEndMarker = endMarkerPredicate();
- this._cursor = tagCloseStart;
- if (foundEndMarker) {
- break;
- }
- if (consumeEntities && this._cursor.peek() === $AMPERSAND) {
- this._endToken([this._processCarriageReturns(parts.join(''))]);
- parts.length = 0;
- this._consumeEntity(6
- /* TokenType.ESCAPABLE_RAW_TEXT */
- );
- this._beginToken(6
- /* TokenType.ESCAPABLE_RAW_TEXT */
- );
- } else {
- parts.push(this._readChar());
- }
- }
- this._endToken([this._processCarriageReturns(parts.join(''))]);
- }
- _consumeComment(start) {
- this._beginToken(10
- /* TokenType.COMMENT_START */
- , start);
- this._requireCharCode($MINUS);
- this._endToken([]);
- this._consumeRawText(false, () => this._attemptStr('-->'));
- this._beginToken(11
- /* TokenType.COMMENT_END */
- );
- this._requireStr('-->');
- this._endToken([]);
- }
- _consumeCdata(start) {
- this._beginToken(12
- /* TokenType.CDATA_START */
- , start);
- this._requireStr('CDATA[');
- this._endToken([]);
- this._consumeRawText(false, () => this._attemptStr(']]>'));
- this._beginToken(13
- /* TokenType.CDATA_END */
- );
- this._requireStr(']]>');
- this._endToken([]);
- }
- _consumeDocType(start) {
- this._beginToken(18
- /* TokenType.DOC_TYPE */
- , start);
- const contentStart = this._cursor.clone();
- this._attemptUntilChar($GT);
- const content = this._cursor.getChars(contentStart);
- this._cursor.advance();
- this._endToken([content]);
- }
- _consumePrefixAndName() {
- const nameOrPrefixStart = this._cursor.clone();
- let prefix = '';
- while (this._cursor.peek() !== $COLON && !isPrefixEnd(this._cursor.peek())) {
- this._cursor.advance();
- }
- let nameStart;
- if (this._cursor.peek() === $COLON) {
- prefix = this._cursor.getChars(nameOrPrefixStart);
- this._cursor.advance();
- nameStart = this._cursor.clone();
- } else {
- nameStart = nameOrPrefixStart;
- }
- this._requireCharCodeUntilFn(isNameEnd, prefix === '' ? 0 : 1);
- const name = this._cursor.getChars(nameStart);
- return [prefix, name];
- }
- _consumeTagOpen(start) {
- let tagName;
- let prefix;
- let openTagToken;
- try {
- if (!isAsciiLetter(this._cursor.peek())) {
- throw this._createError(_unexpectedCharacterErrorMsg(this._cursor.peek()), this._cursor.getSpan(start));
- }
- openTagToken = this._consumeTagOpenStart(start);
- prefix = openTagToken.parts[0];
- tagName = openTagToken.parts[1];
- this._attemptCharCodeUntilFn(isNotWhitespace);
- while (this._cursor.peek() !== $SLASH && this._cursor.peek() !== $GT && this._cursor.peek() !== $LT && this._cursor.peek() !== $EOF) {
- this._consumeAttributeName();
- this._attemptCharCodeUntilFn(isNotWhitespace);
- if (this._attemptCharCode($EQ)) {
- this._attemptCharCodeUntilFn(isNotWhitespace);
- this._consumeAttributeValue();
- }
- this._attemptCharCodeUntilFn(isNotWhitespace);
- }
- this._consumeTagOpenEnd();
- } catch (e) {
- if (e instanceof _ControlFlowError) {
- if (openTagToken) {
- // We errored before we could close the opening tag, so it is incomplete.
- openTagToken.type = 4
- /* TokenType.INCOMPLETE_TAG_OPEN */
- ;
- } else {
- // When the start tag is invalid, assume we want a "<" as text.
- // Back to back text tokens are merged at the end.
- this._beginToken(5
- /* TokenType.TEXT */
- , start);
- this._endToken(['<']);
- }
- return;
- }
- throw e;
- }
- const contentTokenType = this._getTagDefinition(tagName).getContentType(prefix);
- if (contentTokenType === TagContentType.RAW_TEXT) {
- this._consumeRawTextWithTagClose(prefix, tagName, false);
- } else if (contentTokenType === TagContentType.ESCAPABLE_RAW_TEXT) {
- this._consumeRawTextWithTagClose(prefix, tagName, true);
- }
- }
- _consumeRawTextWithTagClose(prefix, tagName, consumeEntities) {
- this._consumeRawText(consumeEntities, () => {
- if (!this._attemptCharCode($LT)) return false;
- if (!this._attemptCharCode($SLASH)) return false;
- this._attemptCharCodeUntilFn(isNotWhitespace);
- if (!this._attemptStrCaseInsensitive(tagName)) return false;
- this._attemptCharCodeUntilFn(isNotWhitespace);
- return this._attemptCharCode($GT);
- });
- this._beginToken(3
- /* TokenType.TAG_CLOSE */
- );
- this._requireCharCodeUntilFn(code => code === $GT, 3);
- this._cursor.advance(); // Consume the `>`
- this._endToken([prefix, tagName]);
- }
- _consumeTagOpenStart(start) {
- this._beginToken(0
- /* TokenType.TAG_OPEN_START */
- , start);
- const parts = this._consumePrefixAndName();
- return this._endToken(parts);
- }
- _consumeAttributeName() {
- const attrNameStart = this._cursor.peek();
- if (attrNameStart === $SQ || attrNameStart === $DQ) {
- throw this._createError(_unexpectedCharacterErrorMsg(attrNameStart), this._cursor.getSpan());
- }
- this._beginToken(14
- /* TokenType.ATTR_NAME */
- );
- const prefixAndName = this._consumePrefixAndName();
- this._endToken(prefixAndName);
- }
- _consumeAttributeValue() {
- let value;
- if (this._cursor.peek() === $SQ || this._cursor.peek() === $DQ) {
- const quoteChar = this._cursor.peek();
- this._consumeQuote(quoteChar); // In an attribute then end of the attribute value and the premature end to an interpolation
- // are both triggered by the `quoteChar`.
- const endPredicate = () => this._cursor.peek() === quoteChar;
- this._consumeWithInterpolation(16
- /* TokenType.ATTR_VALUE_TEXT */
- , 17
- /* TokenType.ATTR_VALUE_INTERPOLATION */
- , endPredicate, endPredicate);
- this._consumeQuote(quoteChar);
- } else {
- const endPredicate = () => isNameEnd(this._cursor.peek());
- this._consumeWithInterpolation(16
- /* TokenType.ATTR_VALUE_TEXT */
- , 17
- /* TokenType.ATTR_VALUE_INTERPOLATION */
- , endPredicate, endPredicate);
- }
- }
- _consumeQuote(quoteChar) {
- this._beginToken(15
- /* TokenType.ATTR_QUOTE */
- );
- this._requireCharCode(quoteChar);
- this._endToken([String.fromCodePoint(quoteChar)]);
- }
- _consumeTagOpenEnd() {
- const tokenType = this._attemptCharCode($SLASH) ? 2
- /* TokenType.TAG_OPEN_END_VOID */
- : 1
- /* TokenType.TAG_OPEN_END */
- ;
- this._beginToken(tokenType);
- this._requireCharCode($GT);
- this._endToken([]);
- }
- _consumeTagClose(start) {
- this._beginToken(3
- /* TokenType.TAG_CLOSE */
- , start);
- this._attemptCharCodeUntilFn(isNotWhitespace);
- const prefixAndName = this._consumePrefixAndName();
- this._attemptCharCodeUntilFn(isNotWhitespace);
- this._requireCharCode($GT);
- this._endToken(prefixAndName);
- }
- _consumeExpansionFormStart() {
- this._beginToken(19
- /* TokenType.EXPANSION_FORM_START */
- );
- this._requireCharCode($LBRACE);
- this._endToken([]);
- this._expansionCaseStack.push(19
- /* TokenType.EXPANSION_FORM_START */
- );
- this._beginToken(7
- /* TokenType.RAW_TEXT */
- );
- const condition = this._readUntil($COMMA);
- const normalizedCondition = this._processCarriageReturns(condition);
- if (this._i18nNormalizeLineEndingsInICUs) {
- // We explicitly want to normalize line endings for this text.
- this._endToken([normalizedCondition]);
- } else {
- // We are not normalizing line endings.
- const conditionToken = this._endToken([condition]);
- if (normalizedCondition !== condition) {
- this.nonNormalizedIcuExpressions.push(conditionToken);
- }
- }
- this._requireCharCode($COMMA);
- this._attemptCharCodeUntilFn(isNotWhitespace);
- this._beginToken(7
- /* TokenType.RAW_TEXT */
- );
- const type = this._readUntil($COMMA);
- this._endToken([type]);
- this._requireCharCode($COMMA);
- this._attemptCharCodeUntilFn(isNotWhitespace);
- }
- _consumeExpansionCaseStart() {
- this._beginToken(20
- /* TokenType.EXPANSION_CASE_VALUE */
- );
- const value = this._readUntil($LBRACE).trim();
- this._endToken([value]);
- this._attemptCharCodeUntilFn(isNotWhitespace);
- this._beginToken(21
- /* TokenType.EXPANSION_CASE_EXP_START */
- );
- this._requireCharCode($LBRACE);
- this._endToken([]);
- this._attemptCharCodeUntilFn(isNotWhitespace);
- this._expansionCaseStack.push(21
- /* TokenType.EXPANSION_CASE_EXP_START */
- );
- }
- _consumeExpansionCaseEnd() {
- this._beginToken(22
- /* TokenType.EXPANSION_CASE_EXP_END */
- );
- this._requireCharCode($RBRACE);
- this._endToken([]);
- this._attemptCharCodeUntilFn(isNotWhitespace);
- this._expansionCaseStack.pop();
- }
- _consumeExpansionFormEnd() {
- this._beginToken(23
- /* TokenType.EXPANSION_FORM_END */
- );
- this._requireCharCode($RBRACE);
- this._endToken([]);
- this._expansionCaseStack.pop();
- }
- /**
- * Consume a string that may contain interpolation expressions.
- *
- * The first token consumed will be of `tokenType` and then there will be alternating
- * `interpolationTokenType` and `tokenType` tokens until the `endPredicate()` returns true.
- *
- * If an interpolation token ends prematurely it will have no end marker in its `parts` array.
- *
- * @param textTokenType the kind of tokens to interleave around interpolation tokens.
- * @param interpolationTokenType the kind of tokens that contain interpolation.
- * @param endPredicate a function that should return true when we should stop consuming.
- * @param endInterpolation a function that should return true if there is a premature end to an
- * interpolation expression - i.e. before we get to the normal interpolation closing marker.
- */
- _consumeWithInterpolation(textTokenType, interpolationTokenType, endPredicate, endInterpolation) {
- this._beginToken(textTokenType);
- const parts = [];
- while (!endPredicate()) {
- const current = this._cursor.clone();
- if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.start)) {
- this._endToken([this._processCarriageReturns(parts.join(''))], current);
- parts.length = 0;
- this._consumeInterpolation(interpolationTokenType, current, endInterpolation);
- this._beginToken(textTokenType);
- } else if (this._cursor.peek() === $AMPERSAND) {
- this._endToken([this._processCarriageReturns(parts.join(''))]);
- parts.length = 0;
- this._consumeEntity(textTokenType);
- this._beginToken(textTokenType);
- } else {
- parts.push(this._readChar());
- }
- } // It is possible that an interpolation was started but not ended inside this text token.
- // Make sure that we reset the state of the lexer correctly.
- this._inInterpolation = false;
- this._endToken([this._processCarriageReturns(parts.join(''))]);
- }
- /**
- * Consume a block of text that has been interpreted as an Angular interpolation.
- *
- * @param interpolationTokenType the type of the interpolation token to generate.
- * @param interpolationStart a cursor that points to the start of this interpolation.
- * @param prematureEndPredicate a function that should return true if the next characters indicate
- * an end to the interpolation before its normal closing marker.
- */
- _consumeInterpolation(interpolationTokenType, interpolationStart, prematureEndPredicate) {
- const parts = [];
- this._beginToken(interpolationTokenType, interpolationStart);
- parts.push(this._interpolationConfig.start); // Find the end of the interpolation, ignoring content inside quotes.
- const expressionStart = this._cursor.clone();
- let inQuote = null;
- let inComment = false;
- while (this._cursor.peek() !== $EOF && (prematureEndPredicate === null || !prematureEndPredicate())) {
- const current = this._cursor.clone();
- if (this._isTagStart()) {
- // We are starting what looks like an HTML element in the middle of this interpolation.
- // Reset the cursor to before the `<` character and end the interpolation token.
- // (This is actually wrong but here for backward compatibility).
- this._cursor = current;
- parts.push(this._getProcessedChars(expressionStart, current));
- this._endToken(parts);
- return;
- }
- if (inQuote === null) {
- if (this._attemptStr(this._interpolationConfig.end)) {
- // We are not in a string, and we hit the end interpolation marker
- parts.push(this._getProcessedChars(expressionStart, current));
- parts.push(this._interpolationConfig.end);
- this._endToken(parts);
- return;
- } else if (this._attemptStr('//')) {
- // Once we are in a comment we ignore any quotes
- inComment = true;
- }
- }
- const char = this._cursor.peek();
- this._cursor.advance();
- if (char === $BACKSLASH) {
- // Skip the next character because it was escaped.
- this._cursor.advance();
- } else if (char === inQuote) {
- // Exiting the current quoted string
- inQuote = null;
- } else if (!inComment && inQuote === null && isQuote(char)) {
- // Entering a new quoted string
- inQuote = char;
- }
- } // We hit EOF without finding a closing interpolation marker
- parts.push(this._getProcessedChars(expressionStart, this._cursor));
- this._endToken(parts);
- }
- _getProcessedChars(start, end) {
- return this._processCarriageReturns(end.getChars(start));
- }
- _isTextEnd() {
- if (this._isTagStart() || this._cursor.peek() === $EOF) {
- return true;
- }
- if (this._tokenizeIcu && !this._inInterpolation) {
- if (this.isExpansionFormStart()) {
- // start of an expansion form
- return true;
- }
- if (this._cursor.peek() === $RBRACE && this._isInExpansionCase()) {
- // end of and expansion case
- return true;
- }
- }
- return false;
- }
- /**
- * Returns true if the current cursor is pointing to the start of a tag
- * (opening/closing/comments/cdata/etc).
- */
- _isTagStart() {
- if (this._cursor.peek() === $LT) {
- // We assume that `<` followed by whitespace is not the start of an HTML element.
- const tmp = this._cursor.clone();
- tmp.advance(); // If the next character is alphabetic, ! nor / then it is a tag start
- const code = tmp.peek();
- if ($a <= code && code <= $z || $A <= code && code <= $Z || code === $SLASH || code === $BANG) {
- return true;
- }
- }
- return false;
- }
- _readUntil(char) {
- const start = this._cursor.clone();
- this._attemptUntilChar(char);
- return this._cursor.getChars(start);
- }
- _isInExpansionCase() {
- return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 21
- /* TokenType.EXPANSION_CASE_EXP_START */
- ;
- }
- _isInExpansionForm() {
- return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 19
- /* TokenType.EXPANSION_FORM_START */
- ;
- }
- isExpansionFormStart() {
- if (this._cursor.peek() !== $LBRACE) {
- return false;
- }
- if (this._interpolationConfig) {
- const start = this._cursor.clone();
- const isInterpolation = this._attemptStr(this._interpolationConfig.start);
- this._cursor = start;
- return !isInterpolation;
- }
- return true;
- }
- }
- function isNotWhitespace(code) {
- return !isWhitespace(code) || code === $EOF;
- }
- function isNameEnd(code) {
- return isWhitespace(code) || code === $GT || code === $LT || code === $SLASH || code === $SQ || code === $DQ || code === $EQ || code === $EOF;
- }
- function isPrefixEnd(code) {
- return (code < $a || $z < code) && (code < $A || $Z < code) && (code < $0 || code > $9);
- }
- function isDigitEntityEnd(code) {
- return code === $SEMICOLON || code === $EOF || !isAsciiHexDigit(code);
- }
- function isNamedEntityEnd(code) {
- return code === $SEMICOLON || code === $EOF || !isAsciiLetter(code);
- }
- function isExpansionCaseStart(peek) {
- return peek !== $RBRACE;
- }
- function compareCharCodeCaseInsensitive(code1, code2) {
- return toUpperCaseCharCode(code1) === toUpperCaseCharCode(code2);
- }
- function toUpperCaseCharCode(code) {
- return code >= $a && code <= $z ? code - $a + $A : code;
- }
- function mergeTextTokens(srcTokens) {
- const dstTokens = [];
- let lastDstToken = undefined;
- for (let i = 0; i < srcTokens.length; i++) {
- const token = srcTokens[i];
- if (lastDstToken && lastDstToken.type === 5
- /* TokenType.TEXT */
- && token.type === 5
- /* TokenType.TEXT */
- || lastDstToken && lastDstToken.type === 16
- /* TokenType.ATTR_VALUE_TEXT */
- && token.type === 16
- /* TokenType.ATTR_VALUE_TEXT */
- ) {
- lastDstToken.parts[0] += token.parts[0];
- lastDstToken.sourceSpan.end = token.sourceSpan.end;
- } else {
- lastDstToken = token;
- dstTokens.push(lastDstToken);
- }
- }
- return dstTokens;
- }
- class PlainCharacterCursor {
- constructor(fileOrCursor, range) {
- if (fileOrCursor instanceof PlainCharacterCursor) {
- this.file = fileOrCursor.file;
- this.input = fileOrCursor.input;
- this.end = fileOrCursor.end;
- const state = fileOrCursor.state; // Note: avoid using `{...fileOrCursor.state}` here as that has a severe performance penalty.
- // In ES5 bundles the object spread operator is translated into the `__assign` helper, which
- // is not optimized by VMs as efficiently as a raw object literal. Since this constructor is
- // called in tight loops, this difference matters.
- this.state = {
- peek: state.peek,
- offset: state.offset,
- line: state.line,
- column: state.column
- };
- } else {
- if (!range) {
- throw new Error('Programming error: the range argument must be provided with a file argument.');
- }
- this.file = fileOrCursor;
- this.input = fileOrCursor.content;
- this.end = range.endPos;
- this.state = {
- peek: -1,
- offset: range.startPos,
- line: range.startLine,
- column: range.startCol
- };
- }
- }
- clone() {
- return new PlainCharacterCursor(this);
- }
- peek() {
- return this.state.peek;
- }
- charsLeft() {
- return this.end - this.state.offset;
- }
- diff(other) {
- return this.state.offset - other.state.offset;
- }
- advance() {
- this.advanceState(this.state);
- }
- init() {
- this.updatePeek(this.state);
- }
- getSpan(start, leadingTriviaCodePoints) {
- start = start || this;
- let fullStart = start;
- if (leadingTriviaCodePoints) {
- while (this.diff(start) > 0 && leadingTriviaCodePoints.indexOf(start.peek()) !== -1) {
- if (fullStart === start) {
- start = start.clone();
- }
- start.advance();
- }
- }
- const startLocation = this.locationFromCursor(start);
- const endLocation = this.locationFromCursor(this);
- const fullStartLocation = fullStart !== start ? this.locationFromCursor(fullStart) : startLocation;
- return new ParseSourceSpan(startLocation, endLocation, fullStartLocation);
- }
- getChars(start) {
- return this.input.substring(start.state.offset, this.state.offset);
- }
- charAt(pos) {
- return this.input.charCodeAt(pos);
- }
- advanceState(state) {
- if (state.offset >= this.end) {
- this.state = state;
- throw new CursorError('Unexpected character "EOF"', this);
- }
- const currentChar = this.charAt(state.offset);
- if (currentChar === $LF) {
- state.line++;
- state.column = 0;
- } else if (!isNewLine(currentChar)) {
- state.column++;
- }
- state.offset++;
- this.updatePeek(state);
- }
- updatePeek(state) {
- state.peek = state.offset >= this.end ? $EOF : this.charAt(state.offset);
- }
- locationFromCursor(cursor) {
- return new ParseLocation(cursor.file, cursor.state.offset, cursor.state.line, cursor.state.column);
- }
- }
- class EscapedCharacterCursor extends PlainCharacterCursor {
- constructor(fileOrCursor, range) {
- if (fileOrCursor instanceof EscapedCharacterCursor) {
- super(fileOrCursor);
- this.internalState = Object.assign({}, fileOrCursor.internalState);
- } else {
- super(fileOrCursor, range);
- this.internalState = this.state;
- }
- }
- advance() {
- this.state = this.internalState;
- super.advance();
- this.processEscapeSequence();
- }
- init() {
- super.init();
- this.processEscapeSequence();
- }
- clone() {
- return new EscapedCharacterCursor(this);
- }
- getChars(start) {
- const cursor = start.clone();
- let chars = '';
- while (cursor.internalState.offset < this.internalState.offset) {
- chars += String.fromCodePoint(cursor.peek());
- cursor.advance();
- }
- return chars;
- }
- /**
- * Process the escape sequence that starts at the current position in the text.
- *
- * This method is called to ensure that `peek` has the unescaped value of escape sequences.
- */
- processEscapeSequence() {
- const peek = () => this.internalState.peek;
- if (peek() === $BACKSLASH) {
- // We have hit an escape sequence so we need the internal state to become independent
- // of the external state.
- this.internalState = Object.assign({}, this.state); // Move past the backslash
- this.advanceState(this.internalState); // First check for standard control char sequences
- if (peek() === $n) {
- this.state.peek = $LF;
- } else if (peek() === $r) {
- this.state.peek = $CR;
- } else if (peek() === $v) {
- this.state.peek = $VTAB;
- } else if (peek() === $t) {
- this.state.peek = $TAB;
- } else if (peek() === $b) {
- this.state.peek = $BSPACE;
- } else if (peek() === $f) {
- this.state.peek = $FF;
- } // Now consider more complex sequences
- else if (peek() === $u) {
- // Unicode code-point sequence
- this.advanceState(this.internalState); // advance past the `u` char
- if (peek() === $LBRACE) {
- // Variable length Unicode, e.g. `\x{123}`
- this.advanceState(this.internalState); // advance past the `{` char
- // Advance past the variable number of hex digits until we hit a `}` char
- const digitStart = this.clone();
- let length = 0;
- while (peek() !== $RBRACE) {
- this.advanceState(this.internalState);
- length++;
- }
- this.state.peek = this.decodeHexDigits(digitStart, length);
- } else {
- // Fixed length Unicode, e.g. `\u1234`
- const digitStart = this.clone();
- this.advanceState(this.internalState);
- this.advanceState(this.internalState);
- this.advanceState(this.internalState);
- this.state.peek = this.decodeHexDigits(digitStart, 4);
- }
- } else if (peek() === $x) {
- // Hex char code, e.g. `\x2F`
- this.advanceState(this.internalState); // advance past the `x` char
- const digitStart = this.clone();
- this.advanceState(this.internalState);
- this.state.peek = this.decodeHexDigits(digitStart, 2);
- } else if (isOctalDigit(peek())) {
- // Octal char code, e.g. `\012`,
- let octal = '';
- let length = 0;
- let previous = this.clone();
- while (isOctalDigit(peek()) && length < 3) {
- previous = this.clone();
- octal += String.fromCodePoint(peek());
- this.advanceState(this.internalState);
- length++;
- }
- this.state.peek = parseInt(octal, 8); // Backup one char
- this.internalState = previous.internalState;
- } else if (isNewLine(this.internalState.peek)) {
- // Line continuation `\` followed by a new line
- this.advanceState(this.internalState); // advance over the newline
- this.state = this.internalState;
- } else {
- // If none of the `if` blocks were executed then we just have an escaped normal character.
- // In that case we just, effectively, skip the backslash from the character.
- this.state.peek = this.internalState.peek;
- }
- }
- }
- decodeHexDigits(start, length) {
- const hex = this.input.slice(start.internalState.offset, start.internalState.offset + length);
- const charCode = parseInt(hex, 16);
- if (!isNaN(charCode)) {
- return charCode;
- } else {
- start.state = start.internalState;
- throw new CursorError('Invalid hexadecimal escape sequence', start);
- }
- }
- }
- class CursorError {
- constructor(msg, cursor) {
- this.msg = msg;
- this.cursor = cursor;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class TreeError extends ParseError {
- constructor(elementName, span, msg) {
- super(span, msg);
- this.elementName = elementName;
- }
- static create(elementName, span, msg) {
- return new TreeError(elementName, span, msg);
- }
- }
- class ParseTreeResult {
- constructor(rootNodes, errors) {
- this.rootNodes = rootNodes;
- this.errors = errors;
- }
- }
- class Parser {
- constructor(getTagDefinition) {
- this.getTagDefinition = getTagDefinition;
- }
- parse(source, url, options) {
- const tokenizeResult = tokenize(source, url, this.getTagDefinition, options);
- const parser = new _TreeBuilder(tokenizeResult.tokens, this.getTagDefinition);
- parser.build();
- return new ParseTreeResult(parser.rootNodes, tokenizeResult.errors.concat(parser.errors));
- }
- }
- class _TreeBuilder {
- constructor(tokens, getTagDefinition) {
- this.tokens = tokens;
- this.getTagDefinition = getTagDefinition;
- this._index = -1;
- this._elementStack = [];
- this.rootNodes = [];
- this.errors = [];
- this._advance();
- }
- build() {
- while (this._peek.type !== 24
- /* TokenType.EOF */
- ) {
- if (this._peek.type === 0
- /* TokenType.TAG_OPEN_START */
- || this._peek.type === 4
- /* TokenType.INCOMPLETE_TAG_OPEN */
- ) {
- this._consumeStartTag(this._advance());
- } else if (this._peek.type === 3
- /* TokenType.TAG_CLOSE */
- ) {
- this._consumeEndTag(this._advance());
- } else if (this._peek.type === 12
- /* TokenType.CDATA_START */
- ) {
- this._closeVoidElement();
- this._consumeCdata(this._advance());
- } else if (this._peek.type === 10
- /* TokenType.COMMENT_START */
- ) {
- this._closeVoidElement();
- this._consumeComment(this._advance());
- } else if (this._peek.type === 5
- /* TokenType.TEXT */
- || this._peek.type === 7
- /* TokenType.RAW_TEXT */
- || this._peek.type === 6
- /* TokenType.ESCAPABLE_RAW_TEXT */
- ) {
- this._closeVoidElement();
- this._consumeText(this._advance());
- } else if (this._peek.type === 19
- /* TokenType.EXPANSION_FORM_START */
- ) {
- this._consumeExpansion(this._advance());
- } else {
- // Skip all other tokens...
- this._advance();
- }
- }
- }
- _advance() {
- const prev = this._peek;
- if (this._index < this.tokens.length - 1) {
- // Note: there is always an EOF token at the end
- this._index++;
- }
- this._peek = this.tokens[this._index];
- return prev;
- }
- _advanceIf(type) {
- if (this._peek.type === type) {
- return this._advance();
- }
- return null;
- }
- _consumeCdata(_startToken) {
- this._consumeText(this._advance());
- this._advanceIf(13
- /* TokenType.CDATA_END */
- );
- }
- _consumeComment(token) {
- const text = this._advanceIf(7
- /* TokenType.RAW_TEXT */
- );
- this._advanceIf(11
- /* TokenType.COMMENT_END */
- );
- const value = text != null ? text.parts[0].trim() : null;
- this._addToParent(new Comment(value, token.sourceSpan));
- }
- _consumeExpansion(token) {
- const switchValue = this._advance();
- const type = this._advance();
- const cases = []; // read =
- while (this._peek.type === 20
- /* TokenType.EXPANSION_CASE_VALUE */
- ) {
- const expCase = this._parseExpansionCase();
- if (!expCase) return; // error
- cases.push(expCase);
- } // read the final }
- if (this._peek.type !== 23
- /* TokenType.EXPANSION_FORM_END */
- ) {
- this.errors.push(TreeError.create(null, this._peek.sourceSpan, `Invalid ICU message. Missing '}'.`));
- return;
- }
- const sourceSpan = new ParseSourceSpan(token.sourceSpan.start, this._peek.sourceSpan.end, token.sourceSpan.fullStart);
- this._addToParent(new Expansion(switchValue.parts[0], type.parts[0], cases, sourceSpan, switchValue.sourceSpan));
- this._advance();
- }
- _parseExpansionCase() {
- const value = this._advance(); // read {
- if (this._peek.type !== 21
- /* TokenType.EXPANSION_CASE_EXP_START */
- ) {
- this.errors.push(TreeError.create(null, this._peek.sourceSpan, `Invalid ICU message. Missing '{'.`));
- return null;
- } // read until }
- const start = this._advance();
- const exp = this._collectExpansionExpTokens(start);
- if (!exp) return null;
- const end = this._advance();
- exp.push({
- type: 24
- /* TokenType.EOF */
- ,
- parts: [],
- sourceSpan: end.sourceSpan
- }); // parse everything in between { and }
- const expansionCaseParser = new _TreeBuilder(exp, this.getTagDefinition);
- expansionCaseParser.build();
- if (expansionCaseParser.errors.length > 0) {
- this.errors = this.errors.concat(expansionCaseParser.errors);
- return null;
- }
- const sourceSpan = new ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end, value.sourceSpan.fullStart);
- const expSourceSpan = new ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end, start.sourceSpan.fullStart);
- return new ExpansionCase(value.parts[0], expansionCaseParser.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);
- }
- _collectExpansionExpTokens(start) {
- const exp = [];
- const expansionFormStack = [21
- /* TokenType.EXPANSION_CASE_EXP_START */
- ];
- while (true) {
- if (this._peek.type === 19
- /* TokenType.EXPANSION_FORM_START */
- || this._peek.type === 21
- /* TokenType.EXPANSION_CASE_EXP_START */
- ) {
- expansionFormStack.push(this._peek.type);
- }
- if (this._peek.type === 22
- /* TokenType.EXPANSION_CASE_EXP_END */
- ) {
- if (lastOnStack(expansionFormStack, 21
- /* TokenType.EXPANSION_CASE_EXP_START */
- )) {
- expansionFormStack.pop();
- if (expansionFormStack.length === 0) return exp;
- } else {
- this.errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));
- return null;
- }
- }
- if (this._peek.type === 23
- /* TokenType.EXPANSION_FORM_END */
- ) {
- if (lastOnStack(expansionFormStack, 19
- /* TokenType.EXPANSION_FORM_START */
- )) {
- expansionFormStack.pop();
- } else {
- this.errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));
- return null;
- }
- }
- if (this._peek.type === 24
- /* TokenType.EOF */
- ) {
- this.errors.push(TreeError.create(null, start.sourceSpan, `Invalid ICU message. Missing '}'.`));
- return null;
- }
- exp.push(this._advance());
- }
- }
- _consumeText(token) {
- const tokens = [token];
- const startSpan = token.sourceSpan;
- let text = token.parts[0];
- if (text.length > 0 && text[0] === '\n') {
- const parent = this._getParentElement();
- if (parent != null && parent.children.length === 0 && this.getTagDefinition(parent.name).ignoreFirstLf) {
- text = text.substring(1);
- tokens[0] = {
- type: token.type,
- sourceSpan: token.sourceSpan,
- parts: [text]
- };
- }
- }
- while (this._peek.type === 8
- /* TokenType.INTERPOLATION */
- || this._peek.type === 5
- /* TokenType.TEXT */
- || this._peek.type === 9
- /* TokenType.ENCODED_ENTITY */
- ) {
- token = this._advance();
- tokens.push(token);
- if (token.type === 8
- /* TokenType.INTERPOLATION */
- ) {
- // For backward compatibility we decode HTML entities that appear in interpolation
- // expressions. This is arguably a bug, but it could be a considerable breaking change to
- // fix it. It should be addressed in a larger project to refactor the entire parser/lexer
- // chain after View Engine has been removed.
- text += token.parts.join('').replace(/&([^;]+);/g, decodeEntity);
- } else if (token.type === 9
- /* TokenType.ENCODED_ENTITY */
- ) {
- text += token.parts[0];
- } else {
- text += token.parts.join('');
- }
- }
- if (text.length > 0) {
- const endSpan = token.sourceSpan;
- this._addToParent(new Text(text, new ParseSourceSpan(startSpan.start, endSpan.end, startSpan.fullStart, startSpan.details), tokens));
- }
- }
- _closeVoidElement() {
- const el = this._getParentElement();
- if (el && this.getTagDefinition(el.name).isVoid) {
- this._elementStack.pop();
- }
- }
- _consumeStartTag(startTagToken) {
- const [prefix, name] = startTagToken.parts;
- const attrs = [];
- while (this._peek.type === 14
- /* TokenType.ATTR_NAME */
- ) {
- attrs.push(this._consumeAttr(this._advance()));
- }
- const fullName = this._getElementFullName(prefix, name, this._getParentElement());
- let selfClosing = false; // Note: There could have been a tokenizer error
- // so that we don't get a token for the end tag...
- if (this._peek.type === 2
- /* TokenType.TAG_OPEN_END_VOID */
- ) {
- this._advance();
- selfClosing = true;
- const tagDef = this.getTagDefinition(fullName);
- if (!(tagDef.canSelfClose || getNsPrefix(fullName) !== null || tagDef.isVoid)) {
- this.errors.push(TreeError.create(fullName, startTagToken.sourceSpan, `Only void and foreign elements can be self closed "${startTagToken.parts[1]}"`));
- }
- } else if (this._peek.type === 1
- /* TokenType.TAG_OPEN_END */
- ) {
- this._advance();
- selfClosing = false;
- }
- const end = this._peek.sourceSpan.fullStart;
- 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.
- const startSpan = new ParseSourceSpan(startTagToken.sourceSpan.start, end, startTagToken.sourceSpan.fullStart);
- const el = new Element(fullName, attrs, [], span, startSpan, undefined);
- this._pushElement(el);
- if (selfClosing) {
- // Elements that are self-closed have their `endSourceSpan` set to the full span, as the
- // element start tag also represents the end tag.
- this._popElement(fullName, span);
- } else if (startTagToken.type === 4
- /* TokenType.INCOMPLETE_TAG_OPEN */
- ) {
- // We already know the opening tag is not complete, so it is unlikely it has a corresponding
- // close tag. Let's optimistically parse it as a full element and emit an error.
- this._popElement(fullName, null);
- this.errors.push(TreeError.create(fullName, span, `Opening tag "${fullName}" not terminated.`));
- }
- }
- _pushElement(el) {
- const parentEl = this._getParentElement();
- if (parentEl && this.getTagDefinition(parentEl.name).isClosedByChild(el.name)) {
- this._elementStack.pop();
- }
- this._addToParent(el);
- this._elementStack.push(el);
- }
- _consumeEndTag(endTagToken) {
- const fullName = this._getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());
- if (this.getTagDefinition(fullName).isVoid) {
- this.errors.push(TreeError.create(fullName, endTagToken.sourceSpan, `Void elements do not have end tags "${endTagToken.parts[1]}"`));
- } else if (!this._popElement(fullName, endTagToken.sourceSpan)) {
- 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`;
- this.errors.push(TreeError.create(fullName, endTagToken.sourceSpan, errMsg));
- }
- }
- /**
- * Closes the nearest element with the tag name `fullName` in the parse tree.
- * `endSourceSpan` is the span of the closing tag, or null if the element does
- * not have a closing tag (for example, this happens when an incomplete
- * opening tag is recovered).
- */
- _popElement(fullName, endSourceSpan) {
- let unexpectedCloseTagDetected = false;
- for (let stackIndex = this._elementStack.length - 1; stackIndex >= 0; stackIndex--) {
- const el = this._elementStack[stackIndex];
- if (el.name === fullName) {
- // Record the parse span with the element that is being closed. Any elements that are
- // removed from the element stack at this point are closed implicitly, so they won't get
- // an end source span (as there is no explicit closing element).
- el.endSourceSpan = endSourceSpan;
- el.sourceSpan.end = endSourceSpan !== null ? endSourceSpan.end : el.sourceSpan.end;
- this._elementStack.splice(stackIndex, this._elementStack.length - stackIndex);
- return !unexpectedCloseTagDetected;
- }
- if (!this.getTagDefinition(el.name).closedByParent) {
- // Note that we encountered an unexpected close tag but continue processing the element
- // stack so we can assign an `endSourceSpan` if there is a corresponding start tag for this
- // end tag in the stack.
- unexpectedCloseTagDetected = true;
- }
- }
- return false;
- }
- _consumeAttr(attrName) {
- const fullName = mergeNsAndName(attrName.parts[0], attrName.parts[1]);
- let attrEnd = attrName.sourceSpan.end; // Consume any quote
- if (this._peek.type === 15
- /* TokenType.ATTR_QUOTE */
- ) {
- this._advance();
- } // Consume the attribute value
- let value = '';
- const valueTokens = [];
- let valueStartSpan = undefined;
- let valueEnd = undefined; // NOTE: We need to use a new variable `nextTokenType` here to hide the actual type of
- // `_peek.type` from TS. Otherwise TS will narrow the type of `_peek.type` preventing it from
- // being able to consider `ATTR_VALUE_INTERPOLATION` as an option. This is because TS is not
- // able to see that `_advance()` will actually mutate `_peek`.
- const nextTokenType = this._peek.type;
- if (nextTokenType === 16
- /* TokenType.ATTR_VALUE_TEXT */
- ) {
- valueStartSpan = this._peek.sourceSpan;
- valueEnd = this._peek.sourceSpan.end;
- while (this._peek.type === 16
- /* TokenType.ATTR_VALUE_TEXT */
- || this._peek.type === 17
- /* TokenType.ATTR_VALUE_INTERPOLATION */
- || this._peek.type === 9
- /* TokenType.ENCODED_ENTITY */
- ) {
- const valueToken = this._advance();
- valueTokens.push(valueToken);
- if (valueToken.type === 17
- /* TokenType.ATTR_VALUE_INTERPOLATION */
- ) {
- // For backward compatibility we decode HTML entities that appear in interpolation
- // expressions. This is arguably a bug, but it could be a considerable breaking change to
- // fix it. It should be addressed in a larger project to refactor the entire parser/lexer
- // chain after View Engine has been removed.
- value += valueToken.parts.join('').replace(/&([^;]+);/g, decodeEntity);
- } else if (valueToken.type === 9
- /* TokenType.ENCODED_ENTITY */
- ) {
- value += valueToken.parts[0];
- } else {
- value += valueToken.parts.join('');
- }
- valueEnd = attrEnd = valueToken.sourceSpan.end;
- }
- } // Consume any quote
- if (this._peek.type === 15
- /* TokenType.ATTR_QUOTE */
- ) {
- const quoteToken = this._advance();
- attrEnd = quoteToken.sourceSpan.end;
- }
- const valueSpan = valueStartSpan && valueEnd && new ParseSourceSpan(valueStartSpan.start, valueEnd, valueStartSpan.fullStart);
- return new Attribute(fullName, value, new ParseSourceSpan(attrName.sourceSpan.start, attrEnd, attrName.sourceSpan.fullStart), attrName.sourceSpan, valueSpan, valueTokens.length > 0 ? valueTokens : undefined, undefined);
- }
- _getParentElement() {
- return this._elementStack.length > 0 ? this._elementStack[this._elementStack.length - 1] : null;
- }
- _addToParent(node) {
- const parent = this._getParentElement();
- if (parent != null) {
- parent.children.push(node);
- } else {
- this.rootNodes.push(node);
- }
- }
- _getElementFullName(prefix, localName, parentElement) {
- if (prefix === '') {
- prefix = this.getTagDefinition(localName).implicitNamespacePrefix || '';
- if (prefix === '' && parentElement != null) {
- const parentTagName = splitNsName(parentElement.name)[1];
- const parentTagDefinition = this.getTagDefinition(parentTagName);
- if (!parentTagDefinition.preventNamespaceInheritance) {
- prefix = getNsPrefix(parentElement.name);
- }
- }
- }
- return mergeNsAndName(prefix, localName);
- }
- }
- function lastOnStack(stack, element) {
- return stack.length > 0 && stack[stack.length - 1] === element;
- }
- /**
- * Decode the `entity` string, which we believe is the contents of an HTML entity.
- *
- * If the string is not actually a valid/known entity then just return the original `match` string.
- */
- function decodeEntity(match, entity) {
- if (NAMED_ENTITIES[entity] !== undefined) {
- return NAMED_ENTITIES[entity] || match;
- }
- if (/^#x[a-f0-9]+$/i.test(entity)) {
- return String.fromCodePoint(parseInt(entity.slice(2), 16));
- }
- if (/^#\d+$/.test(entity)) {
- return String.fromCodePoint(parseInt(entity.slice(1), 10));
- }
- return match;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class HtmlParser extends Parser {
- constructor() {
- super(getHtmlTagDefinition);
- }
- parse(source, url, options) {
- return super.parse(source, url, options);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const PRESERVE_WS_ATTR_NAME = 'ngPreserveWhitespaces';
- const SKIP_WS_TRIM_TAGS = new Set(['pre', 'template', 'textarea', 'script', 'style']); // Equivalent to \s with \u00a0 (non-breaking space) excluded.
- // Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp
- const WS_CHARS = ' \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff';
- const NO_WS_REGEXP = new RegExp(`[^${WS_CHARS}]`);
- const WS_REPLACE_REGEXP = new RegExp(`[${WS_CHARS}]{2,}`, 'g');
- function hasPreserveWhitespacesAttr(attrs) {
- return attrs.some(attr => attr.name === PRESERVE_WS_ATTR_NAME);
- }
- /**
- * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:
- * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32
- * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character
- * and later on replaced by a space. We are re-implementing the same idea here.
- */
- function replaceNgsp(value) {
- // lexer is replacing the &ngsp; pseudo-entity with NGSP_UNICODE
- return value.replace(new RegExp(NGSP_UNICODE, 'g'), ' ');
- }
- /**
- * This visitor can walk HTML parse tree and remove / trim text nodes using the following rules:
- * - consider spaces, tabs and new lines as whitespace characters;
- * - drop text nodes consisting of whitespace characters only;
- * - for all other text nodes replace consecutive whitespace characters with one space;
- * - convert &ngsp; pseudo-entity to a single space;
- *
- * Removal and trimming of whitespaces have positive performance impact (less code to generate
- * while compiling templates, faster view creation). At the same time it can be "destructive"
- * in some cases (whitespaces can influence layout). Because of the potential of breaking layout
- * this visitor is not activated by default in Angular 5 and people need to explicitly opt-in for
- * whitespace removal. The default option for whitespace removal will be revisited in Angular 6
- * and might be changed to "on" by default.
- */
- class WhitespaceVisitor {
- visitElement(element, context) {
- if (SKIP_WS_TRIM_TAGS.has(element.name) || hasPreserveWhitespacesAttr(element.attrs)) {
- // don't descent into elements where we need to preserve whitespaces
- // but still visit all attributes to eliminate one used as a market to preserve WS
- return new Element(element.name, visitAll(this, element.attrs), element.children, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);
- }
- return new Element(element.name, element.attrs, visitAllWithSiblings(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);
- }
- visitAttribute(attribute, context) {
- return attribute.name !== PRESERVE_WS_ATTR_NAME ? attribute : null;
- }
- visitText(text, context) {
- const isNotBlank = text.value.match(NO_WS_REGEXP);
- const hasExpansionSibling = context && (context.prev instanceof Expansion || context.next instanceof Expansion);
- if (isNotBlank || hasExpansionSibling) {
- // Process the whitespace in the tokens of this Text node
- const tokens = text.tokens.map(token => token.type === 5
- /* TokenType.TEXT */
- ? createWhitespaceProcessedTextToken(token) : token); // Process the whitespace of the value of this Text node
- const value = processWhitespace(text.value);
- return new Text(value, text.sourceSpan, tokens, text.i18n);
- }
- return null;
- }
- visitComment(comment, context) {
- return comment;
- }
- visitExpansion(expansion, context) {
- return expansion;
- }
- visitExpansionCase(expansionCase, context) {
- return expansionCase;
- }
- }
- function createWhitespaceProcessedTextToken({
- type,
- parts,
- sourceSpan
- }) {
- return {
- type,
- parts: [processWhitespace(parts[0])],
- sourceSpan
- };
- }
- function processWhitespace(text) {
- return replaceNgsp(text).replace(WS_REPLACE_REGEXP, ' ');
- }
- function removeWhitespaces(htmlAstWithErrors) {
- return new ParseTreeResult(visitAll(new WhitespaceVisitor(), htmlAstWithErrors.rootNodes), htmlAstWithErrors.errors);
- }
- function visitAllWithSiblings(visitor, nodes) {
- const result = [];
- nodes.forEach((ast, i) => {
- const context = {
- prev: nodes[i - 1],
- next: nodes[i + 1]
- };
- const astResult = ast.visit(visitor, context);
- if (astResult) {
- result.push(astResult);
- }
- });
- return result;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function mapEntry(key, value) {
- return {
- key,
- value,
- quoted: false
- };
- }
- function mapLiteral(obj, quoted = false) {
- return literalMap(Object.keys(obj).map(key => ({
- key,
- quoted,
- value: obj[key]
- })));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // =================================================================================================
- // =================================================================================================
- // =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========
- // =================================================================================================
- // =================================================================================================
- //
- // DO NOT EDIT THIS LIST OF SECURITY SENSITIVE PROPERTIES WITHOUT A SECURITY REVIEW!
- // Reach out to mprobst for details.
- //
- // =================================================================================================
- /** Map from tagName|propertyName to SecurityContext. Properties applying to all tags use '*'. */
- let _SECURITY_SCHEMA;
- function SECURITY_SCHEMA() {
- if (!_SECURITY_SCHEMA) {
- _SECURITY_SCHEMA = {}; // Case is insignificant below, all element and attribute names are lower-cased for lookup.
- registerContext(SecurityContext.HTML, ['iframe|srcdoc', '*|innerHTML', '*|outerHTML']);
- registerContext(SecurityContext.STYLE, ['*|style']); // NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.
- 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']);
- 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']);
- }
- return _SECURITY_SCHEMA;
- }
- function registerContext(ctx, specs) {
- for (const spec of specs) _SECURITY_SCHEMA[spec.toLowerCase()] = ctx;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class ElementSchemaRegistry {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const EVENT = 'event';
- const BOOLEAN = 'boolean';
- const NUMBER = 'number';
- const STRING = 'string';
- const OBJECT = 'object';
- /**
- * This array represents the DOM schema. It encodes inheritance, properties, and events.
- *
- * ## Overview
- *
- * Each line represents one kind of element. The `element_inheritance` and properties are joined
- * using `element_inheritance|properties` syntax.
- *
- * ## Element Inheritance
- *
- * The `element_inheritance` can be further subdivided as `element1,element2,...^parentElement`.
- * Here the individual elements are separated by `,` (commas). Every element in the list
- * has identical properties.
- *
- * An `element` may inherit additional properties from `parentElement` If no `^parentElement` is
- * specified then `""` (blank) element is assumed.
- *
- * NOTE: The blank element inherits from root `[Element]` element, the super element of all
- * elements.
- *
- * NOTE an element prefix such as `:svg:` has no special meaning to the schema.
- *
- * ## Properties
- *
- * Each element has a set of properties separated by `,` (commas). Each property can be prefixed
- * by a special character designating its type:
- *
- * - (no prefix): property is a string.
- * - `*`: property represents an event.
- * - `!`: property is a boolean.
- * - `#`: property is a number.
- * - `%`: property is an object.
- *
- * ## Query
- *
- * The class creates an internal squas representation which allows to easily answer the query of
- * if a given property exist on a given element.
- *
- * NOTE: We don't yet support querying for types or events.
- * NOTE: This schema is auto extracted from `schema_extractor.ts` located in the test folder,
- * see dom_element_schema_registry_spec.ts
- */
- // =================================================================================================
- // =================================================================================================
- // =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========
- // =================================================================================================
- // =================================================================================================
- //
- // DO NOT EDIT THIS DOM SCHEMA WITHOUT A SECURITY REVIEW!
- //
- // Newly added properties must be security reviewed and assigned an appropriate SecurityContext in
- // dom_security_schema.ts. Reach out to mprobst & rjamet for details.
- //
- // =================================================================================================
- const SCHEMA = ['[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot' +
- /* added manually to avoid breaking changes */
- ',*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:|'];
- const _ATTR_TO_PROP = new Map(Object.entries({
- 'class': 'className',
- 'for': 'htmlFor',
- 'formaction': 'formAction',
- 'innerHtml': 'innerHTML',
- 'readonly': 'readOnly',
- 'tabindex': 'tabIndex'
- })); // Invert _ATTR_TO_PROP.
- const _PROP_TO_ATTR = Array.from(_ATTR_TO_PROP).reduce((inverted, [propertyName, attributeName]) => {
- inverted.set(propertyName, attributeName);
- return inverted;
- }, new Map());
- class DomElementSchemaRegistry extends ElementSchemaRegistry {
- constructor() {
- super();
- this._schema = new Map(); // We don't allow binding to events for security reasons. Allowing event bindings would almost
- // certainly introduce bad XSS vulnerabilities. Instead, we store events in a separate schema.
- this._eventSchema = new Map();
- SCHEMA.forEach(encodedType => {
- const type = new Map();
- const events = new Set();
- const [strType, strProperties] = encodedType.split('|');
- const properties = strProperties.split(',');
- const [typeNames, superName] = strType.split('^');
- typeNames.split(',').forEach(tag => {
- this._schema.set(tag.toLowerCase(), type);
- this._eventSchema.set(tag.toLowerCase(), events);
- });
- const superType = superName && this._schema.get(superName.toLowerCase());
- if (superType) {
- for (const [prop, value] of superType) {
- type.set(prop, value);
- }
- for (const superEvent of this._eventSchema.get(superName.toLowerCase())) {
- events.add(superEvent);
- }
- }
- properties.forEach(property => {
- if (property.length > 0) {
- switch (property[0]) {
- case '*':
- events.add(property.substring(1));
- break;
- case '!':
- type.set(property.substring(1), BOOLEAN);
- break;
- case '#':
- type.set(property.substring(1), NUMBER);
- break;
- case '%':
- type.set(property.substring(1), OBJECT);
- break;
- default:
- type.set(property, STRING);
- }
- }
- });
- });
- }
- hasProperty(tagName, propName, schemaMetas) {
- if (schemaMetas.some(schema => schema.name === NO_ERRORS_SCHEMA.name)) {
- return true;
- }
- if (tagName.indexOf('-') > -1) {
- if (isNgContainer(tagName) || isNgContent(tagName)) {
- return false;
- }
- if (schemaMetas.some(schema => schema.name === CUSTOM_ELEMENTS_SCHEMA.name)) {
- // Can't tell now as we don't know which properties a custom element will get
- // once it is instantiated
- return true;
- }
- }
- const elementProperties = this._schema.get(tagName.toLowerCase()) || this._schema.get('unknown');
- return elementProperties.has(propName);
- }
- hasElement(tagName, schemaMetas) {
- if (schemaMetas.some(schema => schema.name === NO_ERRORS_SCHEMA.name)) {
- return true;
- }
- if (tagName.indexOf('-') > -1) {
- if (isNgContainer(tagName) || isNgContent(tagName)) {
- return true;
- }
- if (schemaMetas.some(schema => schema.name === CUSTOM_ELEMENTS_SCHEMA.name)) {
- // Allow any custom elements
- return true;
- }
- }
- return this._schema.has(tagName.toLowerCase());
- }
- /**
- * securityContext returns the security context for the given property on the given DOM tag.
- *
- * Tag and property name are statically known and cannot change at runtime, i.e. it is not
- * possible to bind a value into a changing attribute or tag name.
- *
- * The filtering is based on a list of allowed tags|attributes. All attributes in the schema
- * above are assumed to have the 'NONE' security context, i.e. that they are safe inert
- * string values. Only specific well known attack vectors are assigned their appropriate context.
- */
- securityContext(tagName, propName, isAttribute) {
- if (isAttribute) {
- // NB: For security purposes, use the mapped property name, not the attribute name.
- propName = this.getMappedPropName(propName);
- } // Make sure comparisons are case insensitive, so that case differences between attribute and
- // property names do not have a security impact.
- tagName = tagName.toLowerCase();
- propName = propName.toLowerCase();
- let ctx = SECURITY_SCHEMA()[tagName + '|' + propName];
- if (ctx) {
- return ctx;
- }
- ctx = SECURITY_SCHEMA()['*|' + propName];
- return ctx ? ctx : SecurityContext.NONE;
- }
- getMappedPropName(propName) {
- var _a;
- return (_a = _ATTR_TO_PROP.get(propName)) !== null && _a !== void 0 ? _a : propName;
- }
- getDefaultComponentElementName() {
- return 'ng-component';
- }
- validateProperty(name) {
- if (name.toLowerCase().startsWith('on')) {
- 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.`;
- return {
- error: true,
- msg: msg
- };
- } else {
- return {
- error: false
- };
- }
- }
- validateAttribute(name) {
- if (name.toLowerCase().startsWith('on')) {
- const msg = `Binding to event attribute '${name}' is disallowed for security reasons, ` + `please use (${name.slice(2)})=...`;
- return {
- error: true,
- msg: msg
- };
- } else {
- return {
- error: false
- };
- }
- }
- allKnownElementNames() {
- return Array.from(this._schema.keys());
- }
- allKnownAttributesOfElement(tagName) {
- const elementProperties = this._schema.get(tagName.toLowerCase()) || this._schema.get('unknown'); // Convert properties to attributes.
- return Array.from(elementProperties.keys()).map(prop => {
- var _a;
- return (_a = _PROP_TO_ATTR.get(prop)) !== null && _a !== void 0 ? _a : prop;
- });
- }
- allKnownEventsOfElement(tagName) {
- var _a;
- return Array.from((_a = this._eventSchema.get(tagName.toLowerCase())) !== null && _a !== void 0 ? _a : []);
- }
- normalizeAnimationStyleProperty(propName) {
- return dashCaseToCamelCase(propName);
- }
- normalizeAnimationStyleValue(camelCaseProp, userProvidedProp, val) {
- let unit = '';
- const strVal = val.toString().trim();
- let errorMsg = null;
- if (_isPixelDimensionStyle(camelCaseProp) && val !== 0 && val !== '0') {
- if (typeof val === 'number') {
- unit = 'px';
- } else {
- const valAndSuffixMatch = val.match(/^[+-]?[\d\.]+([a-z]*)$/);
- if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {
- errorMsg = `Please provide a CSS unit value for ${userProvidedProp}:${val}`;
- }
- }
- }
- return {
- error: errorMsg,
- value: strVal + unit
- };
- }
- }
- function _isPixelDimensionStyle(prop) {
- switch (prop) {
- case 'width':
- case 'height':
- case 'minWidth':
- case 'minHeight':
- case 'maxWidth':
- case 'maxHeight':
- case 'left':
- case 'top':
- case 'bottom':
- case 'right':
- case 'fontSize':
- case 'outlineWidth':
- case 'outlineOffset':
- case 'paddingTop':
- case 'paddingLeft':
- case 'paddingBottom':
- case 'paddingRight':
- case 'marginTop':
- case 'marginLeft':
- case 'marginBottom':
- case 'marginRight':
- case 'borderRadius':
- case 'borderWidth':
- case 'borderTopWidth':
- case 'borderLeftWidth':
- case 'borderRightWidth':
- case 'borderBottomWidth':
- case 'textIndent':
- return true;
- default:
- return false;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Set of tagName|propertyName corresponding to Trusted Types sinks. Properties applying to all
- * tags use '*'.
- *
- * Extracted from, and should be kept in sync with
- * https://w3c.github.io/webappsec-trusted-types/dist/spec/#integrations
- */
- const TRUSTED_TYPES_SINKS = new Set([// NOTE: All strings in this set *must* be lowercase!
- // TrustedHTML
- 'iframe|srcdoc', '*|innerhtml', '*|outerhtml', // NB: no TrustedScript here, as the corresponding tags are stripped by the compiler.
- // TrustedScriptURL
- 'embed|src', 'object|codebase', 'object|data']);
- /**
- * isTrustedTypesSink returns true if the given property on the given DOM tag is a Trusted Types
- * sink. In that case, use `ElementSchemaRegistry.securityContext` to determine which particular
- * Trusted Type is required for values passed to the sink:
- * - SecurityContext.HTML corresponds to TrustedHTML
- * - SecurityContext.RESOURCE_URL corresponds to TrustedScriptURL
- */
- function isTrustedTypesSink(tagName, propName) {
- // Make sure comparisons are case insensitive, so that case differences between attribute and
- // property names do not have a security impact.
- tagName = tagName.toLowerCase();
- propName = propName.toLowerCase();
- return TRUSTED_TYPES_SINKS.has(tagName + '|' + propName) || TRUSTED_TYPES_SINKS.has('*|' + propName);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const PROPERTY_PARTS_SEPARATOR = '.';
- const ATTRIBUTE_PREFIX = 'attr';
- const CLASS_PREFIX = 'class';
- const STYLE_PREFIX = 'style';
- const TEMPLATE_ATTR_PREFIX$1 = '*';
- const ANIMATE_PROP_PREFIX = 'animate-';
- /**
- * Parses bindings in templates and in the directive host area.
- */
- class BindingParser {
- constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
- this._exprParser = _exprParser;
- this._interpolationConfig = _interpolationConfig;
- this._schemaRegistry = _schemaRegistry;
- this.errors = errors;
- }
- get interpolationConfig() {
- return this._interpolationConfig;
- }
- createBoundHostProperties(properties, sourceSpan) {
- const boundProps = [];
- for (const propName of Object.keys(properties)) {
- const expression = properties[propName];
- if (typeof expression === 'string') {
- this.parsePropertyBinding(propName, expression, true, sourceSpan, sourceSpan.start.offset, undefined, [], // Use the `sourceSpan` for `keySpan`. This isn't really accurate, but neither is the
- // sourceSpan, as it represents the sourceSpan of the host itself rather than the
- // source of the host binding (which doesn't exist in the template). Regardless,
- // neither of these values are used in Ivy but are only here to satisfy the function
- // signature. This should likely be refactored in the future so that `sourceSpan`
- // isn't being used inaccurately.
- boundProps, sourceSpan);
- } else {
- this._reportError(`Value of the host property binding "${propName}" needs to be a string representing an expression but got "${expression}" (${typeof expression})`, sourceSpan);
- }
- }
- return boundProps;
- }
- createDirectiveHostEventAsts(hostListeners, sourceSpan) {
- const targetEvents = [];
- for (const propName of Object.keys(hostListeners)) {
- const expression = hostListeners[propName];
- if (typeof expression === 'string') {
- // Use the `sourceSpan` for `keySpan` and `handlerSpan`. This isn't really accurate, but
- // neither is the `sourceSpan`, as it represents the `sourceSpan` of the host itself
- // rather than the source of the host binding (which doesn't exist in the template).
- // Regardless, neither of these values are used in Ivy but are only here to satisfy the
- // function signature. This should likely be refactored in the future so that `sourceSpan`
- // isn't being used inaccurately.
- this.parseEvent(propName, expression,
- /* isAssignmentEvent */
- false, sourceSpan, sourceSpan, [], targetEvents, sourceSpan);
- } else {
- this._reportError(`Value of the host listener "${propName}" needs to be a string representing an expression but got "${expression}" (${typeof expression})`, sourceSpan);
- }
- }
- return targetEvents;
- }
- parseInterpolation(value, sourceSpan, interpolatedTokens) {
- const sourceInfo = sourceSpan.start.toString();
- const absoluteOffset = sourceSpan.fullStart.offset;
- try {
- const ast = this._exprParser.parseInterpolation(value, sourceInfo, absoluteOffset, interpolatedTokens, this._interpolationConfig);
- if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan);
- return ast;
- } catch (e) {
- this._reportError(`${e}`, sourceSpan);
- return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
- }
- }
- /**
- * Similar to `parseInterpolation`, but treats the provided string as a single expression
- * element that would normally appear within the interpolation prefix and suffix (`{{` and `}}`).
- * This is used for parsing the switch expression in ICUs.
- */
- parseInterpolationExpression(expression, sourceSpan) {
- const sourceInfo = sourceSpan.start.toString();
- const absoluteOffset = sourceSpan.start.offset;
- try {
- const ast = this._exprParser.parseInterpolationExpression(expression, sourceInfo, absoluteOffset);
- if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan);
- return ast;
- } catch (e) {
- this._reportError(`${e}`, sourceSpan);
- return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
- }
- }
- /**
- * Parses the bindings in a microsyntax expression, and converts them to
- * `ParsedProperty` or `ParsedVariable`.
- *
- * @param tplKey template binding name
- * @param tplValue template binding value
- * @param sourceSpan span of template binding relative to entire the template
- * @param absoluteValueOffset start of the tplValue relative to the entire template
- * @param targetMatchableAttrs potential attributes to match in the template
- * @param targetProps target property bindings in the template
- * @param targetVars target variables in the template
- */
- parseInlineTemplateBinding(tplKey, tplValue, sourceSpan, absoluteValueOffset, targetMatchableAttrs, targetProps, targetVars, isIvyAst) {
- const absoluteKeyOffset = sourceSpan.start.offset + TEMPLATE_ATTR_PREFIX$1.length;
- const bindings = this._parseTemplateBindings(tplKey, tplValue, sourceSpan, absoluteKeyOffset, absoluteValueOffset);
- for (const binding of bindings) {
- // sourceSpan is for the entire HTML attribute. bindingSpan is for a particular
- // binding within the microsyntax expression so it's more narrow than sourceSpan.
- const bindingSpan = moveParseSourceSpan(sourceSpan, binding.sourceSpan);
- const key = binding.key.source;
- const keySpan = moveParseSourceSpan(sourceSpan, binding.key.span);
- if (binding instanceof VariableBinding) {
- const value = binding.value ? binding.value.source : '$implicit';
- const valueSpan = binding.value ? moveParseSourceSpan(sourceSpan, binding.value.span) : undefined;
- targetVars.push(new ParsedVariable(key, value, bindingSpan, keySpan, valueSpan));
- } else if (binding.value) {
- const srcSpan = isIvyAst ? bindingSpan : sourceSpan;
- const valueSpan = moveParseSourceSpan(sourceSpan, binding.value.ast.sourceSpan);
- this._parsePropertyAst(key, binding.value, srcSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
- } else {
- targetMatchableAttrs.push([key, ''
- /* value */
- ]); // Since this is a literal attribute with no RHS, source span should be
- // just the key span.
- this.parseLiteralAttr(key, null
- /* value */
- , keySpan, absoluteValueOffset, undefined
- /* valueSpan */
- , targetMatchableAttrs, targetProps, keySpan);
- }
- }
- }
- /**
- * Parses the bindings in a microsyntax expression, e.g.
- * ```
- * <tag *tplKey="let value1 = prop; let value2 = localVar">
- * ```
- *
- * @param tplKey template binding name
- * @param tplValue template binding value
- * @param sourceSpan span of template binding relative to entire the template
- * @param absoluteKeyOffset start of the `tplKey`
- * @param absoluteValueOffset start of the `tplValue`
- */
- _parseTemplateBindings(tplKey, tplValue, sourceSpan, absoluteKeyOffset, absoluteValueOffset) {
- const sourceInfo = sourceSpan.start.toString();
- try {
- const bindingsResult = this._exprParser.parseTemplateBindings(tplKey, tplValue, sourceInfo, absoluteKeyOffset, absoluteValueOffset);
- this._reportExpressionParserErrors(bindingsResult.errors, sourceSpan);
- bindingsResult.warnings.forEach(warning => {
- this._reportError(warning, sourceSpan, ParseErrorLevel.WARNING);
- });
- return bindingsResult.templateBindings;
- } catch (e) {
- this._reportError(`${e}`, sourceSpan);
- return [];
- }
- }
- parseLiteralAttr(name, value, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
- if (isAnimationLabel(name)) {
- name = name.substring(1);
- if (keySpan !== undefined) {
- keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset));
- }
- if (value) {
- 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);
- }
- this._parseAnimation(name, value, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
- } else {
- targetProps.push(new ParsedProperty(name, this._exprParser.wrapLiteralPrimitive(value, '', absoluteOffset), ParsedPropertyType.LITERAL_ATTR, sourceSpan, keySpan, valueSpan));
- }
- }
- parsePropertyBinding(name, expression, isHost, sourceSpan, absoluteOffset, valueSpan, targetMatchableAttrs, targetProps, keySpan) {
- if (name.length === 0) {
- this._reportError(`Property name is missing in binding`, sourceSpan);
- }
- let isAnimationProp = false;
- if (name.startsWith(ANIMATE_PROP_PREFIX)) {
- isAnimationProp = true;
- name = name.substring(ANIMATE_PROP_PREFIX.length);
- if (keySpan !== undefined) {
- keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + ANIMATE_PROP_PREFIX.length, keySpan.end.offset));
- }
- } else if (isAnimationLabel(name)) {
- isAnimationProp = true;
- name = name.substring(1);
- if (keySpan !== undefined) {
- keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset));
- }
- }
- if (isAnimationProp) {
- this._parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps);
- } else {
- this._parsePropertyAst(name, this._parseBinding(expression, isHost, valueSpan || sourceSpan, absoluteOffset), sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
- }
- }
- parsePropertyInterpolation(name, value, sourceSpan, valueSpan, targetMatchableAttrs, targetProps, keySpan, interpolatedTokens) {
- const expr = this.parseInterpolation(value, valueSpan || sourceSpan, interpolatedTokens);
- if (expr) {
- this._parsePropertyAst(name, expr, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps);
- return true;
- }
- return false;
- }
- _parsePropertyAst(name, ast, sourceSpan, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
- targetMatchableAttrs.push([name, ast.source]);
- targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.DEFAULT, sourceSpan, keySpan, valueSpan));
- }
- _parseAnimation(name, expression, sourceSpan, absoluteOffset, keySpan, valueSpan, targetMatchableAttrs, targetProps) {
- if (name.length === 0) {
- this._reportError('Animation trigger is missing', sourceSpan);
- } // This will occur when a @trigger is not paired with an expression.
- // For animations it is valid to not have an expression since */void
- // states will be applied by angular when the element is attached/detached
- const ast = this._parseBinding(expression || 'undefined', false, valueSpan || sourceSpan, absoluteOffset);
- targetMatchableAttrs.push([name, ast.source]);
- targetProps.push(new ParsedProperty(name, ast, ParsedPropertyType.ANIMATION, sourceSpan, keySpan, valueSpan));
- }
- _parseBinding(value, isHostBinding, sourceSpan, absoluteOffset) {
- const sourceInfo = (sourceSpan && sourceSpan.start || '(unknown)').toString();
- try {
- const ast = isHostBinding ? this._exprParser.parseSimpleBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig) : this._exprParser.parseBinding(value, sourceInfo, absoluteOffset, this._interpolationConfig);
- if (ast) this._reportExpressionParserErrors(ast.errors, sourceSpan);
- return ast;
- } catch (e) {
- this._reportError(`${e}`, sourceSpan);
- return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
- }
- }
- createBoundElementProperty(elementSelector, boundProp, skipValidation = false, mapPropertyName = true) {
- if (boundProp.isAnimation) {
- return new BoundElementProperty(boundProp.name, 4
- /* BindingType.Animation */
- , SecurityContext.NONE, boundProp.expression, null, boundProp.sourceSpan, boundProp.keySpan, boundProp.valueSpan);
- }
- let unit = null;
- let bindingType = undefined;
- let boundPropertyName = null;
- const parts = boundProp.name.split(PROPERTY_PARTS_SEPARATOR);
- let securityContexts = undefined; // Check for special cases (prefix style, attr, class)
- if (parts.length > 1) {
- if (parts[0] == ATTRIBUTE_PREFIX) {
- boundPropertyName = parts.slice(1).join(PROPERTY_PARTS_SEPARATOR);
- if (!skipValidation) {
- this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, true);
- }
- securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, true);
- const nsSeparatorIdx = boundPropertyName.indexOf(':');
- if (nsSeparatorIdx > -1) {
- const ns = boundPropertyName.substring(0, nsSeparatorIdx);
- const name = boundPropertyName.substring(nsSeparatorIdx + 1);
- boundPropertyName = mergeNsAndName(ns, name);
- }
- bindingType = 1
- /* BindingType.Attribute */
- ;
- } else if (parts[0] == CLASS_PREFIX) {
- boundPropertyName = parts[1];
- bindingType = 2
- /* BindingType.Class */
- ;
- securityContexts = [SecurityContext.NONE];
- } else if (parts[0] == STYLE_PREFIX) {
- unit = parts.length > 2 ? parts[2] : null;
- boundPropertyName = parts[1];
- bindingType = 3
- /* BindingType.Style */
- ;
- securityContexts = [SecurityContext.STYLE];
- }
- } // If not a special case, use the full property name
- if (boundPropertyName === null) {
- const mappedPropName = this._schemaRegistry.getMappedPropName(boundProp.name);
- boundPropertyName = mapPropertyName ? mappedPropName : boundProp.name;
- securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, mappedPropName, false);
- bindingType = 0
- /* BindingType.Property */
- ;
- if (!skipValidation) {
- this._validatePropertyOrAttributeName(mappedPropName, boundProp.sourceSpan, false);
- }
- }
- return new BoundElementProperty(boundPropertyName, bindingType, securityContexts[0], boundProp.expression, unit, boundProp.sourceSpan, boundProp.keySpan, boundProp.valueSpan);
- } // TODO: keySpan should be required but was made optional to avoid changing VE parser.
- parseEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan) {
- if (name.length === 0) {
- this._reportError(`Event name is missing in binding`, sourceSpan);
- }
- if (isAnimationLabel(name)) {
- name = name.slice(1);
- if (keySpan !== undefined) {
- keySpan = moveParseSourceSpan(keySpan, new AbsoluteSourceSpan(keySpan.start.offset + 1, keySpan.end.offset));
- }
- this._parseAnimationEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetEvents, keySpan);
- } else {
- this._parseRegularEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan);
- }
- }
- calcPossibleSecurityContexts(selector, propName, isAttribute) {
- const prop = this._schemaRegistry.getMappedPropName(propName);
- return calcPossibleSecurityContexts(this._schemaRegistry, selector, prop, isAttribute);
- }
- _parseAnimationEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetEvents, keySpan) {
- const matches = splitAtPeriod(name, [name, '']);
- const eventName = matches[0];
- const phase = matches[1].toLowerCase();
- const ast = this._parseAction(expression, isAssignmentEvent, handlerSpan);
- targetEvents.push(new ParsedEvent(eventName, phase, 1
- /* ParsedEventType.Animation */
- , ast, sourceSpan, handlerSpan, keySpan));
- if (eventName.length === 0) {
- this._reportError(`Animation event name is missing in binding`, sourceSpan);
- }
- if (phase) {
- if (phase !== 'start' && phase !== 'done') {
- this._reportError(`The provided animation output phase value "${phase}" for "@${eventName}" is not supported (use start or done)`, sourceSpan);
- }
- } else {
- this._reportError(`The animation trigger output event (@${eventName}) is missing its phase value name (start or done are currently supported)`, sourceSpan);
- }
- }
- _parseRegularEvent(name, expression, isAssignmentEvent, sourceSpan, handlerSpan, targetMatchableAttrs, targetEvents, keySpan) {
- // long format: 'target: eventName'
- const [target, eventName] = splitAtColon(name, [null, name]);
- const ast = this._parseAction(expression, isAssignmentEvent, handlerSpan);
- targetMatchableAttrs.push([name, ast.source]);
- targetEvents.push(new ParsedEvent(eventName, target, 0
- /* ParsedEventType.Regular */
- , ast, sourceSpan, handlerSpan, keySpan)); // Don't detect directives for event names for now,
- // so don't add the event name to the matchableAttrs
- }
- _parseAction(value, isAssignmentEvent, sourceSpan) {
- const sourceInfo = (sourceSpan && sourceSpan.start || '(unknown').toString();
- const absoluteOffset = sourceSpan && sourceSpan.start ? sourceSpan.start.offset : 0;
- try {
- const ast = this._exprParser.parseAction(value, isAssignmentEvent, sourceInfo, absoluteOffset, this._interpolationConfig);
- if (ast) {
- this._reportExpressionParserErrors(ast.errors, sourceSpan);
- }
- if (!ast || ast.ast instanceof EmptyExpr) {
- this._reportError(`Empty expressions are not allowed`, sourceSpan);
- return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
- }
- return ast;
- } catch (e) {
- this._reportError(`${e}`, sourceSpan);
- return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo, absoluteOffset);
- }
- }
- _reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {
- this.errors.push(new ParseError(sourceSpan, message, level));
- }
- _reportExpressionParserErrors(errors, sourceSpan) {
- for (const error of errors) {
- this._reportError(error.message, sourceSpan);
- }
- }
- /**
- * @param propName the name of the property / attribute
- * @param sourceSpan
- * @param isAttr true when binding to an attribute
- */
- _validatePropertyOrAttributeName(propName, sourceSpan, isAttr) {
- const report = isAttr ? this._schemaRegistry.validateAttribute(propName) : this._schemaRegistry.validateProperty(propName);
- if (report.error) {
- this._reportError(report.msg, sourceSpan, ParseErrorLevel.ERROR);
- }
- }
- }
- class PipeCollector extends RecursiveAstVisitor {
- constructor() {
- super(...arguments);
- this.pipes = new Map();
- }
- visitPipe(ast, context) {
- this.pipes.set(ast.name, ast);
- ast.exp.visit(this);
- this.visitAll(ast.args, context);
- return null;
- }
- }
- function isAnimationLabel(name) {
- return name[0] == '@';
- }
- function calcPossibleSecurityContexts(registry, selector, propName, isAttribute) {
- const ctxs = [];
- CssSelector.parse(selector).forEach(selector => {
- const elementNames = selector.element ? [selector.element] : registry.allKnownElementNames();
- const notElementNames = new Set(selector.notSelectors.filter(selector => selector.isElementSelector()).map(selector => selector.element));
- const possibleElementNames = elementNames.filter(elementName => !notElementNames.has(elementName));
- ctxs.push(...possibleElementNames.map(elementName => registry.securityContext(elementName, propName, isAttribute)));
- });
- return ctxs.length === 0 ? [SecurityContext.NONE] : Array.from(new Set(ctxs)).sort();
- }
- /**
- * Compute a new ParseSourceSpan based off an original `sourceSpan` by using
- * absolute offsets from the specified `absoluteSpan`.
- *
- * @param sourceSpan original source span
- * @param absoluteSpan absolute source span to move to
- */
- function moveParseSourceSpan(sourceSpan, absoluteSpan) {
- // The difference of two absolute offsets provide the relative offset
- const startDiff = absoluteSpan.start - sourceSpan.start.offset;
- const endDiff = absoluteSpan.end - sourceSpan.end.offset;
- return new ParseSourceSpan(sourceSpan.start.moveBy(startDiff), sourceSpan.end.moveBy(endDiff), sourceSpan.fullStart.moveBy(startDiff), sourceSpan.details);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Some of the code comes from WebComponents.JS
- // https://github.com/webcomponents/webcomponentsjs/blob/master/src/HTMLImports/path.js
- function isStyleUrlResolvable(url) {
- if (url == null || url.length === 0 || url[0] == '/') return false;
- const schemeMatch = url.match(URL_WITH_SCHEMA_REGEXP);
- return schemeMatch === null || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset';
- }
- const URL_WITH_SCHEMA_REGEXP = /^([^:/?#]+):/;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_CONTENT_SELECT_ATTR$1 = 'select';
- const LINK_ELEMENT = 'link';
- const LINK_STYLE_REL_ATTR = 'rel';
- const LINK_STYLE_HREF_ATTR = 'href';
- const LINK_STYLE_REL_VALUE = 'stylesheet';
- const STYLE_ELEMENT = 'style';
- const SCRIPT_ELEMENT = 'script';
- const NG_NON_BINDABLE_ATTR = 'ngNonBindable';
- const NG_PROJECT_AS = 'ngProjectAs';
- function preparseElement(ast) {
- let selectAttr = null;
- let hrefAttr = null;
- let relAttr = null;
- let nonBindable = false;
- let projectAs = '';
- ast.attrs.forEach(attr => {
- const lcAttrName = attr.name.toLowerCase();
- if (lcAttrName == NG_CONTENT_SELECT_ATTR$1) {
- selectAttr = attr.value;
- } else if (lcAttrName == LINK_STYLE_HREF_ATTR) {
- hrefAttr = attr.value;
- } else if (lcAttrName == LINK_STYLE_REL_ATTR) {
- relAttr = attr.value;
- } else if (attr.name == NG_NON_BINDABLE_ATTR) {
- nonBindable = true;
- } else if (attr.name == NG_PROJECT_AS) {
- if (attr.value.length > 0) {
- projectAs = attr.value;
- }
- }
- });
- selectAttr = normalizeNgContentSelect(selectAttr);
- const nodeName = ast.name.toLowerCase();
- let type = PreparsedElementType.OTHER;
- if (isNgContent(nodeName)) {
- type = PreparsedElementType.NG_CONTENT;
- } else if (nodeName == STYLE_ELEMENT) {
- type = PreparsedElementType.STYLE;
- } else if (nodeName == SCRIPT_ELEMENT) {
- type = PreparsedElementType.SCRIPT;
- } else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) {
- type = PreparsedElementType.STYLESHEET;
- }
- return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs);
- }
- var PreparsedElementType;
- (function (PreparsedElementType) {
- PreparsedElementType[PreparsedElementType["NG_CONTENT"] = 0] = "NG_CONTENT";
- PreparsedElementType[PreparsedElementType["STYLE"] = 1] = "STYLE";
- PreparsedElementType[PreparsedElementType["STYLESHEET"] = 2] = "STYLESHEET";
- PreparsedElementType[PreparsedElementType["SCRIPT"] = 3] = "SCRIPT";
- PreparsedElementType[PreparsedElementType["OTHER"] = 4] = "OTHER";
- })(PreparsedElementType || (PreparsedElementType = {}));
- class PreparsedElement {
- constructor(type, selectAttr, hrefAttr, nonBindable, projectAs) {
- this.type = type;
- this.selectAttr = selectAttr;
- this.hrefAttr = hrefAttr;
- this.nonBindable = nonBindable;
- this.projectAs = projectAs;
- }
- }
- function normalizeNgContentSelect(selectAttr) {
- if (selectAttr === null || selectAttr.length === 0) {
- return '*';
- }
- return selectAttr;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const BIND_NAME_REGEXP = /^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/; // Group 1 = "bind-"
- const KW_BIND_IDX = 1; // Group 2 = "let-"
- const KW_LET_IDX = 2; // Group 3 = "ref-/#"
- const KW_REF_IDX = 3; // Group 4 = "on-"
- const KW_ON_IDX = 4; // Group 5 = "bindon-"
- const KW_BINDON_IDX = 5; // Group 6 = "@"
- const KW_AT_IDX = 6; // Group 7 = the identifier after "bind-", "let-", "ref-/#", "on-", "bindon-" or "@"
- const IDENT_KW_IDX = 7;
- const BINDING_DELIMS = {
- BANANA_BOX: {
- start: '[(',
- end: ')]'
- },
- PROPERTY: {
- start: '[',
- end: ']'
- },
- EVENT: {
- start: '(',
- end: ')'
- }
- };
- const TEMPLATE_ATTR_PREFIX = '*';
- function htmlAstToRender3Ast(htmlNodes, bindingParser, options) {
- const transformer = new HtmlAstToIvyAst(bindingParser, options);
- const ivyNodes = visitAll(transformer, htmlNodes); // Errors might originate in either the binding parser or the html to ivy transformer
- const allErrors = bindingParser.errors.concat(transformer.errors);
- const result = {
- nodes: ivyNodes,
- errors: allErrors,
- styleUrls: transformer.styleUrls,
- styles: transformer.styles,
- ngContentSelectors: transformer.ngContentSelectors
- };
- if (options.collectCommentNodes) {
- result.commentNodes = transformer.commentNodes;
- }
- return result;
- }
- class HtmlAstToIvyAst {
- constructor(bindingParser, options) {
- this.bindingParser = bindingParser;
- this.options = options;
- this.errors = [];
- this.styles = [];
- this.styleUrls = [];
- this.ngContentSelectors = []; // This array will be populated if `Render3ParseOptions['collectCommentNodes']` is true
- this.commentNodes = [];
- this.inI18nBlock = false;
- } // HTML visitor
- visitElement(element) {
- const isI18nRootElement = isI18nRootNode(element.i18n);
- if (isI18nRootElement) {
- if (this.inI18nBlock) {
- this.reportError('Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.', element.sourceSpan);
- }
- this.inI18nBlock = true;
- }
- const preparsedElement = preparseElement(element);
- if (preparsedElement.type === PreparsedElementType.SCRIPT) {
- return null;
- } else if (preparsedElement.type === PreparsedElementType.STYLE) {
- const contents = textContents(element);
- if (contents !== null) {
- this.styles.push(contents);
- }
- return null;
- } else if (preparsedElement.type === PreparsedElementType.STYLESHEET && isStyleUrlResolvable(preparsedElement.hrefAttr)) {
- this.styleUrls.push(preparsedElement.hrefAttr);
- return null;
- } // Whether the element is a `<ng-template>`
- const isTemplateElement = isNgTemplate(element.name);
- const parsedProperties = [];
- const boundEvents = [];
- const variables = [];
- const references = [];
- const attributes = [];
- const i18nAttrsMeta = {};
- const templateParsedProperties = [];
- const templateVariables = []; // Whether the element has any *-attribute
- let elementHasInlineTemplate = false;
- for (const attribute of element.attrs) {
- let hasBinding = false;
- const normalizedName = normalizeAttributeName(attribute.name); // `*attr` defines template bindings
- let isTemplateBinding = false;
- if (attribute.i18n) {
- i18nAttrsMeta[attribute.name] = attribute.i18n;
- }
- if (normalizedName.startsWith(TEMPLATE_ATTR_PREFIX)) {
- // *-attributes
- if (elementHasInlineTemplate) {
- this.reportError(`Can't have multiple template bindings on one element. Use only one attribute prefixed with *`, attribute.sourceSpan);
- }
- isTemplateBinding = true;
- elementHasInlineTemplate = true;
- const templateValue = attribute.value;
- const templateKey = normalizedName.substring(TEMPLATE_ATTR_PREFIX.length);
- const parsedVariables = [];
- const absoluteValueOffset = attribute.valueSpan ? attribute.valueSpan.start.offset : // If there is no value span the attribute does not have a value, like `attr` in
- //`<div attr></div>`. In this case, point to one character beyond the last character of
- // the attribute name.
- attribute.sourceSpan.start.offset + attribute.name.length;
- this.bindingParser.parseInlineTemplateBinding(templateKey, templateValue, attribute.sourceSpan, absoluteValueOffset, [], templateParsedProperties, parsedVariables, true
- /* isIvyAst */
- );
- templateVariables.push(...parsedVariables.map(v => new Variable(v.name, v.value, v.sourceSpan, v.keySpan, v.valueSpan)));
- } else {
- // Check for variables, events, property bindings, interpolation
- hasBinding = this.parseAttribute(isTemplateElement, attribute, [], parsedProperties, boundEvents, variables, references);
- }
- if (!hasBinding && !isTemplateBinding) {
- // don't include the bindings as attributes as well in the AST
- attributes.push(this.visitAttribute(attribute));
- }
- }
- const children = visitAll(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element.children);
- let parsedElement;
- if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {
- // `<ng-content>`
- if (element.children && !element.children.every(node => isEmptyTextNode(node) || isCommentNode(node))) {
- this.reportError(`<ng-content> element cannot have content.`, element.sourceSpan);
- }
- const selector = preparsedElement.selectAttr;
- const attrs = element.attrs.map(attr => this.visitAttribute(attr));
- parsedElement = new Content(selector, attrs, element.sourceSpan, element.i18n);
- this.ngContentSelectors.push(selector);
- } else if (isTemplateElement) {
- // `<ng-template>`
- const attrs = this.extractAttributes(element.name, parsedProperties, i18nAttrsMeta);
- parsedElement = new Template(element.name, attributes, attrs.bound, boundEvents, [
- /* no template attributes */
- ], children, references, variables, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);
- } else {
- const attrs = this.extractAttributes(element.name, parsedProperties, i18nAttrsMeta);
- parsedElement = new Element$1(element.name, attributes, attrs.bound, boundEvents, children, references, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, element.i18n);
- }
- if (elementHasInlineTemplate) {
- // If this node is an inline-template (e.g. has *ngFor) then we need to create a template
- // node that contains this node.
- // Moreover, if the node is an element, then we need to hoist its attributes to the template
- // node for matching against content projection selectors.
- const attrs = this.extractAttributes('ng-template', templateParsedProperties, i18nAttrsMeta);
- const templateAttrs = [];
- attrs.literal.forEach(attr => templateAttrs.push(attr));
- attrs.bound.forEach(attr => templateAttrs.push(attr));
- const hoistedAttrs = parsedElement instanceof Element$1 ? {
- attributes: parsedElement.attributes,
- inputs: parsedElement.inputs,
- outputs: parsedElement.outputs
- } : {
- attributes: [],
- inputs: [],
- outputs: []
- }; // For <ng-template>s with structural directives on them, avoid passing i18n information to
- // the wrapping template to prevent unnecessary i18n instructions from being generated. The
- // necessary i18n meta information will be extracted from child elements.
- const i18n = isTemplateElement && isI18nRootElement ? undefined : element.i18n;
- const name = parsedElement instanceof Template ? null : parsedElement.name;
- parsedElement = new Template(name, hoistedAttrs.attributes, hoistedAttrs.inputs, hoistedAttrs.outputs, templateAttrs, [parsedElement], [
- /* no references */
- ], templateVariables, element.sourceSpan, element.startSourceSpan, element.endSourceSpan, i18n);
- }
- if (isI18nRootElement) {
- this.inI18nBlock = false;
- }
- return parsedElement;
- }
- visitAttribute(attribute) {
- return new TextAttribute(attribute.name, attribute.value, attribute.sourceSpan, attribute.keySpan, attribute.valueSpan, attribute.i18n);
- }
- visitText(text) {
- return this._visitTextWithInterpolation(text.value, text.sourceSpan, text.tokens, text.i18n);
- }
- visitExpansion(expansion) {
- if (!expansion.i18n) {
- // do not generate Icu in case it was created
- // outside of i18n block in a template
- return null;
- }
- if (!isI18nRootNode(expansion.i18n)) {
- throw new Error(`Invalid type "${expansion.i18n.constructor}" for "i18n" property of ${expansion.sourceSpan.toString()}. Expected a "Message"`);
- }
- const message = expansion.i18n;
- const vars = {};
- const placeholders = {}; // extract VARs from ICUs - we process them separately while
- // assembling resulting message via goog.getMsg function, since
- // we need to pass them to top-level goog.getMsg call
- Object.keys(message.placeholders).forEach(key => {
- const value = message.placeholders[key];
- if (key.startsWith(I18N_ICU_VAR_PREFIX)) {
- // Currently when the `plural` or `select` keywords in an ICU contain trailing spaces (e.g.
- // `{count, select , ...}`), these spaces are also included into the key names in ICU vars
- // (e.g. "VAR_SELECT "). These trailing spaces are not desirable, since they will later be
- // converted into `_` symbols while normalizing placeholder names, which might lead to
- // mismatches at runtime (i.e. placeholder will not be replaced with the correct value).
- const formattedKey = key.trim();
- const ast = this.bindingParser.parseInterpolationExpression(value.text, value.sourceSpan);
- vars[formattedKey] = new BoundText(ast, value.sourceSpan);
- } else {
- placeholders[key] = this._visitTextWithInterpolation(value.text, value.sourceSpan, null);
- }
- });
- return new Icu$1(vars, placeholders, expansion.sourceSpan, message);
- }
- visitExpansionCase(expansionCase) {
- return null;
- }
- visitComment(comment) {
- if (this.options.collectCommentNodes) {
- this.commentNodes.push(new Comment$1(comment.value || '', comment.sourceSpan));
- }
- return null;
- } // convert view engine `ParsedProperty` to a format suitable for IVY
- extractAttributes(elementName, properties, i18nPropsMeta) {
- const bound = [];
- const literal = [];
- properties.forEach(prop => {
- const i18n = i18nPropsMeta[prop.name];
- if (prop.isLiteral) {
- literal.push(new TextAttribute(prop.name, prop.expression.source || '', prop.sourceSpan, prop.keySpan, prop.valueSpan, i18n));
- } else {
- // Note that validation is skipped and property mapping is disabled
- // due to the fact that we need to make sure a given prop is not an
- // input of a directive and directive matching happens at runtime.
- const bep = this.bindingParser.createBoundElementProperty(elementName, prop,
- /* skipValidation */
- true,
- /* mapPropertyName */
- false);
- bound.push(BoundAttribute.fromBoundElementProperty(bep, i18n));
- }
- });
- return {
- bound,
- literal
- };
- }
- parseAttribute(isTemplateElement, attribute, matchableAttributes, parsedProperties, boundEvents, variables, references) {
- var _a;
- const name = normalizeAttributeName(attribute.name);
- const value = attribute.value;
- const srcSpan = attribute.sourceSpan;
- const absoluteOffset = attribute.valueSpan ? attribute.valueSpan.start.offset : srcSpan.start.offset;
- function createKeySpan(srcSpan, prefix, identifier) {
- // We need to adjust the start location for the keySpan to account for the removed 'data-'
- // prefix from `normalizeAttributeName`.
- const normalizationAdjustment = attribute.name.length - name.length;
- const keySpanStart = srcSpan.start.moveBy(prefix.length + normalizationAdjustment);
- const keySpanEnd = keySpanStart.moveBy(identifier.length);
- return new ParseSourceSpan(keySpanStart, keySpanEnd, keySpanStart, identifier);
- }
- const bindParts = name.match(BIND_NAME_REGEXP);
- if (bindParts) {
- if (bindParts[KW_BIND_IDX] != null) {
- const identifier = bindParts[IDENT_KW_IDX];
- const keySpan = createKeySpan(srcSpan, bindParts[KW_BIND_IDX], identifier);
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
- } else if (bindParts[KW_LET_IDX]) {
- if (isTemplateElement) {
- const identifier = bindParts[IDENT_KW_IDX];
- const keySpan = createKeySpan(srcSpan, bindParts[KW_LET_IDX], identifier);
- this.parseVariable(identifier, value, srcSpan, keySpan, attribute.valueSpan, variables);
- } else {
- this.reportError(`"let-" is only supported on ng-template elements.`, srcSpan);
- }
- } else if (bindParts[KW_REF_IDX]) {
- const identifier = bindParts[IDENT_KW_IDX];
- const keySpan = createKeySpan(srcSpan, bindParts[KW_REF_IDX], identifier);
- this.parseReference(identifier, value, srcSpan, keySpan, attribute.valueSpan, references);
- } else if (bindParts[KW_ON_IDX]) {
- const events = [];
- const identifier = bindParts[IDENT_KW_IDX];
- const keySpan = createKeySpan(srcSpan, bindParts[KW_ON_IDX], identifier);
- this.bindingParser.parseEvent(identifier, value,
- /* isAssignmentEvent */
- false, srcSpan, attribute.valueSpan || srcSpan, matchableAttributes, events, keySpan);
- addEvents(events, boundEvents);
- } else if (bindParts[KW_BINDON_IDX]) {
- const identifier = bindParts[IDENT_KW_IDX];
- const keySpan = createKeySpan(srcSpan, bindParts[KW_BINDON_IDX], identifier);
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
- this.parseAssignmentEvent(identifier, value, srcSpan, attribute.valueSpan, matchableAttributes, boundEvents, keySpan);
- } else if (bindParts[KW_AT_IDX]) {
- const keySpan = createKeySpan(srcSpan, '', name);
- this.bindingParser.parseLiteralAttr(name, value, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
- }
- return true;
- } // We didn't see a kw-prefixed property binding, but we have not yet checked
- // for the []/()/[()] syntax.
- let delims = null;
- if (name.startsWith(BINDING_DELIMS.BANANA_BOX.start)) {
- delims = BINDING_DELIMS.BANANA_BOX;
- } else if (name.startsWith(BINDING_DELIMS.PROPERTY.start)) {
- delims = BINDING_DELIMS.PROPERTY;
- } else if (name.startsWith(BINDING_DELIMS.EVENT.start)) {
- delims = BINDING_DELIMS.EVENT;
- }
- if (delims !== null && // NOTE: older versions of the parser would match a start/end delimited
- // binding iff the property name was terminated by the ending delimiter
- // and the identifier in the binding was non-empty.
- // TODO(ayazhafiz): update this to handle malformed bindings.
- name.endsWith(delims.end) && name.length > delims.start.length + delims.end.length) {
- const identifier = name.substring(delims.start.length, name.length - delims.end.length);
- const keySpan = createKeySpan(srcSpan, delims.start, identifier);
- if (delims.start === BINDING_DELIMS.BANANA_BOX.start) {
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
- this.parseAssignmentEvent(identifier, value, srcSpan, attribute.valueSpan, matchableAttributes, boundEvents, keySpan);
- } else if (delims.start === BINDING_DELIMS.PROPERTY.start) {
- this.bindingParser.parsePropertyBinding(identifier, value, false, srcSpan, absoluteOffset, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan);
- } else {
- const events = [];
- this.bindingParser.parseEvent(identifier, value,
- /* isAssignmentEvent */
- false, srcSpan, attribute.valueSpan || srcSpan, matchableAttributes, events, keySpan);
- addEvents(events, boundEvents);
- }
- return true;
- } // No explicit binding found.
- const keySpan = createKeySpan(srcSpan, ''
- /* prefix */
- , name);
- const hasBinding = this.bindingParser.parsePropertyInterpolation(name, value, srcSpan, attribute.valueSpan, matchableAttributes, parsedProperties, keySpan, (_a = attribute.valueTokens) !== null && _a !== void 0 ? _a : null);
- return hasBinding;
- }
- _visitTextWithInterpolation(value, sourceSpan, interpolatedTokens, i18n) {
- const valueNoNgsp = replaceNgsp(value);
- const expr = this.bindingParser.parseInterpolation(valueNoNgsp, sourceSpan, interpolatedTokens);
- return expr ? new BoundText(expr, sourceSpan, i18n) : new Text$3(valueNoNgsp, sourceSpan);
- }
- parseVariable(identifier, value, sourceSpan, keySpan, valueSpan, variables) {
- if (identifier.indexOf('-') > -1) {
- this.reportError(`"-" is not allowed in variable names`, sourceSpan);
- } else if (identifier.length === 0) {
- this.reportError(`Variable does not have a name`, sourceSpan);
- }
- variables.push(new Variable(identifier, value, sourceSpan, keySpan, valueSpan));
- }
- parseReference(identifier, value, sourceSpan, keySpan, valueSpan, references) {
- if (identifier.indexOf('-') > -1) {
- this.reportError(`"-" is not allowed in reference names`, sourceSpan);
- } else if (identifier.length === 0) {
- this.reportError(`Reference does not have a name`, sourceSpan);
- } else if (references.some(reference => reference.name === identifier)) {
- this.reportError(`Reference "#${identifier}" is defined more than once`, sourceSpan);
- }
- references.push(new Reference(identifier, value, sourceSpan, keySpan, valueSpan));
- }
- parseAssignmentEvent(name, expression, sourceSpan, valueSpan, targetMatchableAttrs, boundEvents, keySpan) {
- const events = [];
- this.bindingParser.parseEvent(`${name}Change`, `${expression} =$event`,
- /* isAssignmentEvent */
- true, sourceSpan, valueSpan || sourceSpan, targetMatchableAttrs, events, keySpan);
- addEvents(events, boundEvents);
- }
- reportError(message, sourceSpan, level = ParseErrorLevel.ERROR) {
- this.errors.push(new ParseError(sourceSpan, message, level));
- }
- }
- class NonBindableVisitor {
- visitElement(ast) {
- const preparsedElement = preparseElement(ast);
- if (preparsedElement.type === PreparsedElementType.SCRIPT || preparsedElement.type === PreparsedElementType.STYLE || preparsedElement.type === PreparsedElementType.STYLESHEET) {
- // Skipping <script> for security reasons
- // Skipping <style> and stylesheets as we already processed them
- // in the StyleCompiler
- return null;
- }
- const children = visitAll(this, ast.children, null);
- return new Element$1(ast.name, visitAll(this, ast.attrs),
- /* inputs */
- [],
- /* outputs */
- [], children,
- /* references */
- [], ast.sourceSpan, ast.startSourceSpan, ast.endSourceSpan);
- }
- visitComment(comment) {
- return null;
- }
- visitAttribute(attribute) {
- return new TextAttribute(attribute.name, attribute.value, attribute.sourceSpan, attribute.keySpan, attribute.valueSpan, attribute.i18n);
- }
- visitText(text) {
- return new Text$3(text.value, text.sourceSpan);
- }
- visitExpansion(expansion) {
- return null;
- }
- visitExpansionCase(expansionCase) {
- return null;
- }
- }
- const NON_BINDABLE_VISITOR = new NonBindableVisitor();
- function normalizeAttributeName(attrName) {
- return /^data-/i.test(attrName) ? attrName.substring(5) : attrName;
- }
- function addEvents(events, boundEvents) {
- boundEvents.push(...events.map(e => BoundEvent.fromParsedEvent(e)));
- }
- function isEmptyTextNode(node) {
- return node instanceof Text && node.value.trim().length == 0;
- }
- function isCommentNode(node) {
- return node instanceof Comment;
- }
- function textContents(node) {
- if (node.children.length !== 1 || !(node.children[0] instanceof Text)) {
- return null;
- } else {
- return node.children[0].value;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- var TagType;
- (function (TagType) {
- TagType[TagType["ELEMENT"] = 0] = "ELEMENT";
- TagType[TagType["TEMPLATE"] = 1] = "TEMPLATE";
- })(TagType || (TagType = {}));
- /**
- * Generates an object that is used as a shared state between parent and all child contexts.
- */
- function setupRegistry() {
- return {
- getUniqueId: getSeqNumberGenerator(),
- icus: new Map()
- };
- }
- /**
- * I18nContext is a helper class which keeps track of all i18n-related aspects
- * (accumulates placeholders, bindings, etc) between i18nStart and i18nEnd instructions.
- *
- * When we enter a nested template, the top-level context is being passed down
- * to the nested component, which uses this context to generate a child instance
- * of I18nContext class (to handle nested template) and at the end, reconciles it back
- * with the parent context.
- *
- * @param index Instruction index of i18nStart, which initiates this context
- * @param ref Reference to a translation const that represents the content if thus context
- * @param level Nesting level defined for child contexts
- * @param templateIndex Instruction index of a template which this context belongs to
- * @param meta Meta information (id, meaning, description, etc) associated with this context
- */
- class I18nContext {
- constructor(index, ref, level = 0, templateIndex = null, meta, registry) {
- this.index = index;
- this.ref = ref;
- this.level = level;
- this.templateIndex = templateIndex;
- this.meta = meta;
- this.registry = registry;
- this.bindings = new Set();
- this.placeholders = new Map();
- this.isEmitted = false;
- this._unresolvedCtxCount = 0;
- this._registry = registry || setupRegistry();
- this.id = this._registry.getUniqueId();
- }
- appendTag(type, node, index, closed) {
- if (node.isVoid && closed) {
- return; // ignore "close" for void tags
- }
- const ph = node.isVoid || !closed ? node.startName : node.closeName;
- const content = {
- type,
- index,
- ctx: this.id,
- isVoid: node.isVoid,
- closed
- };
- updatePlaceholderMap(this.placeholders, ph, content);
- }
- get icus() {
- return this._registry.icus;
- }
- get isRoot() {
- return this.level === 0;
- }
- get isResolved() {
- return this._unresolvedCtxCount === 0;
- }
- getSerializedPlaceholders() {
- const result = new Map();
- this.placeholders.forEach((values, key) => result.set(key, values.map(serializePlaceholderValue)));
- return result;
- } // public API to accumulate i18n-related content
- appendBinding(binding) {
- this.bindings.add(binding);
- }
- appendIcu(name, ref) {
- updatePlaceholderMap(this._registry.icus, name, ref);
- }
- appendBoundText(node) {
- const phs = assembleBoundTextPlaceholders(node, this.bindings.size, this.id);
- phs.forEach((values, key) => updatePlaceholderMap(this.placeholders, key, ...values));
- }
- appendTemplate(node, index) {
- // add open and close tags at the same time,
- // since we process nested templates separately
- this.appendTag(TagType.TEMPLATE, node, index, false);
- this.appendTag(TagType.TEMPLATE, node, index, true);
- this._unresolvedCtxCount++;
- }
- appendElement(node, index, closed) {
- this.appendTag(TagType.ELEMENT, node, index, closed);
- }
- appendProjection(node, index) {
- // Add open and close tags at the same time, since `<ng-content>` has no content,
- // so when we come across `<ng-content>` we can register both open and close tags.
- // Note: runtime i18n logic doesn't distinguish `<ng-content>` tag placeholders and
- // regular element tag placeholders, so we generate element placeholders for both types.
- this.appendTag(TagType.ELEMENT, node, index, false);
- this.appendTag(TagType.ELEMENT, node, index, true);
- }
- /**
- * Generates an instance of a child context based on the root one,
- * when we enter a nested template within I18n section.
- *
- * @param index Instruction index of corresponding i18nStart, which initiates this context
- * @param templateIndex Instruction index of a template which this context belongs to
- * @param meta Meta information (id, meaning, description, etc) associated with this context
- *
- * @returns I18nContext instance
- */
- forkChildContext(index, templateIndex, meta) {
- return new I18nContext(index, this.ref, this.level + 1, templateIndex, meta, this._registry);
- }
- /**
- * Reconciles child context into parent one once the end of the i18n block is reached (i18nEnd).
- *
- * @param context Child I18nContext instance to be reconciled with parent context.
- */
- reconcileChildContext(context) {
- // set the right context id for open and close
- // template tags, so we can use it as sub-block ids
- ['start', 'close'].forEach(op => {
- const key = context.meta[`${op}Name`];
- const phs = this.placeholders.get(key) || [];
- const tag = phs.find(findTemplateFn(this.id, context.templateIndex));
- if (tag) {
- tag.ctx = context.id;
- }
- }); // reconcile placeholders
- const childPhs = context.placeholders;
- childPhs.forEach((values, key) => {
- const phs = this.placeholders.get(key);
- if (!phs) {
- this.placeholders.set(key, values);
- return;
- } // try to find matching template...
- const tmplIdx = phs.findIndex(findTemplateFn(context.id, context.templateIndex));
- if (tmplIdx >= 0) {
- // ... if found - replace it with nested template content
- const isCloseTag = key.startsWith('CLOSE');
- const isTemplateTag = key.endsWith('NG-TEMPLATE');
- if (isTemplateTag) {
- // current template's content is placed before or after
- // parent template tag, depending on the open/close attribute
- phs.splice(tmplIdx + (isCloseTag ? 0 : 1), 0, ...values);
- } else {
- const idx = isCloseTag ? values.length - 1 : 0;
- values[idx].tmpl = phs[tmplIdx];
- phs.splice(tmplIdx, 1, ...values);
- }
- } else {
- // ... otherwise just append content to placeholder value
- phs.push(...values);
- }
- this.placeholders.set(key, phs);
- });
- this._unresolvedCtxCount--;
- }
- } //
- // Helper methods
- //
- function wrap(symbol, index, contextId, closed) {
- const state = closed ? '/' : '';
- return wrapI18nPlaceholder(`${state}${symbol}${index}`, contextId);
- }
- function wrapTag(symbol, {
- index,
- ctx,
- isVoid
- }, closed) {
- return isVoid ? wrap(symbol, index, ctx) + wrap(symbol, index, ctx, true) : wrap(symbol, index, ctx, closed);
- }
- function findTemplateFn(ctx, templateIndex) {
- return token => typeof token === 'object' && token.type === TagType.TEMPLATE && token.index === templateIndex && token.ctx === ctx;
- }
- function serializePlaceholderValue(value) {
- const element = (data, closed) => wrapTag('#', data, closed);
- const template = (data, closed) => wrapTag('*', data, closed);
- const projection = (data, closed) => wrapTag('!', data, closed);
- switch (value.type) {
- case TagType.ELEMENT:
- // close element tag
- if (value.closed) {
- return element(value, true) + (value.tmpl ? template(value.tmpl, true) : '');
- } // open element tag that also initiates a template
- if (value.tmpl) {
- return template(value.tmpl) + element(value) + (value.isVoid ? template(value.tmpl, true) : '');
- }
- return element(value);
- case TagType.TEMPLATE:
- return template(value, value.closed);
- default:
- return value;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class IcuSerializerVisitor {
- visitText(text) {
- return text.value;
- }
- visitContainer(container) {
- return container.children.map(child => child.visit(this)).join('');
- }
- visitIcu(icu) {
- const strCases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`);
- const result = `{${icu.expressionPlaceholder}, ${icu.type}, ${strCases.join(' ')}}`;
- return result;
- }
- visitTagPlaceholder(ph) {
- return ph.isVoid ? this.formatPh(ph.startName) : `${this.formatPh(ph.startName)}${ph.children.map(child => child.visit(this)).join('')}${this.formatPh(ph.closeName)}`;
- }
- visitPlaceholder(ph) {
- return this.formatPh(ph.name);
- }
- visitIcuPlaceholder(ph, context) {
- return this.formatPh(ph.name);
- }
- formatPh(value) {
- return `{${formatI18nPlaceholderName(value,
- /* useCamelCase */
- false)}}`;
- }
- }
- const serializer = new IcuSerializerVisitor();
- function serializeIcuNode(icu) {
- return icu.visit(serializer);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const TAG_TO_PLACEHOLDER_NAMES = {
- 'A': 'LINK',
- 'B': 'BOLD_TEXT',
- 'BR': 'LINE_BREAK',
- 'EM': 'EMPHASISED_TEXT',
- 'H1': 'HEADING_LEVEL1',
- 'H2': 'HEADING_LEVEL2',
- 'H3': 'HEADING_LEVEL3',
- 'H4': 'HEADING_LEVEL4',
- 'H5': 'HEADING_LEVEL5',
- 'H6': 'HEADING_LEVEL6',
- 'HR': 'HORIZONTAL_RULE',
- 'I': 'ITALIC_TEXT',
- 'LI': 'LIST_ITEM',
- 'LINK': 'MEDIA_LINK',
- 'OL': 'ORDERED_LIST',
- 'P': 'PARAGRAPH',
- 'Q': 'QUOTATION',
- 'S': 'STRIKETHROUGH_TEXT',
- 'SMALL': 'SMALL_TEXT',
- 'SUB': 'SUBSTRIPT',
- 'SUP': 'SUPERSCRIPT',
- 'TBODY': 'TABLE_BODY',
- 'TD': 'TABLE_CELL',
- 'TFOOT': 'TABLE_FOOTER',
- 'TH': 'TABLE_HEADER_CELL',
- 'THEAD': 'TABLE_HEADER',
- 'TR': 'TABLE_ROW',
- 'TT': 'MONOSPACED_TEXT',
- 'U': 'UNDERLINED_TEXT',
- 'UL': 'UNORDERED_LIST'
- };
- /**
- * Creates unique names for placeholder with different content.
- *
- * Returns the same placeholder name when the content is identical.
- */
- class PlaceholderRegistry {
- constructor() {
- // Count the occurrence of the base name top generate a unique name
- this._placeHolderNameCounts = {}; // Maps signature to placeholder names
- this._signatureToName = {};
- }
- getStartTagPlaceholderName(tag, attrs, isVoid) {
- const signature = this._hashTag(tag, attrs, isVoid);
- if (this._signatureToName[signature]) {
- return this._signatureToName[signature];
- }
- const upperTag = tag.toUpperCase();
- const baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || `TAG_${upperTag}`;
- const name = this._generateUniqueName(isVoid ? baseName : `START_${baseName}`);
- this._signatureToName[signature] = name;
- return name;
- }
- getCloseTagPlaceholderName(tag) {
- const signature = this._hashClosingTag(tag);
- if (this._signatureToName[signature]) {
- return this._signatureToName[signature];
- }
- const upperTag = tag.toUpperCase();
- const baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || `TAG_${upperTag}`;
- const name = this._generateUniqueName(`CLOSE_${baseName}`);
- this._signatureToName[signature] = name;
- return name;
- }
- getPlaceholderName(name, content) {
- const upperName = name.toUpperCase();
- const signature = `PH: ${upperName}=${content}`;
- if (this._signatureToName[signature]) {
- return this._signatureToName[signature];
- }
- const uniqueName = this._generateUniqueName(upperName);
- this._signatureToName[signature] = uniqueName;
- return uniqueName;
- }
- getUniquePlaceholder(name) {
- return this._generateUniqueName(name.toUpperCase());
- } // Generate a hash for a tag - does not take attribute order into account
- _hashTag(tag, attrs, isVoid) {
- const start = `<${tag}`;
- const strAttrs = Object.keys(attrs).sort().map(name => ` ${name}=${attrs[name]}`).join('');
- const end = isVoid ? '/>' : `></${tag}>`;
- return start + strAttrs + end;
- }
- _hashClosingTag(tag) {
- return this._hashTag(`/${tag}`, {}, false);
- }
- _generateUniqueName(base) {
- const seen = this._placeHolderNameCounts.hasOwnProperty(base);
- if (!seen) {
- this._placeHolderNameCounts[base] = 1;
- return base;
- }
- const id = this._placeHolderNameCounts[base];
- this._placeHolderNameCounts[base] = id + 1;
- return `${base}_${id}`;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _expParser = new Parser$1(new Lexer());
- /**
- * Returns a function converting html nodes to an i18n Message given an interpolationConfig
- */
- function createI18nMessageFactory(interpolationConfig) {
- const visitor = new _I18nVisitor(_expParser, interpolationConfig);
- return (nodes, meaning, description, customId, visitNodeFn) => visitor.toI18nMessage(nodes, meaning, description, customId, visitNodeFn);
- }
- function noopVisitNodeFn(_html, i18n) {
- return i18n;
- }
- class _I18nVisitor {
- constructor(_expressionParser, _interpolationConfig) {
- this._expressionParser = _expressionParser;
- this._interpolationConfig = _interpolationConfig;
- }
- toI18nMessage(nodes, meaning = '', description = '', customId = '', visitNodeFn) {
- const context = {
- isIcu: nodes.length == 1 && nodes[0] instanceof Expansion,
- icuDepth: 0,
- placeholderRegistry: new PlaceholderRegistry(),
- placeholderToContent: {},
- placeholderToMessage: {},
- visitNodeFn: visitNodeFn || noopVisitNodeFn
- };
- const i18nodes = visitAll(this, nodes, context);
- return new Message(i18nodes, context.placeholderToContent, context.placeholderToMessage, meaning, description, customId);
- }
- visitElement(el, context) {
- var _a;
- const children = visitAll(this, el.children, context);
- const attrs = {};
- el.attrs.forEach(attr => {
- // Do not visit the attributes, translatable ones are top-level ASTs
- attrs[attr.name] = attr.value;
- });
- const isVoid = getHtmlTagDefinition(el.name).isVoid;
- const startPhName = context.placeholderRegistry.getStartTagPlaceholderName(el.name, attrs, isVoid);
- context.placeholderToContent[startPhName] = {
- text: el.startSourceSpan.toString(),
- sourceSpan: el.startSourceSpan
- };
- let closePhName = '';
- if (!isVoid) {
- closePhName = context.placeholderRegistry.getCloseTagPlaceholderName(el.name);
- context.placeholderToContent[closePhName] = {
- text: `</${el.name}>`,
- sourceSpan: (_a = el.endSourceSpan) !== null && _a !== void 0 ? _a : el.sourceSpan
- };
- }
- const node = new TagPlaceholder(el.name, attrs, startPhName, closePhName, children, isVoid, el.sourceSpan, el.startSourceSpan, el.endSourceSpan);
- return context.visitNodeFn(el, node);
- }
- visitAttribute(attribute, context) {
- 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);
- return context.visitNodeFn(attribute, node);
- }
- visitText(text, context) {
- const node = text.tokens.length === 1 ? new Text$2(text.value, text.sourceSpan) : this._visitTextWithInterpolation(text.tokens, text.sourceSpan, context, text.i18n);
- return context.visitNodeFn(text, node);
- }
- visitComment(comment, context) {
- return null;
- }
- visitExpansion(icu, context) {
- context.icuDepth++;
- const i18nIcuCases = {};
- const i18nIcu = new Icu(icu.switchValue, icu.type, i18nIcuCases, icu.sourceSpan);
- icu.cases.forEach(caze => {
- i18nIcuCases[caze.value] = new Container(caze.expression.map(node => node.visit(this, context)), caze.expSourceSpan);
- });
- context.icuDepth--;
- if (context.isIcu || context.icuDepth > 0) {
- // Returns an ICU node when:
- // - the message (vs a part of the message) is an ICU message, or
- // - the ICU message is nested.
- const expPh = context.placeholderRegistry.getUniquePlaceholder(`VAR_${icu.type}`);
- i18nIcu.expressionPlaceholder = expPh;
- context.placeholderToContent[expPh] = {
- text: icu.switchValue,
- sourceSpan: icu.switchValueSourceSpan
- };
- return context.visitNodeFn(icu, i18nIcu);
- } // Else returns a placeholder
- // ICU placeholders should not be replaced with their original content but with the their
- // translations.
- // TODO(vicb): add a html.Node -> i18n.Message cache to avoid having to re-create the msg
- const phName = context.placeholderRegistry.getPlaceholderName('ICU', icu.sourceSpan.toString());
- context.placeholderToMessage[phName] = this.toI18nMessage([icu], '', '', '', undefined);
- const node = new IcuPlaceholder(i18nIcu, phName, icu.sourceSpan);
- return context.visitNodeFn(icu, node);
- }
- visitExpansionCase(_icuCase, _context) {
- throw new Error('Unreachable code');
- }
- /**
- * Convert, text and interpolated tokens up into text and placeholder pieces.
- *
- * @param tokens The text and interpolated tokens.
- * @param sourceSpan The span of the whole of the `text` string.
- * @param context The current context of the visitor, used to compute and store placeholders.
- * @param previousI18n Any i18n metadata associated with this `text` from a previous pass.
- */
- _visitTextWithInterpolation(tokens, sourceSpan, context, previousI18n) {
- // Return a sequence of `Text` and `Placeholder` nodes grouped in a `Container`.
- const nodes = []; // We will only create a container if there are actually interpolations,
- // so this flag tracks that.
- let hasInterpolation = false;
- for (const token of tokens) {
- switch (token.type) {
- case 8
- /* TokenType.INTERPOLATION */
- :
- case 17
- /* TokenType.ATTR_VALUE_INTERPOLATION */
- :
- hasInterpolation = true;
- const expression = token.parts[1];
- const baseName = extractPlaceholderName(expression) || 'INTERPOLATION';
- const phName = context.placeholderRegistry.getPlaceholderName(baseName, expression);
- context.placeholderToContent[phName] = {
- text: token.parts.join(''),
- sourceSpan: token.sourceSpan
- };
- nodes.push(new Placeholder(expression, phName, token.sourceSpan));
- break;
- default:
- if (token.parts[0].length > 0) {
- // This token is text or an encoded entity.
- // If it is following on from a previous text node then merge it into that node
- // Otherwise, if it is following an interpolation, then add a new node.
- const previous = nodes[nodes.length - 1];
- if (previous instanceof Text$2) {
- previous.value += token.parts[0];
- previous.sourceSpan = new ParseSourceSpan(previous.sourceSpan.start, token.sourceSpan.end, previous.sourceSpan.fullStart, previous.sourceSpan.details);
- } else {
- nodes.push(new Text$2(token.parts[0], token.sourceSpan));
- }
- }
- break;
- }
- }
- if (hasInterpolation) {
- // Whitespace removal may have invalidated the interpolation source-spans.
- reusePreviousSourceSpans(nodes, previousI18n);
- return new Container(nodes, sourceSpan);
- } else {
- return nodes[0];
- }
- }
- }
- /**
- * Re-use the source-spans from `previousI18n` metadata for the `nodes`.
- *
- * Whitespace removal can invalidate the source-spans of interpolation nodes, so we
- * reuse the source-span stored from a previous pass before the whitespace was removed.
- *
- * @param nodes The `Text` and `Placeholder` nodes to be processed.
- * @param previousI18n Any i18n metadata for these `nodes` stored from a previous pass.
- */
- function reusePreviousSourceSpans(nodes, previousI18n) {
- if (previousI18n instanceof Message) {
- // The `previousI18n` is an i18n `Message`, so we are processing an `Attribute` with i18n
- // metadata. The `Message` should consist only of a single `Container` that contains the
- // parts (`Text` and `Placeholder`) to process.
- assertSingleContainerMessage(previousI18n);
- previousI18n = previousI18n.nodes[0];
- }
- if (previousI18n instanceof Container) {
- // The `previousI18n` is a `Container`, which means that this is a second i18n extraction pass
- // after whitespace has been removed from the AST nodes.
- assertEquivalentNodes(previousI18n.children, nodes); // Reuse the source-spans from the first pass.
- for (let i = 0; i < nodes.length; i++) {
- nodes[i].sourceSpan = previousI18n.children[i].sourceSpan;
- }
- }
- }
- /**
- * Asserts that the `message` contains exactly one `Container` node.
- */
- function assertSingleContainerMessage(message) {
- const nodes = message.nodes;
- if (nodes.length !== 1 || !(nodes[0] instanceof Container)) {
- throw new Error('Unexpected previous i18n message - expected it to consist of only a single `Container` node.');
- }
- }
- /**
- * Asserts that the `previousNodes` and `node` collections have the same number of elements and
- * corresponding elements have the same node type.
- */
- function assertEquivalentNodes(previousNodes, nodes) {
- if (previousNodes.length !== nodes.length) {
- throw new Error('The number of i18n message children changed between first and second pass.');
- }
- if (previousNodes.some((node, i) => nodes[i].constructor !== node.constructor)) {
- throw new Error('The types of the i18n message children changed between first and second pass.');
- }
- }
- const _CUSTOM_PH_EXP = /\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;
- function extractPlaceholderName(input) {
- return input.split(_CUSTOM_PH_EXP)[2];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An i18n error.
- */
- class I18nError extends ParseError {
- constructor(span, msg) {
- super(span, msg);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const setI18nRefs = (htmlNode, i18nNode) => {
- if (htmlNode instanceof NodeWithI18n) {
- if (i18nNode instanceof IcuPlaceholder && htmlNode.i18n instanceof Message) {
- // This html node represents an ICU but this is a second processing pass, and the legacy id
- // was computed in the previous pass and stored in the `i18n` property as a message.
- // We are about to wipe out that property so capture the previous message to be reused when
- // generating the message for this ICU later. See `_generateI18nMessage()`.
- i18nNode.previousMessage = htmlNode.i18n;
- }
- htmlNode.i18n = i18nNode;
- }
- return i18nNode;
- };
- /**
- * This visitor walks over HTML parse tree and converts information stored in
- * i18n-related attributes ("i18n" and "i18n-*") into i18n meta object that is
- * stored with other element's and attribute's information.
- */
- class I18nMetaVisitor {
- constructor(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG, keepI18nAttrs = false, enableI18nLegacyMessageIdFormat = false) {
- this.interpolationConfig = interpolationConfig;
- this.keepI18nAttrs = keepI18nAttrs;
- this.enableI18nLegacyMessageIdFormat = enableI18nLegacyMessageIdFormat; // whether visited nodes contain i18n information
- this.hasI18nMeta = false;
- this._errors = []; // i18n message generation factory
- this._createI18nMessage = createI18nMessageFactory(this.interpolationConfig);
- }
- _generateI18nMessage(nodes, meta = '', visitNodeFn) {
- const {
- meaning,
- description,
- customId
- } = this._parseMetadata(meta);
- const message = this._createI18nMessage(nodes, meaning, description, customId, visitNodeFn);
- this._setMessageId(message, meta);
- this._setLegacyIds(message, meta);
- return message;
- }
- visitAllWithErrors(nodes) {
- const result = nodes.map(node => node.visit(this, null));
- return new ParseTreeResult(result, this._errors);
- }
- visitElement(element) {
- let message = undefined;
- if (hasI18nAttrs(element)) {
- this.hasI18nMeta = true;
- const attrs = [];
- const attrsMeta = {};
- for (const attr of element.attrs) {
- if (attr.name === I18N_ATTR) {
- // root 'i18n' node attribute
- const i18n = element.i18n || attr.value;
- message = this._generateI18nMessage(element.children, i18n, setI18nRefs);
- if (message.nodes.length === 0) {
- // Ignore the message if it is empty.
- message = undefined;
- } // Store the message on the element
- element.i18n = message;
- } else if (attr.name.startsWith(I18N_ATTR_PREFIX)) {
- // 'i18n-*' attributes
- const name = attr.name.slice(I18N_ATTR_PREFIX.length);
- if (isTrustedTypesSink(element.name, name)) {
- this._reportError(attr, `Translating attribute '${name}' is disallowed for security reasons.`);
- } else {
- attrsMeta[name] = attr.value;
- }
- } else {
- // non-i18n attributes
- attrs.push(attr);
- }
- } // set i18n meta for attributes
- if (Object.keys(attrsMeta).length) {
- for (const attr of attrs) {
- const meta = attrsMeta[attr.name]; // do not create translation for empty attributes
- if (meta !== undefined && attr.value) {
- attr.i18n = this._generateI18nMessage([attr], attr.i18n || meta);
- }
- }
- }
- if (!this.keepI18nAttrs) {
- // update element's attributes,
- // keeping only non-i18n related ones
- element.attrs = attrs;
- }
- }
- visitAll(this, element.children, message);
- return element;
- }
- visitExpansion(expansion, currentMessage) {
- let message;
- const meta = expansion.i18n;
- this.hasI18nMeta = true;
- if (meta instanceof IcuPlaceholder) {
- // set ICU placeholder name (e.g. "ICU_1"),
- // generated while processing root element contents,
- // so we can reference it when we output translation
- const name = meta.name;
- message = this._generateI18nMessage([expansion], meta);
- const icu = icuFromI18nMessage(message);
- icu.name = name;
- if (currentMessage !== null) {
- // Also update the placeholderToMessage map with this new message
- currentMessage.placeholderToMessage[name] = message;
- }
- } else {
- // ICU is a top level message, try to use metadata from container element if provided via
- // `context` argument. Note: context may not be available for standalone ICUs (without
- // wrapping element), so fallback to ICU metadata in this case.
- message = this._generateI18nMessage([expansion], currentMessage || meta);
- }
- expansion.i18n = message;
- return expansion;
- }
- visitText(text) {
- return text;
- }
- visitAttribute(attribute) {
- return attribute;
- }
- visitComment(comment) {
- return comment;
- }
- visitExpansionCase(expansionCase) {
- return expansionCase;
- }
- /**
- * Parse the general form `meta` passed into extract the explicit metadata needed to create a
- * `Message`.
- *
- * There are three possibilities for the `meta` variable
- * 1) a string from an `i18n` template attribute: parse it to extract the metadata values.
- * 2) a `Message` from a previous processing pass: reuse the metadata values in the message.
- * 4) other: ignore this and just process the message metadata as normal
- *
- * @param meta the bucket that holds information about the message
- * @returns the parsed metadata.
- */
- _parseMetadata(meta) {
- return typeof meta === 'string' ? parseI18nMeta(meta) : meta instanceof Message ? meta : {};
- }
- /**
- * Generate (or restore) message id if not specified already.
- */
- _setMessageId(message, meta) {
- if (!message.id) {
- message.id = meta instanceof Message && meta.id || decimalDigest(message);
- }
- }
- /**
- * Update the `message` with a `legacyId` if necessary.
- *
- * @param message the message whose legacy id should be set
- * @param meta information about the message being processed
- */
- _setLegacyIds(message, meta) {
- if (this.enableI18nLegacyMessageIdFormat) {
- message.legacyIds = [computeDigest(message), computeDecimalDigest(message)];
- } else if (typeof meta !== 'string') {
- // This occurs if we are doing the 2nd pass after whitespace removal (see `parseTemplate()` in
- // `packages/compiler/src/render3/view/template.ts`).
- // In that case we want to reuse the legacy message generated in the 1st pass (see
- // `setI18nRefs()`).
- const previousMessage = meta instanceof Message ? meta : meta instanceof IcuPlaceholder ? meta.previousMessage : undefined;
- message.legacyIds = previousMessage ? previousMessage.legacyIds : [];
- }
- }
- _reportError(node, msg) {
- this._errors.push(new I18nError(node.sourceSpan, msg));
- }
- }
- /** I18n separators for metadata **/
- const I18N_MEANING_SEPARATOR = '|';
- const I18N_ID_SEPARATOR = '@@';
- /**
- * Parses i18n metas like:
- * - "@@id",
- * - "description[@@id]",
- * - "meaning|description[@@id]"
- * and returns an object with parsed output.
- *
- * @param meta String that represents i18n meta
- * @returns Object with id, meaning and description fields
- */
- function parseI18nMeta(meta = '') {
- let customId;
- let meaning;
- let description;
- meta = meta.trim();
- if (meta) {
- const idIndex = meta.indexOf(I18N_ID_SEPARATOR);
- const descIndex = meta.indexOf(I18N_MEANING_SEPARATOR);
- let meaningAndDesc;
- [meaningAndDesc, customId] = idIndex > -1 ? [meta.slice(0, idIndex), meta.slice(idIndex + 2)] : [meta, ''];
- [meaning, description] = descIndex > -1 ? [meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] : ['', meaningAndDesc];
- }
- return {
- customId,
- meaning,
- description
- };
- } // Converts i18n meta information for a message (id, description, meaning)
- // to a JsDoc statement formatted as expected by the Closure compiler.
- function i18nMetaToJSDoc(meta) {
- const tags = [];
- if (meta.description) {
- tags.push({
- tagName: "desc"
- /* o.JSDocTagName.Desc */
- ,
- text: meta.description
- });
- } else {
- // Suppress the JSCompiler warning that a `@desc` was not given for this message.
- tags.push({
- tagName: "suppress"
- /* o.JSDocTagName.Suppress */
- ,
- text: '{msgDescriptions}'
- });
- }
- if (meta.meaning) {
- tags.push({
- tagName: "meaning"
- /* o.JSDocTagName.Meaning */
- ,
- text: meta.meaning
- });
- }
- return jsDocComment(tags);
- }
- /** Closure uses `goog.getMsg(message)` to lookup translations */
- const GOOG_GET_MSG = 'goog.getMsg';
- /**
- * Generates a `goog.getMsg()` statement and reassignment. The template:
- *
- * ```html
- * <div i18n>Sent from {{ sender }} to <span class="receiver">{{ receiver }}</span></div>
- * ```
- *
- * Generates:
- *
- * ```typescript
- * const MSG_FOO = goog.getMsg(
- * // Message template.
- * 'Sent from {$interpolation} to {$startTagSpan}{$interpolation_1}{$closeTagSpan}.',
- * // Placeholder values, set to magic strings which get replaced by the Angular runtime.
- * {
- * 'interpolation': '\uFFFD0\uFFFD',
- * 'startTagSpan': '\uFFFD1\uFFFD',
- * 'interpolation_1': '\uFFFD2\uFFFD',
- * 'closeTagSpan': '\uFFFD3\uFFFD',
- * },
- * // Options bag.
- * {
- * // Maps each placeholder to the original Angular source code which generates it's value.
- * original_code: {
- * 'interpolation': '{{ sender }}',
- * 'startTagSpan': '<span class="receiver">',
- * 'interpolation_1': '{{ receiver }}',
- * 'closeTagSpan': '</span>',
- * },
- * },
- * );
- * const I18N_0 = MSG_FOO;
- * ```
- */
- function createGoogleGetMsgStatements(variable$1, message, closureVar, placeholderValues) {
- const messageString = serializeI18nMessageForGetMsg(message);
- const args = [literal(messageString)];
- if (Object.keys(placeholderValues).length) {
- // Message template parameters containing the magic strings replaced by the Angular runtime with
- // real data, e.g. `{'interpolation': '\uFFFD0\uFFFD'}`.
- args.push(mapLiteral(formatI18nPlaceholderNamesInMap(placeholderValues, true
- /* useCamelCase */
- ), true
- /* quoted */
- )); // Message options object, which contains original source code for placeholders (as they are
- // present in a template, e.g.
- // `{original_code: {'interpolation': '{{ name }}', 'startTagSpan': '<span>'}}`.
- args.push(mapLiteral({
- original_code: literalMap(Object.keys(placeholderValues).map(param => ({
- key: formatI18nPlaceholderName(param),
- quoted: true,
- value: message.placeholders[param] ? // Get source span for typical placeholder if it exists.
- literal(message.placeholders[param].sourceSpan.toString()) : // Otherwise must be an ICU expression, get it's source span.
- literal(message.placeholderToMessage[param].nodes.map(node => node.sourceSpan.toString()).join(''))
- })))
- }));
- } // /**
- // * @desc description of message
- // * @meaning meaning of message
- // */
- // const MSG_... = goog.getMsg(..);
- // I18N_X = MSG_...;
- const googGetMsgStmt = closureVar.set(variable(GOOG_GET_MSG).callFn(args)).toConstDecl();
- googGetMsgStmt.addLeadingComment(i18nMetaToJSDoc(message));
- const i18nAssignmentStmt = new ExpressionStatement(variable$1.set(closureVar));
- return [googGetMsgStmt, i18nAssignmentStmt];
- }
- /**
- * This visitor walks over i18n tree and generates its string representation, including ICUs and
- * placeholders in `{$placeholder}` (for plain messages) or `{PLACEHOLDER}` (inside ICUs) format.
- */
- class GetMsgSerializerVisitor {
- formatPh(value) {
- return `{$${formatI18nPlaceholderName(value)}}`;
- }
- visitText(text) {
- return text.value;
- }
- visitContainer(container) {
- return container.children.map(child => child.visit(this)).join('');
- }
- visitIcu(icu) {
- return serializeIcuNode(icu);
- }
- visitTagPlaceholder(ph) {
- return ph.isVoid ? this.formatPh(ph.startName) : `${this.formatPh(ph.startName)}${ph.children.map(child => child.visit(this)).join('')}${this.formatPh(ph.closeName)}`;
- }
- visitPlaceholder(ph) {
- return this.formatPh(ph.name);
- }
- visitIcuPlaceholder(ph, context) {
- return this.formatPh(ph.name);
- }
- }
- const serializerVisitor = new GetMsgSerializerVisitor();
- function serializeI18nMessageForGetMsg(message) {
- return message.nodes.map(node => node.visit(serializerVisitor, null)).join('');
- }
- function createLocalizeStatements(variable, message, params) {
- const {
- messageParts,
- placeHolders
- } = serializeI18nMessageForLocalize(message);
- const sourceSpan = getSourceSpan(message);
- const expressions = placeHolders.map(ph => params[ph.text]);
- const localizedString$1 = localizedString(message, messageParts, placeHolders, expressions, sourceSpan);
- const variableInitialization = variable.set(localizedString$1);
- return [new ExpressionStatement(variableInitialization)];
- }
- /**
- * This visitor walks over an i18n tree, capturing literal strings and placeholders.
- *
- * The result can be used for generating the `$localize` tagged template literals.
- */
- class LocalizeSerializerVisitor {
- constructor(placeholderToMessage, pieces) {
- this.placeholderToMessage = placeholderToMessage;
- this.pieces = pieces;
- }
- visitText(text) {
- if (this.pieces[this.pieces.length - 1] instanceof LiteralPiece) {
- // Two literal pieces in a row means that there was some comment node in-between.
- this.pieces[this.pieces.length - 1].text += text.value;
- } else {
- const sourceSpan = new ParseSourceSpan(text.sourceSpan.fullStart, text.sourceSpan.end, text.sourceSpan.fullStart, text.sourceSpan.details);
- this.pieces.push(new LiteralPiece(text.value, sourceSpan));
- }
- }
- visitContainer(container) {
- container.children.forEach(child => child.visit(this));
- }
- visitIcu(icu) {
- this.pieces.push(new LiteralPiece(serializeIcuNode(icu), icu.sourceSpan));
- }
- visitTagPlaceholder(ph) {
- var _a, _b;
- this.pieces.push(this.createPlaceholderPiece(ph.startName, (_a = ph.startSourceSpan) !== null && _a !== void 0 ? _a : ph.sourceSpan));
- if (!ph.isVoid) {
- ph.children.forEach(child => child.visit(this));
- this.pieces.push(this.createPlaceholderPiece(ph.closeName, (_b = ph.endSourceSpan) !== null && _b !== void 0 ? _b : ph.sourceSpan));
- }
- }
- visitPlaceholder(ph) {
- this.pieces.push(this.createPlaceholderPiece(ph.name, ph.sourceSpan));
- }
- visitIcuPlaceholder(ph) {
- this.pieces.push(this.createPlaceholderPiece(ph.name, ph.sourceSpan, this.placeholderToMessage[ph.name]));
- }
- createPlaceholderPiece(name, sourceSpan, associatedMessage) {
- return new PlaceholderPiece(formatI18nPlaceholderName(name,
- /* useCamelCase */
- false), sourceSpan, associatedMessage);
- }
- }
- /**
- * Serialize an i18n message into two arrays: messageParts and placeholders.
- *
- * These arrays will be used to generate `$localize` tagged template literals.
- *
- * @param message The message to be serialized.
- * @returns an object containing the messageParts and placeholders.
- */
- function serializeI18nMessageForLocalize(message) {
- const pieces = [];
- const serializerVisitor = new LocalizeSerializerVisitor(message.placeholderToMessage, pieces);
- message.nodes.forEach(node => node.visit(serializerVisitor));
- return processMessagePieces(pieces);
- }
- function getSourceSpan(message) {
- const startNode = message.nodes[0];
- const endNode = message.nodes[message.nodes.length - 1];
- return new ParseSourceSpan(startNode.sourceSpan.fullStart, endNode.sourceSpan.end, startNode.sourceSpan.fullStart, startNode.sourceSpan.details);
- }
- /**
- * Convert the list of serialized MessagePieces into two arrays.
- *
- * One contains the literal string pieces and the other the placeholders that will be replaced by
- * expressions when rendering `$localize` tagged template literals.
- *
- * @param pieces The pieces to process.
- * @returns an object containing the messageParts and placeholders.
- */
- function processMessagePieces(pieces) {
- const messageParts = [];
- const placeHolders = [];
- if (pieces[0] instanceof PlaceholderPiece) {
- // The first piece was a placeholder so we need to add an initial empty message part.
- messageParts.push(createEmptyMessagePart(pieces[0].sourceSpan.start));
- }
- for (let i = 0; i < pieces.length; i++) {
- const part = pieces[i];
- if (part instanceof LiteralPiece) {
- messageParts.push(part);
- } else {
- placeHolders.push(part);
- if (pieces[i - 1] instanceof PlaceholderPiece) {
- // There were two placeholders in a row, so we need to add an empty message part.
- messageParts.push(createEmptyMessagePart(pieces[i - 1].sourceSpan.end));
- }
- }
- }
- if (pieces[pieces.length - 1] instanceof PlaceholderPiece) {
- // The last piece was a placeholder so we need to add a final empty message part.
- messageParts.push(createEmptyMessagePart(pieces[pieces.length - 1].sourceSpan.end));
- }
- return {
- messageParts,
- placeHolders
- };
- }
- function createEmptyMessagePart(location) {
- return new LiteralPiece('', new ParseSourceSpan(location, location));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Selector attribute name of `<ng-content>`
- const NG_CONTENT_SELECT_ATTR = 'select'; // Attribute name of `ngProjectAs`.
- const NG_PROJECT_AS_ATTR_NAME = 'ngProjectAs'; // Global symbols available only inside event bindings.
- const EVENT_BINDING_SCOPE_GLOBALS = new Set(['$event']); // List of supported global targets for event listeners
- const GLOBAL_TARGET_RESOLVERS = new Map([['window', Identifiers.resolveWindow], ['document', Identifiers.resolveDocument], ['body', Identifiers.resolveBody]]);
- const LEADING_TRIVIA_CHARS = [' ', '\n', '\r', '\t']; // if (rf & flags) { .. }
- function renderFlagCheckIfStmt(flags, statements) {
- return ifStmt(variable(RENDER_FLAGS).bitwiseAnd(literal(flags), null, false), statements);
- }
- function prepareEventListenerParameters(eventAst, handlerName = null, scope = null) {
- const {
- type,
- name,
- target,
- phase,
- handler
- } = eventAst;
- if (target && !GLOBAL_TARGET_RESOLVERS.has(target)) {
- throw new Error(`Unexpected global target '${target}' defined for '${name}' event.
- Supported list of global targets: ${Array.from(GLOBAL_TARGET_RESOLVERS.keys())}.`);
- }
- const eventArgumentName = '$event';
- const implicitReceiverAccesses = new Set();
- const implicitReceiverExpr = scope === null || scope.bindingLevel === 0 ? variable(CONTEXT_NAME) : scope.getOrCreateSharedContextVar(0);
- const bindingStatements = convertActionBinding(scope, implicitReceiverExpr, handler, 'b', eventAst.handlerSpan, implicitReceiverAccesses, EVENT_BINDING_SCOPE_GLOBALS);
- const statements = [];
- const variableDeclarations = scope === null || scope === void 0 ? void 0 : scope.variableDeclarations();
- const restoreViewStatement = scope === null || scope === void 0 ? void 0 : scope.restoreViewStatement();
- if (variableDeclarations) {
- // `variableDeclarations` needs to run first, because
- // `restoreViewStatement` depends on the result.
- statements.push(...variableDeclarations);
- }
- statements.push(...bindingStatements);
- if (restoreViewStatement) {
- statements.unshift(restoreViewStatement); // If there's a `restoreView` call, we need to reset the view at the end of the listener
- // in order to avoid a leak. If there's a `return` statement already, we wrap it in the
- // call, e.g. `return resetView(ctx.foo())`. Otherwise we add the call as the last statement.
- const lastStatement = statements[statements.length - 1];
- if (lastStatement instanceof ReturnStatement) {
- statements[statements.length - 1] = new ReturnStatement(invokeInstruction(lastStatement.value.sourceSpan, Identifiers.resetView, [lastStatement.value]));
- } else {
- statements.push(new ExpressionStatement(invokeInstruction(null, Identifiers.resetView, [])));
- }
- }
- const eventName = type === 1
- /* ParsedEventType.Animation */
- ? prepareSyntheticListenerName(name, phase) : name;
- const fnName = handlerName && sanitizeIdentifier(handlerName);
- const fnArgs = [];
- if (implicitReceiverAccesses.has(eventArgumentName)) {
- fnArgs.push(new FnParam(eventArgumentName, DYNAMIC_TYPE));
- }
- const handlerFn = fn(fnArgs, statements, INFERRED_TYPE, null, fnName);
- const params = [literal(eventName), handlerFn];
- if (target) {
- params.push(literal(false), // `useCapture` flag, defaults to `false`
- importExpr(GLOBAL_TARGET_RESOLVERS.get(target)));
- }
- return params;
- }
- function createComponentDefConsts() {
- return {
- prepareStatements: [],
- constExpressions: [],
- i18nVarRefsCache: new Map()
- };
- }
- class TemplateDefinitionBuilder {
- constructor(constantPool, parentBindingScope, level = 0, contextName, i18nContext, templateIndex, templateName, _namespace, relativeContextFilePath, i18nUseExternalIds, _constants = createComponentDefConsts()) {
- this.constantPool = constantPool;
- this.level = level;
- this.contextName = contextName;
- this.i18nContext = i18nContext;
- this.templateIndex = templateIndex;
- this.templateName = templateName;
- this._namespace = _namespace;
- this.i18nUseExternalIds = i18nUseExternalIds;
- this._constants = _constants;
- this._dataIndex = 0;
- this._bindingContext = 0;
- this._prefixCode = [];
- /**
- * List of callbacks to generate creation mode instructions. We store them here as we process
- * the template so bindings in listeners are resolved only once all nodes have been visited.
- * This ensures all local refs and context variables are available for matching.
- */
- this._creationCodeFns = [];
- /**
- * List of callbacks to generate update mode instructions. We store them here as we process
- * the template so bindings are resolved only once all nodes have been visited. This ensures
- * all local refs and context variables are available for matching.
- */
- this._updateCodeFns = [];
- /** Index of the currently-selected node. */
- this._currentIndex = 0;
- /** Temporary variable declarations generated from visiting pipes, literals, etc. */
- this._tempVariables = [];
- /**
- * List of callbacks to build nested templates. Nested templates must not be visited until
- * after the parent template has finished visiting all of its nodes. This ensures that all
- * local ref bindings in nested templates are able to find local ref values if the refs
- * are defined after the template declaration.
- */
- this._nestedTemplateFns = []; // i18n context local to this template
- this.i18n = null; // Number of slots to reserve for pureFunctions
- this._pureFunctionSlots = 0; // Number of binding slots
- this._bindingSlots = 0; // Projection slots found in the template. Projection slots can distribute projected
- // nodes based on a selector, or can just use the wildcard selector to match
- // all nodes which aren't matching any selector.
- this._ngContentReservedSlots = []; // Number of non-default selectors found in all parent templates of this template. We need to
- // track it to properly adjust projection slot index in the `projection` instruction.
- this._ngContentSelectorsOffset = 0; // Expression that should be used as implicit receiver when converting template
- // expressions to output AST.
- this._implicitReceiverExpr = null; // These should be handled in the template or element directly.
- this.visitReference = invalid;
- this.visitVariable = invalid;
- this.visitTextAttribute = invalid;
- this.visitBoundAttribute = invalid;
- this.visitBoundEvent = invalid;
- this._bindingScope = parentBindingScope.nestedScope(level); // Turn the relative context file path into an identifier by replacing non-alphanumeric
- // characters with underscores.
- this.fileBasedI18nSuffix = relativeContextFilePath.replace(/[^A-Za-z0-9]/g, '_') + '_';
- this._valueConverter = new ValueConverter(constantPool, () => this.allocateDataSlot(), numSlots => this.allocatePureFunctionSlots(numSlots), (name, localName, slot, value) => {
- this._bindingScope.set(this.level, localName, value);
- this.creationInstruction(null, Identifiers.pipe, [literal(slot), literal(name)]);
- });
- }
- buildTemplateFunction(nodes, variables, ngContentSelectorsOffset = 0, i18n) {
- this._ngContentSelectorsOffset = ngContentSelectorsOffset;
- if (this._namespace !== Identifiers.namespaceHTML) {
- this.creationInstruction(null, this._namespace);
- } // Create variable bindings
- variables.forEach(v => this.registerContextVariables(v)); // Initiate i18n context in case:
- // - this template has parent i18n context
- // - or the template has i18n meta associated with it,
- // but it's not initiated by the Element (e.g. <ng-template i18n>)
- const initI18nContext = this.i18nContext || isI18nRootNode(i18n) && !isSingleI18nIcu(i18n) && !(isSingleElementTemplate(nodes) && nodes[0].i18n === i18n);
- const selfClosingI18nInstruction = hasTextChildrenOnly(nodes);
- if (initI18nContext) {
- this.i18nStart(null, i18n, selfClosingI18nInstruction);
- } // This is the initial pass through the nodes of this template. In this pass, we
- // queue all creation mode and update mode instructions for generation in the second
- // pass. It's necessary to separate the passes to ensure local refs are defined before
- // resolving bindings. We also count bindings in this pass as we walk bound expressions.
- visitAll$1(this, nodes); // Add total binding count to pure function count so pure function instructions are
- // generated with the correct slot offset when update instructions are processed.
- this._pureFunctionSlots += this._bindingSlots; // Pipes are walked in the first pass (to enqueue `pipe()` creation instructions and
- // `pipeBind` update instructions), so we have to update the slot offsets manually
- // to account for bindings.
- this._valueConverter.updatePipeSlotOffsets(this._bindingSlots); // Nested templates must be processed before creation instructions so template()
- // instructions can be generated with the correct internal const count.
- this._nestedTemplateFns.forEach(buildTemplateFn => buildTemplateFn()); // Output the `projectionDef` instruction when some `<ng-content>` tags are present.
- // The `projectionDef` instruction is only emitted for the component template and
- // is skipped for nested templates (<ng-template> tags).
- if (this.level === 0 && this._ngContentReservedSlots.length) {
- const parameters = []; // By default the `projectionDef` instructions creates one slot for the wildcard
- // selector if no parameters are passed. Therefore we only want to allocate a new
- // array for the projection slots if the default projection slot is not sufficient.
- if (this._ngContentReservedSlots.length > 1 || this._ngContentReservedSlots[0] !== '*') {
- const r3ReservedSlots = this._ngContentReservedSlots.map(s => s !== '*' ? parseSelectorToR3Selector(s) : s);
- parameters.push(this.constantPool.getConstLiteral(asLiteral(r3ReservedSlots), true));
- } // Since we accumulate ngContent selectors while processing template elements,
- // we *prepend* `projectionDef` to creation instructions block, to put it before
- // any `projection` instructions
- this.creationInstruction(null, Identifiers.projectionDef, parameters,
- /* prepend */
- true);
- }
- if (initI18nContext) {
- this.i18nEnd(null, selfClosingI18nInstruction);
- } // Generate all the creation mode instructions (e.g. resolve bindings in listeners)
- const creationStatements = getInstructionStatements(this._creationCodeFns); // Generate all the update mode instructions (e.g. resolve property or text bindings)
- const updateStatements = getInstructionStatements(this._updateCodeFns); // Variable declaration must occur after binding resolution so we can generate context
- // instructions that build on each other.
- // e.g. const b = nextContext().$implicit(); const b = nextContext();
- const creationVariables = this._bindingScope.viewSnapshotStatements();
- const updateVariables = this._bindingScope.variableDeclarations().concat(this._tempVariables);
- const creationBlock = creationStatements.length > 0 ? [renderFlagCheckIfStmt(1
- /* core.RenderFlags.Create */
- , creationVariables.concat(creationStatements))] : [];
- const updateBlock = updateStatements.length > 0 ? [renderFlagCheckIfStmt(2
- /* core.RenderFlags.Update */
- , updateVariables.concat(updateStatements))] : [];
- return fn( // i.e. (rf: RenderFlags, ctx: any)
- [new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [// Temporary variable declarations for query refresh (i.e. let _t: any;)
- ...this._prefixCode, // Creating mode (i.e. if (rf & RenderFlags.Create) { ... })
- ...creationBlock, // Binding and refresh mode (i.e. if (rf & RenderFlags.Update) {...})
- ...updateBlock], INFERRED_TYPE, null, this.templateName);
- } // LocalResolver
- getLocal(name) {
- return this._bindingScope.get(name);
- } // LocalResolver
- notifyImplicitReceiverUse() {
- this._bindingScope.notifyImplicitReceiverUse();
- } // LocalResolver
- maybeRestoreView() {
- this._bindingScope.maybeRestoreView();
- }
- i18nTranslate(message, params = {}, ref, transformFn) {
- const _ref = ref || this.i18nGenerateMainBlockVar(); // Closure Compiler requires const names to start with `MSG_` but disallows any other const to
- // start with `MSG_`. We define a variable starting with `MSG_` just for the `goog.getMsg` call
- const closureVar = this.i18nGenerateClosureVar(message.id);
- const statements = getTranslationDeclStmts(message, _ref, closureVar, params, transformFn);
- this._constants.prepareStatements.push(...statements);
- return _ref;
- }
- registerContextVariables(variable$1) {
- const scopedName = this._bindingScope.freshReferenceName();
- const retrievalLevel = this.level;
- const lhs = variable(variable$1.name + scopedName);
- this._bindingScope.set(retrievalLevel, variable$1.name, lhs, 1
- /* DeclarationPriority.CONTEXT */
- , (scope, relativeLevel) => {
- let rhs;
- if (scope.bindingLevel === retrievalLevel) {
- if (scope.isListenerScope() && scope.hasRestoreViewVariable()) {
- // e.g. restoredCtx.
- // We have to get the context from a view reference, if one is available, because
- // the context that was passed in during creation may not be correct anymore.
- // For more information see: https://github.com/angular/angular/pull/40360.
- rhs = variable(RESTORED_VIEW_CONTEXT_NAME);
- scope.notifyRestoredViewContextUse();
- } else {
- // e.g. ctx
- rhs = variable(CONTEXT_NAME);
- }
- } else {
- const sharedCtxVar = scope.getSharedContextName(retrievalLevel); // e.g. ctx_r0 OR x(2);
- rhs = sharedCtxVar ? sharedCtxVar : generateNextContextExpr(relativeLevel);
- } // e.g. const $item$ = x(2).$implicit;
- return [lhs.set(rhs.prop(variable$1.value || IMPLICIT_REFERENCE)).toConstDecl()];
- });
- }
- i18nAppendBindings(expressions) {
- if (expressions.length > 0) {
- expressions.forEach(expression => this.i18n.appendBinding(expression));
- }
- }
- i18nBindProps(props) {
- const bound = {};
- Object.keys(props).forEach(key => {
- const prop = props[key];
- if (prop instanceof Text$3) {
- bound[key] = literal(prop.value);
- } else {
- const value = prop.value.visit(this._valueConverter);
- this.allocateBindingSlots(value);
- if (value instanceof Interpolation) {
- const {
- strings,
- expressions
- } = value;
- const {
- id,
- bindings
- } = this.i18n;
- const label = assembleI18nBoundString(strings, bindings.size, id);
- this.i18nAppendBindings(expressions);
- bound[key] = literal(label);
- }
- }
- });
- return bound;
- } // Generates top level vars for i18n blocks (i.e. `i18n_N`).
- i18nGenerateMainBlockVar() {
- return variable(this.constantPool.uniqueName(TRANSLATION_VAR_PREFIX));
- } // Generates vars with Closure-specific names for i18n blocks (i.e. `MSG_XXX`).
- i18nGenerateClosureVar(messageId) {
- let name;
- const suffix = this.fileBasedI18nSuffix.toUpperCase();
- if (this.i18nUseExternalIds) {
- const prefix = getTranslationConstPrefix(`EXTERNAL_`);
- const uniqueSuffix = this.constantPool.uniqueName(suffix);
- name = `${prefix}${sanitizeIdentifier(messageId)}$$${uniqueSuffix}`;
- } else {
- const prefix = getTranslationConstPrefix(suffix);
- name = this.constantPool.uniqueName(prefix);
- }
- return variable(name);
- }
- i18nUpdateRef(context) {
- const {
- icus,
- meta,
- isRoot,
- isResolved,
- isEmitted
- } = context;
- if (isRoot && isResolved && !isEmitted && !isSingleI18nIcu(meta)) {
- context.isEmitted = true;
- const placeholders = context.getSerializedPlaceholders();
- let icuMapping = {};
- let params = placeholders.size ? placeholdersToParams(placeholders) : {};
- if (icus.size) {
- icus.forEach((refs, key) => {
- if (refs.length === 1) {
- // if we have one ICU defined for a given
- // placeholder - just output its reference
- params[key] = refs[0];
- } else {
- // ... otherwise we need to activate post-processing
- // to replace ICU placeholders with proper values
- const placeholder = wrapI18nPlaceholder(`${I18N_ICU_MAPPING_PREFIX}${key}`);
- params[key] = literal(placeholder);
- icuMapping[key] = literalArr(refs);
- }
- });
- } // translation requires post processing in 2 cases:
- // - if we have placeholders with multiple values (ex. `START_DIV`: [�#1�, �#2�, ...])
- // - if we have multiple ICUs that refer to the same placeholder name
- const needsPostprocessing = Array.from(placeholders.values()).some(value => value.length > 1) || Object.keys(icuMapping).length;
- let transformFn;
- if (needsPostprocessing) {
- transformFn = raw => {
- const args = [raw];
- if (Object.keys(icuMapping).length) {
- args.push(mapLiteral(icuMapping, true));
- }
- return invokeInstruction(null, Identifiers.i18nPostprocess, args);
- };
- }
- this.i18nTranslate(meta, params, context.ref, transformFn);
- }
- }
- i18nStart(span = null, meta, selfClosing) {
- const index = this.allocateDataSlot();
- this.i18n = this.i18nContext ? this.i18nContext.forkChildContext(index, this.templateIndex, meta) : new I18nContext(index, this.i18nGenerateMainBlockVar(), 0, this.templateIndex, meta); // generate i18nStart instruction
- const {
- id,
- ref
- } = this.i18n;
- const params = [literal(index), this.addToConsts(ref)];
- if (id > 0) {
- // do not push 3rd argument (sub-block id)
- // into i18nStart call for top level i18n context
- params.push(literal(id));
- }
- this.creationInstruction(span, selfClosing ? Identifiers.i18n : Identifiers.i18nStart, params);
- }
- i18nEnd(span = null, selfClosing) {
- if (!this.i18n) {
- throw new Error('i18nEnd is executed with no i18n context present');
- }
- if (this.i18nContext) {
- this.i18nContext.reconcileChildContext(this.i18n);
- this.i18nUpdateRef(this.i18nContext);
- } else {
- this.i18nUpdateRef(this.i18n);
- } // setup accumulated bindings
- const {
- index,
- bindings
- } = this.i18n;
- if (bindings.size) {
- for (const binding of bindings) {
- // for i18n block, advance to the most recent element index (by taking the current number of
- // elements and subtracting one) before invoking `i18nExp` instructions, to make sure the
- // necessary lifecycle hooks of components/directives are properly flushed.
- this.updateInstructionWithAdvance(this.getConstCount() - 1, span, Identifiers.i18nExp, () => this.convertPropertyBinding(binding));
- }
- this.updateInstruction(span, Identifiers.i18nApply, [literal(index)]);
- }
- if (!selfClosing) {
- this.creationInstruction(span, Identifiers.i18nEnd);
- }
- this.i18n = null; // reset local i18n context
- }
- i18nAttributesInstruction(nodeIndex, attrs, sourceSpan) {
- let hasBindings = false;
- const i18nAttrArgs = [];
- attrs.forEach(attr => {
- const message = attr.i18n;
- const converted = attr.value.visit(this._valueConverter);
- this.allocateBindingSlots(converted);
- if (converted instanceof Interpolation) {
- const placeholders = assembleBoundTextPlaceholders(message);
- const params = placeholdersToParams(placeholders);
- i18nAttrArgs.push(literal(attr.name), this.i18nTranslate(message, params));
- converted.expressions.forEach(expression => {
- hasBindings = true;
- this.updateInstructionWithAdvance(nodeIndex, sourceSpan, Identifiers.i18nExp, () => this.convertPropertyBinding(expression));
- });
- }
- });
- if (i18nAttrArgs.length > 0) {
- const index = literal(this.allocateDataSlot());
- const constIndex = this.addToConsts(literalArr(i18nAttrArgs));
- this.creationInstruction(sourceSpan, Identifiers.i18nAttributes, [index, constIndex]);
- if (hasBindings) {
- this.updateInstruction(sourceSpan, Identifiers.i18nApply, [index]);
- }
- }
- }
- getNamespaceInstruction(namespaceKey) {
- switch (namespaceKey) {
- case 'math':
- return Identifiers.namespaceMathML;
- case 'svg':
- return Identifiers.namespaceSVG;
- default:
- return Identifiers.namespaceHTML;
- }
- }
- addNamespaceInstruction(nsInstruction, element) {
- this._namespace = nsInstruction;
- this.creationInstruction(element.startSourceSpan, nsInstruction);
- }
- /**
- * Adds an update instruction for an interpolated property or attribute, such as
- * `prop="{{value}}"` or `attr.title="{{value}}"`
- */
- interpolatedUpdateInstruction(instruction, elementIndex, attrName, input, value, params) {
- this.updateInstructionWithAdvance(elementIndex, input.sourceSpan, instruction, () => [literal(attrName), ...this.getUpdateInstructionArguments(value), ...params]);
- }
- visitContent(ngContent) {
- const slot = this.allocateDataSlot();
- const projectionSlotIdx = this._ngContentSelectorsOffset + this._ngContentReservedSlots.length;
- const parameters = [literal(slot)];
- this._ngContentReservedSlots.push(ngContent.selector);
- const nonContentSelectAttributes = ngContent.attributes.filter(attr => attr.name.toLowerCase() !== NG_CONTENT_SELECT_ATTR);
- const attributes = this.getAttributeExpressions(ngContent.name, nonContentSelectAttributes, [], []);
- if (attributes.length > 0) {
- parameters.push(literal(projectionSlotIdx), literalArr(attributes));
- } else if (projectionSlotIdx !== 0) {
- parameters.push(literal(projectionSlotIdx));
- }
- this.creationInstruction(ngContent.sourceSpan, Identifiers.projection, parameters);
- if (this.i18n) {
- this.i18n.appendProjection(ngContent.i18n, slot);
- }
- }
- visitElement(element) {
- var _a, _b;
- const elementIndex = this.allocateDataSlot();
- const stylingBuilder = new StylingBuilder(null);
- let isNonBindableMode = false;
- const isI18nRootElement = isI18nRootNode(element.i18n) && !isSingleI18nIcu(element.i18n);
- const outputAttrs = [];
- const [namespaceKey, elementName] = splitNsName(element.name);
- const isNgContainer$1 = isNgContainer(element.name); // Handle styling, i18n, ngNonBindable attributes
- for (const attr of element.attributes) {
- const {
- name,
- value
- } = attr;
- if (name === NON_BINDABLE_ATTR) {
- isNonBindableMode = true;
- } else if (name === 'style') {
- stylingBuilder.registerStyleAttr(value);
- } else if (name === 'class') {
- stylingBuilder.registerClassAttr(value);
- } else {
- outputAttrs.push(attr);
- }
- } // Regular element or ng-container creation mode
- const parameters = [literal(elementIndex)];
- if (!isNgContainer$1) {
- parameters.push(literal(elementName));
- } // Add the attributes
- const allOtherInputs = [];
- const boundI18nAttrs = [];
- element.inputs.forEach(input => {
- const stylingInputWasSet = stylingBuilder.registerBoundInput(input);
- if (!stylingInputWasSet) {
- if (input.type === 0
- /* BindingType.Property */
- && input.i18n) {
- boundI18nAttrs.push(input);
- } else {
- allOtherInputs.push(input);
- }
- }
- }); // add attributes for directive and projection matching purposes
- const attributes = this.getAttributeExpressions(element.name, outputAttrs, allOtherInputs, element.outputs, stylingBuilder, [], boundI18nAttrs);
- parameters.push(this.addAttrsToConsts(attributes)); // local refs (ex.: <div #foo #bar="baz">)
- const refs = this.prepareRefsArray(element.references);
- parameters.push(this.addToConsts(refs));
- const wasInNamespace = this._namespace;
- const currentNamespace = this.getNamespaceInstruction(namespaceKey); // If the namespace is changing now, include an instruction to change it
- // during element creation.
- if (currentNamespace !== wasInNamespace) {
- this.addNamespaceInstruction(currentNamespace, element);
- }
- if (this.i18n) {
- this.i18n.appendElement(element.i18n, elementIndex);
- } // Note that we do not append text node instructions and ICUs inside i18n section,
- // so we exclude them while calculating whether current element has children
- const hasChildren = !isI18nRootElement && this.i18n ? !hasTextChildrenOnly(element.children) : element.children.length > 0;
- const createSelfClosingInstruction = !stylingBuilder.hasBindingsWithPipes && element.outputs.length === 0 && boundI18nAttrs.length === 0 && !hasChildren;
- const createSelfClosingI18nInstruction = !createSelfClosingInstruction && hasTextChildrenOnly(element.children);
- if (createSelfClosingInstruction) {
- this.creationInstruction(element.sourceSpan, isNgContainer$1 ? Identifiers.elementContainer : Identifiers.element, trimTrailingNulls(parameters));
- } else {
- this.creationInstruction(element.startSourceSpan, isNgContainer$1 ? Identifiers.elementContainerStart : Identifiers.elementStart, trimTrailingNulls(parameters));
- if (isNonBindableMode) {
- this.creationInstruction(element.startSourceSpan, Identifiers.disableBindings);
- }
- if (boundI18nAttrs.length > 0) {
- this.i18nAttributesInstruction(elementIndex, boundI18nAttrs, (_a = element.startSourceSpan) !== null && _a !== void 0 ? _a : element.sourceSpan);
- } // Generate Listeners (outputs)
- if (element.outputs.length > 0) {
- for (const outputAst of element.outputs) {
- this.creationInstruction(outputAst.sourceSpan, Identifiers.listener, this.prepareListenerParameter(element.name, outputAst, elementIndex));
- }
- } // Note: it's important to keep i18n/i18nStart instructions after i18nAttributes and
- // listeners, to make sure i18nAttributes instruction targets current element at runtime.
- if (isI18nRootElement) {
- this.i18nStart(element.startSourceSpan, element.i18n, createSelfClosingI18nInstruction);
- }
- } // the code here will collect all update-level styling instructions and add them to the
- // update block of the template function AOT code. Instructions like `styleProp`,
- // `styleMap`, `classMap`, `classProp`
- // are all generated and assigned in the code below.
- const stylingInstructions = stylingBuilder.buildUpdateLevelInstructions(this._valueConverter);
- const limit = stylingInstructions.length - 1;
- for (let i = 0; i <= limit; i++) {
- const instruction = stylingInstructions[i];
- this._bindingSlots += this.processStylingUpdateInstruction(elementIndex, instruction);
- } // the reason why `undefined` is used is because the renderer understands this as a
- // special value to symbolize that there is no RHS to this binding
- // TODO (matsko): revisit this once FW-959 is approached
- const emptyValueBindInstruction = literal(undefined);
- const propertyBindings = [];
- const attributeBindings = []; // Generate element input bindings
- allOtherInputs.forEach(input => {
- const inputType = input.type;
- if (inputType === 4
- /* BindingType.Animation */
- ) {
- const value = input.value.visit(this._valueConverter); // animation bindings can be presented in the following formats:
- // 1. [@binding]="fooExp"
- // 2. [@binding]="{value:fooExp, params:{...}}"
- // 3. [@binding]
- // 4. @binding
- // All formats will be valid for when a synthetic binding is created.
- // The reasoning for this is because the renderer should get each
- // synthetic binding value in the order of the array that they are
- // defined in...
- const hasValue = value instanceof LiteralPrimitive ? !!value.value : true;
- this.allocateBindingSlots(value);
- propertyBindings.push({
- span: input.sourceSpan,
- paramsOrFn: getBindingFunctionParams(() => hasValue ? this.convertPropertyBinding(value) : emptyValueBindInstruction, prepareSyntheticPropertyName(input.name))
- });
- } else {
- // we must skip attributes with associated i18n context, since these attributes are handled
- // separately and corresponding `i18nExp` and `i18nApply` instructions will be generated
- if (input.i18n) return;
- const value = input.value.visit(this._valueConverter);
- if (value !== undefined) {
- const params = [];
- const [attrNamespace, attrName] = splitNsName(input.name);
- const isAttributeBinding = inputType === 1
- /* BindingType.Attribute */
- ;
- const sanitizationRef = resolveSanitizationFn(input.securityContext, isAttributeBinding);
- if (sanitizationRef) params.push(sanitizationRef);
- if (attrNamespace) {
- const namespaceLiteral = literal(attrNamespace);
- if (sanitizationRef) {
- params.push(namespaceLiteral);
- } else {
- // If there wasn't a sanitization ref, we need to add
- // an extra param so that we can pass in the namespace.
- params.push(literal(null), namespaceLiteral);
- }
- }
- this.allocateBindingSlots(value);
- if (inputType === 0
- /* BindingType.Property */
- ) {
- if (value instanceof Interpolation) {
- // prop="{{value}}" and friends
- this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), elementIndex, attrName, input, value, params);
- } else {
- // [prop]="value"
- // Collect all the properties so that we can chain into a single function at the end.
- propertyBindings.push({
- span: input.sourceSpan,
- paramsOrFn: getBindingFunctionParams(() => this.convertPropertyBinding(value), attrName, params)
- });
- }
- } else if (inputType === 1
- /* BindingType.Attribute */
- ) {
- if (value instanceof Interpolation && getInterpolationArgsLength(value) > 1) {
- // attr.name="text{{value}}" and friends
- this.interpolatedUpdateInstruction(getAttributeInterpolationExpression(value), elementIndex, attrName, input, value, params);
- } else {
- const boundValue = value instanceof Interpolation ? value.expressions[0] : value; // [attr.name]="value" or attr.name="{{value}}"
- // Collect the attribute bindings so that they can be chained at the end.
- attributeBindings.push({
- span: input.sourceSpan,
- paramsOrFn: getBindingFunctionParams(() => this.convertPropertyBinding(boundValue), attrName, params)
- });
- }
- } else {
- // class prop
- this.updateInstructionWithAdvance(elementIndex, input.sourceSpan, Identifiers.classProp, () => {
- return [literal(elementIndex), literal(attrName), this.convertPropertyBinding(value), ...params];
- });
- }
- }
- }
- });
- for (const propertyBinding of propertyBindings) {
- this.updateInstructionWithAdvance(elementIndex, propertyBinding.span, Identifiers.property, propertyBinding.paramsOrFn);
- }
- for (const attributeBinding of attributeBindings) {
- this.updateInstructionWithAdvance(elementIndex, attributeBinding.span, Identifiers.attribute, attributeBinding.paramsOrFn);
- } // Traverse element child nodes
- visitAll$1(this, element.children);
- if (!isI18nRootElement && this.i18n) {
- this.i18n.appendElement(element.i18n, elementIndex, true);
- }
- if (!createSelfClosingInstruction) {
- // Finish element construction mode.
- const span = (_b = element.endSourceSpan) !== null && _b !== void 0 ? _b : element.sourceSpan;
- if (isI18nRootElement) {
- this.i18nEnd(span, createSelfClosingI18nInstruction);
- }
- if (isNonBindableMode) {
- this.creationInstruction(span, Identifiers.enableBindings);
- }
- this.creationInstruction(span, isNgContainer$1 ? Identifiers.elementContainerEnd : Identifiers.elementEnd);
- }
- }
- visitTemplate(template) {
- var _a;
- const NG_TEMPLATE_TAG_NAME = 'ng-template';
- const templateIndex = this.allocateDataSlot();
- if (this.i18n) {
- this.i18n.appendTemplate(template.i18n, templateIndex);
- }
- const tagNameWithoutNamespace = template.tagName ? splitNsName(template.tagName)[1] : template.tagName;
- const contextName = `${this.contextName}${template.tagName ? '_' + sanitizeIdentifier(template.tagName) : ''}_${templateIndex}`;
- const templateName = `${contextName}_Template`;
- const parameters = [literal(templateIndex), variable(templateName), // We don't care about the tag's namespace here, because we infer
- // it based on the parent nodes inside the template instruction.
- literal(tagNameWithoutNamespace)]; // prepare attributes parameter (including attributes used for directive matching)
- const attrsExprs = this.getAttributeExpressions(NG_TEMPLATE_TAG_NAME, template.attributes, template.inputs, template.outputs, undefined
- /* styles */
- , template.templateAttrs);
- parameters.push(this.addAttrsToConsts(attrsExprs)); // local refs (ex.: <ng-template #foo>)
- if (template.references && template.references.length) {
- const refs = this.prepareRefsArray(template.references);
- parameters.push(this.addToConsts(refs));
- parameters.push(importExpr(Identifiers.templateRefExtractor));
- } // Create the template function
- 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
- // processing, so they are queued here until after the initial pass. Otherwise, we wouldn't
- // be able to support bindings in nested templates to local refs that occur after the
- // template definition. e.g. <div *ngIf="showing">{{ foo }}</div> <div #foo></div>
- this._nestedTemplateFns.push(() => {
- const templateFunctionExpr = templateVisitor.buildTemplateFunction(template.children, template.variables, this._ngContentReservedSlots.length + this._ngContentSelectorsOffset, template.i18n);
- this.constantPool.statements.push(templateFunctionExpr.toDeclStmt(templateName));
- if (templateVisitor._ngContentReservedSlots.length) {
- this._ngContentReservedSlots.push(...templateVisitor._ngContentReservedSlots);
- }
- }); // e.g. template(1, MyComp_Template_1)
- this.creationInstruction(template.sourceSpan, Identifiers.templateCreate, () => {
- parameters.splice(2, 0, literal(templateVisitor.getConstCount()), literal(templateVisitor.getVarCount()));
- return trimTrailingNulls(parameters);
- }); // handle property bindings e.g. ɵɵproperty('ngForOf', ctx.items), et al;
- this.templatePropertyBindings(templateIndex, template.templateAttrs); // Only add normal input/output binding instructions on explicit <ng-template> elements.
- if (tagNameWithoutNamespace === NG_TEMPLATE_TAG_NAME) {
- const [i18nInputs, inputs] = partitionArray(template.inputs, hasI18nMeta); // Add i18n attributes that may act as inputs to directives. If such attributes are present,
- // generate `i18nAttributes` instruction. Note: we generate it only for explicit <ng-template>
- // elements, in case of inline templates, corresponding instructions will be generated in the
- // nested template function.
- if (i18nInputs.length > 0) {
- this.i18nAttributesInstruction(templateIndex, i18nInputs, (_a = template.startSourceSpan) !== null && _a !== void 0 ? _a : template.sourceSpan);
- } // Add the input bindings
- if (inputs.length > 0) {
- this.templatePropertyBindings(templateIndex, inputs);
- } // Generate listeners for directive output
- for (const outputAst of template.outputs) {
- this.creationInstruction(outputAst.sourceSpan, Identifiers.listener, this.prepareListenerParameter('ng_template', outputAst, templateIndex));
- }
- }
- }
- visitBoundText(text) {
- if (this.i18n) {
- const value = text.value.visit(this._valueConverter);
- this.allocateBindingSlots(value);
- if (value instanceof Interpolation) {
- this.i18n.appendBoundText(text.i18n);
- this.i18nAppendBindings(value.expressions);
- }
- return;
- }
- const nodeIndex = this.allocateDataSlot();
- this.creationInstruction(text.sourceSpan, Identifiers.text, [literal(nodeIndex)]);
- const value = text.value.visit(this._valueConverter);
- this.allocateBindingSlots(value);
- if (value instanceof Interpolation) {
- this.updateInstructionWithAdvance(nodeIndex, text.sourceSpan, getTextInterpolationExpression(value), () => this.getUpdateInstructionArguments(value));
- } else {
- error('Text nodes should be interpolated and never bound directly.');
- }
- }
- visitText(text) {
- // when a text element is located within a translatable
- // block, we exclude this text element from instructions set,
- // since it will be captured in i18n content and processed at runtime
- if (!this.i18n) {
- this.creationInstruction(text.sourceSpan, Identifiers.text, [literal(this.allocateDataSlot()), literal(text.value)]);
- }
- }
- visitIcu(icu) {
- let initWasInvoked = false; // if an ICU was created outside of i18n block, we still treat
- // it as a translatable entity and invoke i18nStart and i18nEnd
- // to generate i18n context and the necessary instructions
- if (!this.i18n) {
- initWasInvoked = true;
- this.i18nStart(null, icu.i18n, true);
- }
- const i18n = this.i18n;
- const vars = this.i18nBindProps(icu.vars);
- const placeholders = this.i18nBindProps(icu.placeholders); // output ICU directly and keep ICU reference in context
- const message = icu.i18n; // we always need post-processing function for ICUs, to make sure that:
- // - all placeholders in a form of {PLACEHOLDER} are replaced with actual values (note:
- // `goog.getMsg` does not process ICUs and uses the `{PLACEHOLDER}` format for placeholders
- // inside ICUs)
- // - all ICU vars (such as `VAR_SELECT` or `VAR_PLURAL`) are replaced with correct values
- const transformFn = raw => {
- const params = Object.assign(Object.assign({}, vars), placeholders);
- const formatted = formatI18nPlaceholderNamesInMap(params,
- /* useCamelCase */
- false);
- return invokeInstruction(null, Identifiers.i18nPostprocess, [raw, mapLiteral(formatted, true)]);
- }; // in case the whole i18n message is a single ICU - we do not need to
- // create a separate top-level translation, we can use the root ref instead
- // and make this ICU a top-level translation
- // note: ICU placeholders are replaced with actual values in `i18nPostprocess` function
- // separately, so we do not pass placeholders into `i18nTranslate` function.
- if (isSingleI18nIcu(i18n.meta)) {
- this.i18nTranslate(message,
- /* placeholders */
- {}, i18n.ref, transformFn);
- } else {
- // output ICU directly and keep ICU reference in context
- const ref = this.i18nTranslate(message,
- /* placeholders */
- {},
- /* ref */
- undefined, transformFn);
- i18n.appendIcu(icuFromI18nMessage(message).name, ref);
- }
- if (initWasInvoked) {
- this.i18nEnd(null, true);
- }
- return null;
- }
- allocateDataSlot() {
- return this._dataIndex++;
- }
- getConstCount() {
- return this._dataIndex;
- }
- getVarCount() {
- return this._pureFunctionSlots;
- }
- getConsts() {
- return this._constants;
- }
- getNgContentSelectors() {
- return this._ngContentReservedSlots.length ? this.constantPool.getConstLiteral(asLiteral(this._ngContentReservedSlots), true) : null;
- }
- bindingContext() {
- return `${this._bindingContext++}`;
- }
- templatePropertyBindings(templateIndex, attrs) {
- const propertyBindings = [];
- for (const input of attrs) {
- if (!(input instanceof BoundAttribute)) {
- continue;
- }
- const value = input.value.visit(this._valueConverter);
- if (value === undefined) {
- continue;
- }
- this.allocateBindingSlots(value);
- if (value instanceof Interpolation) {
- // Params typically contain attribute namespace and value sanitizer, which is applicable
- // for regular HTML elements, but not applicable for <ng-template> (since props act as
- // inputs to directives), so keep params array empty.
- const params = []; // prop="{{value}}" case
- this.interpolatedUpdateInstruction(getPropertyInterpolationExpression(value), templateIndex, input.name, input, value, params);
- } else {
- // [prop]="value" case
- propertyBindings.push({
- span: input.sourceSpan,
- paramsOrFn: getBindingFunctionParams(() => this.convertPropertyBinding(value), input.name)
- });
- }
- }
- for (const propertyBinding of propertyBindings) {
- this.updateInstructionWithAdvance(templateIndex, propertyBinding.span, Identifiers.property, propertyBinding.paramsOrFn);
- }
- } // Bindings must only be resolved after all local refs have been visited, so all
- // instructions are queued in callbacks that execute once the initial pass has completed.
- // Otherwise, we wouldn't be able to support local refs that are defined after their
- // bindings. e.g. {{ foo }} <div #foo></div>
- instructionFn(fns, span, reference, paramsOrFn, prepend = false) {
- fns[prepend ? 'unshift' : 'push']({
- span,
- reference,
- paramsOrFn
- });
- }
- processStylingUpdateInstruction(elementIndex, instruction) {
- let allocateBindingSlots = 0;
- if (instruction) {
- for (const call of instruction.calls) {
- allocateBindingSlots += call.allocateBindingSlots;
- this.updateInstructionWithAdvance(elementIndex, call.sourceSpan, instruction.reference, () => call.params(value => call.supportsInterpolation && value instanceof Interpolation ? this.getUpdateInstructionArguments(value) : this.convertPropertyBinding(value)));
- }
- }
- return allocateBindingSlots;
- }
- creationInstruction(span, reference, paramsOrFn, prepend) {
- this.instructionFn(this._creationCodeFns, span, reference, paramsOrFn || [], prepend);
- }
- updateInstructionWithAdvance(nodeIndex, span, reference, paramsOrFn) {
- this.addAdvanceInstructionIfNecessary(nodeIndex, span);
- this.updateInstruction(span, reference, paramsOrFn);
- }
- updateInstruction(span, reference, paramsOrFn) {
- this.instructionFn(this._updateCodeFns, span, reference, paramsOrFn || []);
- }
- addAdvanceInstructionIfNecessary(nodeIndex, span) {
- if (nodeIndex !== this._currentIndex) {
- const delta = nodeIndex - this._currentIndex;
- if (delta < 1) {
- throw new Error('advance instruction can only go forwards');
- }
- this.instructionFn(this._updateCodeFns, span, Identifiers.advance, [literal(delta)]);
- this._currentIndex = nodeIndex;
- }
- }
- allocatePureFunctionSlots(numSlots) {
- const originalSlots = this._pureFunctionSlots;
- this._pureFunctionSlots += numSlots;
- return originalSlots;
- }
- allocateBindingSlots(value) {
- this._bindingSlots += value instanceof Interpolation ? value.expressions.length : 1;
- }
- /**
- * Gets an expression that refers to the implicit receiver. The implicit
- * receiver is always the root level context.
- */
- getImplicitReceiverExpr() {
- if (this._implicitReceiverExpr) {
- return this._implicitReceiverExpr;
- }
- return this._implicitReceiverExpr = this.level === 0 ? variable(CONTEXT_NAME) : this._bindingScope.getOrCreateSharedContextVar(0);
- }
- convertPropertyBinding(value) {
- const convertedPropertyBinding = convertPropertyBinding(this, this.getImplicitReceiverExpr(), value, this.bindingContext());
- const valExpr = convertedPropertyBinding.currValExpr;
- this._tempVariables.push(...convertedPropertyBinding.stmts);
- return valExpr;
- }
- /**
- * Gets a list of argument expressions to pass to an update instruction expression. Also updates
- * the temp variables state with temp variables that were identified as needing to be created
- * while visiting the arguments.
- * @param value The original expression we will be resolving an arguments list from.
- */
- getUpdateInstructionArguments(value) {
- const {
- args,
- stmts
- } = convertUpdateArguments(this, this.getImplicitReceiverExpr(), value, this.bindingContext());
- this._tempVariables.push(...stmts);
- return args;
- }
- /**
- * Prepares all attribute expression values for the `TAttributes` array.
- *
- * The purpose of this function is to properly construct an attributes array that
- * is passed into the `elementStart` (or just `element`) functions. Because there
- * are many different types of attributes, the array needs to be constructed in a
- * special way so that `elementStart` can properly evaluate them.
- *
- * The format looks like this:
- *
- * ```
- * attrs = [prop, value, prop2, value2,
- * PROJECT_AS, selector,
- * CLASSES, class1, class2,
- * STYLES, style1, value1, style2, value2,
- * BINDINGS, name1, name2, name3,
- * TEMPLATE, name4, name5, name6,
- * I18N, name7, name8, ...]
- * ```
- *
- * Note that this function will fully ignore all synthetic (@foo) attribute values
- * because those values are intended to always be generated as property instructions.
- */
- getAttributeExpressions(elementName, renderAttributes, inputs, outputs, styles, templateAttrs = [], boundI18nAttrs = []) {
- const alreadySeen = new Set();
- const attrExprs = [];
- let ngProjectAsAttr;
- for (const attr of renderAttributes) {
- if (attr.name === NG_PROJECT_AS_ATTR_NAME) {
- ngProjectAsAttr = attr;
- } // Note that static i18n attributes aren't in the i18n array,
- // because they're treated in the same way as regular attributes.
- if (attr.i18n) {
- // When i18n attributes are present on elements with structural directives
- // (e.g. `<div *ngIf title="Hello" i18n-title>`), we want to avoid generating
- // duplicate i18n translation blocks for `ɵɵtemplate` and `ɵɵelement` instruction
- // attributes. So we do a cache lookup to see if suitable i18n translation block
- // already exists.
- const {
- i18nVarRefsCache
- } = this._constants;
- let i18nVarRef;
- if (i18nVarRefsCache.has(attr.i18n)) {
- i18nVarRef = i18nVarRefsCache.get(attr.i18n);
- } else {
- i18nVarRef = this.i18nTranslate(attr.i18n);
- i18nVarRefsCache.set(attr.i18n, i18nVarRef);
- }
- attrExprs.push(literal(attr.name), i18nVarRef);
- } else {
- attrExprs.push(...getAttributeNameLiterals(attr.name), trustedConstAttribute(elementName, attr));
- }
- } // Keep ngProjectAs next to the other name, value pairs so we can verify that we match
- // ngProjectAs marker in the attribute name slot.
- if (ngProjectAsAttr) {
- attrExprs.push(...getNgProjectAsLiteral(ngProjectAsAttr));
- }
- function addAttrExpr(key, value) {
- if (typeof key === 'string') {
- if (!alreadySeen.has(key)) {
- attrExprs.push(...getAttributeNameLiterals(key));
- value !== undefined && attrExprs.push(value);
- alreadySeen.add(key);
- }
- } else {
- attrExprs.push(literal(key));
- }
- } // it's important that this occurs before BINDINGS and TEMPLATE because once `elementStart`
- // comes across the BINDINGS or TEMPLATE markers then it will continue reading each value as
- // as single property value cell by cell.
- if (styles) {
- styles.populateInitialStylingAttrs(attrExprs);
- }
- if (inputs.length || outputs.length) {
- const attrsLengthBeforeInputs = attrExprs.length;
- for (let i = 0; i < inputs.length; i++) {
- const input = inputs[i]; // We don't want the animation and attribute bindings in the
- // attributes array since they aren't used for directive matching.
- if (input.type !== 4
- /* BindingType.Animation */
- && input.type !== 1
- /* BindingType.Attribute */
- ) {
- addAttrExpr(input.name);
- }
- }
- for (let i = 0; i < outputs.length; i++) {
- const output = outputs[i];
- if (output.type !== 1
- /* ParsedEventType.Animation */
- ) {
- addAttrExpr(output.name);
- }
- } // this is a cheap way of adding the marker only after all the input/output
- // values have been filtered (by not including the animation ones) and added
- // to the expressions. The marker is important because it tells the runtime
- // code that this is where attributes without values start...
- if (attrExprs.length !== attrsLengthBeforeInputs) {
- attrExprs.splice(attrsLengthBeforeInputs, 0, literal(3
- /* core.AttributeMarker.Bindings */
- ));
- }
- }
- if (templateAttrs.length) {
- attrExprs.push(literal(4
- /* core.AttributeMarker.Template */
- ));
- templateAttrs.forEach(attr => addAttrExpr(attr.name));
- }
- if (boundI18nAttrs.length) {
- attrExprs.push(literal(6
- /* core.AttributeMarker.I18n */
- ));
- boundI18nAttrs.forEach(attr => addAttrExpr(attr.name));
- }
- return attrExprs;
- }
- addToConsts(expression) {
- if (isNull(expression)) {
- return TYPED_NULL_EXPR;
- }
- const consts = this._constants.constExpressions; // Try to reuse a literal that's already in the array, if possible.
- for (let i = 0; i < consts.length; i++) {
- if (consts[i].isEquivalent(expression)) {
- return literal(i);
- }
- }
- return literal(consts.push(expression) - 1);
- }
- addAttrsToConsts(attrs) {
- return attrs.length > 0 ? this.addToConsts(literalArr(attrs)) : TYPED_NULL_EXPR;
- }
- prepareRefsArray(references) {
- if (!references || references.length === 0) {
- return TYPED_NULL_EXPR;
- }
- const refsParam = flatten(references.map(reference => {
- const slot = this.allocateDataSlot(); // Generate the update temporary.
- const variableName = this._bindingScope.freshReferenceName();
- const retrievalLevel = this.level;
- const lhs = variable(variableName);
- this._bindingScope.set(retrievalLevel, reference.name, lhs, 0
- /* DeclarationPriority.DEFAULT */
- , (scope, relativeLevel) => {
- // e.g. nextContext(2);
- const nextContextStmt = relativeLevel > 0 ? [generateNextContextExpr(relativeLevel).toStmt()] : []; // e.g. const $foo$ = reference(1);
- const refExpr = lhs.set(importExpr(Identifiers.reference).callFn([literal(slot)]));
- return nextContextStmt.concat(refExpr.toConstDecl());
- }, true);
- return [reference.name, reference.value];
- }));
- return asLiteral(refsParam);
- }
- prepareListenerParameter(tagName, outputAst, index) {
- return () => {
- const eventName = outputAst.name;
- const bindingFnName = outputAst.type === 1
- /* ParsedEventType.Animation */
- ? // synthetic @listener.foo values are treated the exact same as are standard listeners
- prepareSyntheticListenerFunctionName(eventName, outputAst.phase) : sanitizeIdentifier(eventName);
- const handlerName = `${this.templateName}_${tagName}_${bindingFnName}_${index}_listener`;
- const scope = this._bindingScope.nestedScope(this._bindingScope.bindingLevel, EVENT_BINDING_SCOPE_GLOBALS);
- return prepareEventListenerParameters(outputAst, handlerName, scope);
- };
- }
- }
- class ValueConverter extends AstMemoryEfficientTransformer {
- constructor(constantPool, allocateSlot, allocatePureFunctionSlots, definePipe) {
- super();
- this.constantPool = constantPool;
- this.allocateSlot = allocateSlot;
- this.allocatePureFunctionSlots = allocatePureFunctionSlots;
- this.definePipe = definePipe;
- this._pipeBindExprs = [];
- } // AstMemoryEfficientTransformer
- visitPipe(pipe, context) {
- // Allocate a slot to create the pipe
- const slot = this.allocateSlot();
- const slotPseudoLocal = `PIPE:${slot}`; // Allocate one slot for the result plus one slot per pipe argument
- const pureFunctionSlot = this.allocatePureFunctionSlots(2 + pipe.args.length);
- const target = new PropertyRead(pipe.span, pipe.sourceSpan, pipe.nameSpan, new ImplicitReceiver(pipe.span, pipe.sourceSpan), slotPseudoLocal);
- const {
- identifier,
- isVarLength
- } = pipeBindingCallInfo(pipe.args);
- this.definePipe(pipe.name, slotPseudoLocal, slot, importExpr(identifier));
- const args = [pipe.exp, ...pipe.args];
- const convertedArgs = isVarLength ? this.visitAll([new LiteralArray(pipe.span, pipe.sourceSpan, args)]) : this.visitAll(args);
- 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);
- this._pipeBindExprs.push(pipeBindExpr);
- return pipeBindExpr;
- }
- updatePipeSlotOffsets(bindingSlots) {
- this._pipeBindExprs.forEach(pipe => {
- // update the slot offset arg (index 1) to account for binding slots
- const slotOffset = pipe.args[1];
- slotOffset.value += bindingSlots;
- });
- }
- visitLiteralArray(array, context) {
- return new BuiltinFunctionCall(array.span, array.sourceSpan, this.visitAll(array.expressions), values => {
- // If the literal has calculated (non-literal) elements transform it into
- // calls to literal factories that compose the literal and will cache intermediate
- // values.
- const literal = literalArr(values);
- return getLiteralFactory(this.constantPool, literal, this.allocatePureFunctionSlots);
- });
- }
- visitLiteralMap(map, context) {
- return new BuiltinFunctionCall(map.span, map.sourceSpan, this.visitAll(map.values), values => {
- // If the literal has calculated (non-literal) elements transform it into
- // calls to literal factories that compose the literal and will cache intermediate
- // values.
- const literal = literalMap(values.map((value, index) => ({
- key: map.keys[index].key,
- value,
- quoted: map.keys[index].quoted
- })));
- return getLiteralFactory(this.constantPool, literal, this.allocatePureFunctionSlots);
- });
- }
- } // Pipes always have at least one parameter, the value they operate on
- const pipeBindingIdentifiers = [Identifiers.pipeBind1, Identifiers.pipeBind2, Identifiers.pipeBind3, Identifiers.pipeBind4];
- function pipeBindingCallInfo(args) {
- const identifier = pipeBindingIdentifiers[args.length];
- return {
- identifier: identifier || Identifiers.pipeBindV,
- isVarLength: !identifier
- };
- }
- const pureFunctionIdentifiers = [Identifiers.pureFunction0, Identifiers.pureFunction1, Identifiers.pureFunction2, Identifiers.pureFunction3, Identifiers.pureFunction4, Identifiers.pureFunction5, Identifiers.pureFunction6, Identifiers.pureFunction7, Identifiers.pureFunction8];
- function pureFunctionCallInfo(args) {
- const identifier = pureFunctionIdentifiers[args.length];
- return {
- identifier: identifier || Identifiers.pureFunctionV,
- isVarLength: !identifier
- };
- } // e.g. x(2);
- function generateNextContextExpr(relativeLevelDiff) {
- return importExpr(Identifiers.nextContext).callFn(relativeLevelDiff > 1 ? [literal(relativeLevelDiff)] : []);
- }
- function getLiteralFactory(constantPool, literal$1, allocateSlots) {
- const {
- literalFactory,
- literalFactoryArguments
- } = constantPool.getLiteralFactory(literal$1); // Allocate 1 slot for the result plus 1 per argument
- const startSlot = allocateSlots(1 + literalFactoryArguments.length);
- const {
- identifier,
- isVarLength
- } = pureFunctionCallInfo(literalFactoryArguments); // Literal factories are pure functions that only need to be re-invoked when the parameters
- // change.
- const args = [literal(startSlot), literalFactory];
- if (isVarLength) {
- args.push(literalArr(literalFactoryArguments));
- } else {
- args.push(...literalFactoryArguments);
- }
- return importExpr(identifier).callFn(args);
- }
- /**
- * Gets an array of literals that can be added to an expression
- * to represent the name and namespace of an attribute. E.g.
- * `:xlink:href` turns into `[AttributeMarker.NamespaceURI, 'xlink', 'href']`.
- *
- * @param name Name of the attribute, including the namespace.
- */
- function getAttributeNameLiterals(name) {
- const [attributeNamespace, attributeName] = splitNsName(name);
- const nameLiteral = literal(attributeName);
- if (attributeNamespace) {
- return [literal(0
- /* core.AttributeMarker.NamespaceURI */
- ), literal(attributeNamespace), nameLiteral];
- }
- return [nameLiteral];
- }
- /** The prefix used to get a shared context in BindingScope's map. */
- const SHARED_CONTEXT_KEY = '$$shared_ctx$$';
- class BindingScope {
- constructor(bindingLevel = 0, parent = null, globals) {
- this.bindingLevel = bindingLevel;
- this.parent = parent;
- this.globals = globals;
- /** Keeps a map from local variables to their BindingData. */
- this.map = new Map();
- this.referenceNameIndex = 0;
- this.restoreViewVariable = null;
- this.usesRestoredViewContext = false;
- if (globals !== undefined) {
- for (const name of globals) {
- this.set(0, name, variable(name));
- }
- }
- }
- static createRootScope() {
- return new BindingScope();
- }
- get(name) {
- let current = this;
- while (current) {
- let value = current.map.get(name);
- if (value != null) {
- if (current !== this) {
- // make a local copy and reset the `declare` state
- value = {
- retrievalLevel: value.retrievalLevel,
- lhs: value.lhs,
- declareLocalCallback: value.declareLocalCallback,
- declare: false,
- priority: value.priority
- }; // Cache the value locally.
- this.map.set(name, value); // Possibly generate a shared context var
- this.maybeGenerateSharedContextVar(value);
- this.maybeRestoreView();
- }
- if (value.declareLocalCallback && !value.declare) {
- value.declare = true;
- }
- return value.lhs;
- }
- current = current.parent;
- } // If we get to this point, we are looking for a property on the top level component
- // - If level === 0, we are on the top and don't need to re-declare `ctx`.
- // - If level > 0, we are in an embedded view. We need to retrieve the name of the
- // local var we used to store the component context, e.g. const $comp$ = x();
- return this.bindingLevel === 0 ? null : this.getComponentProperty(name);
- }
- /**
- * Create a local variable for later reference.
- *
- * @param retrievalLevel The level from which this value can be retrieved
- * @param name Name of the variable.
- * @param lhs AST representing the left hand side of the `let lhs = rhs;`.
- * @param priority The sorting priority of this var
- * @param declareLocalCallback The callback to invoke when declaring this local var
- * @param localRef Whether or not this is a local ref
- */
- set(retrievalLevel, name, lhs, priority = 0
- /* DeclarationPriority.DEFAULT */
- , declareLocalCallback, localRef) {
- if (this.map.has(name)) {
- if (localRef) {
- // Do not throw an error if it's a local ref and do not update existing value,
- // so the first defined ref is always returned.
- return this;
- }
- error(`The name ${name} is already defined in scope to be ${this.map.get(name)}`);
- }
- this.map.set(name, {
- retrievalLevel: retrievalLevel,
- lhs: lhs,
- declare: false,
- declareLocalCallback: declareLocalCallback,
- priority: priority
- });
- return this;
- } // Implemented as part of LocalResolver.
- getLocal(name) {
- return this.get(name);
- } // Implemented as part of LocalResolver.
- notifyImplicitReceiverUse() {
- if (this.bindingLevel !== 0) {
- // Since the implicit receiver is accessed in an embedded view, we need to
- // ensure that we declare a shared context variable for the current template
- // in the update variables.
- this.map.get(SHARED_CONTEXT_KEY + 0).declare = true;
- }
- }
- nestedScope(level, globals) {
- const newScope = new BindingScope(level, this, globals);
- if (level > 0) newScope.generateSharedContextVar(0);
- return newScope;
- }
- /**
- * Gets or creates a shared context variable and returns its expression. Note that
- * this does not mean that the shared variable will be declared. Variables in the
- * binding scope will be only declared if they are used.
- */
- getOrCreateSharedContextVar(retrievalLevel) {
- const bindingKey = SHARED_CONTEXT_KEY + retrievalLevel;
- if (!this.map.has(bindingKey)) {
- this.generateSharedContextVar(retrievalLevel);
- } // Shared context variables are always generated as "ReadVarExpr".
- return this.map.get(bindingKey).lhs;
- }
- getSharedContextName(retrievalLevel) {
- const sharedCtxObj = this.map.get(SHARED_CONTEXT_KEY + retrievalLevel); // Shared context variables are always generated as "ReadVarExpr".
- return sharedCtxObj && sharedCtxObj.declare ? sharedCtxObj.lhs : null;
- }
- maybeGenerateSharedContextVar(value) {
- if (value.priority === 1
- /* DeclarationPriority.CONTEXT */
- && value.retrievalLevel < this.bindingLevel) {
- const sharedCtxObj = this.map.get(SHARED_CONTEXT_KEY + value.retrievalLevel);
- if (sharedCtxObj) {
- sharedCtxObj.declare = true;
- } else {
- this.generateSharedContextVar(value.retrievalLevel);
- }
- }
- }
- generateSharedContextVar(retrievalLevel) {
- const lhs = variable(CONTEXT_NAME + this.freshReferenceName());
- this.map.set(SHARED_CONTEXT_KEY + retrievalLevel, {
- retrievalLevel: retrievalLevel,
- lhs: lhs,
- declareLocalCallback: (scope, relativeLevel) => {
- // const ctx_r0 = nextContext(2);
- return [lhs.set(generateNextContextExpr(relativeLevel)).toConstDecl()];
- },
- declare: false,
- priority: 2
- /* DeclarationPriority.SHARED_CONTEXT */
- });
- }
- getComponentProperty(name) {
- const componentValue = this.map.get(SHARED_CONTEXT_KEY + 0);
- componentValue.declare = true;
- this.maybeRestoreView();
- return componentValue.lhs.prop(name);
- }
- maybeRestoreView() {
- // View restoration is required for listener instructions inside embedded views, because
- // they only run in creation mode and they can have references to the context object.
- // If the context object changes in update mode, the reference will be incorrect, because
- // it was established during creation.
- if (this.isListenerScope()) {
- if (!this.parent.restoreViewVariable) {
- // parent saves variable to generate a shared `const $s$ = getCurrentView();` instruction
- this.parent.restoreViewVariable = variable(this.parent.freshReferenceName());
- }
- this.restoreViewVariable = this.parent.restoreViewVariable;
- }
- }
- restoreViewStatement() {
- if (this.restoreViewVariable) {
- const restoreCall = invokeInstruction(null, Identifiers.restoreView, [this.restoreViewVariable]); // Either `const restoredCtx = restoreView($state$);` or `restoreView($state$);`
- // depending on whether it is being used.
- return this.usesRestoredViewContext ? variable(RESTORED_VIEW_CONTEXT_NAME).set(restoreCall).toConstDecl() : restoreCall.toStmt();
- }
- return null;
- }
- viewSnapshotStatements() {
- // const $state$ = getCurrentView();
- return this.restoreViewVariable ? [this.restoreViewVariable.set(invokeInstruction(null, Identifiers.getCurrentView, [])).toConstDecl()] : [];
- }
- isListenerScope() {
- return this.parent && this.parent.bindingLevel === this.bindingLevel;
- }
- variableDeclarations() {
- let currentContextLevel = 0;
- return Array.from(this.map.values()).filter(value => value.declare).sort((a, b) => b.retrievalLevel - a.retrievalLevel || b.priority - a.priority).reduce((stmts, value) => {
- const levelDiff = this.bindingLevel - value.retrievalLevel;
- const currStmts = value.declareLocalCallback(this, levelDiff - currentContextLevel);
- currentContextLevel = levelDiff;
- return stmts.concat(currStmts);
- }, []);
- }
- freshReferenceName() {
- let current = this; // Find the top scope as it maintains the global reference count
- while (current.parent) current = current.parent;
- const ref = `${REFERENCE_PREFIX}${current.referenceNameIndex++}`;
- return ref;
- }
- hasRestoreViewVariable() {
- return !!this.restoreViewVariable;
- }
- notifyRestoredViewContextUse() {
- this.usesRestoredViewContext = true;
- }
- }
- /**
- * Creates a `CssSelector` given a tag name and a map of attributes
- */
- function createCssSelector(elementName, attributes) {
- const cssSelector = new CssSelector();
- const elementNameNoNs = splitNsName(elementName)[1];
- cssSelector.setElement(elementNameNoNs);
- Object.getOwnPropertyNames(attributes).forEach(name => {
- const nameNoNs = splitNsName(name)[1];
- const value = attributes[name];
- cssSelector.addAttribute(nameNoNs, value);
- if (name.toLowerCase() === 'class') {
- const classes = value.trim().split(/\s+/);
- classes.forEach(className => cssSelector.addClassName(className));
- }
- });
- return cssSelector;
- }
- /**
- * Creates an array of expressions out of an `ngProjectAs` attributes
- * which can be added to the instruction parameters.
- */
- function getNgProjectAsLiteral(attribute) {
- // Parse the attribute value into a CssSelectorList. Note that we only take the
- // first selector, because we don't support multiple selectors in ngProjectAs.
- const parsedR3Selector = parseSelectorToR3Selector(attribute.value)[0];
- return [literal(5
- /* core.AttributeMarker.ProjectAs */
- ), asLiteral(parsedR3Selector)];
- }
- /**
- * Gets the instruction to generate for an interpolated property
- * @param interpolation An Interpolation AST
- */
- function getPropertyInterpolationExpression(interpolation) {
- switch (getInterpolationArgsLength(interpolation)) {
- case 1:
- return Identifiers.propertyInterpolate;
- case 3:
- return Identifiers.propertyInterpolate1;
- case 5:
- return Identifiers.propertyInterpolate2;
- case 7:
- return Identifiers.propertyInterpolate3;
- case 9:
- return Identifiers.propertyInterpolate4;
- case 11:
- return Identifiers.propertyInterpolate5;
- case 13:
- return Identifiers.propertyInterpolate6;
- case 15:
- return Identifiers.propertyInterpolate7;
- case 17:
- return Identifiers.propertyInterpolate8;
- default:
- return Identifiers.propertyInterpolateV;
- }
- }
- /**
- * Gets the instruction to generate for an interpolated attribute
- * @param interpolation An Interpolation AST
- */
- function getAttributeInterpolationExpression(interpolation) {
- switch (getInterpolationArgsLength(interpolation)) {
- case 3:
- return Identifiers.attributeInterpolate1;
- case 5:
- return Identifiers.attributeInterpolate2;
- case 7:
- return Identifiers.attributeInterpolate3;
- case 9:
- return Identifiers.attributeInterpolate4;
- case 11:
- return Identifiers.attributeInterpolate5;
- case 13:
- return Identifiers.attributeInterpolate6;
- case 15:
- return Identifiers.attributeInterpolate7;
- case 17:
- return Identifiers.attributeInterpolate8;
- default:
- return Identifiers.attributeInterpolateV;
- }
- }
- /**
- * Gets the instruction to generate for interpolated text.
- * @param interpolation An Interpolation AST
- */
- function getTextInterpolationExpression(interpolation) {
- switch (getInterpolationArgsLength(interpolation)) {
- case 1:
- return Identifiers.textInterpolate;
- case 3:
- return Identifiers.textInterpolate1;
- case 5:
- return Identifiers.textInterpolate2;
- case 7:
- return Identifiers.textInterpolate3;
- case 9:
- return Identifiers.textInterpolate4;
- case 11:
- return Identifiers.textInterpolate5;
- case 13:
- return Identifiers.textInterpolate6;
- case 15:
- return Identifiers.textInterpolate7;
- case 17:
- return Identifiers.textInterpolate8;
- default:
- return Identifiers.textInterpolateV;
- }
- }
- /**
- * Parse a template into render3 `Node`s and additional metadata, with no other dependencies.
- *
- * @param template text of the template to parse
- * @param templateUrl URL to use for source mapping of the parsed template
- * @param options options to modify how the template is parsed
- */
- function parseTemplate(template, templateUrl, options = {}) {
- const {
- interpolationConfig,
- preserveWhitespaces,
- enableI18nLegacyMessageIdFormat
- } = options;
- const bindingParser = makeBindingParser(interpolationConfig);
- const htmlParser = new HtmlParser();
- const parseResult = htmlParser.parse(template, templateUrl, Object.assign(Object.assign({
- leadingTriviaChars: LEADING_TRIVIA_CHARS
- }, options), {
- tokenizeExpansionForms: true
- }));
- if (!options.alwaysAttemptHtmlToR3AstConversion && parseResult.errors && parseResult.errors.length > 0) {
- const parsedTemplate = {
- interpolationConfig,
- preserveWhitespaces,
- errors: parseResult.errors,
- nodes: [],
- styleUrls: [],
- styles: [],
- ngContentSelectors: []
- };
- if (options.collectCommentNodes) {
- parsedTemplate.commentNodes = [];
- }
- return parsedTemplate;
- }
- let rootNodes = parseResult.rootNodes; // process i18n meta information (scan attributes, generate ids)
- // before we run whitespace removal process, because existing i18n
- // extraction process (ng extract-i18n) relies on a raw content to generate
- // message ids
- const i18nMetaVisitor = new I18nMetaVisitor(interpolationConfig,
- /* keepI18nAttrs */
- !preserveWhitespaces, enableI18nLegacyMessageIdFormat);
- const i18nMetaResult = i18nMetaVisitor.visitAllWithErrors(rootNodes);
- if (!options.alwaysAttemptHtmlToR3AstConversion && i18nMetaResult.errors && i18nMetaResult.errors.length > 0) {
- const parsedTemplate = {
- interpolationConfig,
- preserveWhitespaces,
- errors: i18nMetaResult.errors,
- nodes: [],
- styleUrls: [],
- styles: [],
- ngContentSelectors: []
- };
- if (options.collectCommentNodes) {
- parsedTemplate.commentNodes = [];
- }
- return parsedTemplate;
- }
- rootNodes = i18nMetaResult.rootNodes;
- if (!preserveWhitespaces) {
- rootNodes = visitAll(new WhitespaceVisitor(), rootNodes); // run i18n meta visitor again in case whitespaces are removed (because that might affect
- // generated i18n message content) and first pass indicated that i18n content is present in a
- // template. During this pass i18n IDs generated at the first pass will be preserved, so we can
- // mimic existing extraction process (ng extract-i18n)
- if (i18nMetaVisitor.hasI18nMeta) {
- rootNodes = visitAll(new I18nMetaVisitor(interpolationConfig,
- /* keepI18nAttrs */
- false), rootNodes);
- }
- }
- const {
- nodes,
- errors,
- styleUrls,
- styles,
- ngContentSelectors,
- commentNodes
- } = htmlAstToRender3Ast(rootNodes, bindingParser, {
- collectCommentNodes: !!options.collectCommentNodes
- });
- errors.push(...parseResult.errors, ...i18nMetaResult.errors);
- const parsedTemplate = {
- interpolationConfig,
- preserveWhitespaces,
- errors: errors.length > 0 ? errors : null,
- nodes,
- styleUrls,
- styles,
- ngContentSelectors
- };
- if (options.collectCommentNodes) {
- parsedTemplate.commentNodes = commentNodes;
- }
- return parsedTemplate;
- }
- const elementRegistry = new DomElementSchemaRegistry();
- /**
- * Construct a `BindingParser` with a default configuration.
- */
- function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
- return new BindingParser(new Parser$1(new Lexer()), interpolationConfig, elementRegistry, []);
- }
- function resolveSanitizationFn(context, isAttribute) {
- switch (context) {
- case SecurityContext.HTML:
- return importExpr(Identifiers.sanitizeHtml);
- case SecurityContext.SCRIPT:
- return importExpr(Identifiers.sanitizeScript);
- case SecurityContext.STYLE:
- // the compiler does not fill in an instruction for [style.prop?] binding
- // values because the style algorithm knows internally what props are subject
- // to sanitization (only [attr.style] values are explicitly sanitized)
- return isAttribute ? importExpr(Identifiers.sanitizeStyle) : null;
- case SecurityContext.URL:
- return importExpr(Identifiers.sanitizeUrl);
- case SecurityContext.RESOURCE_URL:
- return importExpr(Identifiers.sanitizeResourceUrl);
- default:
- return null;
- }
- }
- function trustedConstAttribute(tagName, attr) {
- const value = asLiteral(attr.value);
- if (isTrustedTypesSink(tagName, attr.name)) {
- switch (elementRegistry.securityContext(tagName, attr.name,
- /* isAttribute */
- true)) {
- case SecurityContext.HTML:
- return taggedTemplate(importExpr(Identifiers.trustConstantHtml), new TemplateLiteral([new TemplateLiteralElement(attr.value)], []), undefined, attr.valueSpan);
- // NB: no SecurityContext.SCRIPT here, as the corresponding tags are stripped by the compiler.
- case SecurityContext.RESOURCE_URL:
- return taggedTemplate(importExpr(Identifiers.trustConstantResourceUrl), new TemplateLiteral([new TemplateLiteralElement(attr.value)], []), undefined, attr.valueSpan);
- default:
- return value;
- }
- } else {
- return value;
- }
- }
- function isSingleElementTemplate(children) {
- return children.length === 1 && children[0] instanceof Element$1;
- }
- function isTextNode(node) {
- return node instanceof Text$3 || node instanceof BoundText || node instanceof Icu$1;
- }
- function hasTextChildrenOnly(children) {
- return children.every(isTextNode);
- }
- function getBindingFunctionParams(deferredParams, name, eagerParams) {
- return () => {
- const value = deferredParams();
- const fnParams = Array.isArray(value) ? value : [value];
- if (eagerParams) {
- fnParams.push(...eagerParams);
- }
- if (name) {
- // We want the property name to always be the first function parameter.
- fnParams.unshift(literal(name));
- }
- return fnParams;
- };
- }
- /** Name of the global variable that is used to determine if we use Closure translations or not */
- const NG_I18N_CLOSURE_MODE = 'ngI18nClosureMode';
- /**
- * Generate statements that define a given translation message.
- *
- * ```
- * var I18N_1;
- * if (typeof ngI18nClosureMode !== undefined && ngI18nClosureMode) {
- * var MSG_EXTERNAL_XXX = goog.getMsg(
- * "Some message with {$interpolation}!",
- * { "interpolation": "\uFFFD0\uFFFD" }
- * );
- * I18N_1 = MSG_EXTERNAL_XXX;
- * }
- * else {
- * I18N_1 = $localize`Some message with ${'\uFFFD0\uFFFD'}!`;
- * }
- * ```
- *
- * @param message The original i18n AST message node
- * @param variable The variable that will be assigned the translation, e.g. `I18N_1`.
- * @param closureVar The variable for Closure `goog.getMsg` calls, e.g. `MSG_EXTERNAL_XXX`.
- * @param params Object mapping placeholder names to their values (e.g.
- * `{ "interpolation": "\uFFFD0\uFFFD" }`).
- * @param transformFn Optional transformation function that will be applied to the translation (e.g.
- * post-processing).
- * @returns An array of statements that defined a given translation.
- */
- function getTranslationDeclStmts(message, variable, closureVar, params = {}, transformFn) {
- const statements = [declareI18nVariable(variable), ifStmt(createClosureModeGuard(), createGoogleGetMsgStatements(variable, message, closureVar, params), createLocalizeStatements(variable, message, formatI18nPlaceholderNamesInMap(params,
- /* useCamelCase */
- false)))];
- if (transformFn) {
- statements.push(new ExpressionStatement(variable.set(transformFn(variable))));
- }
- return statements;
- }
- /**
- * Create the expression that will be used to guard the closure mode block
- * It is equivalent to:
- *
- * ```
- * typeof ngI18nClosureMode !== undefined && ngI18nClosureMode
- * ```
- */
- function createClosureModeGuard() {
- return typeofExpr(variable(NG_I18N_CLOSURE_MODE)).notIdentical(literal('undefined', STRING_TYPE)).and(variable(NG_I18N_CLOSURE_MODE));
- }
- function flatten(list) {
- return list.reduce((flat, item) => {
- const flatItem = Array.isArray(item) ? flatten(item) : item;
- return flat.concat(flatItem);
- }, []);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This regex matches any binding names that contain the "attr." prefix, e.g. "attr.required"
- // If there is a match, the first matching group will contain the attribute name to bind.
- const ATTR_REGEX = /attr\.([^\]]+)/;
- const COMPONENT_VARIABLE = '%COMP%';
- const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
- const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
- function baseDirectiveFields(meta, constantPool, bindingParser) {
- const definitionMap = new DefinitionMap();
- const selectors = parseSelectorToR3Selector(meta.selector); // e.g. `type: MyDirective`
- definitionMap.set('type', meta.internalType); // e.g. `selectors: [['', 'someDir', '']]`
- if (selectors.length > 0) {
- definitionMap.set('selectors', asLiteral(selectors));
- }
- if (meta.queries.length > 0) {
- // e.g. `contentQueries: (rf, ctx, dirIndex) => { ... }
- definitionMap.set('contentQueries', createContentQueriesFunction(meta.queries, constantPool, meta.name));
- }
- if (meta.viewQueries.length) {
- definitionMap.set('viewQuery', createViewQueriesFunction(meta.viewQueries, constantPool, meta.name));
- } // e.g. `hostBindings: (rf, ctx) => { ... }
- definitionMap.set('hostBindings', createHostBindingsFunction(meta.host, meta.typeSourceSpan, bindingParser, constantPool, meta.selector || '', meta.name, definitionMap)); // e.g 'inputs: {a: 'a'}`
- definitionMap.set('inputs', conditionallyCreateMapObjectLiteral(meta.inputs, true)); // e.g 'outputs: {a: 'a'}`
- definitionMap.set('outputs', conditionallyCreateMapObjectLiteral(meta.outputs));
- if (meta.exportAs !== null) {
- definitionMap.set('exportAs', literalArr(meta.exportAs.map(e => literal(e))));
- }
- if (meta.isStandalone) {
- definitionMap.set('standalone', literal(true));
- }
- return definitionMap;
- }
- /**
- * Add features to the definition map.
- */
- function addFeatures(definitionMap, meta) {
- // e.g. `features: [NgOnChangesFeature]`
- const features = [];
- const providers = meta.providers;
- const viewProviders = meta.viewProviders;
- if (providers || viewProviders) {
- const args = [providers || new LiteralArrayExpr([])];
- if (viewProviders) {
- args.push(viewProviders);
- }
- features.push(importExpr(Identifiers.ProvidersFeature).callFn(args));
- }
- if (meta.usesInheritance) {
- features.push(importExpr(Identifiers.InheritDefinitionFeature));
- }
- if (meta.fullInheritance) {
- features.push(importExpr(Identifiers.CopyDefinitionFeature));
- }
- if (meta.lifecycle.usesOnChanges) {
- features.push(importExpr(Identifiers.NgOnChangesFeature));
- } // TODO: better way of differentiating component vs directive metadata.
- if (meta.hasOwnProperty('template') && meta.isStandalone) {
- features.push(importExpr(Identifiers.StandaloneFeature));
- }
- if (features.length) {
- definitionMap.set('features', literalArr(features));
- }
- }
- /**
- * Compile a directive for the render3 runtime as defined by the `R3DirectiveMetadata`.
- */
- function compileDirectiveFromMetadata(meta, constantPool, bindingParser) {
- const definitionMap = baseDirectiveFields(meta, constantPool, bindingParser);
- addFeatures(definitionMap, meta);
- const expression = importExpr(Identifiers.defineDirective).callFn([definitionMap.toLiteralMap()], undefined, true);
- const type = createDirectiveType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- /**
- * Compile a component for the render3 runtime as defined by the `R3ComponentMetadata`.
- */
- function compileComponentFromMetadata(meta, constantPool, bindingParser) {
- const definitionMap = baseDirectiveFields(meta, constantPool, bindingParser);
- addFeatures(definitionMap, meta);
- const selector = meta.selector && CssSelector.parse(meta.selector);
- const firstSelector = selector && selector[0]; // e.g. `attr: ["class", ".my.app"]`
- // This is optional an only included if the first selector of a component specifies attributes.
- if (firstSelector) {
- const selectorAttributes = firstSelector.getAttrs();
- if (selectorAttributes.length) {
- definitionMap.set('attrs', constantPool.getConstLiteral(literalArr(selectorAttributes.map(value => value != null ? literal(value) : literal(undefined))),
- /* forceShared */
- true));
- }
- } // e.g. `template: function MyComponent_Template(_ctx, _cm) {...}`
- const templateTypeName = meta.name;
- const templateName = templateTypeName ? `${templateTypeName}_Template` : null;
- const changeDetection = meta.changeDetection;
- const template = meta.template;
- const templateBuilder = new TemplateDefinitionBuilder(constantPool, BindingScope.createRootScope(), 0, templateTypeName, null, null, templateName, Identifiers.namespaceHTML, meta.relativeContextFilePath, meta.i18nUseExternalIds);
- const templateFunctionExpression = templateBuilder.buildTemplateFunction(template.nodes, []); // We need to provide this so that dynamically generated components know what
- // projected content blocks to pass through to the component when it is instantiated.
- const ngContentSelectors = templateBuilder.getNgContentSelectors();
- if (ngContentSelectors) {
- definitionMap.set('ngContentSelectors', ngContentSelectors);
- } // e.g. `decls: 2`
- definitionMap.set('decls', literal(templateBuilder.getConstCount())); // e.g. `vars: 2`
- definitionMap.set('vars', literal(templateBuilder.getVarCount())); // Generate `consts` section of ComponentDef:
- // - either as an array:
- // `consts: [['one', 'two'], ['three', 'four']]`
- // - or as a factory function in case additional statements are present (to support i18n):
- // `consts: function() { var i18n_0; if (ngI18nClosureMode) {...} else {...} return [i18n_0]; }`
- const {
- constExpressions,
- prepareStatements
- } = templateBuilder.getConsts();
- if (constExpressions.length > 0) {
- let constsExpr = literalArr(constExpressions); // Prepare statements are present - turn `consts` into a function.
- if (prepareStatements.length > 0) {
- constsExpr = fn([], [...prepareStatements, new ReturnStatement(constsExpr)]);
- }
- definitionMap.set('consts', constsExpr);
- }
- definitionMap.set('template', templateFunctionExpression);
- if (meta.declarations.length > 0) {
- definitionMap.set('dependencies', compileDeclarationList(literalArr(meta.declarations.map(decl => decl.type)), meta.declarationListEmitMode));
- }
- if (meta.encapsulation === null) {
- meta.encapsulation = ViewEncapsulation.Emulated;
- } // e.g. `styles: [str1, str2]`
- if (meta.styles && meta.styles.length) {
- const styleValues = meta.encapsulation == ViewEncapsulation.Emulated ? compileStyles(meta.styles, CONTENT_ATTR, HOST_ATTR) : meta.styles;
- const styleNodes = styleValues.reduce((result, style) => {
- if (style.trim().length > 0) {
- result.push(constantPool.getConstLiteral(literal(style)));
- }
- return result;
- }, []);
- if (styleNodes.length > 0) {
- definitionMap.set('styles', literalArr(styleNodes));
- }
- } else if (meta.encapsulation === ViewEncapsulation.Emulated) {
- // If there is no style, don't generate css selectors on elements
- meta.encapsulation = ViewEncapsulation.None;
- } // Only set view encapsulation if it's not the default value
- if (meta.encapsulation !== ViewEncapsulation.Emulated) {
- definitionMap.set('encapsulation', literal(meta.encapsulation));
- } // e.g. `animation: [trigger('123', [])]`
- if (meta.animations !== null) {
- definitionMap.set('data', literalMap([{
- key: 'animation',
- value: meta.animations,
- quoted: false
- }]));
- } // Only set the change detection flag if it's defined and it's not the default.
- if (changeDetection != null && changeDetection !== ChangeDetectionStrategy.Default) {
- definitionMap.set('changeDetection', literal(changeDetection));
- }
- const expression = importExpr(Identifiers.defineComponent).callFn([definitionMap.toLiteralMap()], undefined, true);
- const type = createComponentType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- /**
- * Creates the type specification from the component meta. This type is inserted into .d.ts files
- * to be consumed by upstream compilations.
- */
- function createComponentType(meta) {
- const typeParams = createBaseDirectiveTypeParams(meta);
- typeParams.push(stringArrayAsType(meta.template.ngContentSelectors));
- typeParams.push(expressionType(literal(meta.isStandalone)));
- return expressionType(importExpr(Identifiers.ComponentDeclaration, typeParams));
- }
- /**
- * Compiles the array literal of declarations into an expression according to the provided emit
- * mode.
- */
- function compileDeclarationList(list, mode) {
- switch (mode) {
- case 0
- /* DeclarationListEmitMode.Direct */
- :
- // directives: [MyDir],
- return list;
- case 1
- /* DeclarationListEmitMode.Closure */
- :
- // directives: function () { return [MyDir]; }
- return fn([], [new ReturnStatement(list)]);
- case 2
- /* DeclarationListEmitMode.ClosureResolved */
- :
- // directives: function () { return [MyDir].map(ng.resolveForwardRef); }
- const resolvedList = list.prop('map').callFn([importExpr(Identifiers.resolveForwardRef)]);
- return fn([], [new ReturnStatement(resolvedList)]);
- }
- }
- function prepareQueryParams(query, constantPool) {
- const parameters = [getQueryPredicate(query, constantPool), literal(toQueryFlags(query))];
- if (query.read) {
- parameters.push(query.read);
- }
- return parameters;
- }
- /**
- * Translates query flags into `TQueryFlags` type in packages/core/src/render3/interfaces/query.ts
- * @param query
- */
- function toQueryFlags(query) {
- return (query.descendants ? 1
- /* QueryFlags.descendants */
- : 0
- /* QueryFlags.none */
- ) | (query.static ? 2
- /* QueryFlags.isStatic */
- : 0
- /* QueryFlags.none */
- ) | (query.emitDistinctChangesOnly ? 4
- /* QueryFlags.emitDistinctChangesOnly */
- : 0
- /* QueryFlags.none */
- );
- }
- function convertAttributesToExpressions(attributes) {
- const values = [];
- for (let key of Object.getOwnPropertyNames(attributes)) {
- const value = attributes[key];
- values.push(literal(key), value);
- }
- return values;
- } // Define and update any content queries
- function createContentQueriesFunction(queries, constantPool, name) {
- const createStatements = [];
- const updateStatements = [];
- const tempAllocator = temporaryAllocator(updateStatements, TEMPORARY_NAME);
- for (const query of queries) {
- // creation, e.g. r3.contentQuery(dirIndex, somePredicate, true, null);
- createStatements.push(importExpr(Identifiers.contentQuery).callFn([variable('dirIndex'), ...prepareQueryParams(query, constantPool)]).toStmt()); // update, e.g. (r3.queryRefresh(tmp = r3.loadQuery()) && (ctx.someDir = tmp));
- const temporary = tempAllocator();
- const getQueryList = importExpr(Identifiers.loadQuery).callFn([]);
- const refresh = importExpr(Identifiers.queryRefresh).callFn([temporary.set(getQueryList)]);
- const updateDirective = variable(CONTEXT_NAME).prop(query.propertyName).set(query.first ? temporary.prop('first') : temporary);
- updateStatements.push(refresh.and(updateDirective).toStmt());
- }
- const contentQueriesFnName = name ? `${name}_ContentQueries` : null;
- return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null), new FnParam('dirIndex', null)], [renderFlagCheckIfStmt(1
- /* core.RenderFlags.Create */
- , createStatements), renderFlagCheckIfStmt(2
- /* core.RenderFlags.Update */
- , updateStatements)], INFERRED_TYPE, null, contentQueriesFnName);
- }
- function stringAsType(str) {
- return expressionType(literal(str));
- }
- function stringMapAsType(map) {
- const mapValues = Object.keys(map).map(key => {
- const value = Array.isArray(map[key]) ? map[key][0] : map[key];
- return {
- key,
- value: literal(value),
- quoted: true
- };
- });
- return expressionType(literalMap(mapValues));
- }
- function stringArrayAsType(arr) {
- return arr.length > 0 ? expressionType(literalArr(arr.map(value => literal(value)))) : NONE_TYPE;
- }
- function createBaseDirectiveTypeParams(meta) {
- // On the type side, remove newlines from the selector as it will need to fit into a TypeScript
- // string literal, which must be on one line.
- const selectorForType = meta.selector !== null ? meta.selector.replace(/\n/g, '') : null;
- 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))];
- }
- /**
- * Creates the type specification from the directive meta. This type is inserted into .d.ts files
- * to be consumed by upstream compilations.
- */
- function createDirectiveType(meta) {
- const typeParams = createBaseDirectiveTypeParams(meta); // Directives have no NgContentSelectors slot, but instead express a `never` type
- // so that future fields align.
- typeParams.push(NONE_TYPE);
- typeParams.push(expressionType(literal(meta.isStandalone)));
- return expressionType(importExpr(Identifiers.DirectiveDeclaration, typeParams));
- } // Define and update any view queries
- function createViewQueriesFunction(viewQueries, constantPool, name) {
- const createStatements = [];
- const updateStatements = [];
- const tempAllocator = temporaryAllocator(updateStatements, TEMPORARY_NAME);
- viewQueries.forEach(query => {
- // creation, e.g. r3.viewQuery(somePredicate, true);
- const queryDefinition = importExpr(Identifiers.viewQuery).callFn(prepareQueryParams(query, constantPool));
- createStatements.push(queryDefinition.toStmt()); // update, e.g. (r3.queryRefresh(tmp = r3.loadQuery()) && (ctx.someDir = tmp));
- const temporary = tempAllocator();
- const getQueryList = importExpr(Identifiers.loadQuery).callFn([]);
- const refresh = importExpr(Identifiers.queryRefresh).callFn([temporary.set(getQueryList)]);
- const updateDirective = variable(CONTEXT_NAME).prop(query.propertyName).set(query.first ? temporary.prop('first') : temporary);
- updateStatements.push(refresh.and(updateDirective).toStmt());
- });
- const viewQueryFnName = name ? `${name}_Query` : null;
- return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [renderFlagCheckIfStmt(1
- /* core.RenderFlags.Create */
- , createStatements), renderFlagCheckIfStmt(2
- /* core.RenderFlags.Update */
- , updateStatements)], INFERRED_TYPE, null, viewQueryFnName);
- } // Return a host binding function or null if one is not necessary.
- function createHostBindingsFunction(hostBindingsMetadata, typeSourceSpan, bindingParser, constantPool, selector, name, definitionMap) {
- const bindingContext = variable(CONTEXT_NAME);
- const styleBuilder = new StylingBuilder(bindingContext);
- const {
- styleAttr,
- classAttr
- } = hostBindingsMetadata.specialAttributes;
- if (styleAttr !== undefined) {
- styleBuilder.registerStyleAttr(styleAttr);
- }
- if (classAttr !== undefined) {
- styleBuilder.registerClassAttr(classAttr);
- }
- const createInstructions = [];
- const updateInstructions = [];
- const updateVariables = [];
- const hostBindingSourceSpan = typeSourceSpan; // Calculate host event bindings
- const eventBindings = bindingParser.createDirectiveHostEventAsts(hostBindingsMetadata.listeners, hostBindingSourceSpan);
- if (eventBindings && eventBindings.length) {
- createInstructions.push(...createHostListeners(eventBindings, name));
- } // Calculate the host property bindings
- const bindings = bindingParser.createBoundHostProperties(hostBindingsMetadata.properties, hostBindingSourceSpan);
- const allOtherBindings = []; // We need to calculate the total amount of binding slots required by
- // all the instructions together before any value conversions happen.
- // Value conversions may require additional slots for interpolation and
- // bindings with pipes. These calculates happen after this block.
- let totalHostVarsCount = 0;
- bindings && bindings.forEach(binding => {
- const stylingInputWasSet = styleBuilder.registerInputBasedOnName(binding.name, binding.expression, hostBindingSourceSpan);
- if (stylingInputWasSet) {
- totalHostVarsCount += MIN_STYLING_BINDING_SLOTS_REQUIRED;
- } else {
- allOtherBindings.push(binding);
- totalHostVarsCount++;
- }
- });
- let valueConverter;
- const getValueConverter = () => {
- if (!valueConverter) {
- const hostVarsCountFn = numSlots => {
- const originalVarsCount = totalHostVarsCount;
- totalHostVarsCount += numSlots;
- return originalVarsCount;
- };
- valueConverter = new ValueConverter(constantPool, () => error('Unexpected node'), // new nodes are illegal here
- hostVarsCountFn, () => error('Unexpected pipe')); // pipes are illegal here
- }
- return valueConverter;
- };
- const propertyBindings = [];
- const attributeBindings = [];
- const syntheticHostBindings = [];
- for (const binding of allOtherBindings) {
- // resolve literal arrays and literal objects
- const value = binding.expression.visit(getValueConverter());
- const bindingExpr = bindingFn(bindingContext, value);
- const {
- bindingName,
- instruction,
- isAttribute
- } = getBindingNameAndInstruction(binding);
- const securityContexts = bindingParser.calcPossibleSecurityContexts(selector, bindingName, isAttribute).filter(context => context !== SecurityContext.NONE);
- let sanitizerFn = null;
- if (securityContexts.length) {
- if (securityContexts.length === 2 && securityContexts.indexOf(SecurityContext.URL) > -1 && securityContexts.indexOf(SecurityContext.RESOURCE_URL) > -1) {
- // Special case for some URL attributes (such as "src" and "href") that may be a part
- // of different security contexts. In this case we use special sanitization function and
- // select the actual sanitizer at runtime based on a tag name that is provided while
- // invoking sanitization function.
- sanitizerFn = importExpr(Identifiers.sanitizeUrlOrResourceUrl);
- } else {
- sanitizerFn = resolveSanitizationFn(securityContexts[0], isAttribute);
- }
- }
- const instructionParams = [literal(bindingName), bindingExpr.currValExpr];
- if (sanitizerFn) {
- instructionParams.push(sanitizerFn);
- }
- updateVariables.push(...bindingExpr.stmts);
- if (instruction === Identifiers.hostProperty) {
- propertyBindings.push(instructionParams);
- } else if (instruction === Identifiers.attribute) {
- attributeBindings.push(instructionParams);
- } else if (instruction === Identifiers.syntheticHostProperty) {
- syntheticHostBindings.push(instructionParams);
- } else {
- updateInstructions.push({
- reference: instruction,
- paramsOrFn: instructionParams,
- span: null
- });
- }
- }
- for (const bindingParams of propertyBindings) {
- updateInstructions.push({
- reference: Identifiers.hostProperty,
- paramsOrFn: bindingParams,
- span: null
- });
- }
- for (const bindingParams of attributeBindings) {
- updateInstructions.push({
- reference: Identifiers.attribute,
- paramsOrFn: bindingParams,
- span: null
- });
- }
- for (const bindingParams of syntheticHostBindings) {
- updateInstructions.push({
- reference: Identifiers.syntheticHostProperty,
- paramsOrFn: bindingParams,
- span: null
- });
- } // since we're dealing with directives/components and both have hostBinding
- // functions, we need to generate a special hostAttrs instruction that deals
- // with both the assignment of styling as well as static attributes to the host
- // element. The instruction below will instruct all initial styling (styling
- // that is inside of a host binding within a directive/component) to be attached
- // to the host element alongside any of the provided host attributes that were
- // collected earlier.
- const hostAttrs = convertAttributesToExpressions(hostBindingsMetadata.attributes);
- styleBuilder.assignHostAttrs(hostAttrs, definitionMap);
- if (styleBuilder.hasBindings) {
- // finally each binding that was registered in the statement above will need to be added to
- // the update block of a component/directive templateFn/hostBindingsFn so that the bindings
- // are evaluated and updated for the element.
- styleBuilder.buildUpdateLevelInstructions(getValueConverter()).forEach(instruction => {
- for (const call of instruction.calls) {
- // we subtract a value of `1` here because the binding slot was already allocated
- // at the top of this method when all the input bindings were counted.
- totalHostVarsCount += Math.max(call.allocateBindingSlots - MIN_STYLING_BINDING_SLOTS_REQUIRED, 0);
- updateInstructions.push({
- reference: instruction.reference,
- paramsOrFn: convertStylingCall(call, bindingContext, bindingFn),
- span: null
- });
- }
- });
- }
- if (totalHostVarsCount) {
- definitionMap.set('hostVars', literal(totalHostVarsCount));
- }
- if (createInstructions.length > 0 || updateInstructions.length > 0) {
- const hostBindingsFnName = name ? `${name}_HostBindings` : null;
- const statements = [];
- if (createInstructions.length > 0) {
- statements.push(renderFlagCheckIfStmt(1
- /* core.RenderFlags.Create */
- , getInstructionStatements(createInstructions)));
- }
- if (updateInstructions.length > 0) {
- statements.push(renderFlagCheckIfStmt(2
- /* core.RenderFlags.Update */
- , updateVariables.concat(getInstructionStatements(updateInstructions))));
- }
- return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], statements, INFERRED_TYPE, null, hostBindingsFnName);
- }
- return null;
- }
- function bindingFn(implicit, value) {
- return convertPropertyBinding(null, implicit, value, 'b');
- }
- function convertStylingCall(call, bindingContext, bindingFn) {
- return call.params(value => bindingFn(bindingContext, value).currValExpr);
- }
- function getBindingNameAndInstruction(binding) {
- let bindingName = binding.name;
- let instruction; // Check to see if this is an attr binding or a property binding
- const attrMatches = bindingName.match(ATTR_REGEX);
- if (attrMatches) {
- bindingName = attrMatches[1];
- instruction = Identifiers.attribute;
- } else {
- if (binding.isAnimation) {
- bindingName = prepareSyntheticPropertyName(bindingName); // host bindings that have a synthetic property (e.g. @foo) should always be rendered
- // in the context of the component and not the parent. Therefore there is a special
- // compatibility instruction available for this purpose.
- instruction = Identifiers.syntheticHostProperty;
- } else {
- instruction = Identifiers.hostProperty;
- }
- }
- return {
- bindingName,
- instruction,
- isAttribute: !!attrMatches
- };
- }
- function createHostListeners(eventBindings, name) {
- const listenerParams = [];
- const syntheticListenerParams = [];
- const instructions = [];
- for (const binding of eventBindings) {
- let bindingName = binding.name && sanitizeIdentifier(binding.name);
- const bindingFnName = binding.type === 1
- /* ParsedEventType.Animation */
- ? prepareSyntheticListenerFunctionName(bindingName, binding.targetOrPhase) : bindingName;
- const handlerName = name && bindingName ? `${name}_${bindingFnName}_HostBindingHandler` : null;
- const params = prepareEventListenerParameters(BoundEvent.fromParsedEvent(binding), handlerName);
- if (binding.type == 1
- /* ParsedEventType.Animation */
- ) {
- syntheticListenerParams.push(params);
- } else {
- listenerParams.push(params);
- }
- }
- for (const params of syntheticListenerParams) {
- instructions.push({
- reference: Identifiers.syntheticHostListener,
- paramsOrFn: params,
- span: null
- });
- }
- for (const params of listenerParams) {
- instructions.push({
- reference: Identifiers.listener,
- paramsOrFn: params,
- span: null
- });
- }
- return instructions;
- }
- const HOST_REG_EXP = /^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;
- function parseHostBindings(host) {
- const attributes = {};
- const listeners = {};
- const properties = {};
- const specialAttributes = {};
- for (const key of Object.keys(host)) {
- const value = host[key];
- const matches = key.match(HOST_REG_EXP);
- if (matches === null) {
- switch (key) {
- case 'class':
- if (typeof value !== 'string') {
- // TODO(alxhub): make this a diagnostic.
- throw new Error(`Class binding must be string`);
- }
- specialAttributes.classAttr = value;
- break;
- case 'style':
- if (typeof value !== 'string') {
- // TODO(alxhub): make this a diagnostic.
- throw new Error(`Style binding must be string`);
- }
- specialAttributes.styleAttr = value;
- break;
- default:
- if (typeof value === 'string') {
- attributes[key] = literal(value);
- } else {
- attributes[key] = value;
- }
- }
- } else if (matches[1
- /* HostBindingGroup.Binding */
- ] != null) {
- if (typeof value !== 'string') {
- // TODO(alxhub): make this a diagnostic.
- throw new Error(`Property binding must be string`);
- } // synthetic properties (the ones that have a `@` as a prefix)
- // are still treated the same as regular properties. Therefore
- // there is no point in storing them in a separate map.
- properties[matches[1
- /* HostBindingGroup.Binding */
- ]] = value;
- } else if (matches[2
- /* HostBindingGroup.Event */
- ] != null) {
- if (typeof value !== 'string') {
- // TODO(alxhub): make this a diagnostic.
- throw new Error(`Event binding must be string`);
- }
- listeners[matches[2
- /* HostBindingGroup.Event */
- ]] = value;
- }
- }
- return {
- attributes,
- listeners,
- properties,
- specialAttributes
- };
- }
- /**
- * Verifies host bindings and returns the list of errors (if any). Empty array indicates that a
- * given set of host bindings has no errors.
- *
- * @param bindings set of host bindings to verify.
- * @param sourceSpan source span where host bindings were defined.
- * @returns array of errors associated with a given set of host bindings.
- */
- function verifyHostBindings(bindings, sourceSpan) {
- // TODO: abstract out host bindings verification logic and use it instead of
- // creating events and properties ASTs to detect errors (FW-996)
- const bindingParser = makeBindingParser();
- bindingParser.createDirectiveHostEventAsts(bindings.listeners, sourceSpan);
- bindingParser.createBoundHostProperties(bindings.properties, sourceSpan);
- return bindingParser.errors;
- }
- function compileStyles(styles, selector, hostSelector) {
- const shadowCss = new ShadowCss();
- return styles.map(style => {
- return shadowCss.shimCssText(style, selector, hostSelector);
- });
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An interface for retrieving documents by URL that the compiler uses to
- * load templates.
- *
- * This is an abstract class, rather than an interface, so that it can be used
- * as injection token.
- */
- class ResourceLoader {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class CompilerFacadeImpl {
- constructor(jitEvaluator = new JitEvaluator()) {
- this.jitEvaluator = jitEvaluator;
- this.FactoryTarget = FactoryTarget$1;
- this.ResourceLoader = ResourceLoader;
- this.elementSchemaRegistry = new DomElementSchemaRegistry();
- }
- compilePipe(angularCoreEnv, sourceMapUrl, facade) {
- const metadata = {
- name: facade.name,
- type: wrapReference(facade.type),
- internalType: new WrappedNodeExpr(facade.type),
- typeArgumentCount: 0,
- deps: null,
- pipeName: facade.pipeName,
- pure: facade.pure,
- isStandalone: facade.isStandalone
- };
- const res = compilePipeFromMetadata(metadata);
- return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
- }
- compilePipeDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
- const meta = convertDeclarePipeFacadeToMetadata(declaration);
- const res = compilePipeFromMetadata(meta);
- return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
- }
- compileInjectable(angularCoreEnv, sourceMapUrl, facade) {
- var _a;
- const {
- expression,
- statements
- } = compileInjectable({
- name: facade.name,
- type: wrapReference(facade.type),
- internalType: new WrappedNodeExpr(facade.type),
- typeArgumentCount: facade.typeArgumentCount,
- providedIn: computeProvidedIn(facade.providedIn),
- useClass: convertToProviderExpression(facade, 'useClass'),
- useFactory: wrapExpression(facade, 'useFactory'),
- useValue: convertToProviderExpression(facade, 'useValue'),
- useExisting: convertToProviderExpression(facade, 'useExisting'),
- deps: (_a = facade.deps) === null || _a === void 0 ? void 0 : _a.map(convertR3DependencyMetadata)
- },
- /* resolveForwardRefs */
- true);
- return this.jitExpression(expression, angularCoreEnv, sourceMapUrl, statements);
- }
- compileInjectableDeclaration(angularCoreEnv, sourceMapUrl, facade) {
- var _a;
- const {
- expression,
- statements
- } = compileInjectable({
- name: facade.type.name,
- type: wrapReference(facade.type),
- internalType: new WrappedNodeExpr(facade.type),
- typeArgumentCount: 0,
- providedIn: computeProvidedIn(facade.providedIn),
- useClass: convertToProviderExpression(facade, 'useClass'),
- useFactory: wrapExpression(facade, 'useFactory'),
- useValue: convertToProviderExpression(facade, 'useValue'),
- useExisting: convertToProviderExpression(facade, 'useExisting'),
- deps: (_a = facade.deps) === null || _a === void 0 ? void 0 : _a.map(convertR3DeclareDependencyMetadata)
- },
- /* resolveForwardRefs */
- true);
- return this.jitExpression(expression, angularCoreEnv, sourceMapUrl, statements);
- }
- compileInjector(angularCoreEnv, sourceMapUrl, facade) {
- const meta = {
- name: facade.name,
- type: wrapReference(facade.type),
- internalType: new WrappedNodeExpr(facade.type),
- providers: facade.providers && facade.providers.length > 0 ? new WrappedNodeExpr(facade.providers) : null,
- imports: facade.imports.map(i => new WrappedNodeExpr(i))
- };
- const res = compileInjector(meta);
- return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
- }
- compileInjectorDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
- const meta = convertDeclareInjectorFacadeToMetadata(declaration);
- const res = compileInjector(meta);
- return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
- }
- compileNgModule(angularCoreEnv, sourceMapUrl, facade) {
- const meta = {
- type: wrapReference(facade.type),
- internalType: new WrappedNodeExpr(facade.type),
- adjacentType: new WrappedNodeExpr(facade.type),
- bootstrap: facade.bootstrap.map(wrapReference),
- declarations: facade.declarations.map(wrapReference),
- publicDeclarationTypes: null,
- imports: facade.imports.map(wrapReference),
- includeImportTypes: true,
- exports: facade.exports.map(wrapReference),
- selectorScopeMode: R3SelectorScopeMode.Inline,
- containsForwardDecls: false,
- schemas: facade.schemas ? facade.schemas.map(wrapReference) : null,
- id: facade.id ? new WrappedNodeExpr(facade.id) : null
- };
- const res = compileNgModule(meta);
- return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, []);
- }
- compileNgModuleDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
- const expression = compileNgModuleDeclarationExpression(declaration);
- return this.jitExpression(expression, angularCoreEnv, sourceMapUrl, []);
- }
- compileDirective(angularCoreEnv, sourceMapUrl, facade) {
- const meta = convertDirectiveFacadeToMetadata(facade);
- return this.compileDirectiveFromMeta(angularCoreEnv, sourceMapUrl, meta);
- }
- compileDirectiveDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
- const typeSourceSpan = this.createParseSourceSpan('Directive', declaration.type.name, sourceMapUrl);
- const meta = convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan);
- return this.compileDirectiveFromMeta(angularCoreEnv, sourceMapUrl, meta);
- }
- compileDirectiveFromMeta(angularCoreEnv, sourceMapUrl, meta) {
- const constantPool = new ConstantPool();
- const bindingParser = makeBindingParser();
- const res = compileDirectiveFromMetadata(meta, constantPool, bindingParser);
- return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, constantPool.statements);
- }
- compileComponent(angularCoreEnv, sourceMapUrl, facade) {
- // Parse the template and check for errors.
- const {
- template,
- interpolation
- } = parseJitTemplate(facade.template, facade.name, sourceMapUrl, facade.preserveWhitespaces, facade.interpolation); // Compile the component metadata, including template, into an expression.
- const meta = Object.assign(Object.assign(Object.assign({}, facade), convertDirectiveFacadeToMetadata(facade)), {
- selector: facade.selector || this.elementSchemaRegistry.getDefaultComponentElementName(),
- template,
- declarations: facade.declarations.map(convertDeclarationFacadeToMetadata),
- declarationListEmitMode: 0
- /* DeclarationListEmitMode.Direct */
- ,
- styles: [...facade.styles, ...template.styles],
- encapsulation: facade.encapsulation,
- interpolation,
- changeDetection: facade.changeDetection,
- animations: facade.animations != null ? new WrappedNodeExpr(facade.animations) : null,
- viewProviders: facade.viewProviders != null ? new WrappedNodeExpr(facade.viewProviders) : null,
- relativeContextFilePath: '',
- i18nUseExternalIds: true
- });
- const jitExpressionSourceMap = `ng:///${facade.name}.js`;
- return this.compileComponentFromMeta(angularCoreEnv, jitExpressionSourceMap, meta);
- }
- compileComponentDeclaration(angularCoreEnv, sourceMapUrl, declaration) {
- const typeSourceSpan = this.createParseSourceSpan('Component', declaration.type.name, sourceMapUrl);
- const meta = convertDeclareComponentFacadeToMetadata(declaration, typeSourceSpan, sourceMapUrl);
- return this.compileComponentFromMeta(angularCoreEnv, sourceMapUrl, meta);
- }
- compileComponentFromMeta(angularCoreEnv, sourceMapUrl, meta) {
- const constantPool = new ConstantPool();
- const bindingParser = makeBindingParser(meta.interpolation);
- const res = compileComponentFromMetadata(meta, constantPool, bindingParser);
- return this.jitExpression(res.expression, angularCoreEnv, sourceMapUrl, constantPool.statements);
- }
- compileFactory(angularCoreEnv, sourceMapUrl, meta) {
- const factoryRes = compileFactoryFunction({
- name: meta.name,
- type: wrapReference(meta.type),
- internalType: new WrappedNodeExpr(meta.type),
- typeArgumentCount: meta.typeArgumentCount,
- deps: convertR3DependencyMetadataArray(meta.deps),
- target: meta.target
- });
- return this.jitExpression(factoryRes.expression, angularCoreEnv, sourceMapUrl, factoryRes.statements);
- }
- compileFactoryDeclaration(angularCoreEnv, sourceMapUrl, meta) {
- const factoryRes = compileFactoryFunction({
- name: meta.type.name,
- type: wrapReference(meta.type),
- internalType: new WrappedNodeExpr(meta.type),
- typeArgumentCount: 0,
- deps: Array.isArray(meta.deps) ? meta.deps.map(convertR3DeclareDependencyMetadata) : meta.deps,
- target: meta.target
- });
- return this.jitExpression(factoryRes.expression, angularCoreEnv, sourceMapUrl, factoryRes.statements);
- }
- createParseSourceSpan(kind, typeName, sourceUrl) {
- return r3JitTypeSourceSpan(kind, typeName, sourceUrl);
- }
- /**
- * JIT compiles an expression and returns the result of executing that expression.
- *
- * @param def the definition which will be compiled and executed to get the value to patch
- * @param context an object map of @angular/core symbol names to symbols which will be available
- * in the context of the compiled expression
- * @param sourceUrl a URL to use for the source map of the compiled expression
- * @param preStatements a collection of statements that should be evaluated before the expression.
- */
- jitExpression(def, context, sourceUrl, preStatements) {
- // The ConstantPool may contain Statements which declare variables used in the final expression.
- // Therefore, its statements need to precede the actual JIT operation. The final statement is a
- // declaration of $def which is set to the expression being compiled.
- const statements = [...preStatements, new DeclareVarStmt('$def', def, undefined, StmtModifier.Exported)];
- const res = this.jitEvaluator.evaluateStatements(sourceUrl, statements, new R3JitReflector(context),
- /* enableSourceMaps */
- true);
- return res['$def'];
- }
- }
- function convertToR3QueryMetadata(facade) {
- return Object.assign(Object.assign({}, facade), {
- predicate: convertQueryPredicate(facade.predicate),
- read: facade.read ? new WrappedNodeExpr(facade.read) : null,
- static: facade.static,
- emitDistinctChangesOnly: facade.emitDistinctChangesOnly
- });
- }
- function convertQueryDeclarationToMetadata(declaration) {
- var _a, _b, _c, _d;
- return {
- propertyName: declaration.propertyName,
- first: (_a = declaration.first) !== null && _a !== void 0 ? _a : false,
- predicate: convertQueryPredicate(declaration.predicate),
- descendants: (_b = declaration.descendants) !== null && _b !== void 0 ? _b : false,
- read: declaration.read ? new WrappedNodeExpr(declaration.read) : null,
- static: (_c = declaration.static) !== null && _c !== void 0 ? _c : false,
- emitDistinctChangesOnly: (_d = declaration.emitDistinctChangesOnly) !== null && _d !== void 0 ? _d : true
- };
- }
- function convertQueryPredicate(predicate) {
- return Array.isArray(predicate) ? // The predicate is an array of strings so pass it through.
- predicate : // The predicate is a type - assume that we will need to unwrap any `forwardRef()` calls.
- createMayBeForwardRefExpression(new WrappedNodeExpr(predicate), 1
- /* ForwardRefHandling.Wrapped */
- );
- }
- function convertDirectiveFacadeToMetadata(facade) {
- const inputsFromMetadata = parseInputOutputs(facade.inputs || []);
- const outputsFromMetadata = parseInputOutputs(facade.outputs || []);
- const propMetadata = facade.propMetadata;
- const inputsFromType = {};
- const outputsFromType = {};
- for (const field in propMetadata) {
- if (propMetadata.hasOwnProperty(field)) {
- propMetadata[field].forEach(ann => {
- if (isInput(ann)) {
- inputsFromType[field] = ann.bindingPropertyName ? [ann.bindingPropertyName, field] : field;
- } else if (isOutput(ann)) {
- outputsFromType[field] = ann.bindingPropertyName || field;
- }
- });
- }
- }
- return Object.assign(Object.assign({}, facade), {
- typeArgumentCount: 0,
- typeSourceSpan: facade.typeSourceSpan,
- type: wrapReference(facade.type),
- internalType: new WrappedNodeExpr(facade.type),
- deps: null,
- host: extractHostBindings(facade.propMetadata, facade.typeSourceSpan, facade.host),
- inputs: Object.assign(Object.assign({}, inputsFromMetadata), inputsFromType),
- outputs: Object.assign(Object.assign({}, outputsFromMetadata), outputsFromType),
- queries: facade.queries.map(convertToR3QueryMetadata),
- providers: facade.providers != null ? new WrappedNodeExpr(facade.providers) : null,
- viewQueries: facade.viewQueries.map(convertToR3QueryMetadata),
- fullInheritance: false
- });
- }
- function convertDeclareDirectiveFacadeToMetadata(declaration, typeSourceSpan) {
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
- return {
- name: declaration.type.name,
- type: wrapReference(declaration.type),
- typeSourceSpan,
- internalType: new WrappedNodeExpr(declaration.type),
- selector: (_a = declaration.selector) !== null && _a !== void 0 ? _a : null,
- inputs: (_b = declaration.inputs) !== null && _b !== void 0 ? _b : {},
- outputs: (_c = declaration.outputs) !== null && _c !== void 0 ? _c : {},
- host: convertHostDeclarationToMetadata(declaration.host),
- queries: ((_d = declaration.queries) !== null && _d !== void 0 ? _d : []).map(convertQueryDeclarationToMetadata),
- viewQueries: ((_e = declaration.viewQueries) !== null && _e !== void 0 ? _e : []).map(convertQueryDeclarationToMetadata),
- providers: declaration.providers !== undefined ? new WrappedNodeExpr(declaration.providers) : null,
- exportAs: (_f = declaration.exportAs) !== null && _f !== void 0 ? _f : null,
- usesInheritance: (_g = declaration.usesInheritance) !== null && _g !== void 0 ? _g : false,
- lifecycle: {
- usesOnChanges: (_h = declaration.usesOnChanges) !== null && _h !== void 0 ? _h : false
- },
- deps: null,
- typeArgumentCount: 0,
- fullInheritance: false,
- isStandalone: (_j = declaration.isStandalone) !== null && _j !== void 0 ? _j : false
- };
- }
- function convertHostDeclarationToMetadata(host = {}) {
- var _a, _b, _c;
- return {
- attributes: convertOpaqueValuesToExpressions((_a = host.attributes) !== null && _a !== void 0 ? _a : {}),
- listeners: (_b = host.listeners) !== null && _b !== void 0 ? _b : {},
- properties: (_c = host.properties) !== null && _c !== void 0 ? _c : {},
- specialAttributes: {
- classAttr: host.classAttribute,
- styleAttr: host.styleAttribute
- }
- };
- }
- function convertOpaqueValuesToExpressions(obj) {
- const result = {};
- for (const key of Object.keys(obj)) {
- result[key] = new WrappedNodeExpr(obj[key]);
- }
- return result;
- }
- function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMapUrl) {
- var _a, _b, _c, _d;
- const {
- template,
- interpolation
- } = parseJitTemplate(decl.template, decl.type.name, sourceMapUrl, (_a = decl.preserveWhitespaces) !== null && _a !== void 0 ? _a : false, decl.interpolation);
- const declarations = [];
- if (decl.dependencies) {
- for (const innerDep of decl.dependencies) {
- switch (innerDep.kind) {
- case 'directive':
- case 'component':
- declarations.push(convertDirectiveDeclarationToMetadata(innerDep));
- break;
- case 'pipe':
- declarations.push(convertPipeDeclarationToMetadata(innerDep));
- break;
- }
- }
- } else if (decl.components || decl.directives || decl.pipes) {
- // Existing declarations on NPM may not be using the new `dependencies` merged field, and may
- // have separate fields for dependencies instead. Unify them for JIT compilation.
- decl.components && declarations.push(...decl.components.map(dir => convertDirectiveDeclarationToMetadata(dir,
- /* isComponent */
- true)));
- decl.directives && declarations.push(...decl.directives.map(dir => convertDirectiveDeclarationToMetadata(dir)));
- decl.pipes && declarations.push(...convertPipeMapToMetadata(decl.pipes));
- }
- return Object.assign(Object.assign({}, convertDeclareDirectiveFacadeToMetadata(decl, typeSourceSpan)), {
- template,
- styles: (_b = decl.styles) !== null && _b !== void 0 ? _b : [],
- declarations,
- viewProviders: decl.viewProviders !== undefined ? new WrappedNodeExpr(decl.viewProviders) : null,
- animations: decl.animations !== undefined ? new WrappedNodeExpr(decl.animations) : null,
- changeDetection: (_c = decl.changeDetection) !== null && _c !== void 0 ? _c : ChangeDetectionStrategy.Default,
- encapsulation: (_d = decl.encapsulation) !== null && _d !== void 0 ? _d : ViewEncapsulation.Emulated,
- interpolation,
- declarationListEmitMode: 2
- /* DeclarationListEmitMode.ClosureResolved */
- ,
- relativeContextFilePath: '',
- i18nUseExternalIds: true
- });
- }
- function convertDeclarationFacadeToMetadata(declaration) {
- return Object.assign(Object.assign({}, declaration), {
- type: new WrappedNodeExpr(declaration.type)
- });
- }
- function convertDirectiveDeclarationToMetadata(declaration, isComponent = null) {
- var _a, _b, _c;
- return {
- kind: R3TemplateDependencyKind.Directive,
- isComponent: isComponent || declaration.kind === 'component',
- selector: declaration.selector,
- type: new WrappedNodeExpr(declaration.type),
- inputs: (_a = declaration.inputs) !== null && _a !== void 0 ? _a : [],
- outputs: (_b = declaration.outputs) !== null && _b !== void 0 ? _b : [],
- exportAs: (_c = declaration.exportAs) !== null && _c !== void 0 ? _c : null
- };
- }
- function convertPipeMapToMetadata(pipes) {
- if (!pipes) {
- return [];
- }
- return Object.keys(pipes).map(name => {
- return {
- kind: R3TemplateDependencyKind.Pipe,
- name,
- type: new WrappedNodeExpr(pipes[name])
- };
- });
- }
- function convertPipeDeclarationToMetadata(pipe) {
- return {
- kind: R3TemplateDependencyKind.Pipe,
- name: pipe.name,
- type: new WrappedNodeExpr(pipe.type)
- };
- }
- function parseJitTemplate(template, typeName, sourceMapUrl, preserveWhitespaces, interpolation) {
- const interpolationConfig = interpolation ? InterpolationConfig.fromArray(interpolation) : DEFAULT_INTERPOLATION_CONFIG; // Parse the template and check for errors.
- const parsed = parseTemplate(template, sourceMapUrl, {
- preserveWhitespaces,
- interpolationConfig
- });
- if (parsed.errors !== null) {
- const errors = parsed.errors.map(err => err.toString()).join(', ');
- throw new Error(`Errors during JIT compilation of template for ${typeName}: ${errors}`);
- }
- return {
- template: parsed,
- interpolation: interpolationConfig
- };
- }
- /**
- * Convert the expression, if present to an `R3ProviderExpression`.
- *
- * In JIT mode we do not want the compiler to wrap the expression in a `forwardRef()` call because,
- * if it is referencing a type that has not yet been defined, it will have already been wrapped in
- * a `forwardRef()` - either by the application developer or during partial-compilation. Thus we can
- * use `ForwardRefHandling.None`.
- */
- function convertToProviderExpression(obj, property) {
- if (obj.hasOwnProperty(property)) {
- return createMayBeForwardRefExpression(new WrappedNodeExpr(obj[property]), 0
- /* ForwardRefHandling.None */
- );
- } else {
- return undefined;
- }
- }
- function wrapExpression(obj, property) {
- if (obj.hasOwnProperty(property)) {
- return new WrappedNodeExpr(obj[property]);
- } else {
- return undefined;
- }
- }
- function computeProvidedIn(providedIn) {
- 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`.
- return createMayBeForwardRefExpression(expression, 0
- /* ForwardRefHandling.None */
- );
- }
- function convertR3DependencyMetadataArray(facades) {
- return facades == null ? null : facades.map(convertR3DependencyMetadata);
- }
- function convertR3DependencyMetadata(facade) {
- const isAttributeDep = facade.attribute != null; // both `null` and `undefined`
- 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
- // `attribute` rather than the `token`.
- const token = isAttributeDep ? new WrappedNodeExpr(facade.attribute) : rawToken;
- return createR3DependencyMetadata(token, isAttributeDep, facade.host, facade.optional, facade.self, facade.skipSelf);
- }
- function convertR3DeclareDependencyMetadata(facade) {
- var _a, _b, _c, _d, _e;
- const isAttributeDep = (_a = facade.attribute) !== null && _a !== void 0 ? _a : false;
- const token = facade.token === null ? null : new WrappedNodeExpr(facade.token);
- 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);
- }
- function createR3DependencyMetadata(token, isAttributeDep, host, optional, self, skipSelf) {
- // If the dep is an `@Attribute()` the `attributeNameType` ought to be the `unknown` type.
- // But types are not available at runtime so we just use a literal `"<unknown>"` string as a dummy
- // marker.
- const attributeNameType = isAttributeDep ? literal('unknown') : null;
- return {
- token,
- attributeNameType,
- host,
- optional,
- self,
- skipSelf
- };
- }
- function extractHostBindings(propMetadata, sourceSpan, host) {
- // First parse the declarations from the metadata.
- const bindings = parseHostBindings(host || {}); // After that check host bindings for errors
- const errors = verifyHostBindings(bindings, sourceSpan);
- if (errors.length) {
- throw new Error(errors.map(error => error.msg).join('\n'));
- } // Next, loop over the properties of the object, looking for @HostBinding and @HostListener.
- for (const field in propMetadata) {
- if (propMetadata.hasOwnProperty(field)) {
- propMetadata[field].forEach(ann => {
- if (isHostBinding(ann)) {
- // Since this is a decorator, we know that the value is a class member. Always access it
- // through `this` so that further down the line it can't be confused for a literal value
- // (e.g. if there's a property called `true`).
- bindings.properties[ann.hostPropertyName || field] = getSafePropertyAccessString('this', field);
- } else if (isHostListener(ann)) {
- bindings.listeners[ann.eventName || field] = `${field}(${(ann.args || []).join(',')})`;
- }
- });
- }
- }
- return bindings;
- }
- function isHostBinding(value) {
- return value.ngMetadataName === 'HostBinding';
- }
- function isHostListener(value) {
- return value.ngMetadataName === 'HostListener';
- }
- function isInput(value) {
- return value.ngMetadataName === 'Input';
- }
- function isOutput(value) {
- return value.ngMetadataName === 'Output';
- }
- function parseInputOutputs(values) {
- return values.reduce((results, value) => {
- const [field, property] = value.split(':', 2).map(str => str.trim());
- results[field] = property || field;
- return results;
- }, {});
- }
- function convertDeclarePipeFacadeToMetadata(declaration) {
- var _a, _b;
- return {
- name: declaration.type.name,
- type: wrapReference(declaration.type),
- internalType: new WrappedNodeExpr(declaration.type),
- typeArgumentCount: 0,
- pipeName: declaration.name,
- deps: null,
- pure: (_a = declaration.pure) !== null && _a !== void 0 ? _a : true,
- isStandalone: (_b = declaration.isStandalone) !== null && _b !== void 0 ? _b : false
- };
- }
- function convertDeclareInjectorFacadeToMetadata(declaration) {
- return {
- name: declaration.type.name,
- type: wrapReference(declaration.type),
- internalType: new WrappedNodeExpr(declaration.type),
- providers: declaration.providers !== undefined && declaration.providers.length > 0 ? new WrappedNodeExpr(declaration.providers) : null,
- imports: declaration.imports !== undefined ? declaration.imports.map(i => new WrappedNodeExpr(i)) : []
- };
- }
- function publishFacade(global) {
- const ng = global.ng || (global.ng = {});
- ng.ɵcompilerFacade = new CompilerFacadeImpl();
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const VERSION = new Version('14.2.7');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class CompilerConfig {
- constructor({
- defaultEncapsulation = ViewEncapsulation.Emulated,
- useJit = true,
- jitDevMode = false,
- missingTranslation = null,
- preserveWhitespaces,
- strictInjectionParameters
- } = {}) {
- this.defaultEncapsulation = defaultEncapsulation;
- this.useJit = !!useJit;
- this.jitDevMode = !!jitDevMode;
- this.missingTranslation = missingTranslation;
- this.preserveWhitespaces = preserveWhitespacesDefault(noUndefined(preserveWhitespaces));
- this.strictInjectionParameters = strictInjectionParameters === true;
- }
- }
- function preserveWhitespacesDefault(preserveWhitespacesOption, defaultSetting = false) {
- return preserveWhitespacesOption === null ? defaultSetting : preserveWhitespacesOption;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _I18N_ATTR = 'i18n';
- const _I18N_ATTR_PREFIX = 'i18n-';
- const _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;
- const MEANING_SEPARATOR = '|';
- const ID_SEPARATOR = '@@';
- let i18nCommentsWarned = false;
- /**
- * Extract translatable messages from an html AST
- */
- function extractMessages(nodes, interpolationConfig, implicitTags, implicitAttrs) {
- const visitor = new _Visitor(implicitTags, implicitAttrs);
- return visitor.extract(nodes, interpolationConfig);
- }
- function mergeTranslations(nodes, translations, interpolationConfig, implicitTags, implicitAttrs) {
- const visitor = new _Visitor(implicitTags, implicitAttrs);
- return visitor.merge(nodes, translations, interpolationConfig);
- }
- class ExtractionResult {
- constructor(messages, errors) {
- this.messages = messages;
- this.errors = errors;
- }
- }
- var _VisitorMode;
- (function (_VisitorMode) {
- _VisitorMode[_VisitorMode["Extract"] = 0] = "Extract";
- _VisitorMode[_VisitorMode["Merge"] = 1] = "Merge";
- })(_VisitorMode || (_VisitorMode = {}));
- /**
- * This Visitor is used:
- * 1. to extract all the translatable strings from an html AST (see `extract()`),
- * 2. to replace the translatable strings with the actual translations (see `merge()`)
- *
- * @internal
- */
- class _Visitor {
- constructor(_implicitTags, _implicitAttrs) {
- this._implicitTags = _implicitTags;
- this._implicitAttrs = _implicitAttrs;
- }
- /**
- * Extracts the messages from the tree
- */
- extract(nodes, interpolationConfig) {
- this._init(_VisitorMode.Extract, interpolationConfig);
- nodes.forEach(node => node.visit(this, null));
- if (this._inI18nBlock) {
- this._reportError(nodes[nodes.length - 1], 'Unclosed block');
- }
- return new ExtractionResult(this._messages, this._errors);
- }
- /**
- * Returns a tree where all translatable nodes are translated
- */
- merge(nodes, translations, interpolationConfig) {
- this._init(_VisitorMode.Merge, interpolationConfig);
- this._translations = translations; // Construct a single fake root element
- const wrapper = new Element('wrapper', [], nodes, undefined, undefined, undefined);
- const translatedNode = wrapper.visit(this, null);
- if (this._inI18nBlock) {
- this._reportError(nodes[nodes.length - 1], 'Unclosed block');
- }
- return new ParseTreeResult(translatedNode.children, this._errors);
- }
- visitExpansionCase(icuCase, context) {
- // Parse cases for translatable html attributes
- const expression = visitAll(this, icuCase.expression, context);
- if (this._mode === _VisitorMode.Merge) {
- return new ExpansionCase(icuCase.value, expression, icuCase.sourceSpan, icuCase.valueSourceSpan, icuCase.expSourceSpan);
- }
- }
- visitExpansion(icu, context) {
- this._mayBeAddBlockChildren(icu);
- const wasInIcu = this._inIcu;
- if (!this._inIcu) {
- // nested ICU messages should not be extracted but top-level translated as a whole
- if (this._isInTranslatableSection) {
- this._addMessage([icu]);
- }
- this._inIcu = true;
- }
- const cases = visitAll(this, icu.cases, context);
- if (this._mode === _VisitorMode.Merge) {
- icu = new Expansion(icu.switchValue, icu.type, cases, icu.sourceSpan, icu.switchValueSourceSpan);
- }
- this._inIcu = wasInIcu;
- return icu;
- }
- visitComment(comment, context) {
- const isOpening = _isOpeningComment(comment);
- if (isOpening && this._isInTranslatableSection) {
- this._reportError(comment, 'Could not start a block inside a translatable section');
- return;
- }
- const isClosing = _isClosingComment(comment);
- if (isClosing && !this._inI18nBlock) {
- this._reportError(comment, 'Trying to close an unopened block');
- return;
- }
- if (!this._inI18nNode && !this._inIcu) {
- if (!this._inI18nBlock) {
- if (isOpening) {
- // deprecated from v5 you should use <ng-container i18n> instead of i18n comments
- if (!i18nCommentsWarned && console && console.warn) {
- i18nCommentsWarned = true;
- const details = comment.sourceSpan.details ? `, ${comment.sourceSpan.details}` : ''; // TODO(ocombe): use a log service once there is a public one available
- console.warn(`I18n comments are deprecated, use an <ng-container> element instead (${comment.sourceSpan.start}${details})`);
- }
- this._inI18nBlock = true;
- this._blockStartDepth = this._depth;
- this._blockChildren = [];
- this._blockMeaningAndDesc = comment.value.replace(_I18N_COMMENT_PREFIX_REGEXP, '').trim();
- this._openTranslatableSection(comment);
- }
- } else {
- if (isClosing) {
- if (this._depth == this._blockStartDepth) {
- this._closeTranslatableSection(comment, this._blockChildren);
- this._inI18nBlock = false;
- const message = this._addMessage(this._blockChildren, this._blockMeaningAndDesc); // merge attributes in sections
- const nodes = this._translateMessage(comment, message);
- return visitAll(this, nodes);
- } else {
- this._reportError(comment, 'I18N blocks should not cross element boundaries');
- return;
- }
- }
- }
- }
- }
- visitText(text, context) {
- if (this._isInTranslatableSection) {
- this._mayBeAddBlockChildren(text);
- }
- return text;
- }
- visitElement(el, context) {
- this._mayBeAddBlockChildren(el);
- this._depth++;
- const wasInI18nNode = this._inI18nNode;
- const wasInImplicitNode = this._inImplicitNode;
- let childNodes = [];
- let translatedChildNodes = undefined; // Extract:
- // - top level nodes with the (implicit) "i18n" attribute if not already in a section
- // - ICU messages
- const i18nAttr = _getI18nAttr(el);
- const i18nMeta = i18nAttr ? i18nAttr.value : '';
- const isImplicit = this._implicitTags.some(tag => el.name === tag) && !this._inIcu && !this._isInTranslatableSection;
- const isTopLevelImplicit = !wasInImplicitNode && isImplicit;
- this._inImplicitNode = wasInImplicitNode || isImplicit;
- if (!this._isInTranslatableSection && !this._inIcu) {
- if (i18nAttr || isTopLevelImplicit) {
- this._inI18nNode = true;
- const message = this._addMessage(el.children, i18nMeta);
- translatedChildNodes = this._translateMessage(el, message);
- }
- if (this._mode == _VisitorMode.Extract) {
- const isTranslatable = i18nAttr || isTopLevelImplicit;
- if (isTranslatable) this._openTranslatableSection(el);
- visitAll(this, el.children);
- if (isTranslatable) this._closeTranslatableSection(el, el.children);
- }
- } else {
- if (i18nAttr || isTopLevelImplicit) {
- this._reportError(el, 'Could not mark an element as translatable inside a translatable section');
- }
- if (this._mode == _VisitorMode.Extract) {
- // Descend into child nodes for extraction
- visitAll(this, el.children);
- }
- }
- if (this._mode === _VisitorMode.Merge) {
- const visitNodes = translatedChildNodes || el.children;
- visitNodes.forEach(child => {
- const visited = child.visit(this, context);
- if (visited && !this._isInTranslatableSection) {
- // Do not add the children from translatable sections (= i18n blocks here)
- // They will be added later in this loop when the block closes (i.e. on `<!-- /i18n -->`)
- childNodes = childNodes.concat(visited);
- }
- });
- }
- this._visitAttributesOf(el);
- this._depth--;
- this._inI18nNode = wasInI18nNode;
- this._inImplicitNode = wasInImplicitNode;
- if (this._mode === _VisitorMode.Merge) {
- const translatedAttrs = this._translateAttributes(el);
- return new Element(el.name, translatedAttrs, childNodes, el.sourceSpan, el.startSourceSpan, el.endSourceSpan);
- }
- return null;
- }
- visitAttribute(attribute, context) {
- throw new Error('unreachable code');
- }
- _init(mode, interpolationConfig) {
- this._mode = mode;
- this._inI18nBlock = false;
- this._inI18nNode = false;
- this._depth = 0;
- this._inIcu = false;
- this._msgCountAtSectionStart = undefined;
- this._errors = [];
- this._messages = [];
- this._inImplicitNode = false;
- this._createI18nMessage = createI18nMessageFactory(interpolationConfig);
- } // looks for translatable attributes
- _visitAttributesOf(el) {
- const explicitAttrNameToValue = {};
- const implicitAttrNames = this._implicitAttrs[el.name] || [];
- el.attrs.filter(attr => attr.name.startsWith(_I18N_ATTR_PREFIX)).forEach(attr => explicitAttrNameToValue[attr.name.slice(_I18N_ATTR_PREFIX.length)] = attr.value);
- el.attrs.forEach(attr => {
- if (attr.name in explicitAttrNameToValue) {
- this._addMessage([attr], explicitAttrNameToValue[attr.name]);
- } else if (implicitAttrNames.some(name => attr.name === name)) {
- this._addMessage([attr]);
- }
- });
- } // add a translatable message
- _addMessage(ast, msgMeta) {
- if (ast.length == 0 || ast.length == 1 && ast[0] instanceof Attribute && !ast[0].value) {
- // Do not create empty messages
- return null;
- }
- const {
- meaning,
- description,
- id
- } = _parseMessageMeta(msgMeta);
- const message = this._createI18nMessage(ast, meaning, description, id);
- this._messages.push(message);
- return message;
- } // Translates the given message given the `TranslationBundle`
- // This is used for translating elements / blocks - see `_translateAttributes` for attributes
- // no-op when called in extraction mode (returns [])
- _translateMessage(el, message) {
- if (message && this._mode === _VisitorMode.Merge) {
- const nodes = this._translations.get(message);
- if (nodes) {
- return nodes;
- }
- this._reportError(el, `Translation unavailable for message id="${this._translations.digest(message)}"`);
- }
- return [];
- } // translate the attributes of an element and remove i18n specific attributes
- _translateAttributes(el) {
- const attributes = el.attrs;
- const i18nParsedMessageMeta = {};
- attributes.forEach(attr => {
- if (attr.name.startsWith(_I18N_ATTR_PREFIX)) {
- i18nParsedMessageMeta[attr.name.slice(_I18N_ATTR_PREFIX.length)] = _parseMessageMeta(attr.value);
- }
- });
- const translatedAttributes = [];
- attributes.forEach(attr => {
- if (attr.name === _I18N_ATTR || attr.name.startsWith(_I18N_ATTR_PREFIX)) {
- // strip i18n specific attributes
- return;
- }
- if (attr.value && attr.value != '' && i18nParsedMessageMeta.hasOwnProperty(attr.name)) {
- const {
- meaning,
- description,
- id
- } = i18nParsedMessageMeta[attr.name];
- const message = this._createI18nMessage([attr], meaning, description, id);
- const nodes = this._translations.get(message);
- if (nodes) {
- if (nodes.length == 0) {
- translatedAttributes.push(new Attribute(attr.name, '', attr.sourceSpan, undefined
- /* keySpan */
- , undefined
- /* valueSpan */
- , undefined
- /* valueTokens */
- , undefined
- /* i18n */
- ));
- } else if (nodes[0] instanceof Text) {
- const value = nodes[0].value;
- translatedAttributes.push(new Attribute(attr.name, value, attr.sourceSpan, undefined
- /* keySpan */
- , undefined
- /* valueSpan */
- , undefined
- /* valueTokens */
- , undefined
- /* i18n */
- ));
- } else {
- this._reportError(el, `Unexpected translation for attribute "${attr.name}" (id="${id || this._translations.digest(message)}")`);
- }
- } else {
- this._reportError(el, `Translation unavailable for attribute "${attr.name}" (id="${id || this._translations.digest(message)}")`);
- }
- } else {
- translatedAttributes.push(attr);
- }
- });
- return translatedAttributes;
- }
- /**
- * Add the node as a child of the block when:
- * - we are in a block,
- * - we are not inside a ICU message (those are handled separately),
- * - the node is a "direct child" of the block
- */
- _mayBeAddBlockChildren(node) {
- if (this._inI18nBlock && !this._inIcu && this._depth == this._blockStartDepth) {
- this._blockChildren.push(node);
- }
- }
- /**
- * Marks the start of a section, see `_closeTranslatableSection`
- */
- _openTranslatableSection(node) {
- if (this._isInTranslatableSection) {
- this._reportError(node, 'Unexpected section start');
- } else {
- this._msgCountAtSectionStart = this._messages.length;
- }
- }
- /**
- * A translatable section could be:
- * - the content of translatable element,
- * - nodes between `<!-- i18n -->` and `<!-- /i18n -->` comments
- */
- get _isInTranslatableSection() {
- return this._msgCountAtSectionStart !== void 0;
- }
- /**
- * Terminates a section.
- *
- * If a section has only one significant children (comments not significant) then we should not
- * keep the message from this children:
- *
- * `<p i18n="meaning|description">{ICU message}</p>` would produce two messages:
- * - one for the <p> content with meaning and description,
- * - another one for the ICU message.
- *
- * In this case the last message is discarded as it contains less information (the AST is
- * otherwise identical).
- *
- * Note that we should still keep messages extracted from attributes inside the section (ie in the
- * ICU message here)
- */
- _closeTranslatableSection(node, directChildren) {
- if (!this._isInTranslatableSection) {
- this._reportError(node, 'Unexpected section end');
- return;
- }
- const startIndex = this._msgCountAtSectionStart;
- const significantChildren = directChildren.reduce((count, node) => count + (node instanceof Comment ? 0 : 1), 0);
- if (significantChildren == 1) {
- for (let i = this._messages.length - 1; i >= startIndex; i--) {
- const ast = this._messages[i].nodes;
- if (!(ast.length == 1 && ast[0] instanceof Text$2)) {
- this._messages.splice(i, 1);
- break;
- }
- }
- }
- this._msgCountAtSectionStart = undefined;
- }
- _reportError(node, msg) {
- this._errors.push(new I18nError(node.sourceSpan, msg));
- }
- }
- function _isOpeningComment(n) {
- return !!(n instanceof Comment && n.value && n.value.startsWith('i18n'));
- }
- function _isClosingComment(n) {
- return !!(n instanceof Comment && n.value && n.value === '/i18n');
- }
- function _getI18nAttr(p) {
- return p.attrs.find(attr => attr.name === _I18N_ATTR) || null;
- }
- function _parseMessageMeta(i18n) {
- if (!i18n) return {
- meaning: '',
- description: '',
- id: ''
- };
- const idIndex = i18n.indexOf(ID_SEPARATOR);
- const descIndex = i18n.indexOf(MEANING_SEPARATOR);
- const [meaningAndDesc, id] = idIndex > -1 ? [i18n.slice(0, idIndex), i18n.slice(idIndex + 2)] : [i18n, ''];
- const [meaning, description] = descIndex > -1 ? [meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] : ['', meaningAndDesc];
- return {
- meaning,
- description,
- id: id.trim()
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class XmlTagDefinition {
- constructor() {
- this.closedByParent = false;
- this.isVoid = false;
- this.ignoreFirstLf = false;
- this.canSelfClose = true;
- this.preventNamespaceInheritance = false;
- }
- requireExtraParent(currentParent) {
- return false;
- }
- isClosedByChild(name) {
- return false;
- }
- getContentType() {
- return TagContentType.PARSABLE_DATA;
- }
- }
- const _TAG_DEFINITION = new XmlTagDefinition();
- function getXmlTagDefinition(tagName) {
- return _TAG_DEFINITION;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class XmlParser extends Parser {
- constructor() {
- super(getXmlTagDefinition);
- }
- parse(source, url, options) {
- return super.parse(source, url, options);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _VERSION$1 = '1.2';
- const _XMLNS$1 = 'urn:oasis:names:tc:xliff:document:1.2'; // TODO(vicb): make this a param (s/_/-/)
- const _DEFAULT_SOURCE_LANG$1 = 'en';
- const _PLACEHOLDER_TAG$2 = 'x';
- const _MARKER_TAG$1 = 'mrk';
- const _FILE_TAG = 'file';
- const _SOURCE_TAG$1 = 'source';
- const _SEGMENT_SOURCE_TAG = 'seg-source';
- const _ALT_TRANS_TAG = 'alt-trans';
- const _TARGET_TAG$1 = 'target';
- const _UNIT_TAG$1 = 'trans-unit';
- const _CONTEXT_GROUP_TAG = 'context-group';
- const _CONTEXT_TAG = 'context'; // https://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html
- // https://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html
- class Xliff extends Serializer {
- write(messages, locale) {
- const visitor = new _WriteVisitor$1();
- const transUnits = [];
- messages.forEach(message => {
- let contextTags = [];
- message.sources.forEach(source => {
- let contextGroupTag = new Tag(_CONTEXT_GROUP_TAG, {
- purpose: 'location'
- });
- contextGroupTag.children.push(new CR(10), new Tag(_CONTEXT_TAG, {
- 'context-type': 'sourcefile'
- }, [new Text$1(source.filePath)]), new CR(10), new Tag(_CONTEXT_TAG, {
- 'context-type': 'linenumber'
- }, [new Text$1(`${source.startLine}`)]), new CR(8));
- contextTags.push(new CR(8), contextGroupTag);
- });
- const transUnit = new Tag(_UNIT_TAG$1, {
- id: message.id,
- datatype: 'html'
- });
- transUnit.children.push(new CR(8), new Tag(_SOURCE_TAG$1, {}, visitor.serialize(message.nodes)), ...contextTags);
- if (message.description) {
- transUnit.children.push(new CR(8), new Tag('note', {
- priority: '1',
- from: 'description'
- }, [new Text$1(message.description)]));
- }
- if (message.meaning) {
- transUnit.children.push(new CR(8), new Tag('note', {
- priority: '1',
- from: 'meaning'
- }, [new Text$1(message.meaning)]));
- }
- transUnit.children.push(new CR(6));
- transUnits.push(new CR(6), transUnit);
- });
- const body = new Tag('body', {}, [...transUnits, new CR(4)]);
- const file = new Tag('file', {
- 'source-language': locale || _DEFAULT_SOURCE_LANG$1,
- datatype: 'plaintext',
- original: 'ng2.template'
- }, [new CR(4), body, new CR(2)]);
- const xliff = new Tag('xliff', {
- version: _VERSION$1,
- xmlns: _XMLNS$1
- }, [new CR(2), file, new CR()]);
- return serialize([new Declaration({
- version: '1.0',
- encoding: 'UTF-8'
- }), new CR(), xliff, new CR()]);
- }
- load(content, url) {
- // xliff to xml nodes
- const xliffParser = new XliffParser();
- const {
- locale,
- msgIdToHtml,
- errors
- } = xliffParser.parse(content, url); // xml nodes to i18n nodes
- const i18nNodesByMsgId = {};
- const converter = new XmlToI18n$2();
- Object.keys(msgIdToHtml).forEach(msgId => {
- const {
- i18nNodes,
- errors: e
- } = converter.convert(msgIdToHtml[msgId], url);
- errors.push(...e);
- i18nNodesByMsgId[msgId] = i18nNodes;
- });
- if (errors.length) {
- throw new Error(`xliff parse errors:\n${errors.join('\n')}`);
- }
- return {
- locale: locale,
- i18nNodesByMsgId
- };
- }
- digest(message) {
- return digest$1(message);
- }
- }
- class _WriteVisitor$1 {
- visitText(text, context) {
- return [new Text$1(text.value)];
- }
- visitContainer(container, context) {
- const nodes = [];
- container.children.forEach(node => nodes.push(...node.visit(this)));
- return nodes;
- }
- visitIcu(icu, context) {
- const nodes = [new Text$1(`{${icu.expressionPlaceholder}, ${icu.type}, `)];
- Object.keys(icu.cases).forEach(c => {
- nodes.push(new Text$1(`${c} {`), ...icu.cases[c].visit(this), new Text$1(`} `));
- });
- nodes.push(new Text$1(`}`));
- return nodes;
- }
- visitTagPlaceholder(ph, context) {
- const ctype = getCtypeForTag(ph.tag);
- if (ph.isVoid) {
- // void tags have no children nor closing tags
- return [new Tag(_PLACEHOLDER_TAG$2, {
- id: ph.startName,
- ctype,
- 'equiv-text': `<${ph.tag}/>`
- })];
- }
- const startTagPh = new Tag(_PLACEHOLDER_TAG$2, {
- id: ph.startName,
- ctype,
- 'equiv-text': `<${ph.tag}>`
- });
- const closeTagPh = new Tag(_PLACEHOLDER_TAG$2, {
- id: ph.closeName,
- ctype,
- 'equiv-text': `</${ph.tag}>`
- });
- return [startTagPh, ...this.serialize(ph.children), closeTagPh];
- }
- visitPlaceholder(ph, context) {
- return [new Tag(_PLACEHOLDER_TAG$2, {
- id: ph.name,
- 'equiv-text': `{{${ph.value}}}`
- })];
- }
- visitIcuPlaceholder(ph, context) {
- const equivText = `{${ph.value.expression}, ${ph.value.type}, ${Object.keys(ph.value.cases).map(value => value + ' {...}').join(' ')}}`;
- return [new Tag(_PLACEHOLDER_TAG$2, {
- id: ph.name,
- 'equiv-text': equivText
- })];
- }
- serialize(nodes) {
- return [].concat(...nodes.map(node => node.visit(this)));
- }
- } // TODO(vicb): add error management (structure)
- // Extract messages as xml nodes from the xliff file
- class XliffParser {
- constructor() {
- this._locale = null;
- }
- parse(xliff, url) {
- this._unitMlString = null;
- this._msgIdToHtml = {};
- const xml = new XmlParser().parse(xliff, url);
- this._errors = xml.errors;
- visitAll(this, xml.rootNodes, null);
- return {
- msgIdToHtml: this._msgIdToHtml,
- errors: this._errors,
- locale: this._locale
- };
- }
- visitElement(element, context) {
- switch (element.name) {
- case _UNIT_TAG$1:
- this._unitMlString = null;
- const idAttr = element.attrs.find(attr => attr.name === 'id');
- if (!idAttr) {
- this._addError(element, `<${_UNIT_TAG$1}> misses the "id" attribute`);
- } else {
- const id = idAttr.value;
- if (this._msgIdToHtml.hasOwnProperty(id)) {
- this._addError(element, `Duplicated translations for msg ${id}`);
- } else {
- visitAll(this, element.children, null);
- if (typeof this._unitMlString === 'string') {
- this._msgIdToHtml[id] = this._unitMlString;
- } else {
- this._addError(element, `Message ${id} misses a translation`);
- }
- }
- }
- break;
- // ignore those tags
- case _SOURCE_TAG$1:
- case _SEGMENT_SOURCE_TAG:
- case _ALT_TRANS_TAG:
- break;
- case _TARGET_TAG$1:
- const innerTextStart = element.startSourceSpan.end.offset;
- const innerTextEnd = element.endSourceSpan.start.offset;
- const content = element.startSourceSpan.start.file.content;
- const innerText = content.slice(innerTextStart, innerTextEnd);
- this._unitMlString = innerText;
- break;
- case _FILE_TAG:
- const localeAttr = element.attrs.find(attr => attr.name === 'target-language');
- if (localeAttr) {
- this._locale = localeAttr.value;
- }
- visitAll(this, element.children, null);
- break;
- default:
- // TODO(vicb): assert file structure, xliff version
- // For now only recurse on unhandled nodes
- visitAll(this, element.children, null);
- }
- }
- visitAttribute(attribute, context) {}
- visitText(text, context) {}
- visitComment(comment, context) {}
- visitExpansion(expansion, context) {}
- visitExpansionCase(expansionCase, context) {}
- _addError(node, message) {
- this._errors.push(new I18nError(node.sourceSpan, message));
- }
- } // Convert ml nodes (xliff syntax) to i18n nodes
- class XmlToI18n$2 {
- convert(message, url) {
- const xmlIcu = new XmlParser().parse(message, url, {
- tokenizeExpansionForms: true
- });
- this._errors = xmlIcu.errors;
- const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : [].concat(...visitAll(this, xmlIcu.rootNodes));
- return {
- i18nNodes: i18nNodes,
- errors: this._errors
- };
- }
- visitText(text, context) {
- return new Text$2(text.value, text.sourceSpan);
- }
- visitElement(el, context) {
- if (el.name === _PLACEHOLDER_TAG$2) {
- const nameAttr = el.attrs.find(attr => attr.name === 'id');
- if (nameAttr) {
- return new Placeholder('', nameAttr.value, el.sourceSpan);
- }
- this._addError(el, `<${_PLACEHOLDER_TAG$2}> misses the "id" attribute`);
- return null;
- }
- if (el.name === _MARKER_TAG$1) {
- return [].concat(...visitAll(this, el.children));
- }
- this._addError(el, `Unexpected tag`);
- return null;
- }
- visitExpansion(icu, context) {
- const caseMap = {};
- visitAll(this, icu.cases).forEach(c => {
- caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);
- });
- return new Icu(icu.switchValue, icu.type, caseMap, icu.sourceSpan);
- }
- visitExpansionCase(icuCase, context) {
- return {
- value: icuCase.value,
- nodes: visitAll(this, icuCase.expression)
- };
- }
- visitComment(comment, context) {}
- visitAttribute(attribute, context) {}
- _addError(node, message) {
- this._errors.push(new I18nError(node.sourceSpan, message));
- }
- }
- function getCtypeForTag(tag) {
- switch (tag.toLowerCase()) {
- case 'br':
- return 'lb';
- case 'img':
- return 'image';
- default:
- return `x-${tag}`;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _VERSION = '2.0';
- const _XMLNS = 'urn:oasis:names:tc:xliff:document:2.0'; // TODO(vicb): make this a param (s/_/-/)
- const _DEFAULT_SOURCE_LANG = 'en';
- const _PLACEHOLDER_TAG$1 = 'ph';
- const _PLACEHOLDER_SPANNING_TAG = 'pc';
- const _MARKER_TAG = 'mrk';
- const _XLIFF_TAG = 'xliff';
- const _SOURCE_TAG = 'source';
- const _TARGET_TAG = 'target';
- const _UNIT_TAG = 'unit'; // https://docs.oasis-open.org/xliff/xliff-core/v2.0/os/xliff-core-v2.0-os.html
- class Xliff2 extends Serializer {
- write(messages, locale) {
- const visitor = new _WriteVisitor();
- const units = [];
- messages.forEach(message => {
- const unit = new Tag(_UNIT_TAG, {
- id: message.id
- });
- const notes = new Tag('notes');
- if (message.description || message.meaning) {
- if (message.description) {
- notes.children.push(new CR(8), new Tag('note', {
- category: 'description'
- }, [new Text$1(message.description)]));
- }
- if (message.meaning) {
- notes.children.push(new CR(8), new Tag('note', {
- category: 'meaning'
- }, [new Text$1(message.meaning)]));
- }
- }
- message.sources.forEach(source => {
- notes.children.push(new CR(8), new Tag('note', {
- category: 'location'
- }, [new Text$1(`${source.filePath}:${source.startLine}${source.endLine !== source.startLine ? ',' + source.endLine : ''}`)]));
- });
- notes.children.push(new CR(6));
- unit.children.push(new CR(6), notes);
- const segment = new Tag('segment');
- segment.children.push(new CR(8), new Tag(_SOURCE_TAG, {}, visitor.serialize(message.nodes)), new CR(6));
- unit.children.push(new CR(6), segment, new CR(4));
- units.push(new CR(4), unit);
- });
- const file = new Tag('file', {
- 'original': 'ng.template',
- id: 'ngi18n'
- }, [...units, new CR(2)]);
- const xliff = new Tag(_XLIFF_TAG, {
- version: _VERSION,
- xmlns: _XMLNS,
- srcLang: locale || _DEFAULT_SOURCE_LANG
- }, [new CR(2), file, new CR()]);
- return serialize([new Declaration({
- version: '1.0',
- encoding: 'UTF-8'
- }), new CR(), xliff, new CR()]);
- }
- load(content, url) {
- // xliff to xml nodes
- const xliff2Parser = new Xliff2Parser();
- const {
- locale,
- msgIdToHtml,
- errors
- } = xliff2Parser.parse(content, url); // xml nodes to i18n nodes
- const i18nNodesByMsgId = {};
- const converter = new XmlToI18n$1();
- Object.keys(msgIdToHtml).forEach(msgId => {
- const {
- i18nNodes,
- errors: e
- } = converter.convert(msgIdToHtml[msgId], url);
- errors.push(...e);
- i18nNodesByMsgId[msgId] = i18nNodes;
- });
- if (errors.length) {
- throw new Error(`xliff2 parse errors:\n${errors.join('\n')}`);
- }
- return {
- locale: locale,
- i18nNodesByMsgId
- };
- }
- digest(message) {
- return decimalDigest(message);
- }
- }
- class _WriteVisitor {
- visitText(text, context) {
- return [new Text$1(text.value)];
- }
- visitContainer(container, context) {
- const nodes = [];
- container.children.forEach(node => nodes.push(...node.visit(this)));
- return nodes;
- }
- visitIcu(icu, context) {
- const nodes = [new Text$1(`{${icu.expressionPlaceholder}, ${icu.type}, `)];
- Object.keys(icu.cases).forEach(c => {
- nodes.push(new Text$1(`${c} {`), ...icu.cases[c].visit(this), new Text$1(`} `));
- });
- nodes.push(new Text$1(`}`));
- return nodes;
- }
- visitTagPlaceholder(ph, context) {
- const type = getTypeForTag(ph.tag);
- if (ph.isVoid) {
- const tagPh = new Tag(_PLACEHOLDER_TAG$1, {
- id: (this._nextPlaceholderId++).toString(),
- equiv: ph.startName,
- type: type,
- disp: `<${ph.tag}/>`
- });
- return [tagPh];
- }
- const tagPc = new Tag(_PLACEHOLDER_SPANNING_TAG, {
- id: (this._nextPlaceholderId++).toString(),
- equivStart: ph.startName,
- equivEnd: ph.closeName,
- type: type,
- dispStart: `<${ph.tag}>`,
- dispEnd: `</${ph.tag}>`
- });
- const nodes = [].concat(...ph.children.map(node => node.visit(this)));
- if (nodes.length) {
- nodes.forEach(node => tagPc.children.push(node));
- } else {
- tagPc.children.push(new Text$1(''));
- }
- return [tagPc];
- }
- visitPlaceholder(ph, context) {
- const idStr = (this._nextPlaceholderId++).toString();
- return [new Tag(_PLACEHOLDER_TAG$1, {
- id: idStr,
- equiv: ph.name,
- disp: `{{${ph.value}}}`
- })];
- }
- visitIcuPlaceholder(ph, context) {
- const cases = Object.keys(ph.value.cases).map(value => value + ' {...}').join(' ');
- const idStr = (this._nextPlaceholderId++).toString();
- return [new Tag(_PLACEHOLDER_TAG$1, {
- id: idStr,
- equiv: ph.name,
- disp: `{${ph.value.expression}, ${ph.value.type}, ${cases}}`
- })];
- }
- serialize(nodes) {
- this._nextPlaceholderId = 0;
- return [].concat(...nodes.map(node => node.visit(this)));
- }
- } // Extract messages as xml nodes from the xliff file
- class Xliff2Parser {
- constructor() {
- this._locale = null;
- }
- parse(xliff, url) {
- this._unitMlString = null;
- this._msgIdToHtml = {};
- const xml = new XmlParser().parse(xliff, url);
- this._errors = xml.errors;
- visitAll(this, xml.rootNodes, null);
- return {
- msgIdToHtml: this._msgIdToHtml,
- errors: this._errors,
- locale: this._locale
- };
- }
- visitElement(element, context) {
- switch (element.name) {
- case _UNIT_TAG:
- this._unitMlString = null;
- const idAttr = element.attrs.find(attr => attr.name === 'id');
- if (!idAttr) {
- this._addError(element, `<${_UNIT_TAG}> misses the "id" attribute`);
- } else {
- const id = idAttr.value;
- if (this._msgIdToHtml.hasOwnProperty(id)) {
- this._addError(element, `Duplicated translations for msg ${id}`);
- } else {
- visitAll(this, element.children, null);
- if (typeof this._unitMlString === 'string') {
- this._msgIdToHtml[id] = this._unitMlString;
- } else {
- this._addError(element, `Message ${id} misses a translation`);
- }
- }
- }
- break;
- case _SOURCE_TAG:
- // ignore source message
- break;
- case _TARGET_TAG:
- const innerTextStart = element.startSourceSpan.end.offset;
- const innerTextEnd = element.endSourceSpan.start.offset;
- const content = element.startSourceSpan.start.file.content;
- const innerText = content.slice(innerTextStart, innerTextEnd);
- this._unitMlString = innerText;
- break;
- case _XLIFF_TAG:
- const localeAttr = element.attrs.find(attr => attr.name === 'trgLang');
- if (localeAttr) {
- this._locale = localeAttr.value;
- }
- const versionAttr = element.attrs.find(attr => attr.name === 'version');
- if (versionAttr) {
- const version = versionAttr.value;
- if (version !== '2.0') {
- this._addError(element, `The XLIFF file version ${version} is not compatible with XLIFF 2.0 serializer`);
- } else {
- visitAll(this, element.children, null);
- }
- }
- break;
- default:
- visitAll(this, element.children, null);
- }
- }
- visitAttribute(attribute, context) {}
- visitText(text, context) {}
- visitComment(comment, context) {}
- visitExpansion(expansion, context) {}
- visitExpansionCase(expansionCase, context) {}
- _addError(node, message) {
- this._errors.push(new I18nError(node.sourceSpan, message));
- }
- } // Convert ml nodes (xliff syntax) to i18n nodes
- class XmlToI18n$1 {
- convert(message, url) {
- const xmlIcu = new XmlParser().parse(message, url, {
- tokenizeExpansionForms: true
- });
- this._errors = xmlIcu.errors;
- const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : [].concat(...visitAll(this, xmlIcu.rootNodes));
- return {
- i18nNodes,
- errors: this._errors
- };
- }
- visitText(text, context) {
- return new Text$2(text.value, text.sourceSpan);
- }
- visitElement(el, context) {
- switch (el.name) {
- case _PLACEHOLDER_TAG$1:
- const nameAttr = el.attrs.find(attr => attr.name === 'equiv');
- if (nameAttr) {
- return [new Placeholder('', nameAttr.value, el.sourceSpan)];
- }
- this._addError(el, `<${_PLACEHOLDER_TAG$1}> misses the "equiv" attribute`);
- break;
- case _PLACEHOLDER_SPANNING_TAG:
- const startAttr = el.attrs.find(attr => attr.name === 'equivStart');
- const endAttr = el.attrs.find(attr => attr.name === 'equivEnd');
- if (!startAttr) {
- this._addError(el, `<${_PLACEHOLDER_TAG$1}> misses the "equivStart" attribute`);
- } else if (!endAttr) {
- this._addError(el, `<${_PLACEHOLDER_TAG$1}> misses the "equivEnd" attribute`);
- } else {
- const startId = startAttr.value;
- const endId = endAttr.value;
- const nodes = [];
- return nodes.concat(new Placeholder('', startId, el.sourceSpan), ...el.children.map(node => node.visit(this, null)), new Placeholder('', endId, el.sourceSpan));
- }
- break;
- case _MARKER_TAG:
- return [].concat(...visitAll(this, el.children));
- default:
- this._addError(el, `Unexpected tag`);
- }
- return null;
- }
- visitExpansion(icu, context) {
- const caseMap = {};
- visitAll(this, icu.cases).forEach(c => {
- caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);
- });
- return new Icu(icu.switchValue, icu.type, caseMap, icu.sourceSpan);
- }
- visitExpansionCase(icuCase, context) {
- return {
- value: icuCase.value,
- nodes: [].concat(...visitAll(this, icuCase.expression))
- };
- }
- visitComment(comment, context) {}
- visitAttribute(attribute, context) {}
- _addError(node, message) {
- this._errors.push(new I18nError(node.sourceSpan, message));
- }
- }
- function getTypeForTag(tag) {
- switch (tag.toLowerCase()) {
- case 'br':
- case 'b':
- case 'i':
- case 'u':
- return 'fmt';
- case 'img':
- return 'image';
- case 'a':
- return 'link';
- default:
- return 'other';
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _TRANSLATIONS_TAG = 'translationbundle';
- const _TRANSLATION_TAG = 'translation';
- const _PLACEHOLDER_TAG = 'ph';
- class Xtb extends Serializer {
- write(messages, locale) {
- throw new Error('Unsupported');
- }
- load(content, url) {
- // xtb to xml nodes
- const xtbParser = new XtbParser();
- const {
- locale,
- msgIdToHtml,
- errors
- } = xtbParser.parse(content, url); // xml nodes to i18n nodes
- const i18nNodesByMsgId = {};
- const converter = new XmlToI18n(); // Because we should be able to load xtb files that rely on features not supported by angular,
- // we need to delay the conversion of html to i18n nodes so that non angular messages are not
- // converted
- Object.keys(msgIdToHtml).forEach(msgId => {
- const valueFn = function () {
- const {
- i18nNodes,
- errors
- } = converter.convert(msgIdToHtml[msgId], url);
- if (errors.length) {
- throw new Error(`xtb parse errors:\n${errors.join('\n')}`);
- }
- return i18nNodes;
- };
- createLazyProperty(i18nNodesByMsgId, msgId, valueFn);
- });
- if (errors.length) {
- throw new Error(`xtb parse errors:\n${errors.join('\n')}`);
- }
- return {
- locale: locale,
- i18nNodesByMsgId
- };
- }
- digest(message) {
- return digest(message);
- }
- createNameMapper(message) {
- return new SimplePlaceholderMapper(message, toPublicName);
- }
- }
- function createLazyProperty(messages, id, valueFn) {
- Object.defineProperty(messages, id, {
- configurable: true,
- enumerable: true,
- get: function () {
- const value = valueFn();
- Object.defineProperty(messages, id, {
- enumerable: true,
- value
- });
- return value;
- },
- set: _ => {
- throw new Error('Could not overwrite an XTB translation');
- }
- });
- } // Extract messages as xml nodes from the xtb file
- class XtbParser {
- constructor() {
- this._locale = null;
- }
- parse(xtb, url) {
- this._bundleDepth = 0;
- this._msgIdToHtml = {}; // We can not parse the ICU messages at this point as some messages might not originate
- // from Angular that could not be lex'd.
- const xml = new XmlParser().parse(xtb, url);
- this._errors = xml.errors;
- visitAll(this, xml.rootNodes);
- return {
- msgIdToHtml: this._msgIdToHtml,
- errors: this._errors,
- locale: this._locale
- };
- }
- visitElement(element, context) {
- switch (element.name) {
- case _TRANSLATIONS_TAG:
- this._bundleDepth++;
- if (this._bundleDepth > 1) {
- this._addError(element, `<${_TRANSLATIONS_TAG}> elements can not be nested`);
- }
- const langAttr = element.attrs.find(attr => attr.name === 'lang');
- if (langAttr) {
- this._locale = langAttr.value;
- }
- visitAll(this, element.children, null);
- this._bundleDepth--;
- break;
- case _TRANSLATION_TAG:
- const idAttr = element.attrs.find(attr => attr.name === 'id');
- if (!idAttr) {
- this._addError(element, `<${_TRANSLATION_TAG}> misses the "id" attribute`);
- } else {
- const id = idAttr.value;
- if (this._msgIdToHtml.hasOwnProperty(id)) {
- this._addError(element, `Duplicated translations for msg ${id}`);
- } else {
- const innerTextStart = element.startSourceSpan.end.offset;
- const innerTextEnd = element.endSourceSpan.start.offset;
- const content = element.startSourceSpan.start.file.content;
- const innerText = content.slice(innerTextStart, innerTextEnd);
- this._msgIdToHtml[id] = innerText;
- }
- }
- break;
- default:
- this._addError(element, 'Unexpected tag');
- }
- }
- visitAttribute(attribute, context) {}
- visitText(text, context) {}
- visitComment(comment, context) {}
- visitExpansion(expansion, context) {}
- visitExpansionCase(expansionCase, context) {}
- _addError(node, message) {
- this._errors.push(new I18nError(node.sourceSpan, message));
- }
- } // Convert ml nodes (xtb syntax) to i18n nodes
- class XmlToI18n {
- convert(message, url) {
- const xmlIcu = new XmlParser().parse(message, url, {
- tokenizeExpansionForms: true
- });
- this._errors = xmlIcu.errors;
- const i18nNodes = this._errors.length > 0 || xmlIcu.rootNodes.length == 0 ? [] : visitAll(this, xmlIcu.rootNodes);
- return {
- i18nNodes,
- errors: this._errors
- };
- }
- visitText(text, context) {
- return new Text$2(text.value, text.sourceSpan);
- }
- visitExpansion(icu, context) {
- const caseMap = {};
- visitAll(this, icu.cases).forEach(c => {
- caseMap[c.value] = new Container(c.nodes, icu.sourceSpan);
- });
- return new Icu(icu.switchValue, icu.type, caseMap, icu.sourceSpan);
- }
- visitExpansionCase(icuCase, context) {
- return {
- value: icuCase.value,
- nodes: visitAll(this, icuCase.expression)
- };
- }
- visitElement(el, context) {
- if (el.name === _PLACEHOLDER_TAG) {
- const nameAttr = el.attrs.find(attr => attr.name === 'name');
- if (nameAttr) {
- return new Placeholder('', nameAttr.value, el.sourceSpan);
- }
- this._addError(el, `<${_PLACEHOLDER_TAG}> misses the "name" attribute`);
- } else {
- this._addError(el, `Unexpected tag`);
- }
- return null;
- }
- visitComment(comment, context) {}
- visitAttribute(attribute, context) {}
- _addError(node, message) {
- this._errors.push(new I18nError(node.sourceSpan, message));
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A container for translated messages
- */
- class TranslationBundle {
- constructor(_i18nNodesByMsgId = {}, locale, digest, mapperFactory, missingTranslationStrategy = MissingTranslationStrategy.Warning, console) {
- this._i18nNodesByMsgId = _i18nNodesByMsgId;
- this.digest = digest;
- this.mapperFactory = mapperFactory;
- this._i18nToHtml = new I18nToHtmlVisitor(_i18nNodesByMsgId, locale, digest, mapperFactory, missingTranslationStrategy, console);
- } // Creates a `TranslationBundle` by parsing the given `content` with the `serializer`.
- static load(content, url, serializer, missingTranslationStrategy, console) {
- const {
- locale,
- i18nNodesByMsgId
- } = serializer.load(content, url);
- const digestFn = m => serializer.digest(m);
- const mapperFactory = m => serializer.createNameMapper(m);
- return new TranslationBundle(i18nNodesByMsgId, locale, digestFn, mapperFactory, missingTranslationStrategy, console);
- } // Returns the translation as HTML nodes from the given source message.
- get(srcMsg) {
- const html = this._i18nToHtml.convert(srcMsg);
- if (html.errors.length) {
- throw new Error(html.errors.join('\n'));
- }
- return html.nodes;
- }
- has(srcMsg) {
- return this.digest(srcMsg) in this._i18nNodesByMsgId;
- }
- }
- class I18nToHtmlVisitor {
- constructor(_i18nNodesByMsgId = {}, _locale, _digest, _mapperFactory, _missingTranslationStrategy, _console) {
- this._i18nNodesByMsgId = _i18nNodesByMsgId;
- this._locale = _locale;
- this._digest = _digest;
- this._mapperFactory = _mapperFactory;
- this._missingTranslationStrategy = _missingTranslationStrategy;
- this._console = _console;
- this._contextStack = [];
- this._errors = [];
- }
- convert(srcMsg) {
- this._contextStack.length = 0;
- this._errors.length = 0; // i18n to text
- const text = this._convertToText(srcMsg); // text to html
- const url = srcMsg.nodes[0].sourceSpan.start.file.url;
- const html = new HtmlParser().parse(text, url, {
- tokenizeExpansionForms: true
- });
- return {
- nodes: html.rootNodes,
- errors: [...this._errors, ...html.errors]
- };
- }
- visitText(text, context) {
- // `convert()` uses an `HtmlParser` to return `html.Node`s
- // we should then make sure that any special characters are escaped
- return escapeXml(text.value);
- }
- visitContainer(container, context) {
- return container.children.map(n => n.visit(this)).join('');
- }
- visitIcu(icu, context) {
- const cases = Object.keys(icu.cases).map(k => `${k} {${icu.cases[k].visit(this)}}`); // TODO(vicb): Once all format switch to using expression placeholders
- // we should throw when the placeholder is not in the source message
- const exp = this._srcMsg.placeholders.hasOwnProperty(icu.expression) ? this._srcMsg.placeholders[icu.expression].text : icu.expression;
- return `{${exp}, ${icu.type}, ${cases.join(' ')}}`;
- }
- visitPlaceholder(ph, context) {
- const phName = this._mapper(ph.name);
- if (this._srcMsg.placeholders.hasOwnProperty(phName)) {
- return this._srcMsg.placeholders[phName].text;
- }
- if (this._srcMsg.placeholderToMessage.hasOwnProperty(phName)) {
- return this._convertToText(this._srcMsg.placeholderToMessage[phName]);
- }
- this._addError(ph, `Unknown placeholder "${ph.name}"`);
- return '';
- } // Loaded message contains only placeholders (vs tag and icu placeholders).
- // However when a translation can not be found, we need to serialize the source message
- // which can contain tag placeholders
- visitTagPlaceholder(ph, context) {
- const tag = `${ph.tag}`;
- const attrs = Object.keys(ph.attrs).map(name => `${name}="${ph.attrs[name]}"`).join(' ');
- if (ph.isVoid) {
- return `<${tag} ${attrs}/>`;
- }
- const children = ph.children.map(c => c.visit(this)).join('');
- return `<${tag} ${attrs}>${children}</${tag}>`;
- } // Loaded message contains only placeholders (vs tag and icu placeholders).
- // However when a translation can not be found, we need to serialize the source message
- // which can contain tag placeholders
- visitIcuPlaceholder(ph, context) {
- // An ICU placeholder references the source message to be serialized
- return this._convertToText(this._srcMsg.placeholderToMessage[ph.name]);
- }
- /**
- * Convert a source message to a translated text string:
- * - text nodes are replaced with their translation,
- * - placeholders are replaced with their content,
- * - ICU nodes are converted to ICU expressions.
- */
- _convertToText(srcMsg) {
- const id = this._digest(srcMsg);
- const mapper = this._mapperFactory ? this._mapperFactory(srcMsg) : null;
- let nodes;
- this._contextStack.push({
- msg: this._srcMsg,
- mapper: this._mapper
- });
- this._srcMsg = srcMsg;
- if (this._i18nNodesByMsgId.hasOwnProperty(id)) {
- // When there is a translation use its nodes as the source
- // And create a mapper to convert serialized placeholder names to internal names
- nodes = this._i18nNodesByMsgId[id];
- this._mapper = name => mapper ? mapper.toInternalName(name) : name;
- } else {
- // When no translation has been found
- // - report an error / a warning / nothing,
- // - use the nodes from the original message
- // - placeholders are already internal and need no mapper
- if (this._missingTranslationStrategy === MissingTranslationStrategy.Error) {
- const ctx = this._locale ? ` for locale "${this._locale}"` : '';
- this._addError(srcMsg.nodes[0], `Missing translation for message "${id}"${ctx}`);
- } else if (this._console && this._missingTranslationStrategy === MissingTranslationStrategy.Warning) {
- const ctx = this._locale ? ` for locale "${this._locale}"` : '';
- this._console.warn(`Missing translation for message "${id}"${ctx}`);
- }
- nodes = srcMsg.nodes;
- this._mapper = name => name;
- }
- const text = nodes.map(node => node.visit(this)).join('');
- const context = this._contextStack.pop();
- this._srcMsg = context.msg;
- this._mapper = context.mapper;
- return text;
- }
- _addError(el, msg) {
- this._errors.push(new I18nError(el.sourceSpan, msg));
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class I18NHtmlParser {
- constructor(_htmlParser, translations, translationsFormat, missingTranslation = MissingTranslationStrategy.Warning, console) {
- this._htmlParser = _htmlParser;
- if (translations) {
- const serializer = createSerializer(translationsFormat);
- this._translationBundle = TranslationBundle.load(translations, 'i18n', serializer, missingTranslation, console);
- } else {
- this._translationBundle = new TranslationBundle({}, null, digest$1, undefined, missingTranslation, console);
- }
- }
- parse(source, url, options = {}) {
- const interpolationConfig = options.interpolationConfig || DEFAULT_INTERPOLATION_CONFIG;
- const parseResult = this._htmlParser.parse(source, url, Object.assign({
- interpolationConfig
- }, options));
- if (parseResult.errors.length) {
- return new ParseTreeResult(parseResult.rootNodes, parseResult.errors);
- }
- return mergeTranslations(parseResult.rootNodes, this._translationBundle, interpolationConfig, [], {});
- }
- }
- function createSerializer(format) {
- format = (format || 'xlf').toLowerCase();
- switch (format) {
- case 'xmb':
- return new Xmb();
- case 'xtb':
- return new Xtb();
- case 'xliff2':
- case 'xlf2':
- return new Xliff2();
- case 'xliff':
- case 'xlf':
- default:
- return new Xliff();
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A container for message extracted from the templates.
- */
- class MessageBundle {
- constructor(_htmlParser, _implicitTags, _implicitAttrs, _locale = null) {
- this._htmlParser = _htmlParser;
- this._implicitTags = _implicitTags;
- this._implicitAttrs = _implicitAttrs;
- this._locale = _locale;
- this._messages = [];
- }
- updateFromTemplate(html, url, interpolationConfig) {
- const htmlParserResult = this._htmlParser.parse(html, url, {
- tokenizeExpansionForms: true,
- interpolationConfig
- });
- if (htmlParserResult.errors.length) {
- return htmlParserResult.errors;
- }
- const i18nParserResult = extractMessages(htmlParserResult.rootNodes, interpolationConfig, this._implicitTags, this._implicitAttrs);
- if (i18nParserResult.errors.length) {
- return i18nParserResult.errors;
- }
- this._messages.push(...i18nParserResult.messages);
- return [];
- } // Return the message in the internal format
- // The public (serialized) format might be different, see the `write` method.
- getMessages() {
- return this._messages;
- }
- write(serializer, filterSources) {
- const messages = {};
- const mapperVisitor = new MapPlaceholderNames(); // Deduplicate messages based on their ID
- this._messages.forEach(message => {
- const id = serializer.digest(message);
- if (!messages.hasOwnProperty(id)) {
- messages[id] = message;
- } else {
- messages[id].sources.push(...message.sources);
- }
- }); // Transform placeholder names using the serializer mapping
- const msgList = Object.keys(messages).map(id => {
- const mapper = serializer.createNameMapper(messages[id]);
- const src = messages[id];
- const nodes = mapper ? mapperVisitor.convert(src.nodes, mapper) : src.nodes;
- let transformedMessage = new Message(nodes, {}, {}, src.meaning, src.description, id);
- transformedMessage.sources = src.sources;
- if (filterSources) {
- transformedMessage.sources.forEach(source => source.filePath = filterSources(source.filePath));
- }
- return transformedMessage;
- });
- return serializer.write(msgList, this._locale);
- }
- } // Transform an i18n AST by renaming the placeholder nodes with the given mapper
- class MapPlaceholderNames extends CloneVisitor {
- convert(nodes, mapper) {
- return mapper ? nodes.map(n => n.visit(this, mapper)) : nodes;
- }
- visitTagPlaceholder(ph, mapper) {
- const startName = mapper.toPublicName(ph.startName);
- const closeName = ph.closeName ? mapper.toPublicName(ph.closeName) : ph.closeName;
- const children = ph.children.map(n => n.visit(this, mapper));
- return new TagPlaceholder(ph.tag, ph.attrs, startName, closeName, children, ph.isVoid, ph.sourceSpan, ph.startSourceSpan, ph.endSourceSpan);
- }
- visitPlaceholder(ph, mapper) {
- return new Placeholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);
- }
- visitIcuPlaceholder(ph, mapper) {
- return new IcuPlaceholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- var FactoryTarget;
- (function (FactoryTarget) {
- FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
- FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
- FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
- FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
- FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
- })(FactoryTarget || (FactoryTarget = {}));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Processes `Target`s with a given set of directives and performs a binding operation, which
- * returns an object similar to TypeScript's `ts.TypeChecker` that contains knowledge about the
- * target.
- */
- class R3TargetBinder {
- constructor(directiveMatcher) {
- this.directiveMatcher = directiveMatcher;
- }
- /**
- * Perform a binding operation on the given `Target` and return a `BoundTarget` which contains
- * metadata about the types referenced in the template.
- */
- bind(target) {
- if (!target.template) {
- // TODO(alxhub): handle targets which contain things like HostBindings, etc.
- throw new Error('Binding without a template not yet supported');
- } // First, parse the template into a `Scope` structure. This operation captures the syntactic
- // scopes in the template and makes them available for later use.
- const scope = Scope.apply(target.template); // Use the `Scope` to extract the entities present at every level of the template.
- const templateEntities = extractTemplateEntities(scope); // Next, perform directive matching on the template using the `DirectiveBinder`. This returns:
- // - directives: Map of nodes (elements & ng-templates) to the directives on them.
- // - bindings: Map of inputs, outputs, and attributes to the directive/element that claims
- // them. TODO(alxhub): handle multiple directives claiming an input/output/etc.
- // - references: Map of #references to their targets.
- const {
- directives,
- bindings,
- references
- } = DirectiveBinder.apply(target.template, this.directiveMatcher); // Finally, run the TemplateBinder to bind references, variables, and other entities within the
- // template. This extracts all the metadata that doesn't depend on directive matching.
- const {
- expressions,
- symbols,
- nestingLevel,
- usedPipes
- } = TemplateBinder.applyWithScope(target.template, scope);
- return new R3BoundTarget(target, directives, bindings, references, expressions, symbols, nestingLevel, templateEntities, usedPipes);
- }
- }
- /**
- * Represents a binding scope within a template.
- *
- * Any variables, references, or other named entities declared within the template will
- * be captured and available by name in `namedEntities`. Additionally, child templates will
- * be analyzed and have their child `Scope`s available in `childScopes`.
- */
- class Scope {
- constructor(parentScope, template) {
- this.parentScope = parentScope;
- this.template = template;
- /**
- * Named members of the `Scope`, such as `Reference`s or `Variable`s.
- */
- this.namedEntities = new Map();
- /**
- * Child `Scope`s for immediately nested `Template`s.
- */
- this.childScopes = new Map();
- }
- static newRootScope() {
- return new Scope(null, null);
- }
- /**
- * Process a template (either as a `Template` sub-template with variables, or a plain array of
- * template `Node`s) and construct its `Scope`.
- */
- static apply(template) {
- const scope = Scope.newRootScope();
- scope.ingest(template);
- return scope;
- }
- /**
- * Internal method to process the template and populate the `Scope`.
- */
- ingest(template) {
- if (template instanceof Template) {
- // Variables on an <ng-template> are defined in the inner scope.
- template.variables.forEach(node => this.visitVariable(node)); // Process the nodes of the template.
- template.children.forEach(node => node.visit(this));
- } else {
- // No overarching `Template` instance, so process the nodes directly.
- template.forEach(node => node.visit(this));
- }
- }
- visitElement(element) {
- // `Element`s in the template may have `Reference`s which are captured in the scope.
- element.references.forEach(node => this.visitReference(node)); // Recurse into the `Element`'s children.
- element.children.forEach(node => node.visit(this));
- }
- visitTemplate(template) {
- // References on a <ng-template> are defined in the outer scope, so capture them before
- // processing the template's child scope.
- template.references.forEach(node => this.visitReference(node)); // Next, create an inner scope and process the template within it.
- const scope = new Scope(this, template);
- scope.ingest(template);
- this.childScopes.set(template, scope);
- }
- visitVariable(variable) {
- // Declare the variable if it's not already.
- this.maybeDeclare(variable);
- }
- visitReference(reference) {
- // Declare the variable if it's not already.
- this.maybeDeclare(reference);
- } // Unused visitors.
- visitContent(content) {}
- visitBoundAttribute(attr) {}
- visitBoundEvent(event) {}
- visitBoundText(text) {}
- visitText(text) {}
- visitTextAttribute(attr) {}
- visitIcu(icu) {}
- maybeDeclare(thing) {
- // Declare something with a name, as long as that name isn't taken.
- if (!this.namedEntities.has(thing.name)) {
- this.namedEntities.set(thing.name, thing);
- }
- }
- /**
- * Look up a variable within this `Scope`.
- *
- * This can recurse into a parent `Scope` if it's available.
- */
- lookup(name) {
- if (this.namedEntities.has(name)) {
- // Found in the local scope.
- return this.namedEntities.get(name);
- } else if (this.parentScope !== null) {
- // Not in the local scope, but there's a parent scope so check there.
- return this.parentScope.lookup(name);
- } else {
- // At the top level and it wasn't found.
- return null;
- }
- }
- /**
- * Get the child scope for a `Template`.
- *
- * This should always be defined.
- */
- getChildScope(template) {
- const res = this.childScopes.get(template);
- if (res === undefined) {
- throw new Error(`Assertion error: child scope for ${template} not found`);
- }
- return res;
- }
- }
- /**
- * Processes a template and matches directives on nodes (elements and templates).
- *
- * Usually used via the static `apply()` method.
- */
- class DirectiveBinder {
- constructor(matcher, directives, bindings, references) {
- this.matcher = matcher;
- this.directives = directives;
- this.bindings = bindings;
- this.references = references;
- }
- /**
- * Process a template (list of `Node`s) and perform directive matching against each node.
- *
- * @param template the list of template `Node`s to match (recursively).
- * @param selectorMatcher a `SelectorMatcher` containing the directives that are in scope for
- * this template.
- * @returns three maps which contain information about directives in the template: the
- * `directives` map which lists directives matched on each node, the `bindings` map which
- * indicates which directives claimed which bindings (inputs, outputs, etc), and the `references`
- * map which resolves #references (`Reference`s) within the template to the named directive or
- * template node.
- */
- static apply(template, selectorMatcher) {
- const directives = new Map();
- const bindings = new Map();
- const references = new Map();
- const matcher = new DirectiveBinder(selectorMatcher, directives, bindings, references);
- matcher.ingest(template);
- return {
- directives,
- bindings,
- references
- };
- }
- ingest(template) {
- template.forEach(node => node.visit(this));
- }
- visitElement(element) {
- this.visitElementOrTemplate(element.name, element);
- }
- visitTemplate(template) {
- this.visitElementOrTemplate('ng-template', template);
- }
- visitElementOrTemplate(elementName, node) {
- // First, determine the HTML shape of the node for the purpose of directive matching.
- // Do this by building up a `CssSelector` for the node.
- const cssSelector = createCssSelector(elementName, getAttrsForDirectiveMatching(node)); // Next, use the `SelectorMatcher` to get the list of directives on the node.
- const directives = [];
- this.matcher.match(cssSelector, (_, directive) => directives.push(directive));
- if (directives.length > 0) {
- this.directives.set(node, directives);
- } // Resolve any references that are created on this node.
- node.references.forEach(ref => {
- let dirTarget = null; // If the reference expression is empty, then it matches the "primary" directive on the node
- // (if there is one). Otherwise it matches the host node itself (either an element or
- // <ng-template> node).
- if (ref.value.trim() === '') {
- // This could be a reference to a component if there is one.
- dirTarget = directives.find(dir => dir.isComponent) || null;
- } else {
- // This should be a reference to a directive exported via exportAs.
- dirTarget = directives.find(dir => dir.exportAs !== null && dir.exportAs.some(value => value === ref.value)) || null; // Check if a matching directive was found.
- if (dirTarget === null) {
- // No matching directive was found - this reference points to an unknown target. Leave it
- // unmapped.
- return;
- }
- }
- if (dirTarget !== null) {
- // This reference points to a directive.
- this.references.set(ref, {
- directive: dirTarget,
- node
- });
- } else {
- // This reference points to the node itself.
- this.references.set(ref, node);
- }
- });
- const setAttributeBinding = (attribute, ioType) => {
- const dir = directives.find(dir => dir[ioType].hasBindingPropertyName(attribute.name));
- const binding = dir !== undefined ? dir : node;
- this.bindings.set(attribute, binding);
- }; // Node inputs (bound attributes) and text attributes can be bound to an
- // input on a directive.
- node.inputs.forEach(input => setAttributeBinding(input, 'inputs'));
- node.attributes.forEach(attr => setAttributeBinding(attr, 'inputs'));
- if (node instanceof Template) {
- node.templateAttrs.forEach(attr => setAttributeBinding(attr, 'inputs'));
- } // Node outputs (bound events) can be bound to an output on a directive.
- node.outputs.forEach(output => setAttributeBinding(output, 'outputs')); // Recurse into the node's children.
- node.children.forEach(child => child.visit(this));
- } // Unused visitors.
- visitContent(content) {}
- visitVariable(variable) {}
- visitReference(reference) {}
- visitTextAttribute(attribute) {}
- visitBoundAttribute(attribute) {}
- visitBoundEvent(attribute) {}
- visitBoundAttributeOrEvent(node) {}
- visitText(text) {}
- visitBoundText(text) {}
- visitIcu(icu) {}
- }
- /**
- * Processes a template and extract metadata about expressions and symbols within.
- *
- * This is a companion to the `DirectiveBinder` that doesn't require knowledge of directives matched
- * within the template in order to operate.
- *
- * Expressions are visited by the superclass `RecursiveAstVisitor`, with custom logic provided
- * by overridden methods from that visitor.
- */
- class TemplateBinder extends RecursiveAstVisitor {
- constructor(bindings, symbols, usedPipes, nestingLevel, scope, template, level) {
- super();
- this.bindings = bindings;
- this.symbols = symbols;
- this.usedPipes = usedPipes;
- this.nestingLevel = nestingLevel;
- this.scope = scope;
- this.template = template;
- this.level = level;
- this.pipesUsed = []; // Save a bit of processing time by constructing this closure in advance.
- this.visitNode = node => node.visit(this);
- } // This method is defined to reconcile the type of TemplateBinder since both
- // RecursiveAstVisitor and Visitor define the visit() method in their
- // interfaces.
- visit(node, context) {
- if (node instanceof AST) {
- node.visit(this, context);
- } else {
- node.visit(this);
- }
- }
- /**
- * Process a template and extract metadata about expressions and symbols within.
- *
- * @param template the nodes of the template to process
- * @param scope the `Scope` of the template being processed.
- * @returns three maps which contain metadata about the template: `expressions` which interprets
- * special `AST` nodes in expressions as pointing to references or variables declared within the
- * template, `symbols` which maps those variables and references to the nested `Template` which
- * declares them, if any, and `nestingLevel` which associates each `Template` with a integer
- * nesting level (how many levels deep within the template structure the `Template` is), starting
- * at 1.
- */
- static applyWithScope(template, scope) {
- const expressions = new Map();
- const symbols = new Map();
- const nestingLevel = new Map();
- const usedPipes = new Set(); // The top-level template has nesting level 0.
- const binder = new TemplateBinder(expressions, symbols, usedPipes, nestingLevel, scope, template instanceof Template ? template : null, 0);
- binder.ingest(template);
- return {
- expressions,
- symbols,
- nestingLevel,
- usedPipes
- };
- }
- ingest(template) {
- if (template instanceof Template) {
- // For <ng-template>s, process only variables and child nodes. Inputs, outputs, templateAttrs,
- // and references were all processed in the scope of the containing template.
- template.variables.forEach(this.visitNode);
- template.children.forEach(this.visitNode); // Set the nesting level.
- this.nestingLevel.set(template, this.level);
- } else {
- // Visit each node from the top-level template.
- template.forEach(this.visitNode);
- }
- }
- visitElement(element) {
- // Visit the inputs, outputs, and children of the element.
- element.inputs.forEach(this.visitNode);
- element.outputs.forEach(this.visitNode);
- element.children.forEach(this.visitNode);
- }
- visitTemplate(template) {
- // First, visit inputs, outputs and template attributes of the template node.
- template.inputs.forEach(this.visitNode);
- template.outputs.forEach(this.visitNode);
- template.templateAttrs.forEach(this.visitNode); // References are also evaluated in the outer context.
- template.references.forEach(this.visitNode); // Next, recurse into the template using its scope, and bumping the nesting level up by one.
- const childScope = this.scope.getChildScope(template);
- const binder = new TemplateBinder(this.bindings, this.symbols, this.usedPipes, this.nestingLevel, childScope, template, this.level + 1);
- binder.ingest(template);
- }
- visitVariable(variable) {
- // Register the `Variable` as a symbol in the current `Template`.
- if (this.template !== null) {
- this.symbols.set(variable, this.template);
- }
- }
- visitReference(reference) {
- // Register the `Reference` as a symbol in the current `Template`.
- if (this.template !== null) {
- this.symbols.set(reference, this.template);
- }
- } // Unused template visitors
- visitText(text) {}
- visitContent(content) {}
- visitTextAttribute(attribute) {}
- visitIcu(icu) {
- Object.keys(icu.vars).forEach(key => icu.vars[key].visit(this));
- Object.keys(icu.placeholders).forEach(key => icu.placeholders[key].visit(this));
- } // The remaining visitors are concerned with processing AST expressions within template bindings
- visitBoundAttribute(attribute) {
- attribute.value.visit(this);
- }
- visitBoundEvent(event) {
- event.handler.visit(this);
- }
- visitBoundText(text) {
- text.value.visit(this);
- }
- visitPipe(ast, context) {
- this.usedPipes.add(ast.name);
- return super.visitPipe(ast, context);
- } // These five types of AST expressions can refer to expression roots, which could be variables
- // or references in the current scope.
- visitPropertyRead(ast, context) {
- this.maybeMap(context, ast, ast.name);
- return super.visitPropertyRead(ast, context);
- }
- visitSafePropertyRead(ast, context) {
- this.maybeMap(context, ast, ast.name);
- return super.visitSafePropertyRead(ast, context);
- }
- visitPropertyWrite(ast, context) {
- this.maybeMap(context, ast, ast.name);
- return super.visitPropertyWrite(ast, context);
- }
- maybeMap(scope, ast, name) {
- // If the receiver of the expression isn't the `ImplicitReceiver`, this isn't the root of an
- // `AST` expression that maps to a `Variable` or `Reference`.
- if (!(ast.receiver instanceof ImplicitReceiver)) {
- return;
- } // Check whether the name exists in the current scope. If so, map it. Otherwise, the name is
- // probably a property on the top-level component context.
- let target = this.scope.lookup(name);
- if (target !== null) {
- this.bindings.set(ast, target);
- }
- }
- }
- /**
- * Metadata container for a `Target` that allows queries for specific bits of metadata.
- *
- * See `BoundTarget` for documentation on the individual methods.
- */
- class R3BoundTarget {
- constructor(target, directives, bindings, references, exprTargets, symbols, nestingLevel, templateEntities, usedPipes) {
- this.target = target;
- this.directives = directives;
- this.bindings = bindings;
- this.references = references;
- this.exprTargets = exprTargets;
- this.symbols = symbols;
- this.nestingLevel = nestingLevel;
- this.templateEntities = templateEntities;
- this.usedPipes = usedPipes;
- }
- getEntitiesInTemplateScope(template) {
- var _a;
- return (_a = this.templateEntities.get(template)) !== null && _a !== void 0 ? _a : new Set();
- }
- getDirectivesOfNode(node) {
- return this.directives.get(node) || null;
- }
- getReferenceTarget(ref) {
- return this.references.get(ref) || null;
- }
- getConsumerOfBinding(binding) {
- return this.bindings.get(binding) || null;
- }
- getExpressionTarget(expr) {
- return this.exprTargets.get(expr) || null;
- }
- getTemplateOfSymbol(symbol) {
- return this.symbols.get(symbol) || null;
- }
- getNestingLevel(template) {
- return this.nestingLevel.get(template) || 0;
- }
- getUsedDirectives() {
- const set = new Set();
- this.directives.forEach(dirs => dirs.forEach(dir => set.add(dir)));
- return Array.from(set.values());
- }
- getUsedPipes() {
- return Array.from(this.usedPipes);
- }
- }
- function extractTemplateEntities(rootScope) {
- const entityMap = new Map();
- function extractScopeEntities(scope) {
- if (entityMap.has(scope.template)) {
- return entityMap.get(scope.template);
- }
- const currentEntities = scope.namedEntities;
- let templateEntities;
- if (scope.parentScope !== null) {
- templateEntities = new Map([...extractScopeEntities(scope.parentScope), ...currentEntities]);
- } else {
- templateEntities = new Map(currentEntities);
- }
- entityMap.set(scope.template, templateEntities);
- return templateEntities;
- }
- const scopesToProcess = [rootScope];
- while (scopesToProcess.length > 0) {
- const scope = scopesToProcess.pop();
- for (const childScope of scope.childScopes.values()) {
- scopesToProcess.push(childScope);
- }
- extractScopeEntities(scope);
- }
- const templateEntities = new Map();
- for (const [template, entities] of entityMap) {
- templateEntities.set(template, new Set(entities.values()));
- }
- return templateEntities;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function compileClassMetadata(metadata) {
- var _a, _b; // Generate an ngDevMode guarded call to setClassMetadata with the class identifier and its
- // metadata.
- 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)]);
- const iife = fn([], [devOnlyGuardedExpression(fnCall).toStmt()]);
- return iife.callFn([]);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
- * must update this constant to prevent old partial-linkers from incorrectly processing the
- * declaration.
- *
- * Do not include any prerelease in these versions as they are ignored.
- */
- const MINIMUM_PARTIAL_LINKER_VERSION$6 = '12.0.0';
- function compileDeclareClassMetadata(metadata) {
- const definitionMap = new DefinitionMap();
- definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
- definitionMap.set('version', literal('14.2.7'));
- definitionMap.set('ngImport', importExpr(Identifiers.core));
- definitionMap.set('type', metadata.type);
- definitionMap.set('decorators', metadata.decorators);
- definitionMap.set('ctorParameters', metadata.ctorParameters);
- definitionMap.set('propDecorators', metadata.propDecorators);
- return importExpr(Identifiers.declareClassMetadata).callFn([definitionMap.toLiteralMap()]);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Creates an array literal expression from the given array, mapping all values to an expression
- * using the provided mapping function. If the array is empty or null, then null is returned.
- *
- * @param values The array to transfer into literal array expression.
- * @param mapper The logic to use for creating an expression for the array's values.
- * @returns An array literal expression representing `values`, or null if `values` is empty or
- * is itself null.
- */
- function toOptionalLiteralArray(values, mapper) {
- if (values === null || values.length === 0) {
- return null;
- }
- return literalArr(values.map(value => mapper(value)));
- }
- /**
- * Creates an object literal expression from the given object, mapping all values to an expression
- * using the provided mapping function. If the object has no keys, then null is returned.
- *
- * @param object The object to transfer into an object literal expression.
- * @param mapper The logic to use for creating an expression for the object's values.
- * @returns An object literal expression representing `object`, or null if `object` does not have
- * any keys.
- */
- function toOptionalLiteralMap(object, mapper) {
- const entries = Object.keys(object).map(key => {
- const value = object[key];
- return {
- key,
- value: mapper(value),
- quoted: true
- };
- });
- if (entries.length > 0) {
- return literalMap(entries);
- } else {
- return null;
- }
- }
- function compileDependencies(deps) {
- if (deps === 'invalid') {
- // The `deps` can be set to the string "invalid" by the `unwrapConstructorDependencies()`
- // function, which tries to convert `ConstructorDeps` into `R3DependencyMetadata[]`.
- return literal('invalid');
- } else if (deps === null) {
- return literal(null);
- } else {
- return literalArr(deps.map(compileDependency));
- }
- }
- function compileDependency(dep) {
- const depMeta = new DefinitionMap();
- depMeta.set('token', dep.token);
- if (dep.attributeNameType !== null) {
- depMeta.set('attribute', literal(true));
- }
- if (dep.host) {
- depMeta.set('host', literal(true));
- }
- if (dep.optional) {
- depMeta.set('optional', literal(true));
- }
- if (dep.self) {
- depMeta.set('self', literal(true));
- }
- if (dep.skipSelf) {
- depMeta.set('skipSelf', literal(true));
- }
- return depMeta.toLiteralMap();
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
- * must update this constant to prevent old partial-linkers from incorrectly processing the
- * declaration.
- *
- * Do not include any prerelease in these versions as they are ignored.
- */
- const MINIMUM_PARTIAL_LINKER_VERSION$5 = '14.0.0';
- /**
- * Compile a directive declaration defined by the `R3DirectiveMetadata`.
- */
- function compileDeclareDirectiveFromMetadata(meta) {
- const definitionMap = createDirectiveDefinitionMap(meta);
- const expression = importExpr(Identifiers.declareDirective).callFn([definitionMap.toLiteralMap()]);
- const type = createDirectiveType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- /**
- * Gathers the declaration fields for a directive into a `DefinitionMap`. This allows for reusing
- * this logic for components, as they extend the directive metadata.
- */
- function createDirectiveDefinitionMap(meta) {
- const definitionMap = new DefinitionMap();
- definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
- definitionMap.set('version', literal('14.2.7')); // e.g. `type: MyDirective`
- definitionMap.set('type', meta.internalType);
- if (meta.isStandalone) {
- definitionMap.set('isStandalone', literal(meta.isStandalone));
- } // e.g. `selector: 'some-dir'`
- if (meta.selector !== null) {
- definitionMap.set('selector', literal(meta.selector));
- }
- definitionMap.set('inputs', conditionallyCreateMapObjectLiteral(meta.inputs, true));
- definitionMap.set('outputs', conditionallyCreateMapObjectLiteral(meta.outputs));
- definitionMap.set('host', compileHostMetadata(meta.host));
- definitionMap.set('providers', meta.providers);
- if (meta.queries.length > 0) {
- definitionMap.set('queries', literalArr(meta.queries.map(compileQuery)));
- }
- if (meta.viewQueries.length > 0) {
- definitionMap.set('viewQueries', literalArr(meta.viewQueries.map(compileQuery)));
- }
- if (meta.exportAs !== null) {
- definitionMap.set('exportAs', asLiteral(meta.exportAs));
- }
- if (meta.usesInheritance) {
- definitionMap.set('usesInheritance', literal(true));
- }
- if (meta.lifecycle.usesOnChanges) {
- definitionMap.set('usesOnChanges', literal(true));
- }
- definitionMap.set('ngImport', importExpr(Identifiers.core));
- return definitionMap;
- }
- /**
- * Compiles the metadata of a single query into its partial declaration form as declared
- * by `R3DeclareQueryMetadata`.
- */
- function compileQuery(query) {
- const meta = new DefinitionMap();
- meta.set('propertyName', literal(query.propertyName));
- if (query.first) {
- meta.set('first', literal(true));
- }
- meta.set('predicate', Array.isArray(query.predicate) ? asLiteral(query.predicate) : convertFromMaybeForwardRefExpression(query.predicate));
- if (!query.emitDistinctChangesOnly) {
- // `emitDistinctChangesOnly` is special because we expect it to be `true`.
- // Therefore we explicitly emit the field, and explicitly place it only when it's `false`.
- meta.set('emitDistinctChangesOnly', literal(false));
- } else {// The linker will assume that an absent `emitDistinctChangesOnly` flag is by default `true`.
- }
- if (query.descendants) {
- meta.set('descendants', literal(true));
- }
- meta.set('read', query.read);
- if (query.static) {
- meta.set('static', literal(true));
- }
- return meta.toLiteralMap();
- }
- /**
- * Compiles the host metadata into its partial declaration form as declared
- * in `R3DeclareDirectiveMetadata['host']`
- */
- function compileHostMetadata(meta) {
- const hostMetadata = new DefinitionMap();
- hostMetadata.set('attributes', toOptionalLiteralMap(meta.attributes, expression => expression));
- hostMetadata.set('listeners', toOptionalLiteralMap(meta.listeners, literal));
- hostMetadata.set('properties', toOptionalLiteralMap(meta.properties, literal));
- if (meta.specialAttributes.styleAttr) {
- hostMetadata.set('styleAttribute', literal(meta.specialAttributes.styleAttr));
- }
- if (meta.specialAttributes.classAttr) {
- hostMetadata.set('classAttribute', literal(meta.specialAttributes.classAttr));
- }
- if (hostMetadata.values.length > 0) {
- return hostMetadata.toLiteralMap();
- } else {
- return null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Compile a component declaration defined by the `R3ComponentMetadata`.
- */
- function compileDeclareComponentFromMetadata(meta, template, additionalTemplateInfo) {
- const definitionMap = createComponentDefinitionMap(meta, template, additionalTemplateInfo);
- const expression = importExpr(Identifiers.declareComponent).callFn([definitionMap.toLiteralMap()]);
- const type = createComponentType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- /**
- * Gathers the declaration fields for a component into a `DefinitionMap`.
- */
- function createComponentDefinitionMap(meta, template, templateInfo) {
- const definitionMap = createDirectiveDefinitionMap(meta);
- definitionMap.set('template', getTemplateExpression(template, templateInfo));
- if (templateInfo.isInline) {
- definitionMap.set('isInline', literal(true));
- }
- definitionMap.set('styles', toOptionalLiteralArray(meta.styles, literal));
- definitionMap.set('dependencies', compileUsedDependenciesMetadata(meta));
- definitionMap.set('viewProviders', meta.viewProviders);
- definitionMap.set('animations', meta.animations);
- if (meta.changeDetection !== undefined) {
- definitionMap.set('changeDetection', importExpr(Identifiers.ChangeDetectionStrategy).prop(ChangeDetectionStrategy[meta.changeDetection]));
- }
- if (meta.encapsulation !== ViewEncapsulation.Emulated) {
- definitionMap.set('encapsulation', importExpr(Identifiers.ViewEncapsulation).prop(ViewEncapsulation[meta.encapsulation]));
- }
- if (meta.interpolation !== DEFAULT_INTERPOLATION_CONFIG) {
- definitionMap.set('interpolation', literalArr([literal(meta.interpolation.start), literal(meta.interpolation.end)]));
- }
- if (template.preserveWhitespaces === true) {
- definitionMap.set('preserveWhitespaces', literal(true));
- }
- return definitionMap;
- }
- function getTemplateExpression(template, templateInfo) {
- // If the template has been defined using a direct literal, we use that expression directly
- // without any modifications. This is ensures proper source mapping from the partially
- // compiled code to the source file declaring the template. Note that this does not capture
- // template literals referenced indirectly through an identifier.
- if (templateInfo.inlineTemplateLiteralExpression !== null) {
- return templateInfo.inlineTemplateLiteralExpression;
- } // If the template is defined inline but not through a literal, the template has been resolved
- // through static interpretation. We create a literal but cannot provide any source span. Note
- // that we cannot use the expression defining the template because the linker expects the template
- // to be defined as a literal in the declaration.
- if (templateInfo.isInline) {
- return literal(templateInfo.content, null, null);
- } // The template is external so we must synthesize an expression node with
- // the appropriate source-span.
- const contents = templateInfo.content;
- const file = new ParseSourceFile(contents, templateInfo.sourceUrl);
- const start = new ParseLocation(file, 0, 0, 0);
- const end = computeEndLocation(file, contents);
- const span = new ParseSourceSpan(start, end);
- return literal(contents, null, span);
- }
- function computeEndLocation(file, contents) {
- const length = contents.length;
- let lineStart = 0;
- let lastLineStart = 0;
- let line = 0;
- do {
- lineStart = contents.indexOf('\n', lastLineStart);
- if (lineStart !== -1) {
- lastLineStart = lineStart + 1;
- line++;
- }
- } while (lineStart !== -1);
- return new ParseLocation(file, length, line, length - lastLineStart);
- }
- function compileUsedDependenciesMetadata(meta) {
- const wrapType = meta.declarationListEmitMode !== 0
- /* DeclarationListEmitMode.Direct */
- ? generateForwardRef : expr => expr;
- return toOptionalLiteralArray(meta.declarations, decl => {
- switch (decl.kind) {
- case R3TemplateDependencyKind.Directive:
- const dirMeta = new DefinitionMap();
- dirMeta.set('kind', literal(decl.isComponent ? 'component' : 'directive'));
- dirMeta.set('type', wrapType(decl.type));
- dirMeta.set('selector', literal(decl.selector));
- dirMeta.set('inputs', toOptionalLiteralArray(decl.inputs, literal));
- dirMeta.set('outputs', toOptionalLiteralArray(decl.outputs, literal));
- dirMeta.set('exportAs', toOptionalLiteralArray(decl.exportAs, literal));
- return dirMeta.toLiteralMap();
- case R3TemplateDependencyKind.Pipe:
- const pipeMeta = new DefinitionMap();
- pipeMeta.set('kind', literal('pipe'));
- pipeMeta.set('type', wrapType(decl.type));
- pipeMeta.set('name', literal(decl.name));
- return pipeMeta.toLiteralMap();
- case R3TemplateDependencyKind.NgModule:
- const ngModuleMeta = new DefinitionMap();
- ngModuleMeta.set('kind', literal('ngmodule'));
- ngModuleMeta.set('type', wrapType(decl.type));
- return ngModuleMeta.toLiteralMap();
- }
- });
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
- * must update this constant to prevent old partial-linkers from incorrectly processing the
- * declaration.
- *
- * Do not include any prerelease in these versions as they are ignored.
- */
- const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
- function compileDeclareFactoryFunction(meta) {
- const definitionMap = new DefinitionMap();
- definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
- definitionMap.set('version', literal('14.2.7'));
- definitionMap.set('ngImport', importExpr(Identifiers.core));
- definitionMap.set('type', meta.internalType);
- definitionMap.set('deps', compileDependencies(meta.deps));
- definitionMap.set('target', importExpr(Identifiers.FactoryTarget).prop(FactoryTarget$1[meta.target]));
- return {
- expression: importExpr(Identifiers.declareFactory).callFn([definitionMap.toLiteralMap()]),
- statements: [],
- type: createFactoryType(meta)
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
- * must update this constant to prevent old partial-linkers from incorrectly processing the
- * declaration.
- *
- * Do not include any prerelease in these versions as they are ignored.
- */
- const MINIMUM_PARTIAL_LINKER_VERSION$3 = '12.0.0';
- /**
- * Compile a Injectable declaration defined by the `R3InjectableMetadata`.
- */
- function compileDeclareInjectableFromMetadata(meta) {
- const definitionMap = createInjectableDefinitionMap(meta);
- const expression = importExpr(Identifiers.declareInjectable).callFn([definitionMap.toLiteralMap()]);
- const type = createInjectableType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- /**
- * Gathers the declaration fields for a Injectable into a `DefinitionMap`.
- */
- function createInjectableDefinitionMap(meta) {
- const definitionMap = new DefinitionMap();
- definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
- definitionMap.set('version', literal('14.2.7'));
- definitionMap.set('ngImport', importExpr(Identifiers.core));
- definitionMap.set('type', meta.internalType); // Only generate providedIn property if it has a non-null value
- if (meta.providedIn !== undefined) {
- const providedIn = convertFromMaybeForwardRefExpression(meta.providedIn);
- if (providedIn.value !== null) {
- definitionMap.set('providedIn', providedIn);
- }
- }
- if (meta.useClass !== undefined) {
- definitionMap.set('useClass', convertFromMaybeForwardRefExpression(meta.useClass));
- }
- if (meta.useExisting !== undefined) {
- definitionMap.set('useExisting', convertFromMaybeForwardRefExpression(meta.useExisting));
- }
- if (meta.useValue !== undefined) {
- definitionMap.set('useValue', convertFromMaybeForwardRefExpression(meta.useValue));
- } // Factories do not contain `ForwardRef`s since any types are already wrapped in a function call
- // so the types will not be eagerly evaluated. Therefore we do not need to process this expression
- // with `convertFromProviderExpression()`.
- if (meta.useFactory !== undefined) {
- definitionMap.set('useFactory', meta.useFactory);
- }
- if (meta.deps !== undefined) {
- definitionMap.set('deps', literalArr(meta.deps.map(compileDependency)));
- }
- return definitionMap;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
- * must update this constant to prevent old partial-linkers from incorrectly processing the
- * declaration.
- *
- * Do not include any prerelease in these versions as they are ignored.
- */
- const MINIMUM_PARTIAL_LINKER_VERSION$2 = '12.0.0';
- function compileDeclareInjectorFromMetadata(meta) {
- const definitionMap = createInjectorDefinitionMap(meta);
- const expression = importExpr(Identifiers.declareInjector).callFn([definitionMap.toLiteralMap()]);
- const type = createInjectorType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- /**
- * Gathers the declaration fields for an Injector into a `DefinitionMap`.
- */
- function createInjectorDefinitionMap(meta) {
- const definitionMap = new DefinitionMap();
- definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
- definitionMap.set('version', literal('14.2.7'));
- definitionMap.set('ngImport', importExpr(Identifiers.core));
- definitionMap.set('type', meta.internalType);
- definitionMap.set('providers', meta.providers);
- if (meta.imports.length > 0) {
- definitionMap.set('imports', literalArr(meta.imports));
- }
- return definitionMap;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
- * must update this constant to prevent old partial-linkers from incorrectly processing the
- * declaration.
- *
- * Do not include any prerelease in these versions as they are ignored.
- */
- const MINIMUM_PARTIAL_LINKER_VERSION$1 = '14.0.0';
- function compileDeclareNgModuleFromMetadata(meta) {
- const definitionMap = createNgModuleDefinitionMap(meta);
- const expression = importExpr(Identifiers.declareNgModule).callFn([definitionMap.toLiteralMap()]);
- const type = createNgModuleType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- /**
- * Gathers the declaration fields for an NgModule into a `DefinitionMap`.
- */
- function createNgModuleDefinitionMap(meta) {
- const definitionMap = new DefinitionMap();
- definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
- definitionMap.set('version', literal('14.2.7'));
- definitionMap.set('ngImport', importExpr(Identifiers.core));
- definitionMap.set('type', meta.internalType); // We only generate the keys in the metadata if the arrays contain values.
- // We must wrap the arrays inside a function if any of the values are a forward reference to a
- // not-yet-declared class. This is to support JIT execution of the `ɵɵngDeclareNgModule()` call.
- // In the linker these wrappers are stripped and then reapplied for the `ɵɵdefineNgModule()` call.
- if (meta.bootstrap.length > 0) {
- definitionMap.set('bootstrap', refsToArray(meta.bootstrap, meta.containsForwardDecls));
- }
- if (meta.declarations.length > 0) {
- definitionMap.set('declarations', refsToArray(meta.declarations, meta.containsForwardDecls));
- }
- if (meta.imports.length > 0) {
- definitionMap.set('imports', refsToArray(meta.imports, meta.containsForwardDecls));
- }
- if (meta.exports.length > 0) {
- definitionMap.set('exports', refsToArray(meta.exports, meta.containsForwardDecls));
- }
- if (meta.schemas !== null && meta.schemas.length > 0) {
- definitionMap.set('schemas', literalArr(meta.schemas.map(ref => ref.value)));
- }
- if (meta.id !== null) {
- definitionMap.set('id', meta.id);
- }
- return definitionMap;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Every time we make a breaking change to the declaration interface or partial-linker behavior, we
- * must update this constant to prevent old partial-linkers from incorrectly processing the
- * declaration.
- *
- * Do not include any prerelease in these versions as they are ignored.
- */
- const MINIMUM_PARTIAL_LINKER_VERSION = '14.0.0';
- /**
- * Compile a Pipe declaration defined by the `R3PipeMetadata`.
- */
- function compileDeclarePipeFromMetadata(meta) {
- const definitionMap = createPipeDefinitionMap(meta);
- const expression = importExpr(Identifiers.declarePipe).callFn([definitionMap.toLiteralMap()]);
- const type = createPipeType(meta);
- return {
- expression,
- type,
- statements: []
- };
- }
- /**
- * Gathers the declaration fields for a Pipe into a `DefinitionMap`.
- */
- function createPipeDefinitionMap(meta) {
- const definitionMap = new DefinitionMap();
- definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
- definitionMap.set('version', literal('14.2.7'));
- definitionMap.set('ngImport', importExpr(Identifiers.core)); // e.g. `type: MyPipe`
- definitionMap.set('type', meta.internalType);
- if (meta.isStandalone) {
- definitionMap.set('isStandalone', literal(meta.isStandalone));
- } // e.g. `name: "myPipe"`
- definitionMap.set('name', literal(meta.pipeName));
- if (meta.pure === false) {
- // e.g. `pure: false`
- definitionMap.set('pure', literal(meta.pure));
- }
- return definitionMap;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file only reexports content of the `src` folder. Keep it that way.
- // This function call has a global side effects and publishes the compiler into global namespace for
- // the late binding of the Compiler to the @angular/core for jit compilation.
- publishFacade(_global);
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file only reexports content of the `src` folder. Keep it that way.
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /***/ }),
- /***/ 3184:
- /*!******************************************************!*\
- !*** ./node_modules/@angular/core/fesm2015/core.mjs ***!
- \******************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "ANALYZE_FOR_ENTRY_COMPONENTS": () => (/* binding */ ANALYZE_FOR_ENTRY_COMPONENTS),
- /* harmony export */ "ANIMATION_MODULE_TYPE": () => (/* binding */ ANIMATION_MODULE_TYPE),
- /* harmony export */ "APP_BOOTSTRAP_LISTENER": () => (/* binding */ APP_BOOTSTRAP_LISTENER),
- /* harmony export */ "APP_ID": () => (/* binding */ APP_ID),
- /* harmony export */ "APP_INITIALIZER": () => (/* binding */ APP_INITIALIZER),
- /* harmony export */ "ApplicationInitStatus": () => (/* binding */ ApplicationInitStatus),
- /* harmony export */ "ApplicationModule": () => (/* binding */ ApplicationModule),
- /* harmony export */ "ApplicationRef": () => (/* binding */ ApplicationRef),
- /* harmony export */ "Attribute": () => (/* binding */ Attribute),
- /* harmony export */ "COMPILER_OPTIONS": () => (/* binding */ COMPILER_OPTIONS),
- /* harmony export */ "CUSTOM_ELEMENTS_SCHEMA": () => (/* binding */ CUSTOM_ELEMENTS_SCHEMA),
- /* harmony export */ "ChangeDetectionStrategy": () => (/* binding */ ChangeDetectionStrategy),
- /* harmony export */ "ChangeDetectorRef": () => (/* binding */ ChangeDetectorRef),
- /* harmony export */ "Compiler": () => (/* binding */ Compiler),
- /* harmony export */ "CompilerFactory": () => (/* binding */ CompilerFactory),
- /* harmony export */ "Component": () => (/* binding */ Component),
- /* harmony export */ "ComponentFactory": () => (/* binding */ ComponentFactory$1),
- /* harmony export */ "ComponentFactoryResolver": () => (/* binding */ ComponentFactoryResolver$1),
- /* harmony export */ "ComponentRef": () => (/* binding */ ComponentRef$1),
- /* harmony export */ "ContentChild": () => (/* binding */ ContentChild),
- /* harmony export */ "ContentChildren": () => (/* binding */ ContentChildren),
- /* harmony export */ "DEFAULT_CURRENCY_CODE": () => (/* binding */ DEFAULT_CURRENCY_CODE),
- /* harmony export */ "DebugElement": () => (/* binding */ DebugElement),
- /* harmony export */ "DebugEventListener": () => (/* binding */ DebugEventListener),
- /* harmony export */ "DebugNode": () => (/* binding */ DebugNode),
- /* harmony export */ "DefaultIterableDiffer": () => (/* binding */ DefaultIterableDiffer),
- /* harmony export */ "Directive": () => (/* binding */ Directive),
- /* harmony export */ "ENVIRONMENT_INITIALIZER": () => (/* binding */ ENVIRONMENT_INITIALIZER),
- /* harmony export */ "ElementRef": () => (/* binding */ ElementRef),
- /* harmony export */ "EmbeddedViewRef": () => (/* binding */ EmbeddedViewRef),
- /* harmony export */ "EnvironmentInjector": () => (/* binding */ EnvironmentInjector),
- /* harmony export */ "ErrorHandler": () => (/* binding */ ErrorHandler),
- /* harmony export */ "EventEmitter": () => (/* binding */ EventEmitter),
- /* harmony export */ "Host": () => (/* binding */ Host),
- /* harmony export */ "HostBinding": () => (/* binding */ HostBinding),
- /* harmony export */ "HostListener": () => (/* binding */ HostListener),
- /* harmony export */ "INJECTOR": () => (/* binding */ INJECTOR),
- /* harmony export */ "Inject": () => (/* binding */ Inject),
- /* harmony export */ "InjectFlags": () => (/* binding */ InjectFlags),
- /* harmony export */ "Injectable": () => (/* binding */ Injectable),
- /* harmony export */ "InjectionToken": () => (/* binding */ InjectionToken),
- /* harmony export */ "Injector": () => (/* binding */ Injector),
- /* harmony export */ "Input": () => (/* binding */ Input),
- /* harmony export */ "IterableDiffers": () => (/* binding */ IterableDiffers),
- /* harmony export */ "KeyValueDiffers": () => (/* binding */ KeyValueDiffers),
- /* harmony export */ "LOCALE_ID": () => (/* binding */ LOCALE_ID),
- /* harmony export */ "MissingTranslationStrategy": () => (/* binding */ MissingTranslationStrategy),
- /* harmony export */ "ModuleWithComponentFactories": () => (/* binding */ ModuleWithComponentFactories),
- /* harmony export */ "NO_ERRORS_SCHEMA": () => (/* binding */ NO_ERRORS_SCHEMA),
- /* harmony export */ "NgModule": () => (/* binding */ NgModule),
- /* harmony export */ "NgModuleFactory": () => (/* binding */ NgModuleFactory$1),
- /* harmony export */ "NgModuleRef": () => (/* binding */ NgModuleRef$1),
- /* harmony export */ "NgProbeToken": () => (/* binding */ NgProbeToken),
- /* harmony export */ "NgZone": () => (/* binding */ NgZone),
- /* harmony export */ "Optional": () => (/* binding */ Optional),
- /* harmony export */ "Output": () => (/* binding */ Output),
- /* harmony export */ "PACKAGE_ROOT_URL": () => (/* binding */ PACKAGE_ROOT_URL),
- /* harmony export */ "PLATFORM_ID": () => (/* binding */ PLATFORM_ID),
- /* harmony export */ "PLATFORM_INITIALIZER": () => (/* binding */ PLATFORM_INITIALIZER),
- /* harmony export */ "Pipe": () => (/* binding */ Pipe),
- /* harmony export */ "PlatformRef": () => (/* binding */ PlatformRef),
- /* harmony export */ "Query": () => (/* binding */ Query),
- /* harmony export */ "QueryList": () => (/* binding */ QueryList),
- /* harmony export */ "ReflectiveInjector": () => (/* binding */ ReflectiveInjector),
- /* harmony export */ "ReflectiveKey": () => (/* binding */ ReflectiveKey),
- /* harmony export */ "Renderer2": () => (/* binding */ Renderer2),
- /* harmony export */ "RendererFactory2": () => (/* binding */ RendererFactory2),
- /* harmony export */ "RendererStyleFlags2": () => (/* binding */ RendererStyleFlags2),
- /* harmony export */ "ResolvedReflectiveFactory": () => (/* binding */ ResolvedReflectiveFactory),
- /* harmony export */ "Sanitizer": () => (/* binding */ Sanitizer),
- /* harmony export */ "SecurityContext": () => (/* binding */ SecurityContext),
- /* harmony export */ "Self": () => (/* binding */ Self),
- /* harmony export */ "SimpleChange": () => (/* binding */ SimpleChange),
- /* harmony export */ "SkipSelf": () => (/* binding */ SkipSelf),
- /* harmony export */ "TRANSLATIONS": () => (/* binding */ TRANSLATIONS),
- /* harmony export */ "TRANSLATIONS_FORMAT": () => (/* binding */ TRANSLATIONS_FORMAT),
- /* harmony export */ "TemplateRef": () => (/* binding */ TemplateRef),
- /* harmony export */ "Testability": () => (/* binding */ Testability),
- /* harmony export */ "TestabilityRegistry": () => (/* binding */ TestabilityRegistry),
- /* harmony export */ "Type": () => (/* binding */ Type),
- /* harmony export */ "VERSION": () => (/* binding */ VERSION),
- /* harmony export */ "Version": () => (/* binding */ Version),
- /* harmony export */ "ViewChild": () => (/* binding */ ViewChild),
- /* harmony export */ "ViewChildren": () => (/* binding */ ViewChildren),
- /* harmony export */ "ViewContainerRef": () => (/* binding */ ViewContainerRef),
- /* harmony export */ "ViewEncapsulation": () => (/* binding */ ViewEncapsulation$1),
- /* harmony export */ "ViewRef": () => (/* binding */ ViewRef),
- /* harmony export */ "asNativeElements": () => (/* binding */ asNativeElements),
- /* harmony export */ "assertPlatform": () => (/* binding */ assertPlatform),
- /* harmony export */ "createComponent": () => (/* binding */ createComponent),
- /* harmony export */ "createEnvironmentInjector": () => (/* binding */ createEnvironmentInjector),
- /* harmony export */ "createNgModule": () => (/* binding */ createNgModule),
- /* harmony export */ "createNgModuleRef": () => (/* binding */ createNgModuleRef),
- /* harmony export */ "createPlatform": () => (/* binding */ createPlatform),
- /* harmony export */ "createPlatformFactory": () => (/* binding */ createPlatformFactory),
- /* harmony export */ "defineInjectable": () => (/* binding */ defineInjectable),
- /* harmony export */ "destroyPlatform": () => (/* binding */ destroyPlatform),
- /* harmony export */ "enableProdMode": () => (/* binding */ enableProdMode),
- /* harmony export */ "forwardRef": () => (/* binding */ forwardRef),
- /* harmony export */ "getDebugNode": () => (/* binding */ getDebugNode),
- /* harmony export */ "getModuleFactory": () => (/* binding */ getModuleFactory),
- /* harmony export */ "getNgModuleById": () => (/* binding */ getNgModuleById),
- /* harmony export */ "getPlatform": () => (/* binding */ getPlatform),
- /* harmony export */ "importProvidersFrom": () => (/* binding */ importProvidersFrom),
- /* harmony export */ "inject": () => (/* binding */ inject),
- /* harmony export */ "isDevMode": () => (/* binding */ isDevMode),
- /* harmony export */ "platformCore": () => (/* binding */ platformCore),
- /* harmony export */ "reflectComponentType": () => (/* binding */ reflectComponentType),
- /* harmony export */ "resolveForwardRef": () => (/* binding */ resolveForwardRef),
- /* harmony export */ "setTestabilityGetter": () => (/* binding */ setTestabilityGetter),
- /* harmony export */ "ɵALLOW_MULTIPLE_PLATFORMS": () => (/* binding */ ALLOW_MULTIPLE_PLATFORMS),
- /* harmony export */ "ɵAPP_ID_RANDOM_PROVIDER": () => (/* binding */ APP_ID_RANDOM_PROVIDER),
- /* harmony export */ "ɵChangeDetectorStatus": () => (/* binding */ ChangeDetectorStatus),
- /* harmony export */ "ɵComponentFactory": () => (/* binding */ ComponentFactory$1),
- /* harmony export */ "ɵConsole": () => (/* binding */ Console),
- /* harmony export */ "ɵDEFAULT_LOCALE_ID": () => (/* binding */ DEFAULT_LOCALE_ID),
- /* harmony export */ "ɵINJECTOR_SCOPE": () => (/* binding */ INJECTOR_SCOPE),
- /* harmony export */ "ɵLContext": () => (/* binding */ LContext),
- /* harmony export */ "ɵLifecycleHooksFeature": () => (/* binding */ LifecycleHooksFeature),
- /* harmony export */ "ɵLocaleDataIndex": () => (/* binding */ LocaleDataIndex),
- /* harmony export */ "ɵNG_COMP_DEF": () => (/* binding */ NG_COMP_DEF),
- /* harmony export */ "ɵNG_DIR_DEF": () => (/* binding */ NG_DIR_DEF),
- /* harmony export */ "ɵNG_ELEMENT_ID": () => (/* binding */ NG_ELEMENT_ID),
- /* harmony export */ "ɵNG_INJ_DEF": () => (/* binding */ NG_INJ_DEF),
- /* harmony export */ "ɵNG_MOD_DEF": () => (/* binding */ NG_MOD_DEF),
- /* harmony export */ "ɵNG_PIPE_DEF": () => (/* binding */ NG_PIPE_DEF),
- /* harmony export */ "ɵNG_PROV_DEF": () => (/* binding */ NG_PROV_DEF),
- /* harmony export */ "ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR": () => (/* binding */ NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR),
- /* harmony export */ "ɵNO_CHANGE": () => (/* binding */ NO_CHANGE),
- /* harmony export */ "ɵNgModuleFactory": () => (/* binding */ NgModuleFactory),
- /* harmony export */ "ɵNoopNgZone": () => (/* binding */ NoopNgZone),
- /* harmony export */ "ɵReflectionCapabilities": () => (/* binding */ ReflectionCapabilities),
- /* harmony export */ "ɵRender3ComponentFactory": () => (/* binding */ ComponentFactory),
- /* harmony export */ "ɵRender3ComponentRef": () => (/* binding */ ComponentRef),
- /* harmony export */ "ɵRender3NgModuleRef": () => (/* binding */ NgModuleRef),
- /* harmony export */ "ɵRuntimeError": () => (/* binding */ RuntimeError),
- /* harmony export */ "ɵTESTABILITY": () => (/* binding */ TESTABILITY),
- /* harmony export */ "ɵTESTABILITY_GETTER": () => (/* binding */ TESTABILITY_GETTER),
- /* harmony export */ "ɵViewRef": () => (/* binding */ ViewRef$1),
- /* harmony export */ "ɵ_sanitizeHtml": () => (/* binding */ _sanitizeHtml),
- /* harmony export */ "ɵ_sanitizeUrl": () => (/* binding */ _sanitizeUrl),
- /* harmony export */ "ɵallowSanitizationBypassAndThrow": () => (/* binding */ allowSanitizationBypassAndThrow),
- /* harmony export */ "ɵbypassSanitizationTrustHtml": () => (/* binding */ bypassSanitizationTrustHtml),
- /* harmony export */ "ɵbypassSanitizationTrustResourceUrl": () => (/* binding */ bypassSanitizationTrustResourceUrl),
- /* harmony export */ "ɵbypassSanitizationTrustScript": () => (/* binding */ bypassSanitizationTrustScript),
- /* harmony export */ "ɵbypassSanitizationTrustStyle": () => (/* binding */ bypassSanitizationTrustStyle),
- /* harmony export */ "ɵbypassSanitizationTrustUrl": () => (/* binding */ bypassSanitizationTrustUrl),
- /* harmony export */ "ɵclearResolutionOfComponentResourcesQueue": () => (/* binding */ clearResolutionOfComponentResourcesQueue),
- /* harmony export */ "ɵcoerceToBoolean": () => (/* binding */ coerceToBoolean),
- /* harmony export */ "ɵcompileComponent": () => (/* binding */ compileComponent),
- /* harmony export */ "ɵcompileDirective": () => (/* binding */ compileDirective),
- /* harmony export */ "ɵcompileNgModule": () => (/* binding */ compileNgModule),
- /* harmony export */ "ɵcompileNgModuleDefs": () => (/* binding */ compileNgModuleDefs),
- /* harmony export */ "ɵcompileNgModuleFactory": () => (/* binding */ compileNgModuleFactory),
- /* harmony export */ "ɵcompilePipe": () => (/* binding */ compilePipe),
- /* harmony export */ "ɵcreateInjector": () => (/* binding */ createInjector),
- /* harmony export */ "ɵdefaultIterableDiffers": () => (/* binding */ defaultIterableDiffers),
- /* harmony export */ "ɵdefaultKeyValueDiffers": () => (/* binding */ defaultKeyValueDiffers),
- /* harmony export */ "ɵdetectChanges": () => (/* binding */ detectChanges),
- /* harmony export */ "ɵdevModeEqual": () => (/* binding */ devModeEqual),
- /* harmony export */ "ɵfindLocaleData": () => (/* binding */ findLocaleData),
- /* harmony export */ "ɵflushModuleScopingQueueAsMuchAsPossible": () => (/* binding */ flushModuleScopingQueueAsMuchAsPossible),
- /* harmony export */ "ɵformatRuntimeError": () => (/* binding */ formatRuntimeError),
- /* harmony export */ "ɵgetDebugNode": () => (/* binding */ getDebugNode),
- /* harmony export */ "ɵgetDebugNodeR2": () => (/* binding */ getDebugNodeR2),
- /* harmony export */ "ɵgetDirectives": () => (/* binding */ getDirectives),
- /* harmony export */ "ɵgetHostElement": () => (/* binding */ getHostElement),
- /* harmony export */ "ɵgetInjectableDef": () => (/* binding */ getInjectableDef),
- /* harmony export */ "ɵgetLContext": () => (/* binding */ getLContext),
- /* harmony export */ "ɵgetLocaleCurrencyCode": () => (/* binding */ getLocaleCurrencyCode),
- /* harmony export */ "ɵgetLocalePluralCase": () => (/* binding */ getLocalePluralCase),
- /* harmony export */ "ɵgetSanitizationBypassType": () => (/* binding */ getSanitizationBypassType),
- /* harmony export */ "ɵgetUnknownElementStrictMode": () => (/* binding */ ɵgetUnknownElementStrictMode),
- /* harmony export */ "ɵgetUnknownPropertyStrictMode": () => (/* binding */ ɵgetUnknownPropertyStrictMode),
- /* harmony export */ "ɵglobal": () => (/* binding */ _global),
- /* harmony export */ "ɵinjectChangeDetectorRef": () => (/* binding */ injectChangeDetectorRef),
- /* harmony export */ "ɵinternalCreateApplication": () => (/* binding */ internalCreateApplication),
- /* harmony export */ "ɵisBoundToModule": () => (/* binding */ isBoundToModule),
- /* harmony export */ "ɵisDefaultChangeDetectionStrategy": () => (/* binding */ isDefaultChangeDetectionStrategy),
- /* harmony export */ "ɵisInjectable": () => (/* binding */ isInjectable),
- /* harmony export */ "ɵisListLikeIterable": () => (/* binding */ isListLikeIterable),
- /* harmony export */ "ɵisObservable": () => (/* binding */ isObservable),
- /* harmony export */ "ɵisPromise": () => (/* binding */ isPromise),
- /* harmony export */ "ɵisStandalone": () => (/* binding */ isStandalone),
- /* harmony export */ "ɵisSubscribable": () => (/* binding */ isSubscribable),
- /* harmony export */ "ɵivyEnabled": () => (/* binding */ ɵivyEnabled),
- /* harmony export */ "ɵmakeDecorator": () => (/* binding */ makeDecorator),
- /* harmony export */ "ɵnoSideEffects": () => (/* binding */ noSideEffects),
- /* harmony export */ "ɵpatchComponentDefWithScope": () => (/* binding */ patchComponentDefWithScope),
- /* harmony export */ "ɵpublishDefaultGlobalUtils": () => (/* binding */ publishDefaultGlobalUtils$1),
- /* harmony export */ "ɵpublishGlobalUtil": () => (/* binding */ publishGlobalUtil),
- /* harmony export */ "ɵregisterLocaleData": () => (/* binding */ registerLocaleData),
- /* harmony export */ "ɵresetCompiledComponents": () => (/* binding */ resetCompiledComponents),
- /* harmony export */ "ɵresetJitOptions": () => (/* binding */ resetJitOptions),
- /* harmony export */ "ɵresolveComponentResources": () => (/* binding */ resolveComponentResources),
- /* harmony export */ "ɵsetAllowDuplicateNgModuleIdsForTest": () => (/* binding */ setAllowDuplicateNgModuleIdsForTest),
- /* harmony export */ "ɵsetClassMetadata": () => (/* binding */ setClassMetadata),
- /* harmony export */ "ɵsetCurrentInjector": () => (/* binding */ setCurrentInjector),
- /* harmony export */ "ɵsetDocument": () => (/* binding */ setDocument),
- /* harmony export */ "ɵsetLocaleId": () => (/* binding */ setLocaleId),
- /* harmony export */ "ɵsetUnknownElementStrictMode": () => (/* binding */ ɵsetUnknownElementStrictMode),
- /* harmony export */ "ɵsetUnknownPropertyStrictMode": () => (/* binding */ ɵsetUnknownPropertyStrictMode),
- /* harmony export */ "ɵstore": () => (/* binding */ store),
- /* harmony export */ "ɵstringify": () => (/* binding */ stringify),
- /* harmony export */ "ɵtransitiveScopesFor": () => (/* binding */ transitiveScopesFor),
- /* harmony export */ "ɵunregisterLocaleData": () => (/* binding */ unregisterAllLocaleData),
- /* harmony export */ "ɵunwrapSafeValue": () => (/* binding */ unwrapSafeValue),
- /* harmony export */ "ɵɵCopyDefinitionFeature": () => (/* binding */ ɵɵCopyDefinitionFeature),
- /* harmony export */ "ɵɵFactoryTarget": () => (/* binding */ FactoryTarget),
- /* harmony export */ "ɵɵInheritDefinitionFeature": () => (/* binding */ ɵɵInheritDefinitionFeature),
- /* harmony export */ "ɵɵNgOnChangesFeature": () => (/* binding */ ɵɵNgOnChangesFeature),
- /* harmony export */ "ɵɵProvidersFeature": () => (/* binding */ ɵɵProvidersFeature),
- /* harmony export */ "ɵɵStandaloneFeature": () => (/* binding */ ɵɵStandaloneFeature),
- /* harmony export */ "ɵɵadvance": () => (/* binding */ ɵɵadvance),
- /* harmony export */ "ɵɵattribute": () => (/* binding */ ɵɵattribute),
- /* harmony export */ "ɵɵattributeInterpolate1": () => (/* binding */ ɵɵattributeInterpolate1),
- /* harmony export */ "ɵɵattributeInterpolate2": () => (/* binding */ ɵɵattributeInterpolate2),
- /* harmony export */ "ɵɵattributeInterpolate3": () => (/* binding */ ɵɵattributeInterpolate3),
- /* harmony export */ "ɵɵattributeInterpolate4": () => (/* binding */ ɵɵattributeInterpolate4),
- /* harmony export */ "ɵɵattributeInterpolate5": () => (/* binding */ ɵɵattributeInterpolate5),
- /* harmony export */ "ɵɵattributeInterpolate6": () => (/* binding */ ɵɵattributeInterpolate6),
- /* harmony export */ "ɵɵattributeInterpolate7": () => (/* binding */ ɵɵattributeInterpolate7),
- /* harmony export */ "ɵɵattributeInterpolate8": () => (/* binding */ ɵɵattributeInterpolate8),
- /* harmony export */ "ɵɵattributeInterpolateV": () => (/* binding */ ɵɵattributeInterpolateV),
- /* harmony export */ "ɵɵclassMap": () => (/* binding */ ɵɵclassMap),
- /* harmony export */ "ɵɵclassMapInterpolate1": () => (/* binding */ ɵɵclassMapInterpolate1),
- /* harmony export */ "ɵɵclassMapInterpolate2": () => (/* binding */ ɵɵclassMapInterpolate2),
- /* harmony export */ "ɵɵclassMapInterpolate3": () => (/* binding */ ɵɵclassMapInterpolate3),
- /* harmony export */ "ɵɵclassMapInterpolate4": () => (/* binding */ ɵɵclassMapInterpolate4),
- /* harmony export */ "ɵɵclassMapInterpolate5": () => (/* binding */ ɵɵclassMapInterpolate5),
- /* harmony export */ "ɵɵclassMapInterpolate6": () => (/* binding */ ɵɵclassMapInterpolate6),
- /* harmony export */ "ɵɵclassMapInterpolate7": () => (/* binding */ ɵɵclassMapInterpolate7),
- /* harmony export */ "ɵɵclassMapInterpolate8": () => (/* binding */ ɵɵclassMapInterpolate8),
- /* harmony export */ "ɵɵclassMapInterpolateV": () => (/* binding */ ɵɵclassMapInterpolateV),
- /* harmony export */ "ɵɵclassProp": () => (/* binding */ ɵɵclassProp),
- /* harmony export */ "ɵɵcontentQuery": () => (/* binding */ ɵɵcontentQuery),
- /* harmony export */ "ɵɵdefineComponent": () => (/* binding */ ɵɵdefineComponent),
- /* harmony export */ "ɵɵdefineDirective": () => (/* binding */ ɵɵdefineDirective),
- /* harmony export */ "ɵɵdefineInjectable": () => (/* binding */ ɵɵdefineInjectable),
- /* harmony export */ "ɵɵdefineInjector": () => (/* binding */ ɵɵdefineInjector),
- /* harmony export */ "ɵɵdefineNgModule": () => (/* binding */ ɵɵdefineNgModule),
- /* harmony export */ "ɵɵdefinePipe": () => (/* binding */ ɵɵdefinePipe),
- /* harmony export */ "ɵɵdirectiveInject": () => (/* binding */ ɵɵdirectiveInject),
- /* harmony export */ "ɵɵdisableBindings": () => (/* binding */ ɵɵdisableBindings),
- /* harmony export */ "ɵɵelement": () => (/* binding */ ɵɵelement),
- /* harmony export */ "ɵɵelementContainer": () => (/* binding */ ɵɵelementContainer),
- /* harmony export */ "ɵɵelementContainerEnd": () => (/* binding */ ɵɵelementContainerEnd),
- /* harmony export */ "ɵɵelementContainerStart": () => (/* binding */ ɵɵelementContainerStart),
- /* harmony export */ "ɵɵelementEnd": () => (/* binding */ ɵɵelementEnd),
- /* harmony export */ "ɵɵelementStart": () => (/* binding */ ɵɵelementStart),
- /* harmony export */ "ɵɵenableBindings": () => (/* binding */ ɵɵenableBindings),
- /* harmony export */ "ɵɵgetCurrentView": () => (/* binding */ ɵɵgetCurrentView),
- /* harmony export */ "ɵɵgetInheritedFactory": () => (/* binding */ ɵɵgetInheritedFactory),
- /* harmony export */ "ɵɵhostProperty": () => (/* binding */ ɵɵhostProperty),
- /* harmony export */ "ɵɵi18n": () => (/* binding */ ɵɵi18n),
- /* harmony export */ "ɵɵi18nApply": () => (/* binding */ ɵɵi18nApply),
- /* harmony export */ "ɵɵi18nAttributes": () => (/* binding */ ɵɵi18nAttributes),
- /* harmony export */ "ɵɵi18nEnd": () => (/* binding */ ɵɵi18nEnd),
- /* harmony export */ "ɵɵi18nExp": () => (/* binding */ ɵɵi18nExp),
- /* harmony export */ "ɵɵi18nPostprocess": () => (/* binding */ ɵɵi18nPostprocess),
- /* harmony export */ "ɵɵi18nStart": () => (/* binding */ ɵɵi18nStart),
- /* harmony export */ "ɵɵinject": () => (/* binding */ ɵɵinject),
- /* harmony export */ "ɵɵinjectAttribute": () => (/* binding */ ɵɵinjectAttribute),
- /* harmony export */ "ɵɵinvalidFactory": () => (/* binding */ ɵɵinvalidFactory),
- /* harmony export */ "ɵɵinvalidFactoryDep": () => (/* binding */ ɵɵinvalidFactoryDep),
- /* harmony export */ "ɵɵlistener": () => (/* binding */ ɵɵlistener),
- /* harmony export */ "ɵɵloadQuery": () => (/* binding */ ɵɵloadQuery),
- /* harmony export */ "ɵɵnamespaceHTML": () => (/* binding */ ɵɵnamespaceHTML),
- /* harmony export */ "ɵɵnamespaceMathML": () => (/* binding */ ɵɵnamespaceMathML),
- /* harmony export */ "ɵɵnamespaceSVG": () => (/* binding */ ɵɵnamespaceSVG),
- /* harmony export */ "ɵɵnextContext": () => (/* binding */ ɵɵnextContext),
- /* harmony export */ "ɵɵngDeclareClassMetadata": () => (/* binding */ ɵɵngDeclareClassMetadata),
- /* harmony export */ "ɵɵngDeclareComponent": () => (/* binding */ ɵɵngDeclareComponent),
- /* harmony export */ "ɵɵngDeclareDirective": () => (/* binding */ ɵɵngDeclareDirective),
- /* harmony export */ "ɵɵngDeclareFactory": () => (/* binding */ ɵɵngDeclareFactory),
- /* harmony export */ "ɵɵngDeclareInjectable": () => (/* binding */ ɵɵngDeclareInjectable),
- /* harmony export */ "ɵɵngDeclareInjector": () => (/* binding */ ɵɵngDeclareInjector),
- /* harmony export */ "ɵɵngDeclareNgModule": () => (/* binding */ ɵɵngDeclareNgModule),
- /* harmony export */ "ɵɵngDeclarePipe": () => (/* binding */ ɵɵngDeclarePipe),
- /* harmony export */ "ɵɵpipe": () => (/* binding */ ɵɵpipe),
- /* harmony export */ "ɵɵpipeBind1": () => (/* binding */ ɵɵpipeBind1),
- /* harmony export */ "ɵɵpipeBind2": () => (/* binding */ ɵɵpipeBind2),
- /* harmony export */ "ɵɵpipeBind3": () => (/* binding */ ɵɵpipeBind3),
- /* harmony export */ "ɵɵpipeBind4": () => (/* binding */ ɵɵpipeBind4),
- /* harmony export */ "ɵɵpipeBindV": () => (/* binding */ ɵɵpipeBindV),
- /* harmony export */ "ɵɵprojection": () => (/* binding */ ɵɵprojection),
- /* harmony export */ "ɵɵprojectionDef": () => (/* binding */ ɵɵprojectionDef),
- /* harmony export */ "ɵɵproperty": () => (/* binding */ ɵɵproperty),
- /* harmony export */ "ɵɵpropertyInterpolate": () => (/* binding */ ɵɵpropertyInterpolate),
- /* harmony export */ "ɵɵpropertyInterpolate1": () => (/* binding */ ɵɵpropertyInterpolate1),
- /* harmony export */ "ɵɵpropertyInterpolate2": () => (/* binding */ ɵɵpropertyInterpolate2),
- /* harmony export */ "ɵɵpropertyInterpolate3": () => (/* binding */ ɵɵpropertyInterpolate3),
- /* harmony export */ "ɵɵpropertyInterpolate4": () => (/* binding */ ɵɵpropertyInterpolate4),
- /* harmony export */ "ɵɵpropertyInterpolate5": () => (/* binding */ ɵɵpropertyInterpolate5),
- /* harmony export */ "ɵɵpropertyInterpolate6": () => (/* binding */ ɵɵpropertyInterpolate6),
- /* harmony export */ "ɵɵpropertyInterpolate7": () => (/* binding */ ɵɵpropertyInterpolate7),
- /* harmony export */ "ɵɵpropertyInterpolate8": () => (/* binding */ ɵɵpropertyInterpolate8),
- /* harmony export */ "ɵɵpropertyInterpolateV": () => (/* binding */ ɵɵpropertyInterpolateV),
- /* harmony export */ "ɵɵpureFunction0": () => (/* binding */ ɵɵpureFunction0),
- /* harmony export */ "ɵɵpureFunction1": () => (/* binding */ ɵɵpureFunction1),
- /* harmony export */ "ɵɵpureFunction2": () => (/* binding */ ɵɵpureFunction2),
- /* harmony export */ "ɵɵpureFunction3": () => (/* binding */ ɵɵpureFunction3),
- /* harmony export */ "ɵɵpureFunction4": () => (/* binding */ ɵɵpureFunction4),
- /* harmony export */ "ɵɵpureFunction5": () => (/* binding */ ɵɵpureFunction5),
- /* harmony export */ "ɵɵpureFunction6": () => (/* binding */ ɵɵpureFunction6),
- /* harmony export */ "ɵɵpureFunction7": () => (/* binding */ ɵɵpureFunction7),
- /* harmony export */ "ɵɵpureFunction8": () => (/* binding */ ɵɵpureFunction8),
- /* harmony export */ "ɵɵpureFunctionV": () => (/* binding */ ɵɵpureFunctionV),
- /* harmony export */ "ɵɵqueryRefresh": () => (/* binding */ ɵɵqueryRefresh),
- /* harmony export */ "ɵɵreference": () => (/* binding */ ɵɵreference),
- /* harmony export */ "ɵɵregisterNgModuleType": () => (/* binding */ registerNgModuleType),
- /* harmony export */ "ɵɵresetView": () => (/* binding */ ɵɵresetView),
- /* harmony export */ "ɵɵresolveBody": () => (/* binding */ ɵɵresolveBody),
- /* harmony export */ "ɵɵresolveDocument": () => (/* binding */ ɵɵresolveDocument),
- /* harmony export */ "ɵɵresolveWindow": () => (/* binding */ ɵɵresolveWindow),
- /* harmony export */ "ɵɵrestoreView": () => (/* binding */ ɵɵrestoreView),
- /* harmony export */ "ɵɵsanitizeHtml": () => (/* binding */ ɵɵsanitizeHtml),
- /* harmony export */ "ɵɵsanitizeResourceUrl": () => (/* binding */ ɵɵsanitizeResourceUrl),
- /* harmony export */ "ɵɵsanitizeScript": () => (/* binding */ ɵɵsanitizeScript),
- /* harmony export */ "ɵɵsanitizeStyle": () => (/* binding */ ɵɵsanitizeStyle),
- /* harmony export */ "ɵɵsanitizeUrl": () => (/* binding */ ɵɵsanitizeUrl),
- /* harmony export */ "ɵɵsanitizeUrlOrResourceUrl": () => (/* binding */ ɵɵsanitizeUrlOrResourceUrl),
- /* harmony export */ "ɵɵsetComponentScope": () => (/* binding */ ɵɵsetComponentScope),
- /* harmony export */ "ɵɵsetNgModuleScope": () => (/* binding */ ɵɵsetNgModuleScope),
- /* harmony export */ "ɵɵstyleMap": () => (/* binding */ ɵɵstyleMap),
- /* harmony export */ "ɵɵstyleMapInterpolate1": () => (/* binding */ ɵɵstyleMapInterpolate1),
- /* harmony export */ "ɵɵstyleMapInterpolate2": () => (/* binding */ ɵɵstyleMapInterpolate2),
- /* harmony export */ "ɵɵstyleMapInterpolate3": () => (/* binding */ ɵɵstyleMapInterpolate3),
- /* harmony export */ "ɵɵstyleMapInterpolate4": () => (/* binding */ ɵɵstyleMapInterpolate4),
- /* harmony export */ "ɵɵstyleMapInterpolate5": () => (/* binding */ ɵɵstyleMapInterpolate5),
- /* harmony export */ "ɵɵstyleMapInterpolate6": () => (/* binding */ ɵɵstyleMapInterpolate6),
- /* harmony export */ "ɵɵstyleMapInterpolate7": () => (/* binding */ ɵɵstyleMapInterpolate7),
- /* harmony export */ "ɵɵstyleMapInterpolate8": () => (/* binding */ ɵɵstyleMapInterpolate8),
- /* harmony export */ "ɵɵstyleMapInterpolateV": () => (/* binding */ ɵɵstyleMapInterpolateV),
- /* harmony export */ "ɵɵstyleProp": () => (/* binding */ ɵɵstyleProp),
- /* harmony export */ "ɵɵstylePropInterpolate1": () => (/* binding */ ɵɵstylePropInterpolate1),
- /* harmony export */ "ɵɵstylePropInterpolate2": () => (/* binding */ ɵɵstylePropInterpolate2),
- /* harmony export */ "ɵɵstylePropInterpolate3": () => (/* binding */ ɵɵstylePropInterpolate3),
- /* harmony export */ "ɵɵstylePropInterpolate4": () => (/* binding */ ɵɵstylePropInterpolate4),
- /* harmony export */ "ɵɵstylePropInterpolate5": () => (/* binding */ ɵɵstylePropInterpolate5),
- /* harmony export */ "ɵɵstylePropInterpolate6": () => (/* binding */ ɵɵstylePropInterpolate6),
- /* harmony export */ "ɵɵstylePropInterpolate7": () => (/* binding */ ɵɵstylePropInterpolate7),
- /* harmony export */ "ɵɵstylePropInterpolate8": () => (/* binding */ ɵɵstylePropInterpolate8),
- /* harmony export */ "ɵɵstylePropInterpolateV": () => (/* binding */ ɵɵstylePropInterpolateV),
- /* harmony export */ "ɵɵsyntheticHostListener": () => (/* binding */ ɵɵsyntheticHostListener),
- /* harmony export */ "ɵɵsyntheticHostProperty": () => (/* binding */ ɵɵsyntheticHostProperty),
- /* harmony export */ "ɵɵtemplate": () => (/* binding */ ɵɵtemplate),
- /* harmony export */ "ɵɵtemplateRefExtractor": () => (/* binding */ ɵɵtemplateRefExtractor),
- /* harmony export */ "ɵɵtext": () => (/* binding */ ɵɵtext),
- /* harmony export */ "ɵɵtextInterpolate": () => (/* binding */ ɵɵtextInterpolate),
- /* harmony export */ "ɵɵtextInterpolate1": () => (/* binding */ ɵɵtextInterpolate1),
- /* harmony export */ "ɵɵtextInterpolate2": () => (/* binding */ ɵɵtextInterpolate2),
- /* harmony export */ "ɵɵtextInterpolate3": () => (/* binding */ ɵɵtextInterpolate3),
- /* harmony export */ "ɵɵtextInterpolate4": () => (/* binding */ ɵɵtextInterpolate4),
- /* harmony export */ "ɵɵtextInterpolate5": () => (/* binding */ ɵɵtextInterpolate5),
- /* harmony export */ "ɵɵtextInterpolate6": () => (/* binding */ ɵɵtextInterpolate6),
- /* harmony export */ "ɵɵtextInterpolate7": () => (/* binding */ ɵɵtextInterpolate7),
- /* harmony export */ "ɵɵtextInterpolate8": () => (/* binding */ ɵɵtextInterpolate8),
- /* harmony export */ "ɵɵtextInterpolateV": () => (/* binding */ ɵɵtextInterpolateV),
- /* harmony export */ "ɵɵtrustConstantHtml": () => (/* binding */ ɵɵtrustConstantHtml),
- /* harmony export */ "ɵɵtrustConstantResourceUrl": () => (/* binding */ ɵɵtrustConstantResourceUrl),
- /* harmony export */ "ɵɵviewQuery": () => (/* binding */ ɵɵviewQuery)
- /* harmony export */ });
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 2218);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 2425);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 2378);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 8623);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 4514);
- /**
- * @license Angular v14.2.7
- * (c) 2010-2022 Google LLC. https://angular.io/
- * License: MIT
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function getClosureSafeProperty(objWithPropertyToExtract) {
- for (let key in objWithPropertyToExtract) {
- if (objWithPropertyToExtract[key] === getClosureSafeProperty) {
- return key;
- }
- }
- throw Error('Could not find renamed property on target object.');
- }
- /**
- * Sets properties on a target object from a source object, but only if
- * the property doesn't already exist on the target object.
- * @param target The target to set properties on
- * @param source The source of the property keys and values to set
- */
- function fillProperties(target, source) {
- for (const key in source) {
- if (source.hasOwnProperty(key) && !target.hasOwnProperty(key)) {
- target[key] = source[key];
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function stringify(token) {
- if (typeof token === 'string') {
- return token;
- }
- if (Array.isArray(token)) {
- return '[' + token.map(stringify).join(', ') + ']';
- }
- if (token == null) {
- return '' + token;
- }
- if (token.overriddenName) {
- return `${token.overriddenName}`;
- }
- if (token.name) {
- return `${token.name}`;
- }
- const res = token.toString();
- if (res == null) {
- return '' + res;
- }
- const newLineIndex = res.indexOf('\n');
- return newLineIndex === -1 ? res : res.substring(0, newLineIndex);
- }
- /**
- * Concatenates two strings with separator, allocating new strings only when necessary.
- *
- * @param before before string.
- * @param separator separator string.
- * @param after after string.
- * @returns concatenated string.
- */
- function concatStringsWithSpace(before, after) {
- return before == null || before === '' ? after === null ? '' : after : after == null || after === '' ? before : before + ' ' + after;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const __forward_ref__ = getClosureSafeProperty({
- __forward_ref__: getClosureSafeProperty
- });
- /**
- * Allows to refer to references which are not yet defined.
- *
- * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of
- * DI is declared, but not yet defined. It is also used when the `token` which we use when creating
- * a query is not yet defined.
- *
- * @usageNotes
- * ### Example
- * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}
- * @publicApi
- */
- function forwardRef(forwardRefFn) {
- forwardRefFn.__forward_ref__ = forwardRef;
- forwardRefFn.toString = function () {
- return stringify(this());
- };
- return forwardRefFn;
- }
- /**
- * Lazily retrieves the reference value from a forwardRef.
- *
- * Acts as the identity function when given a non-forward-ref value.
- *
- * @usageNotes
- * ### Example
- *
- * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}
- *
- * @see `forwardRef`
- * @publicApi
- */
- function resolveForwardRef(type) {
- return isForwardRef(type) ? type() : type;
- }
- /** Checks whether a function is wrapped by a `forwardRef`. */
- function isForwardRef(fn) {
- return typeof fn === 'function' && fn.hasOwnProperty(__forward_ref__) && fn.__forward_ref__ === forwardRef;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Base URL for the error details page.
- *
- * Keep the files below in full sync:
- * - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts
- * - packages/core/src/error_details_base_url.ts
- */
- const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Class that represents a runtime error.
- * Formats and outputs the error message in a consistent way.
- *
- * Example:
- * ```
- * throw new RuntimeError(
- * RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED,
- * ngDevMode && 'Injector has already been destroyed.');
- * ```
- *
- * Note: the `message` argument contains a descriptive error message as a string in development
- * mode (when the `ngDevMode` is defined). In production mode (after tree-shaking pass), the
- * `message` argument becomes `false`, thus we account for it in the typings and the runtime logic.
- */
- class RuntimeError extends Error {
- constructor(code, message) {
- super(formatRuntimeError(code, message));
- this.code = code;
- }
- }
- /**
- * Called to format a runtime error.
- * See additional info on the `message` argument type in the `RuntimeError` class description.
- */
- function formatRuntimeError(code, message) {
- // Error code might be a negative number, which is a special marker that instructs the logic to
- // generate a link to the error details page on angular.io.
- const fullCode = `NG0${Math.abs(code)}`;
- let errorMessage = `${fullCode}${message ? ': ' + message.trim() : ''}`;
- if (ngDevMode && code < 0) {
- const addPeriodSeparator = !errorMessage.match(/[.,;!?]$/);
- const separator = addPeriodSeparator ? '.' : '';
- errorMessage = `${errorMessage}${separator} Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/${fullCode}`;
- }
- return errorMessage;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Used for stringify render output in Ivy.
- * Important! This function is very performance-sensitive and we should
- * be extra careful not to introduce megamorphic reads in it.
- * Check `core/test/render3/perf/render_stringify` for benchmarks and alternate implementations.
- */
- function renderStringify(value) {
- if (typeof value === 'string') return value;
- if (value == null) return ''; // Use `String` so that it invokes the `toString` method of the value. Note that this
- // appears to be faster than calling `value.toString` (see `render_stringify` benchmark).
- return String(value);
- }
- /**
- * Used to stringify a value so that it can be displayed in an error message.
- * Important! This function contains a megamorphic read and should only be
- * used for error messages.
- */
- function stringifyForError(value) {
- if (typeof value === 'function') return value.name || value.toString();
- if (typeof value === 'object' && value != null && typeof value.type === 'function') {
- return value.type.name || value.type.toString();
- }
- return renderStringify(value);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /** Called when directives inject each other (creating a circular dependency) */
- function throwCyclicDependencyError(token, path) {
- const depPath = path ? `. Dependency path: ${path.join(' > ')} > ${token}` : '';
- throw new RuntimeError(-200
- /* RuntimeErrorCode.CYCLIC_DI_DEPENDENCY */
- , `Circular dependency in DI detected for ${token}${depPath}`);
- }
- function throwMixedMultiProviderError() {
- throw new Error(`Cannot mix multi providers and regular providers`);
- }
- function throwInvalidProviderError(ngModuleType, providers, provider) {
- if (ngModuleType && providers) {
- const providerDetail = providers.map(v => v == provider ? '?' + provider + '?' : '...');
- throw new Error(`Invalid provider for the NgModule '${stringify(ngModuleType)}' - only instances of Provider and Type are allowed, got: [${providerDetail.join(', ')}]`);
- } else if (provider.ɵproviders) {
- throw new RuntimeError(207
- /* RuntimeErrorCode.PROVIDER_IN_WRONG_CONTEXT */
- , `Invalid providers from 'importProvidersFrom' present in a non-environment injector. 'importProvidersFrom' can't be used for component providers.`);
- } else {
- throw new Error('Invalid provider');
- }
- }
- /** Throws an error when a token is not found in DI. */
- function throwProviderNotFoundError(token, injectorName) {
- const injectorDetails = injectorName ? ` in ${injectorName}` : '';
- throw new RuntimeError(-201
- /* RuntimeErrorCode.PROVIDER_NOT_FOUND */
- , ngDevMode && `No provider for ${stringifyForError(token)} found${injectorDetails}`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function assertNumber(actual, msg) {
- if (!(typeof actual === 'number')) {
- throwError(msg, typeof actual, 'number', '===');
- }
- }
- function assertNumberInRange(actual, minInclusive, maxInclusive) {
- assertNumber(actual, 'Expected a number');
- assertLessThanOrEqual(actual, maxInclusive, 'Expected number to be less than or equal to');
- assertGreaterThanOrEqual(actual, minInclusive, 'Expected number to be greater than or equal to');
- }
- function assertString(actual, msg) {
- if (!(typeof actual === 'string')) {
- throwError(msg, actual === null ? 'null' : typeof actual, 'string', '===');
- }
- }
- function assertFunction(actual, msg) {
- if (!(typeof actual === 'function')) {
- throwError(msg, actual === null ? 'null' : typeof actual, 'function', '===');
- }
- }
- function assertEqual(actual, expected, msg) {
- if (!(actual == expected)) {
- throwError(msg, actual, expected, '==');
- }
- }
- function assertNotEqual(actual, expected, msg) {
- if (!(actual != expected)) {
- throwError(msg, actual, expected, '!=');
- }
- }
- function assertSame(actual, expected, msg) {
- if (!(actual === expected)) {
- throwError(msg, actual, expected, '===');
- }
- }
- function assertNotSame(actual, expected, msg) {
- if (!(actual !== expected)) {
- throwError(msg, actual, expected, '!==');
- }
- }
- function assertLessThan(actual, expected, msg) {
- if (!(actual < expected)) {
- throwError(msg, actual, expected, '<');
- }
- }
- function assertLessThanOrEqual(actual, expected, msg) {
- if (!(actual <= expected)) {
- throwError(msg, actual, expected, '<=');
- }
- }
- function assertGreaterThan(actual, expected, msg) {
- if (!(actual > expected)) {
- throwError(msg, actual, expected, '>');
- }
- }
- function assertGreaterThanOrEqual(actual, expected, msg) {
- if (!(actual >= expected)) {
- throwError(msg, actual, expected, '>=');
- }
- }
- function assertNotDefined(actual, msg) {
- if (actual != null) {
- throwError(msg, actual, null, '==');
- }
- }
- function assertDefined(actual, msg) {
- if (actual == null) {
- throwError(msg, actual, null, '!=');
- }
- }
- function throwError(msg, actual, expected, comparison) {
- throw new Error(`ASSERTION ERROR: ${msg}` + (comparison == null ? '' : ` [Expected=> ${expected} ${comparison} ${actual} <=Actual]`));
- }
- function assertDomNode(node) {
- // If we're in a worker, `Node` will not be defined.
- if (!(typeof Node !== 'undefined' && node instanceof Node) && !(typeof node === 'object' && node != null && node.constructor.name === 'WebWorkerRenderNode')) {
- throwError(`The provided value must be an instance of a DOM Node but got ${stringify(node)}`);
- }
- }
- function assertIndexInRange(arr, index) {
- assertDefined(arr, 'Array must be defined.');
- const maxLen = arr.length;
- if (index < 0 || index >= maxLen) {
- throwError(`Index expected to be less than ${maxLen} but got ${index}`);
- }
- }
- function assertOneOf(value, ...validValues) {
- if (validValues.indexOf(value) !== -1) return true;
- throwError(`Expected value to be one of ${JSON.stringify(validValues)} but was ${JSON.stringify(value)}.`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Construct an injectable definition which defines how a token will be constructed by the DI
- * system, and in which injectors (if any) it will be available.
- *
- * This should be assigned to a static `ɵprov` field on a type, which will then be an
- * `InjectableType`.
- *
- * Options:
- * * `providedIn` determines which injectors will include the injectable, by either associating it
- * with an `@NgModule` or other `InjectorType`, or by specifying that this injectable should be
- * provided in the `'root'` injector, which will be the application-level injector in most apps.
- * * `factory` gives the zero argument function which will create an instance of the injectable.
- * The factory can call `inject` to access the `Injector` and request injection of dependencies.
- *
- * @codeGenApi
- * @publicApi This instruction has been emitted by ViewEngine for some time and is deployed to npm.
- */
- function ɵɵdefineInjectable(opts) {
- return {
- token: opts.token,
- providedIn: opts.providedIn || null,
- factory: opts.factory,
- value: undefined
- };
- }
- /**
- * @deprecated in v8, delete after v10. This API should be used only by generated code, and that
- * code should now use ɵɵdefineInjectable instead.
- * @publicApi
- */
- const defineInjectable = ɵɵdefineInjectable;
- /**
- * Construct an `InjectorDef` which configures an injector.
- *
- * This should be assigned to a static injector def (`ɵinj`) field on a type, which will then be an
- * `InjectorType`.
- *
- * Options:
- *
- * * `providers`: an optional array of providers to add to the injector. Each provider must
- * either have a factory or point to a type which has a `ɵprov` static property (the
- * type must be an `InjectableType`).
- * * `imports`: an optional array of imports of other `InjectorType`s or `InjectorTypeWithModule`s
- * whose providers will also be added to the injector. Locally provided types will override
- * providers from imports.
- *
- * @codeGenApi
- */
- function ɵɵdefineInjector(options) {
- return {
- providers: options.providers || [],
- imports: options.imports || []
- };
- }
- /**
- * Read the injectable def (`ɵprov`) for `type` in a way which is immune to accidentally reading
- * inherited value.
- *
- * @param type A type which may have its own (non-inherited) `ɵprov`.
- */
- function getInjectableDef(type) {
- return getOwnDefinition(type, NG_PROV_DEF) || getOwnDefinition(type, NG_INJECTABLE_DEF);
- }
- function isInjectable(type) {
- return getInjectableDef(type) !== null;
- }
- /**
- * Return definition only if it is defined directly on `type` and is not inherited from a base
- * class of `type`.
- */
- function getOwnDefinition(type, field) {
- return type.hasOwnProperty(field) ? type[field] : null;
- }
- /**
- * Read the injectable def (`ɵprov`) for `type` or read the `ɵprov` from one of its ancestors.
- *
- * @param type A type which may have `ɵprov`, via inheritance.
- *
- * @deprecated Will be removed in a future version of Angular, where an error will occur in the
- * scenario if we find the `ɵprov` on an ancestor only.
- */
- function getInheritedInjectableDef(type) {
- const def = type && (type[NG_PROV_DEF] || type[NG_INJECTABLE_DEF]);
- if (def) {
- const typeName = getTypeName(type); // TODO(FW-1307): Re-add ngDevMode when closure can handle it
- // ngDevMode &&
- 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.`);
- return def;
- } else {
- return null;
- }
- }
- /** Gets the name of a type, accounting for some cross-browser differences. */
- function getTypeName(type) {
- // `Function.prototype.name` behaves differently between IE and other browsers. In most browsers
- // it'll always return the name of the function itself, no matter how many other functions it
- // inherits from. On IE the function doesn't have its own `name` property, but it takes it from
- // the lowest level in the prototype chain. E.g. if we have `class Foo extends Parent` most
- // browsers will evaluate `Foo.name` to `Foo` while IE will return `Parent`. We work around
- // the issue by converting the function to a string and parsing its name out that way via a regex.
- if (type.hasOwnProperty('name')) {
- return type.name;
- }
- const match = ('' + type).match(/^function\s*([^\s(]+)/);
- return match === null ? '' : match[1];
- }
- /**
- * Read the injector def type in a way which is immune to accidentally reading inherited value.
- *
- * @param type type which may have an injector def (`ɵinj`)
- */
- function getInjectorDef(type) {
- return type && (type.hasOwnProperty(NG_INJ_DEF) || type.hasOwnProperty(NG_INJECTOR_DEF)) ? type[NG_INJ_DEF] : null;
- }
- const NG_PROV_DEF = getClosureSafeProperty({
- ɵprov: getClosureSafeProperty
- });
- const NG_INJ_DEF = getClosureSafeProperty({
- ɵinj: getClosureSafeProperty
- }); // We need to keep these around so we can read off old defs if new defs are unavailable
- const NG_INJECTABLE_DEF = getClosureSafeProperty({
- ngInjectableDef: getClosureSafeProperty
- });
- const NG_INJECTOR_DEF = getClosureSafeProperty({
- ngInjectorDef: getClosureSafeProperty
- });
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Injection flags for DI.
- *
- * @publicApi
- * @deprecated use an options object for `inject` instead.
- */
- var InjectFlags;
- (function (InjectFlags) {
- // TODO(alxhub): make this 'const' (and remove `InternalInjectFlags` enum) when ngc no longer
- // writes exports of it into ngfactory files.
- /** Check self and check parent injector if needed */
- InjectFlags[InjectFlags["Default"] = 0] = "Default";
- /**
- * Specifies that an injector should retrieve a dependency from any injector until reaching the
- * host element of the current component. (Only used with Element Injector)
- */
- InjectFlags[InjectFlags["Host"] = 1] = "Host";
- /** Don't ascend to ancestors of the node requesting injection. */
- InjectFlags[InjectFlags["Self"] = 2] = "Self";
- /** Skip the node that is requesting injection. */
- InjectFlags[InjectFlags["SkipSelf"] = 4] = "SkipSelf";
- /** Inject `defaultValue` instead if token not found. */
- InjectFlags[InjectFlags["Optional"] = 8] = "Optional";
- })(InjectFlags || (InjectFlags = {}));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Current implementation of inject.
- *
- * By default, it is `injectInjectorOnly`, which makes it `Injector`-only aware. It can be changed
- * to `directiveInject`, which brings in the `NodeInjector` system of ivy. It is designed this
- * way for two reasons:
- * 1. `Injector` should not depend on ivy logic.
- * 2. To maintain tree shake-ability we don't want to bring in unnecessary code.
- */
- let _injectImplementation;
- function getInjectImplementation() {
- return _injectImplementation;
- }
- /**
- * Sets the current inject implementation.
- */
- function setInjectImplementation(impl) {
- const previous = _injectImplementation;
- _injectImplementation = impl;
- return previous;
- }
- /**
- * Injects `root` tokens in limp mode.
- *
- * If no injector exists, we can still inject tree-shakable providers which have `providedIn` set to
- * `"root"`. This is known as the limp mode injection. In such case the value is stored in the
- * injectable definition.
- */
- function injectRootLimpMode(token, notFoundValue, flags) {
- const injectableDef = getInjectableDef(token);
- if (injectableDef && injectableDef.providedIn == 'root') {
- return injectableDef.value === undefined ? injectableDef.value = injectableDef.factory() : injectableDef.value;
- }
- if (flags & InjectFlags.Optional) return null;
- if (notFoundValue !== undefined) return notFoundValue;
- throwProviderNotFoundError(stringify(token), 'Injector');
- }
- /**
- * Assert that `_injectImplementation` is not `fn`.
- *
- * This is useful, to prevent infinite recursion.
- *
- * @param fn Function which it should not equal to
- */
- function assertInjectImplementationNotEqual(fn) {
- ngDevMode && assertNotEqual(_injectImplementation, fn, 'Calling ɵɵinject would cause infinite recursion');
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Convince closure compiler that the wrapped function has no side-effects.
- *
- * Closure compiler always assumes that `toString` has no side-effects. We use this quirk to
- * allow us to execute a function but have closure compiler mark the call as no-side-effects.
- * It is important that the return value for the `noSideEffects` function be assigned
- * to something which is retained otherwise the call to `noSideEffects` will be removed by closure
- * compiler.
- */
- function noSideEffects(fn) {
- return {
- toString: fn
- }.toString();
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The strategy that the default change detector uses to detect changes.
- * When set, takes effect the next time change detection is triggered.
- *
- * @see {@link ChangeDetectorRef#usage-notes Change detection usage}
- *
- * @publicApi
- */
- var ChangeDetectionStrategy;
- (function (ChangeDetectionStrategy) {
- /**
- * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated
- * until reactivated by setting the strategy to `Default` (`CheckAlways`).
- * Change detection can still be explicitly invoked.
- * This strategy applies to all child directives and cannot be overridden.
- */
- ChangeDetectionStrategy[ChangeDetectionStrategy["OnPush"] = 0] = "OnPush";
- /**
- * Use the default `CheckAlways` strategy, in which change detection is automatic until
- * explicitly deactivated.
- */
- ChangeDetectionStrategy[ChangeDetectionStrategy["Default"] = 1] = "Default";
- })(ChangeDetectionStrategy || (ChangeDetectionStrategy = {}));
- /**
- * Defines the possible states of the default change detector.
- * @see `ChangeDetectorRef`
- */
- var ChangeDetectorStatus;
- (function (ChangeDetectorStatus) {
- /**
- * A state in which, after calling `detectChanges()`, the change detector
- * state becomes `Checked`, and must be explicitly invoked or reactivated.
- */
- ChangeDetectorStatus[ChangeDetectorStatus["CheckOnce"] = 0] = "CheckOnce";
- /**
- * A state in which change detection is skipped until the change detector mode
- * becomes `CheckOnce`.
- */
- ChangeDetectorStatus[ChangeDetectorStatus["Checked"] = 1] = "Checked";
- /**
- * A state in which change detection continues automatically until explicitly
- * deactivated.
- */
- ChangeDetectorStatus[ChangeDetectorStatus["CheckAlways"] = 2] = "CheckAlways";
- /**
- * A state in which a change detector sub tree is not a part of the main tree and
- * should be skipped.
- */
- ChangeDetectorStatus[ChangeDetectorStatus["Detached"] = 3] = "Detached";
- /**
- * Indicates that the change detector encountered an error checking a binding
- * or calling a directive lifecycle method and is now in an inconsistent state. Change
- * detectors in this state do not detect changes.
- */
- ChangeDetectorStatus[ChangeDetectorStatus["Errored"] = 4] = "Errored";
- /**
- * Indicates that the change detector has been destroyed.
- */
- ChangeDetectorStatus[ChangeDetectorStatus["Destroyed"] = 5] = "Destroyed";
- })(ChangeDetectorStatus || (ChangeDetectorStatus = {}));
- /**
- * Reports whether a given strategy is currently the default for change detection.
- * @param changeDetectionStrategy The strategy to check.
- * @returns True if the given strategy is the current default, false otherwise.
- * @see `ChangeDetectorStatus`
- * @see `ChangeDetectorRef`
- */
- function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {
- return changeDetectionStrategy == null || changeDetectionStrategy === ChangeDetectionStrategy.Default;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Defines the CSS styles encapsulation policies for the {@link Component} decorator's
- * `encapsulation` option.
- *
- * See {@link Component#encapsulation encapsulation}.
- *
- * @usageNotes
- * ### Example
- *
- * {@example core/ts/metadata/encapsulation.ts region='longform'}
- *
- * @publicApi
- */
- var ViewEncapsulation$1;
- (function (ViewEncapsulation) {
- // TODO: consider making `ViewEncapsulation` a `const enum` instead. See
- // https://github.com/angular/angular/issues/44119 for additional information.
- /**
- * Emulates a native Shadow DOM encapsulation behavior by adding a specific attribute to the
- * component's host element and applying the same attribute to all the CSS selectors provided
- * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls}.
- *
- * This is the default option.
- */
- ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
- /**
- * Doesn't provide any sort of CSS style encapsulation, meaning that all the styles provided
- * via {@link Component#styles styles} or {@link Component#styleUrls styleUrls} are applicable
- * to any HTML element of the application regardless of their host Component.
- */
- ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
- /**
- * Uses the browser's native Shadow DOM API to encapsulate CSS styles, meaning that it creates
- * a ShadowRoot for the component's host element which is then used to encapsulate
- * all the Component's styling.
- */
- ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
- })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Always use __globalThis if available, which is the spec-defined global variable across all
- // environments, then fallback to __global first, because in Node tests both __global and
- // __window may be defined and _global should be __global in that case. Note: Typeof/Instanceof
- // checks are considered side-effects in Terser. We explicitly mark this as side-effect free:
- // https://github.com/terser/terser/issues/250.
- 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)();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function ngDevModeResetPerfCounters() {
- const locationString = typeof location !== 'undefined' ? location.toString() : '';
- const newCounters = {
- namedConstructors: locationString.indexOf('ngDevMode=namedConstructors') != -1,
- firstCreatePass: 0,
- tNode: 0,
- tView: 0,
- rendererCreateTextNode: 0,
- rendererSetText: 0,
- rendererCreateElement: 0,
- rendererAddEventListener: 0,
- rendererSetAttribute: 0,
- rendererRemoveAttribute: 0,
- rendererSetProperty: 0,
- rendererSetClassName: 0,
- rendererAddClass: 0,
- rendererRemoveClass: 0,
- rendererSetStyle: 0,
- rendererRemoveStyle: 0,
- rendererDestroy: 0,
- rendererDestroyNode: 0,
- rendererMoveNode: 0,
- rendererRemoveNode: 0,
- rendererAppendChild: 0,
- rendererInsertBefore: 0,
- rendererCreateComment: 0
- }; // Make sure to refer to ngDevMode as ['ngDevMode'] for closure.
- const allowNgDevModeTrue = locationString.indexOf('ngDevMode=false') === -1;
- _global['ngDevMode'] = allowNgDevModeTrue && newCounters;
- return newCounters;
- }
- /**
- * This function checks to see if the `ngDevMode` has been set. If yes,
- * then we honor it, otherwise we default to dev mode with additional checks.
- *
- * The idea is that unless we are doing production build where we explicitly
- * set `ngDevMode == false` we should be helping the developer by providing
- * as much early warning and errors as possible.
- *
- * `ɵɵdefineComponent` is guaranteed to have been called before any component template functions
- * (and thus Ivy instructions), so a single initialization there is sufficient to ensure ngDevMode
- * is defined for the entire instruction set.
- *
- * When checking `ngDevMode` on toplevel, always init it before referencing it
- * (e.g. `((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode())`), otherwise you can
- * get a `ReferenceError` like in https://github.com/angular/angular/issues/31595.
- *
- * Details on possible values for `ngDevMode` can be found on its docstring.
- *
- * NOTE:
- * - changes to the `ngDevMode` name must be synced with `compiler-cli/src/tooling.ts`.
- */
- function initNgDevMode() {
- // The below checks are to ensure that calling `initNgDevMode` multiple times does not
- // reset the counters.
- // If the `ngDevMode` is not an object, then it means we have not created the perf counters
- // yet.
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- if (typeof ngDevMode !== 'object') {
- ngDevModeResetPerfCounters();
- }
- return typeof ngDevMode !== 'undefined' && !!ngDevMode;
- }
- return false;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This file contains reuseable "empty" symbols that can be used as default return values
- * in different parts of the rendering code. Because the same symbols are returned, this
- * allows for identity checks against these values to be consistently used by the framework
- * code.
- */
- const EMPTY_OBJ = {};
- const EMPTY_ARRAY = []; // freezing the values prevents any code from accidentally inserting new values in
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode()) {
- // These property accesses can be ignored because ngDevMode will be set to false
- // when optimizing code and the whole if statement will be dropped.
- // tslint:disable-next-line:no-toplevel-property-access
- Object.freeze(EMPTY_OBJ); // tslint:disable-next-line:no-toplevel-property-access
- Object.freeze(EMPTY_ARRAY);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_COMP_DEF = getClosureSafeProperty({
- ɵcmp: getClosureSafeProperty
- });
- const NG_DIR_DEF = getClosureSafeProperty({
- ɵdir: getClosureSafeProperty
- });
- const NG_PIPE_DEF = getClosureSafeProperty({
- ɵpipe: getClosureSafeProperty
- });
- const NG_MOD_DEF = getClosureSafeProperty({
- ɵmod: getClosureSafeProperty
- });
- const NG_FACTORY_DEF = getClosureSafeProperty({
- ɵfac: getClosureSafeProperty
- });
- /**
- * If a directive is diPublic, bloomAdd sets a property on the type with this constant as
- * the key and the directive's unique ID as the value. This allows us to map directives to their
- * bloom filter bit for DI.
- */
- // TODO(misko): This is wrong. The NG_ELEMENT_ID should never be minified.
- const NG_ELEMENT_ID = getClosureSafeProperty({
- __NG_ELEMENT_ID__: getClosureSafeProperty
- });
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /** Counter used to generate unique IDs for component definitions. */
- let componentDefCount = 0;
- /**
- * Create a component definition object.
- *
- *
- * # Example
- * ```
- * class MyDirective {
- * // Generated by Angular Template Compiler
- * // [Symbol] syntax will not be supported by TypeScript until v2.7
- * static ɵcmp = defineComponent({
- * ...
- * });
- * }
- * ```
- * @codeGenApi
- */
- function ɵɵdefineComponent(componentDefinition) {
- return noSideEffects(() => {
- // Initialize ngDevMode. This must be the first statement in ɵɵdefineComponent.
- // See the `initNgDevMode` docstring for more information.
- (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();
- const type = componentDefinition.type;
- const standalone = componentDefinition.standalone === true;
- const declaredInputs = {};
- const def = {
- type: type,
- providersResolver: null,
- decls: componentDefinition.decls,
- vars: componentDefinition.vars,
- factory: null,
- template: componentDefinition.template || null,
- consts: componentDefinition.consts || null,
- ngContentSelectors: componentDefinition.ngContentSelectors,
- hostBindings: componentDefinition.hostBindings || null,
- hostVars: componentDefinition.hostVars || 0,
- hostAttrs: componentDefinition.hostAttrs || null,
- contentQueries: componentDefinition.contentQueries || null,
- declaredInputs: declaredInputs,
- inputs: null,
- outputs: null,
- exportAs: componentDefinition.exportAs || null,
- onPush: componentDefinition.changeDetection === ChangeDetectionStrategy.OnPush,
- directiveDefs: null,
- pipeDefs: null,
- standalone,
- dependencies: standalone && componentDefinition.dependencies || null,
- getStandaloneInjector: null,
- selectors: componentDefinition.selectors || EMPTY_ARRAY,
- viewQuery: componentDefinition.viewQuery || null,
- features: componentDefinition.features || null,
- data: componentDefinition.data || {},
- encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,
- id: `c${componentDefCount++}`,
- styles: componentDefinition.styles || EMPTY_ARRAY,
- _: null,
- setInput: null,
- schemas: componentDefinition.schemas || null,
- tView: null
- };
- const dependencies = componentDefinition.dependencies;
- const feature = componentDefinition.features;
- def.inputs = invertObject(componentDefinition.inputs, declaredInputs), def.outputs = invertObject(componentDefinition.outputs), feature && feature.forEach(fn => fn(def));
- def.directiveDefs = dependencies ? () => (typeof dependencies === 'function' ? dependencies() : dependencies).map(extractDirectiveDef).filter(nonNull) : null;
- def.pipeDefs = dependencies ? () => (typeof dependencies === 'function' ? dependencies() : dependencies).map(getPipeDef$1).filter(nonNull) : null;
- return def;
- });
- }
- /**
- * Generated next to NgModules to monkey-patch directive and pipe references onto a component's
- * definition, when generating a direct reference in the component file would otherwise create an
- * import cycle.
- *
- * See [this explanation](https://hackmd.io/Odw80D0pR6yfsOjg_7XCJg?view) for more details.
- *
- * @codeGenApi
- */
- function ɵɵsetComponentScope(type, directives, pipes) {
- const def = type.ɵcmp;
- def.directiveDefs = () => (typeof directives === 'function' ? directives() : directives).map(extractDirectiveDef);
- def.pipeDefs = () => (typeof pipes === 'function' ? pipes() : pipes).map(getPipeDef$1);
- }
- function extractDirectiveDef(type) {
- return getComponentDef(type) || getDirectiveDef(type);
- }
- function nonNull(value) {
- return value !== null;
- }
- /**
- * @codeGenApi
- */
- function ɵɵdefineNgModule(def) {
- return noSideEffects(() => {
- const res = {
- type: def.type,
- bootstrap: def.bootstrap || EMPTY_ARRAY,
- declarations: def.declarations || EMPTY_ARRAY,
- imports: def.imports || EMPTY_ARRAY,
- exports: def.exports || EMPTY_ARRAY,
- transitiveCompileScopes: null,
- schemas: def.schemas || null,
- id: def.id || null
- };
- return res;
- });
- }
- /**
- * Adds the module metadata that is necessary to compute the module's transitive scope to an
- * existing module definition.
- *
- * Scope metadata of modules is not used in production builds, so calls to this function can be
- * marked pure to tree-shake it from the bundle, allowing for all referenced declarations
- * to become eligible for tree-shaking as well.
- *
- * @codeGenApi
- */
- function ɵɵsetNgModuleScope(type, scope) {
- return noSideEffects(() => {
- const ngModuleDef = getNgModuleDef(type, true);
- ngModuleDef.declarations = scope.declarations || EMPTY_ARRAY;
- ngModuleDef.imports = scope.imports || EMPTY_ARRAY;
- ngModuleDef.exports = scope.exports || EMPTY_ARRAY;
- });
- }
- /**
- * Inverts an inputs or outputs lookup such that the keys, which were the
- * minified keys, are part of the values, and the values are parsed so that
- * the publicName of the property is the new key
- *
- * e.g. for
- *
- * ```
- * class Comp {
- * @Input()
- * propName1: string;
- *
- * @Input('publicName2')
- * declaredPropName2: number;
- * }
- * ```
- *
- * will be serialized as
- *
- * ```
- * {
- * propName1: 'propName1',
- * declaredPropName2: ['publicName2', 'declaredPropName2'],
- * }
- * ```
- *
- * which is than translated by the minifier as:
- *
- * ```
- * {
- * minifiedPropName1: 'propName1',
- * minifiedPropName2: ['publicName2', 'declaredPropName2'],
- * }
- * ```
- *
- * becomes: (public name => minifiedName)
- *
- * ```
- * {
- * 'propName1': 'minifiedPropName1',
- * 'publicName2': 'minifiedPropName2',
- * }
- * ```
- *
- * Optionally the function can take `secondary` which will result in: (public name => declared name)
- *
- * ```
- * {
- * 'propName1': 'propName1',
- * 'publicName2': 'declaredPropName2',
- * }
- * ```
- *
- */
- function invertObject(obj, secondary) {
- if (obj == null) return EMPTY_OBJ;
- const newLookup = {};
- for (const minifiedKey in obj) {
- if (obj.hasOwnProperty(minifiedKey)) {
- let publicName = obj[minifiedKey];
- let declaredName = publicName;
- if (Array.isArray(publicName)) {
- declaredName = publicName[1];
- publicName = publicName[0];
- }
- newLookup[publicName] = minifiedKey;
- if (secondary) {
- secondary[publicName] = declaredName;
- }
- }
- }
- return newLookup;
- }
- /**
- * Create a directive definition object.
- *
- * # Example
- * ```ts
- * class MyDirective {
- * // Generated by Angular Template Compiler
- * // [Symbol] syntax will not be supported by TypeScript until v2.7
- * static ɵdir = ɵɵdefineDirective({
- * ...
- * });
- * }
- * ```
- *
- * @codeGenApi
- */
- const ɵɵdefineDirective = ɵɵdefineComponent;
- /**
- * Create a pipe definition object.
- *
- * # Example
- * ```
- * class MyPipe implements PipeTransform {
- * // Generated by Angular Template Compiler
- * static ɵpipe = definePipe({
- * ...
- * });
- * }
- * ```
- * @param pipeDef Pipe definition generated by the compiler
- *
- * @codeGenApi
- */
- function ɵɵdefinePipe(pipeDef) {
- return {
- type: pipeDef.type,
- name: pipeDef.name,
- factory: null,
- pure: pipeDef.pure !== false,
- standalone: pipeDef.standalone === true,
- onDestroy: pipeDef.type.prototype.ngOnDestroy || null
- };
- }
- /**
- * The following getter methods retrieve the definition from the type. Currently the retrieval
- * honors inheritance, but in the future we may change the rule to require that definitions are
- * explicit. This would require some sort of migration strategy.
- */
- function getComponentDef(type) {
- return type[NG_COMP_DEF] || null;
- }
- function getDirectiveDef(type) {
- return type[NG_DIR_DEF] || null;
- }
- function getPipeDef$1(type) {
- return type[NG_PIPE_DEF] || null;
- }
- function isStandalone(type) {
- const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);
- return def !== null ? def.standalone : false;
- }
- function getNgModuleDef(type, throwNotFound) {
- const ngModuleDef = type[NG_MOD_DEF] || null;
- if (!ngModuleDef && throwNotFound === true) {
- throw new Error(`Type ${stringify(type)} does not have 'ɵmod' property.`);
- }
- return ngModuleDef;
- }
- /**
- * Special location which allows easy identification of type. If we have an array which was
- * retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is
- * `LContainer`.
- */
- const TYPE = 1;
- /**
- * Below are constants for LContainer indices to help us look up LContainer members
- * without having to remember the specific indices.
- * Uglify will inline these when minifying so there shouldn't be a cost.
- */
- /**
- * Flag to signify that this `LContainer` may have transplanted views which need to be change
- * detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.
- *
- * This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip
- * a lot of work in `refreshEmbeddedViews`. But when set we still need to verify
- * that the `MOVED_VIEWS` are transplanted and on-push.
- */
- const HAS_TRANSPLANTED_VIEWS = 2; // PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5
- // As we already have these constants in LView, we don't need to re-create them.
- // T_HOST is index 6
- // We already have this constants in LView, we don't need to re-create it.
- const NATIVE = 7;
- const VIEW_REFS = 8;
- const MOVED_VIEWS = 9;
- /**
- * Size of LContainer's header. Represents the index after which all views in the
- * container will be inserted. We need to keep a record of current views so we know
- * which views are already in the DOM (and don't need to be re-added) and so we can
- * remove views from the DOM when they are no longer required.
- */
- const CONTAINER_HEADER_OFFSET = 10; // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd$8 = 1;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Below are constants for LView indices to help us look up LView members
- // without having to remember the specific indices.
- // Uglify will inline these when minifying so there shouldn't be a cost.
- const HOST = 0;
- const TVIEW = 1;
- const FLAGS = 2;
- const PARENT = 3;
- const NEXT = 4;
- const TRANSPLANTED_VIEWS_TO_REFRESH = 5;
- const T_HOST = 6;
- const CLEANUP = 7;
- const CONTEXT = 8;
- const INJECTOR$1 = 9;
- const RENDERER_FACTORY = 10;
- const RENDERER = 11;
- const SANITIZER = 12;
- const CHILD_HEAD = 13;
- const CHILD_TAIL = 14; // FIXME(misko): Investigate if the three declarations aren't all same thing.
- const DECLARATION_VIEW = 15;
- const DECLARATION_COMPONENT_VIEW = 16;
- const DECLARATION_LCONTAINER = 17;
- const PREORDER_HOOK_FLAGS = 18;
- const QUERIES = 19;
- const ID = 20;
- const EMBEDDED_VIEW_INJECTOR = 21;
- /**
- * Size of LView's header. Necessary to adjust for it when setting slots.
- *
- * IMPORTANT: `HEADER_OFFSET` should only be referred to the in the `ɵɵ*` instructions to translate
- * instruction index into `LView` index. All other indexes should be in the `LView` index space and
- * there should be no need to refer to `HEADER_OFFSET` anywhere else.
- */
- const HEADER_OFFSET = 22;
- /**
- * Converts `TViewType` into human readable text.
- * Make sure this matches with `TViewType`
- */
- const TViewTypeAsString = ['Root', 'Component', 'Embedded' // 2
- ]; // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd$7 = 1;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * True if `value` is `LView`.
- * @param value wrapped value of `RNode`, `LView`, `LContainer`
- */
- function isLView(value) {
- return Array.isArray(value) && typeof value[TYPE] === 'object';
- }
- /**
- * True if `value` is `LContainer`.
- * @param value wrapped value of `RNode`, `LView`, `LContainer`
- */
- function isLContainer(value) {
- return Array.isArray(value) && value[TYPE] === true;
- }
- function isContentQueryHost(tNode) {
- return (tNode.flags & 8
- /* TNodeFlags.hasContentQuery */
- ) !== 0;
- }
- function isComponentHost(tNode) {
- return (tNode.flags & 2
- /* TNodeFlags.isComponentHost */
- ) === 2
- /* TNodeFlags.isComponentHost */
- ;
- }
- function isDirectiveHost(tNode) {
- return (tNode.flags & 1
- /* TNodeFlags.isDirectiveHost */
- ) === 1
- /* TNodeFlags.isDirectiveHost */
- ;
- }
- function isComponentDef(def) {
- return def.template !== null;
- }
- function isRootView(target) {
- return (target[FLAGS] & 256
- /* LViewFlags.IsRoot */
- ) !== 0;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // [Assert functions do not constraint type when they are guarded by a truthy
- // expression.](https://github.com/microsoft/TypeScript/issues/37295)
- function assertTNodeForLView(tNode, lView) {
- assertTNodeForTView(tNode, lView[TVIEW]);
- }
- function assertTNodeForTView(tNode, tView) {
- assertTNode(tNode);
- tNode.hasOwnProperty('tView_') && assertEqual(tNode.tView_, tView, 'This TNode does not belong to this TView.');
- }
- function assertTNode(tNode) {
- assertDefined(tNode, 'TNode must be defined');
- if (!(tNode && typeof tNode === 'object' && tNode.hasOwnProperty('directiveStylingLast'))) {
- throwError('Not of type TNode, got: ' + tNode);
- }
- }
- function assertTIcu(tIcu) {
- assertDefined(tIcu, 'Expected TIcu to be defined');
- if (!(typeof tIcu.currentCaseLViewIndex === 'number')) {
- throwError('Object is not of TIcu type.');
- }
- }
- function assertComponentType(actual, msg = 'Type passed in is not ComponentType, it does not have \'ɵcmp\' property.') {
- if (!getComponentDef(actual)) {
- throwError(msg);
- }
- }
- function assertNgModuleType(actual, msg = 'Type passed in is not NgModuleType, it does not have \'ɵmod\' property.') {
- if (!getNgModuleDef(actual)) {
- throwError(msg);
- }
- }
- function assertCurrentTNodeIsParent(isParent) {
- assertEqual(isParent, true, 'currentTNode should be a parent');
- }
- function assertHasParent(tNode) {
- assertDefined(tNode, 'currentTNode should exist!');
- assertDefined(tNode.parent, 'currentTNode should have a parent');
- }
- function assertDataNext(lView, index, arr) {
- if (arr == null) arr = lView;
- assertEqual(arr.length, index, `index ${index} expected to be at the end of arr (length ${arr.length})`);
- }
- function assertLContainer(value) {
- assertDefined(value, 'LContainer must be defined');
- assertEqual(isLContainer(value), true, 'Expecting LContainer');
- }
- function assertLViewOrUndefined(value) {
- value && assertEqual(isLView(value), true, 'Expecting LView or undefined or null');
- }
- function assertLView(value) {
- assertDefined(value, 'LView must be defined');
- assertEqual(isLView(value), true, 'Expecting LView');
- }
- function assertFirstCreatePass(tView, errMessage) {
- assertEqual(tView.firstCreatePass, true, errMessage || 'Should only be called in first create pass.');
- }
- function assertFirstUpdatePass(tView, errMessage) {
- assertEqual(tView.firstUpdatePass, true, errMessage || 'Should only be called in first update pass.');
- }
- /**
- * This is a basic sanity check that an object is probably a directive def. DirectiveDef is
- * an interface, so we can't do a direct instanceof check.
- */
- function assertDirectiveDef(obj) {
- if (obj.type === undefined || obj.selectors == undefined || obj.inputs === undefined) {
- throwError(`Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.`);
- }
- }
- function assertIndexInDeclRange(lView, index) {
- const tView = lView[1];
- assertBetween(HEADER_OFFSET, tView.bindingStartIndex, index);
- }
- function assertIndexInVarsRange(lView, index) {
- const tView = lView[1];
- assertBetween(tView.bindingStartIndex, tView.expandoStartIndex, index);
- }
- function assertIndexInExpandoRange(lView, index) {
- const tView = lView[1];
- assertBetween(tView.expandoStartIndex, lView.length, index);
- }
- function assertBetween(lower, upper, index) {
- if (!(lower <= index && index < upper)) {
- throwError(`Index out of range (expecting ${lower} <= ${index} < ${upper})`);
- }
- }
- function assertProjectionSlots(lView, errMessage) {
- assertDefined(lView[DECLARATION_COMPONENT_VIEW], 'Component views should exist.');
- assertDefined(lView[DECLARATION_COMPONENT_VIEW][T_HOST].projection, errMessage || 'Components with projection nodes (<ng-content>) must have projection slots defined.');
- }
- function assertParentView(lView, errMessage) {
- assertDefined(lView, errMessage || 'Component views should always have a parent view (component\'s host view)');
- }
- /**
- * This is a basic sanity check that the `injectorIndex` seems to point to what looks like a
- * NodeInjector data structure.
- *
- * @param lView `LView` which should be checked.
- * @param injectorIndex index into the `LView` where the `NodeInjector` is expected.
- */
- function assertNodeInjector(lView, injectorIndex) {
- assertIndexInExpandoRange(lView, injectorIndex);
- assertIndexInExpandoRange(lView, injectorIndex + 8
- /* NodeInjectorOffset.PARENT */
- );
- assertNumber(lView[injectorIndex + 0], 'injectorIndex should point to a bloom filter');
- assertNumber(lView[injectorIndex + 1], 'injectorIndex should point to a bloom filter');
- assertNumber(lView[injectorIndex + 2], 'injectorIndex should point to a bloom filter');
- assertNumber(lView[injectorIndex + 3], 'injectorIndex should point to a bloom filter');
- assertNumber(lView[injectorIndex + 4], 'injectorIndex should point to a bloom filter');
- assertNumber(lView[injectorIndex + 5], 'injectorIndex should point to a bloom filter');
- assertNumber(lView[injectorIndex + 6], 'injectorIndex should point to a bloom filter');
- assertNumber(lView[injectorIndex + 7], 'injectorIndex should point to a bloom filter');
- assertNumber(lView[injectorIndex + 8
- /* NodeInjectorOffset.PARENT */
- ], 'injectorIndex should point to parent injector');
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function getFactoryDef(type, throwNotFound) {
- const hasFactoryDef = type.hasOwnProperty(NG_FACTORY_DEF);
- if (!hasFactoryDef && throwNotFound === true && ngDevMode) {
- throw new Error(`Type ${stringify(type)} does not have 'ɵfac' property.`);
- }
- return hasFactoryDef ? type[NG_FACTORY_DEF] : null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents a basic change from a previous to a new value for a single
- * property on a directive instance. Passed as a value in a
- * {@link SimpleChanges} object to the `ngOnChanges` hook.
- *
- * @see `OnChanges`
- *
- * @publicApi
- */
- class SimpleChange {
- constructor(previousValue, currentValue, firstChange) {
- this.previousValue = previousValue;
- this.currentValue = currentValue;
- this.firstChange = firstChange;
- }
- /**
- * Check whether the new value is the first value assigned.
- */
- isFirstChange() {
- return this.firstChange;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The NgOnChangesFeature decorates a component with support for the ngOnChanges
- * lifecycle hook, so it should be included in any component that implements
- * that hook.
- *
- * If the component or directive uses inheritance, the NgOnChangesFeature MUST
- * be included as a feature AFTER {@link InheritDefinitionFeature}, otherwise
- * inherited properties will not be propagated to the ngOnChanges lifecycle
- * hook.
- *
- * Example usage:
- *
- * ```
- * static ɵcmp = defineComponent({
- * ...
- * inputs: {name: 'publicName'},
- * features: [NgOnChangesFeature]
- * });
- * ```
- *
- * @codeGenApi
- */
- function ɵɵNgOnChangesFeature() {
- return NgOnChangesFeatureImpl;
- }
- function NgOnChangesFeatureImpl(definition) {
- if (definition.type.prototype.ngOnChanges) {
- definition.setInput = ngOnChangesSetInput;
- }
- return rememberChangeHistoryAndInvokeOnChangesHook;
- } // This option ensures that the ngOnChanges lifecycle hook will be inherited
- // from superclasses (in InheritDefinitionFeature).
- /** @nocollapse */
- // tslint:disable-next-line:no-toplevel-property-access
- ɵɵNgOnChangesFeature.ngInherit = true;
- /**
- * This is a synthetic lifecycle hook which gets inserted into `TView.preOrderHooks` to simulate
- * `ngOnChanges`.
- *
- * The hook reads the `NgSimpleChangesStore` data from the component instance and if changes are
- * found it invokes `ngOnChanges` on the component instance.
- *
- * @param this Component instance. Because this function gets inserted into `TView.preOrderHooks`,
- * it is guaranteed to be called with component instance.
- */
- function rememberChangeHistoryAndInvokeOnChangesHook() {
- const simpleChangesStore = getSimpleChangesStore(this);
- const current = simpleChangesStore === null || simpleChangesStore === void 0 ? void 0 : simpleChangesStore.current;
- if (current) {
- const previous = simpleChangesStore.previous;
- if (previous === EMPTY_OBJ) {
- simpleChangesStore.previous = current;
- } else {
- // New changes are copied to the previous store, so that we don't lose history for inputs
- // which were not changed this time
- for (let key in current) {
- previous[key] = current[key];
- }
- }
- simpleChangesStore.current = null;
- this.ngOnChanges(current);
- }
- }
- function ngOnChangesSetInput(instance, value, publicName, privateName) {
- const simpleChangesStore = getSimpleChangesStore(instance) || setSimpleChangesStore(instance, {
- previous: EMPTY_OBJ,
- current: null
- });
- const current = simpleChangesStore.current || (simpleChangesStore.current = {});
- const previous = simpleChangesStore.previous;
- const declaredName = this.declaredInputs[publicName];
- const previousChange = previous[declaredName];
- current[declaredName] = new SimpleChange(previousChange && previousChange.currentValue, value, previous === EMPTY_OBJ);
- instance[privateName] = value;
- }
- const SIMPLE_CHANGES_STORE = '__ngSimpleChanges__';
- function getSimpleChangesStore(instance) {
- return instance[SIMPLE_CHANGES_STORE] || null;
- }
- function setSimpleChangesStore(instance, store) {
- return instance[SIMPLE_CHANGES_STORE] = store;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- let profilerCallback = null;
- /**
- * Sets the callback function which will be invoked before and after performing certain actions at
- * runtime (for example, before and after running change detection).
- *
- * Warning: this function is *INTERNAL* and should not be relied upon in application's code.
- * The contract of the function might be changed in any release and/or the function can be removed
- * completely.
- *
- * @param profiler function provided by the caller or null value to disable profiling.
- */
- const setProfiler = profiler => {
- profilerCallback = profiler;
- };
- /**
- * Profiler function which wraps user code executed by the runtime.
- *
- * @param event ProfilerEvent corresponding to the execution context
- * @param instance component instance
- * @param hookOrListener lifecycle hook function or output listener. The value depends on the
- * execution context
- * @returns
- */
- const profiler = function (event, instance, hookOrListener) {
- if (profilerCallback != null
- /* both `null` and `undefined` */
- ) {
- profilerCallback(event, instance, hookOrListener);
- }
- };
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const SVG_NAMESPACE = 'svg';
- const SVG_NAMESPACE_URI = 'http://www.w3.org/2000/svg';
- const MATH_ML_NAMESPACE = 'math';
- const MATH_ML_NAMESPACE_URI = 'http://www.w3.org/1998/MathML/';
- function getNamespaceUri(namespace) {
- const name = namespace.toLowerCase();
- return name === SVG_NAMESPACE ? SVG_NAMESPACE_URI : name === MATH_ML_NAMESPACE ? MATH_ML_NAMESPACE_URI : null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * For efficiency reasons we often put several different data types (`RNode`, `LView`, `LContainer`)
- * in same location in `LView`. This is because we don't want to pre-allocate space for it
- * because the storage is sparse. This file contains utilities for dealing with such data types.
- *
- * How do we know what is stored at a given location in `LView`.
- * - `Array.isArray(value) === false` => `RNode` (The normal storage value)
- * - `Array.isArray(value) === true` => then the `value[0]` represents the wrapped value.
- * - `typeof value[TYPE] === 'object'` => `LView`
- * - This happens when we have a component at a given location
- * - `typeof value[TYPE] === true` => `LContainer`
- * - This happens when we have `LContainer` binding at a given location.
- *
- *
- * NOTE: it is assumed that `Array.isArray` and `typeof` operations are very efficient.
- */
- /**
- * Returns `RNode`.
- * @param value wrapped value of `RNode`, `LView`, `LContainer`
- */
- function unwrapRNode(value) {
- while (Array.isArray(value)) {
- value = value[HOST];
- }
- return value;
- }
- /**
- * Returns `LView` or `null` if not found.
- * @param value wrapped value of `RNode`, `LView`, `LContainer`
- */
- function unwrapLView(value) {
- while (Array.isArray(value)) {
- // This check is same as `isLView()` but we don't call at as we don't want to call
- // `Array.isArray()` twice and give JITer more work for inlining.
- if (typeof value[TYPE] === 'object') return value;
- value = value[HOST];
- }
- return null;
- }
- /**
- * Returns `LContainer` or `null` if not found.
- * @param value wrapped value of `RNode`, `LView`, `LContainer`
- */
- function unwrapLContainer(value) {
- while (Array.isArray(value)) {
- // This check is same as `isLContainer()` but we don't call at as we don't want to call
- // `Array.isArray()` twice and give JITer more work for inlining.
- if (value[TYPE] === true) return value;
- value = value[HOST];
- }
- return null;
- }
- /**
- * Retrieves an element value from the provided `viewData`, by unwrapping
- * from any containers, component views, or style contexts.
- */
- function getNativeByIndex(index, lView) {
- ngDevMode && assertIndexInRange(lView, index);
- ngDevMode && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Expected to be past HEADER_OFFSET');
- return unwrapRNode(lView[index]);
- }
- /**
- * Retrieve an `RNode` for a given `TNode` and `LView`.
- *
- * This function guarantees in dev mode to retrieve a non-null `RNode`.
- *
- * @param tNode
- * @param lView
- */
- function getNativeByTNode(tNode, lView) {
- ngDevMode && assertTNodeForLView(tNode, lView);
- ngDevMode && assertIndexInRange(lView, tNode.index);
- const node = unwrapRNode(lView[tNode.index]);
- return node;
- }
- /**
- * Retrieve an `RNode` or `null` for a given `TNode` and `LView`.
- *
- * Some `TNode`s don't have associated `RNode`s. For example `Projection`
- *
- * @param tNode
- * @param lView
- */
- function getNativeByTNodeOrNull(tNode, lView) {
- const index = tNode === null ? -1 : tNode.index;
- if (index !== -1) {
- ngDevMode && assertTNodeForLView(tNode, lView);
- const node = unwrapRNode(lView[index]);
- return node;
- }
- return null;
- } // fixme(misko): The return Type should be `TNode|null`
- function getTNode(tView, index) {
- ngDevMode && assertGreaterThan(index, -1, 'wrong index for TNode');
- ngDevMode && assertLessThan(index, tView.data.length, 'wrong index for TNode');
- const tNode = tView.data[index];
- ngDevMode && tNode !== null && assertTNode(tNode);
- return tNode;
- }
- /** Retrieves a value from any `LView` or `TData`. */
- function load(view, index) {
- ngDevMode && assertIndexInRange(view, index);
- return view[index];
- }
- function getComponentLViewByIndex(nodeIndex, hostView) {
- // Could be an LView or an LContainer. If LContainer, unwrap to find LView.
- ngDevMode && assertIndexInRange(hostView, nodeIndex);
- const slotValue = hostView[nodeIndex];
- const lView = isLView(slotValue) ? slotValue : slotValue[HOST];
- return lView;
- }
- /** Checks whether a given view is in creation mode */
- function isCreationMode(view) {
- return (view[FLAGS] & 4
- /* LViewFlags.CreationMode */
- ) === 4
- /* LViewFlags.CreationMode */
- ;
- }
- /**
- * Returns a boolean for whether the view is attached to the change detection tree.
- *
- * Note: This determines whether a view should be checked, not whether it's inserted
- * into a container. For that, you'll want `viewAttachedToContainer` below.
- */
- function viewAttachedToChangeDetector(view) {
- return (view[FLAGS] & 64
- /* LViewFlags.Attached */
- ) === 64
- /* LViewFlags.Attached */
- ;
- }
- /** Returns a boolean for whether the view is attached to a container. */
- function viewAttachedToContainer(view) {
- return isLContainer(view[PARENT]);
- }
- function getConstant(consts, index) {
- if (index === null || index === undefined) return null;
- ngDevMode && assertIndexInRange(consts, index);
- return consts[index];
- }
- /**
- * Resets the pre-order hook flags of the view.
- * @param lView the LView on which the flags are reset
- */
- function resetPreOrderHookFlags(lView) {
- lView[PREORDER_HOOK_FLAGS] = 0;
- }
- /**
- * Updates the `TRANSPLANTED_VIEWS_TO_REFRESH` counter on the `LContainer` as well as the parents
- * whose
- * 1. counter goes from 0 to 1, indicating that there is a new child that has a view to refresh
- * or
- * 2. counter goes from 1 to 0, indicating there are no more descendant views to refresh
- */
- function updateTransplantedViewCount(lContainer, amount) {
- lContainer[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;
- let viewOrContainer = lContainer;
- let parent = lContainer[PARENT];
- while (parent !== null && (amount === 1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 1 || amount === -1 && viewOrContainer[TRANSPLANTED_VIEWS_TO_REFRESH] === 0)) {
- parent[TRANSPLANTED_VIEWS_TO_REFRESH] += amount;
- viewOrContainer = parent;
- parent = parent[PARENT];
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const instructionState = {
- lFrame: createLFrame(null),
- bindingsEnabled: true
- };
- /**
- * In this mode, any changes in bindings will throw an ExpressionChangedAfterChecked error.
- *
- * Necessary to support ChangeDetectorRef.checkNoChanges().
- *
- * The `checkNoChanges` function is invoked only in ngDevMode=true and verifies that no unintended
- * changes exist in the change detector or its children.
- */
- let _isInCheckNoChangesMode = false;
- /**
- * Returns true if the instruction state stack is empty.
- *
- * Intended to be called from tests only (tree shaken otherwise).
- */
- function specOnlyIsInstructionStateEmpty() {
- return instructionState.lFrame.parent === null;
- }
- function getElementDepthCount() {
- return instructionState.lFrame.elementDepthCount;
- }
- function increaseElementDepthCount() {
- instructionState.lFrame.elementDepthCount++;
- }
- function decreaseElementDepthCount() {
- instructionState.lFrame.elementDepthCount--;
- }
- function getBindingsEnabled() {
- return instructionState.bindingsEnabled;
- }
- /**
- * Enables directive matching on elements.
- *
- * * Example:
- * ```
- * <my-comp my-directive>
- * Should match component / directive.
- * </my-comp>
- * <div ngNonBindable>
- * <!-- ɵɵdisableBindings() -->
- * <my-comp my-directive>
- * Should not match component / directive because we are in ngNonBindable.
- * </my-comp>
- * <!-- ɵɵenableBindings() -->
- * </div>
- * ```
- *
- * @codeGenApi
- */
- function ɵɵenableBindings() {
- instructionState.bindingsEnabled = true;
- }
- /**
- * Disables directive matching on element.
- *
- * * Example:
- * ```
- * <my-comp my-directive>
- * Should match component / directive.
- * </my-comp>
- * <div ngNonBindable>
- * <!-- ɵɵdisableBindings() -->
- * <my-comp my-directive>
- * Should not match component / directive because we are in ngNonBindable.
- * </my-comp>
- * <!-- ɵɵenableBindings() -->
- * </div>
- * ```
- *
- * @codeGenApi
- */
- function ɵɵdisableBindings() {
- instructionState.bindingsEnabled = false;
- }
- /**
- * Return the current `LView`.
- */
- function getLView() {
- return instructionState.lFrame.lView;
- }
- /**
- * Return the current `TView`.
- */
- function getTView() {
- return instructionState.lFrame.tView;
- }
- /**
- * Restores `contextViewData` to the given OpaqueViewState instance.
- *
- * Used in conjunction with the getCurrentView() instruction to save a snapshot
- * of the current view and restore it when listeners are invoked. This allows
- * walking the declaration view tree in listeners to get vars from parent views.
- *
- * @param viewToRestore The OpaqueViewState instance to restore.
- * @returns Context of the restored OpaqueViewState instance.
- *
- * @codeGenApi
- */
- function ɵɵrestoreView(viewToRestore) {
- instructionState.lFrame.contextLView = viewToRestore;
- return viewToRestore[CONTEXT];
- }
- /**
- * Clears the view set in `ɵɵrestoreView` from memory. Returns the passed in
- * value so that it can be used as a return value of an instruction.
- *
- * @codeGenApi
- */
- function ɵɵresetView(value) {
- instructionState.lFrame.contextLView = null;
- return value;
- }
- function getCurrentTNode() {
- let currentTNode = getCurrentTNodePlaceholderOk();
- while (currentTNode !== null && currentTNode.type === 64
- /* TNodeType.Placeholder */
- ) {
- currentTNode = currentTNode.parent;
- }
- return currentTNode;
- }
- function getCurrentTNodePlaceholderOk() {
- return instructionState.lFrame.currentTNode;
- }
- function getCurrentParentTNode() {
- const lFrame = instructionState.lFrame;
- const currentTNode = lFrame.currentTNode;
- return lFrame.isParent ? currentTNode : currentTNode.parent;
- }
- function setCurrentTNode(tNode, isParent) {
- ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView);
- const lFrame = instructionState.lFrame;
- lFrame.currentTNode = tNode;
- lFrame.isParent = isParent;
- }
- function isCurrentTNodeParent() {
- return instructionState.lFrame.isParent;
- }
- function setCurrentTNodeAsNotParent() {
- instructionState.lFrame.isParent = false;
- }
- function setCurrentTNodeAsParent() {
- instructionState.lFrame.isParent = true;
- }
- function getContextLView() {
- const contextLView = instructionState.lFrame.contextLView;
- ngDevMode && assertDefined(contextLView, 'contextLView must be defined.');
- return contextLView;
- }
- function isInCheckNoChangesMode() {
- !ngDevMode && throwError('Must never be called in production mode');
- return _isInCheckNoChangesMode;
- }
- function setIsInCheckNoChangesMode(mode) {
- !ngDevMode && throwError('Must never be called in production mode');
- _isInCheckNoChangesMode = mode;
- } // top level variables should not be exported for performance reasons (PERF_NOTES.md)
- function getBindingRoot() {
- const lFrame = instructionState.lFrame;
- let index = lFrame.bindingRootIndex;
- if (index === -1) {
- index = lFrame.bindingRootIndex = lFrame.tView.bindingStartIndex;
- }
- return index;
- }
- function getBindingIndex() {
- return instructionState.lFrame.bindingIndex;
- }
- function setBindingIndex(value) {
- return instructionState.lFrame.bindingIndex = value;
- }
- function nextBindingIndex() {
- return instructionState.lFrame.bindingIndex++;
- }
- function incrementBindingIndex(count) {
- const lFrame = instructionState.lFrame;
- const index = lFrame.bindingIndex;
- lFrame.bindingIndex = lFrame.bindingIndex + count;
- return index;
- }
- function isInI18nBlock() {
- return instructionState.lFrame.inI18n;
- }
- function setInI18nBlock(isInI18nBlock) {
- instructionState.lFrame.inI18n = isInI18nBlock;
- }
- /**
- * Set a new binding root index so that host template functions can execute.
- *
- * Bindings inside the host template are 0 index. But because we don't know ahead of time
- * how many host bindings we have we can't pre-compute them. For this reason they are all
- * 0 index and we just shift the root so that they match next available location in the LView.
- *
- * @param bindingRootIndex Root index for `hostBindings`
- * @param currentDirectiveIndex `TData[currentDirectiveIndex]` will point to the current directive
- * whose `hostBindings` are being processed.
- */
- function setBindingRootForHostBindings(bindingRootIndex, currentDirectiveIndex) {
- const lFrame = instructionState.lFrame;
- lFrame.bindingIndex = lFrame.bindingRootIndex = bindingRootIndex;
- setCurrentDirectiveIndex(currentDirectiveIndex);
- }
- /**
- * When host binding is executing this points to the directive index.
- * `TView.data[getCurrentDirectiveIndex()]` is `DirectiveDef`
- * `LView[getCurrentDirectiveIndex()]` is directive instance.
- */
- function getCurrentDirectiveIndex() {
- return instructionState.lFrame.currentDirectiveIndex;
- }
- /**
- * Sets an index of a directive whose `hostBindings` are being processed.
- *
- * @param currentDirectiveIndex `TData` index where current directive instance can be found.
- */
- function setCurrentDirectiveIndex(currentDirectiveIndex) {
- instructionState.lFrame.currentDirectiveIndex = currentDirectiveIndex;
- }
- /**
- * Retrieve the current `DirectiveDef` which is active when `hostBindings` instruction is being
- * executed.
- *
- * @param tData Current `TData` where the `DirectiveDef` will be looked up at.
- */
- function getCurrentDirectiveDef(tData) {
- const currentDirectiveIndex = instructionState.lFrame.currentDirectiveIndex;
- return currentDirectiveIndex === -1 ? null : tData[currentDirectiveIndex];
- }
- function getCurrentQueryIndex() {
- return instructionState.lFrame.currentQueryIndex;
- }
- function setCurrentQueryIndex(value) {
- instructionState.lFrame.currentQueryIndex = value;
- }
- /**
- * Returns a `TNode` of the location where the current `LView` is declared at.
- *
- * @param lView an `LView` that we want to find parent `TNode` for.
- */
- function getDeclarationTNode(lView) {
- const tView = lView[TVIEW]; // Return the declaration parent for embedded views
- if (tView.type === 2
- /* TViewType.Embedded */
- ) {
- ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');
- return tView.declTNode;
- } // Components don't have `TView.declTNode` because each instance of component could be
- // inserted in different location, hence `TView.declTNode` is meaningless.
- // Falling back to `T_HOST` in case we cross component boundary.
- if (tView.type === 1
- /* TViewType.Component */
- ) {
- return lView[T_HOST];
- } // Remaining TNode type is `TViewType.Root` which doesn't have a parent TNode.
- return null;
- }
- /**
- * This is a light weight version of the `enterView` which is needed by the DI system.
- *
- * @param lView `LView` location of the DI context.
- * @param tNode `TNode` for DI context
- * @param flags DI context flags. if `SkipSelf` flag is set than we walk up the declaration
- * tree from `tNode` until we find parent declared `TElementNode`.
- * @returns `true` if we have successfully entered DI associated with `tNode` (or with declared
- * `TNode` if `flags` has `SkipSelf`). Failing to enter DI implies that no associated
- * `NodeInjector` can be found and we should instead use `ModuleInjector`.
- * - If `true` than this call must be fallowed by `leaveDI`
- * - If `false` than this call failed and we should NOT call `leaveDI`
- */
- function enterDI(lView, tNode, flags) {
- ngDevMode && assertLViewOrUndefined(lView);
- if (flags & InjectFlags.SkipSelf) {
- ngDevMode && assertTNodeForTView(tNode, lView[TVIEW]);
- let parentTNode = tNode;
- let parentLView = lView;
- while (true) {
- ngDevMode && assertDefined(parentTNode, 'Parent TNode should be defined');
- parentTNode = parentTNode.parent;
- if (parentTNode === null && !(flags & InjectFlags.Host)) {
- parentTNode = getDeclarationTNode(parentLView);
- if (parentTNode === null) break; // In this case, a parent exists and is definitely an element. So it will definitely
- // have an existing lView as the declaration view, which is why we can assume it's defined.
- ngDevMode && assertDefined(parentLView, 'Parent LView should be defined');
- parentLView = parentLView[DECLARATION_VIEW]; // In Ivy there are Comment nodes that correspond to ngIf and NgFor embedded directives
- // We want to skip those and look only at Elements and ElementContainers to ensure
- // we're looking at true parent nodes, and not content or other types.
- if (parentTNode.type & (2
- /* TNodeType.Element */
- | 8
- /* TNodeType.ElementContainer */
- )) {
- break;
- }
- } else {
- break;
- }
- }
- if (parentTNode === null) {
- // If we failed to find a parent TNode this means that we should use module injector.
- return false;
- } else {
- tNode = parentTNode;
- lView = parentLView;
- }
- }
- ngDevMode && assertTNodeForLView(tNode, lView);
- const lFrame = instructionState.lFrame = allocLFrame();
- lFrame.currentTNode = tNode;
- lFrame.lView = lView;
- return true;
- }
- /**
- * Swap the current lView with a new lView.
- *
- * For performance reasons we store the lView in the top level of the module.
- * This way we minimize the number of properties to read. Whenever a new view
- * is entered we have to store the lView for later, and when the view is
- * exited the state has to be restored
- *
- * @param newView New lView to become active
- * @returns the previously active lView;
- */
- function enterView(newView) {
- ngDevMode && assertNotEqual(newView[0], newView[1], '????');
- ngDevMode && assertLViewOrUndefined(newView);
- const newLFrame = allocLFrame();
- if (ngDevMode) {
- assertEqual(newLFrame.isParent, true, 'Expected clean LFrame');
- assertEqual(newLFrame.lView, null, 'Expected clean LFrame');
- assertEqual(newLFrame.tView, null, 'Expected clean LFrame');
- assertEqual(newLFrame.selectedIndex, -1, 'Expected clean LFrame');
- assertEqual(newLFrame.elementDepthCount, 0, 'Expected clean LFrame');
- assertEqual(newLFrame.currentDirectiveIndex, -1, 'Expected clean LFrame');
- assertEqual(newLFrame.currentNamespace, null, 'Expected clean LFrame');
- assertEqual(newLFrame.bindingRootIndex, -1, 'Expected clean LFrame');
- assertEqual(newLFrame.currentQueryIndex, 0, 'Expected clean LFrame');
- }
- const tView = newView[TVIEW];
- instructionState.lFrame = newLFrame;
- ngDevMode && tView.firstChild && assertTNodeForTView(tView.firstChild, tView);
- newLFrame.currentTNode = tView.firstChild;
- newLFrame.lView = newView;
- newLFrame.tView = tView;
- newLFrame.contextLView = newView;
- newLFrame.bindingIndex = tView.bindingStartIndex;
- newLFrame.inI18n = false;
- }
- /**
- * Allocates next free LFrame. This function tries to reuse the `LFrame`s to lower memory pressure.
- */
- function allocLFrame() {
- const currentLFrame = instructionState.lFrame;
- const childLFrame = currentLFrame === null ? null : currentLFrame.child;
- const newLFrame = childLFrame === null ? createLFrame(currentLFrame) : childLFrame;
- return newLFrame;
- }
- function createLFrame(parent) {
- const lFrame = {
- currentTNode: null,
- isParent: true,
- lView: null,
- tView: null,
- selectedIndex: -1,
- contextLView: null,
- elementDepthCount: 0,
- currentNamespace: null,
- currentDirectiveIndex: -1,
- bindingRootIndex: -1,
- bindingIndex: -1,
- currentQueryIndex: 0,
- parent: parent,
- child: null,
- inI18n: false
- };
- parent !== null && (parent.child = lFrame); // link the new LFrame for reuse.
- return lFrame;
- }
- /**
- * A lightweight version of leave which is used with DI.
- *
- * This function only resets `currentTNode` and `LView` as those are the only properties
- * used with DI (`enterDI()`).
- *
- * NOTE: This function is reexported as `leaveDI`. However `leaveDI` has return type of `void` where
- * as `leaveViewLight` has `LFrame`. This is so that `leaveViewLight` can be used in `leaveView`.
- */
- function leaveViewLight() {
- const oldLFrame = instructionState.lFrame;
- instructionState.lFrame = oldLFrame.parent;
- oldLFrame.currentTNode = null;
- oldLFrame.lView = null;
- return oldLFrame;
- }
- /**
- * This is a lightweight version of the `leaveView` which is needed by the DI system.
- *
- * NOTE: this function is an alias so that we can change the type of the function to have `void`
- * return type.
- */
- const leaveDI = leaveViewLight;
- /**
- * Leave the current `LView`
- *
- * This pops the `LFrame` with the associated `LView` from the stack.
- *
- * IMPORTANT: We must zero out the `LFrame` values here otherwise they will be retained. This is
- * because for performance reasons we don't release `LFrame` but rather keep it for next use.
- */
- function leaveView() {
- const oldLFrame = leaveViewLight();
- oldLFrame.isParent = true;
- oldLFrame.tView = null;
- oldLFrame.selectedIndex = -1;
- oldLFrame.contextLView = null;
- oldLFrame.elementDepthCount = 0;
- oldLFrame.currentDirectiveIndex = -1;
- oldLFrame.currentNamespace = null;
- oldLFrame.bindingRootIndex = -1;
- oldLFrame.bindingIndex = -1;
- oldLFrame.currentQueryIndex = 0;
- }
- function nextContextImpl(level) {
- const contextLView = instructionState.lFrame.contextLView = walkUpViews(level, instructionState.lFrame.contextLView);
- return contextLView[CONTEXT];
- }
- function walkUpViews(nestingLevel, currentView) {
- while (nestingLevel > 0) {
- ngDevMode && assertDefined(currentView[DECLARATION_VIEW], 'Declaration view should be defined if nesting level is greater than 0.');
- currentView = currentView[DECLARATION_VIEW];
- nestingLevel--;
- }
- return currentView;
- }
- /**
- * Gets the currently selected element index.
- *
- * Used with {@link property} instruction (and more in the future) to identify the index in the
- * current `LView` to act on.
- */
- function getSelectedIndex() {
- return instructionState.lFrame.selectedIndex;
- }
- /**
- * Sets the most recent index passed to {@link select}
- *
- * Used with {@link property} instruction (and more in the future) to identify the index in the
- * current `LView` to act on.
- *
- * (Note that if an "exit function" was set earlier (via `setElementExitFn()`) then that will be
- * run if and when the provided `index` value is different from the current selected index value.)
- */
- function setSelectedIndex(index) {
- ngDevMode && index !== -1 && assertGreaterThanOrEqual(index, HEADER_OFFSET, 'Index must be past HEADER_OFFSET (or -1).');
- ngDevMode && assertLessThan(index, instructionState.lFrame.lView.length, 'Can\'t set index passed end of LView');
- instructionState.lFrame.selectedIndex = index;
- }
- /**
- * Gets the `tNode` that represents currently selected element.
- */
- function getSelectedTNode() {
- const lFrame = instructionState.lFrame;
- return getTNode(lFrame.tView, lFrame.selectedIndex);
- }
- /**
- * Sets the namespace used to create elements to `'http://www.w3.org/2000/svg'` in global state.
- *
- * @codeGenApi
- */
- function ɵɵnamespaceSVG() {
- instructionState.lFrame.currentNamespace = SVG_NAMESPACE;
- }
- /**
- * Sets the namespace used to create elements to `'http://www.w3.org/1998/MathML/'` in global state.
- *
- * @codeGenApi
- */
- function ɵɵnamespaceMathML() {
- instructionState.lFrame.currentNamespace = MATH_ML_NAMESPACE;
- }
- /**
- * Sets the namespace used to create elements to `null`, which forces element creation to use
- * `createElement` rather than `createElementNS`.
- *
- * @codeGenApi
- */
- function ɵɵnamespaceHTML() {
- namespaceHTMLInternal();
- }
- /**
- * Sets the namespace used to create elements to `null`, which forces element creation to use
- * `createElement` rather than `createElementNS`.
- */
- function namespaceHTMLInternal() {
- instructionState.lFrame.currentNamespace = null;
- }
- function getNamespace$1() {
- return instructionState.lFrame.currentNamespace;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Adds all directive lifecycle hooks from the given `DirectiveDef` to the given `TView`.
- *
- * Must be run *only* on the first template pass.
- *
- * Sets up the pre-order hooks on the provided `tView`,
- * see {@link HookData} for details about the data structure.
- *
- * @param directiveIndex The index of the directive in LView
- * @param directiveDef The definition containing the hooks to setup in tView
- * @param tView The current TView
- */
- function registerPreOrderHooks(directiveIndex, directiveDef, tView) {
- ngDevMode && assertFirstCreatePass(tView);
- const {
- ngOnChanges,
- ngOnInit,
- ngDoCheck
- } = directiveDef.type.prototype;
- if (ngOnChanges) {
- const wrappedOnChanges = NgOnChangesFeatureImpl(directiveDef);
- (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, wrappedOnChanges);
- (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, wrappedOnChanges);
- }
- if (ngOnInit) {
- (tView.preOrderHooks || (tView.preOrderHooks = [])).push(0 - directiveIndex, ngOnInit);
- }
- if (ngDoCheck) {
- (tView.preOrderHooks || (tView.preOrderHooks = [])).push(directiveIndex, ngDoCheck);
- (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(directiveIndex, ngDoCheck);
- }
- }
- /**
- *
- * Loops through the directives on the provided `tNode` and queues hooks to be
- * run that are not initialization hooks.
- *
- * Should be executed during `elementEnd()` and similar to
- * preserve hook execution order. Content, view, and destroy hooks for projected
- * components and directives must be called *before* their hosts.
- *
- * Sets up the content, view, and destroy hooks on the provided `tView`,
- * see {@link HookData} for details about the data structure.
- *
- * NOTE: This does not set up `onChanges`, `onInit` or `doCheck`, those are set up
- * separately at `elementStart`.
- *
- * @param tView The current TView
- * @param tNode The TNode whose directives are to be searched for hooks to queue
- */
- function registerPostOrderHooks(tView, tNode) {
- ngDevMode && assertFirstCreatePass(tView); // It's necessary to loop through the directives at elementEnd() (rather than processing in
- // directiveCreate) so we can preserve the current hook order. Content, view, and destroy
- // hooks for projected components and directives must be called *before* their hosts.
- for (let i = tNode.directiveStart, end = tNode.directiveEnd; i < end; i++) {
- const directiveDef = tView.data[i];
- ngDevMode && assertDefined(directiveDef, 'Expecting DirectiveDef');
- const lifecycleHooks = directiveDef.type.prototype;
- const {
- ngAfterContentInit,
- ngAfterContentChecked,
- ngAfterViewInit,
- ngAfterViewChecked,
- ngOnDestroy
- } = lifecycleHooks;
- if (ngAfterContentInit) {
- (tView.contentHooks || (tView.contentHooks = [])).push(-i, ngAfterContentInit);
- }
- if (ngAfterContentChecked) {
- (tView.contentHooks || (tView.contentHooks = [])).push(i, ngAfterContentChecked);
- (tView.contentCheckHooks || (tView.contentCheckHooks = [])).push(i, ngAfterContentChecked);
- }
- if (ngAfterViewInit) {
- (tView.viewHooks || (tView.viewHooks = [])).push(-i, ngAfterViewInit);
- }
- if (ngAfterViewChecked) {
- (tView.viewHooks || (tView.viewHooks = [])).push(i, ngAfterViewChecked);
- (tView.viewCheckHooks || (tView.viewCheckHooks = [])).push(i, ngAfterViewChecked);
- }
- if (ngOnDestroy != null) {
- (tView.destroyHooks || (tView.destroyHooks = [])).push(i, ngOnDestroy);
- }
- }
- }
- /**
- * Executing hooks requires complex logic as we need to deal with 2 constraints.
- *
- * 1. Init hooks (ngOnInit, ngAfterContentInit, ngAfterViewInit) must all be executed once and only
- * once, across many change detection cycles. This must be true even if some hooks throw, or if
- * some recursively trigger a change detection cycle.
- * To solve that, it is required to track the state of the execution of these init hooks.
- * This is done by storing and maintaining flags in the view: the {@link InitPhaseState},
- * and the index within that phase. They can be seen as a cursor in the following structure:
- * [[onInit1, onInit2], [afterContentInit1], [afterViewInit1, afterViewInit2, afterViewInit3]]
- * They are are stored as flags in LView[FLAGS].
- *
- * 2. Pre-order hooks can be executed in batches, because of the select instruction.
- * To be able to pause and resume their execution, we also need some state about the hook's array
- * that is being processed:
- * - the index of the next hook to be executed
- * - the number of init hooks already found in the processed part of the array
- * They are are stored as flags in LView[PREORDER_HOOK_FLAGS].
- */
- /**
- * Executes pre-order check hooks ( OnChanges, DoChanges) given a view where all the init hooks were
- * executed once. This is a light version of executeInitAndCheckPreOrderHooks where we can skip read
- * / write of the init-hooks related flags.
- * @param lView The LView where hooks are defined
- * @param hooks Hooks to be run
- * @param nodeIndex 3 cases depending on the value:
- * - undefined: all hooks from the array should be executed (post-order case)
- * - null: execute hooks only from the saved index until the end of the array (pre-order case, when
- * flushing the remaining hooks)
- * - number: execute hooks only from the saved index until that node index exclusive (pre-order
- * case, when executing select(number))
- */
- function executeCheckHooks(lView, hooks, nodeIndex) {
- callHooks(lView, hooks, 3
- /* InitPhaseState.InitPhaseCompleted */
- , nodeIndex);
- }
- /**
- * Executes post-order init and check hooks (one of AfterContentInit, AfterContentChecked,
- * AfterViewInit, AfterViewChecked) given a view where there are pending init hooks to be executed.
- * @param lView The LView where hooks are defined
- * @param hooks Hooks to be run
- * @param initPhase A phase for which hooks should be run
- * @param nodeIndex 3 cases depending on the value:
- * - undefined: all hooks from the array should be executed (post-order case)
- * - null: execute hooks only from the saved index until the end of the array (pre-order case, when
- * flushing the remaining hooks)
- * - number: execute hooks only from the saved index until that node index exclusive (pre-order
- * case, when executing select(number))
- */
- function executeInitAndCheckHooks(lView, hooks, initPhase, nodeIndex) {
- ngDevMode && assertNotEqual(initPhase, 3
- /* InitPhaseState.InitPhaseCompleted */
- , 'Init pre-order hooks should not be called more than once');
- if ((lView[FLAGS] & 3
- /* LViewFlags.InitPhaseStateMask */
- ) === initPhase) {
- callHooks(lView, hooks, initPhase, nodeIndex);
- }
- }
- function incrementInitPhaseFlags(lView, initPhase) {
- ngDevMode && assertNotEqual(initPhase, 3
- /* InitPhaseState.InitPhaseCompleted */
- , 'Init hooks phase should not be incremented after all init hooks have been run.');
- let flags = lView[FLAGS];
- if ((flags & 3
- /* LViewFlags.InitPhaseStateMask */
- ) === initPhase) {
- flags &= 2047
- /* LViewFlags.IndexWithinInitPhaseReset */
- ;
- flags += 1
- /* LViewFlags.InitPhaseStateIncrementer */
- ;
- lView[FLAGS] = flags;
- }
- }
- /**
- * Calls lifecycle hooks with their contexts, skipping init hooks if it's not
- * the first LView pass
- *
- * @param currentView The current view
- * @param arr The array in which the hooks are found
- * @param initPhaseState the current state of the init phase
- * @param currentNodeIndex 3 cases depending on the value:
- * - undefined: all hooks from the array should be executed (post-order case)
- * - null: execute hooks only from the saved index until the end of the array (pre-order case, when
- * flushing the remaining hooks)
- * - number: execute hooks only from the saved index until that node index exclusive (pre-order
- * case, when executing select(number))
- */
- function callHooks(currentView, arr, initPhase, currentNodeIndex) {
- ngDevMode && assertEqual(isInCheckNoChangesMode(), false, 'Hooks should never be run when in check no changes mode.');
- const startIndex = currentNodeIndex !== undefined ? currentView[PREORDER_HOOK_FLAGS] & 65535
- /* PreOrderHookFlags.IndexOfTheNextPreOrderHookMaskMask */
- : 0;
- const nodeIndexLimit = currentNodeIndex != null ? currentNodeIndex : -1;
- const max = arr.length - 1; // Stop the loop at length - 1, because we look for the hook at i + 1
- let lastNodeIndexFound = 0;
- for (let i = startIndex; i < max; i++) {
- const hook = arr[i + 1];
- if (typeof hook === 'number') {
- lastNodeIndexFound = arr[i];
- if (currentNodeIndex != null && lastNodeIndexFound >= currentNodeIndex) {
- break;
- }
- } else {
- const isInitHook = arr[i] < 0;
- if (isInitHook) currentView[PREORDER_HOOK_FLAGS] += 65536
- /* PreOrderHookFlags.NumberOfInitHooksCalledIncrementer */
- ;
- if (lastNodeIndexFound < nodeIndexLimit || nodeIndexLimit == -1) {
- callHook(currentView, initPhase, arr, i);
- currentView[PREORDER_HOOK_FLAGS] = (currentView[PREORDER_HOOK_FLAGS] & 4294901760
- /* PreOrderHookFlags.NumberOfInitHooksCalledMask */
- ) + i + 2;
- }
- i++;
- }
- }
- }
- /**
- * Execute one hook against the current `LView`.
- *
- * @param currentView The current view
- * @param initPhaseState the current state of the init phase
- * @param arr The array in which the hooks are found
- * @param i The current index within the hook data array
- */
- function callHook(currentView, initPhase, arr, i) {
- const isInitHook = arr[i] < 0;
- const hook = arr[i + 1];
- const directiveIndex = isInitHook ? -arr[i] : arr[i];
- const directive = currentView[directiveIndex];
- if (isInitHook) {
- const indexWithintInitPhase = currentView[FLAGS] >> 11
- /* LViewFlags.IndexWithinInitPhaseShift */
- ; // The init phase state must be always checked here as it may have been recursively updated.
- if (indexWithintInitPhase < currentView[PREORDER_HOOK_FLAGS] >> 16
- /* PreOrderHookFlags.NumberOfInitHooksCalledShift */
- && (currentView[FLAGS] & 3
- /* LViewFlags.InitPhaseStateMask */
- ) === initPhase) {
- currentView[FLAGS] += 2048
- /* LViewFlags.IndexWithinInitPhaseIncrementer */
- ;
- profiler(4
- /* ProfilerEvent.LifecycleHookStart */
- , directive, hook);
- try {
- hook.call(directive);
- } finally {
- profiler(5
- /* ProfilerEvent.LifecycleHookEnd */
- , directive, hook);
- }
- }
- } else {
- profiler(4
- /* ProfilerEvent.LifecycleHookStart */
- , directive, hook);
- try {
- hook.call(directive);
- } finally {
- profiler(5
- /* ProfilerEvent.LifecycleHookEnd */
- , directive, hook);
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NO_PARENT_INJECTOR = -1;
- /**
- * Each injector is saved in 9 contiguous slots in `LView` and 9 contiguous slots in
- * `TView.data`. This allows us to store information about the current node's tokens (which
- * can be shared in `TView`) as well as the tokens of its ancestor nodes (which cannot be
- * shared, so they live in `LView`).
- *
- * Each of these slots (aside from the last slot) contains a bloom filter. This bloom filter
- * determines whether a directive is available on the associated node or not. This prevents us
- * from searching the directives array at this level unless it's probable the directive is in it.
- *
- * See: https://en.wikipedia.org/wiki/Bloom_filter for more about bloom filters.
- *
- * Because all injectors have been flattened into `LView` and `TViewData`, they cannot typed
- * using interfaces as they were previously. The start index of each `LInjector` and `TInjector`
- * will differ based on where it is flattened into the main array, so it's not possible to know
- * the indices ahead of time and save their types here. The interfaces are still included here
- * for documentation purposes.
- *
- * export interface LInjector extends Array<any> {
- *
- * // Cumulative bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)
- * [0]: number;
- *
- * // Cumulative bloom for directive IDs 32-63
- * [1]: number;
- *
- * // Cumulative bloom for directive IDs 64-95
- * [2]: number;
- *
- * // Cumulative bloom for directive IDs 96-127
- * [3]: number;
- *
- * // Cumulative bloom for directive IDs 128-159
- * [4]: number;
- *
- * // Cumulative bloom for directive IDs 160 - 191
- * [5]: number;
- *
- * // Cumulative bloom for directive IDs 192 - 223
- * [6]: number;
- *
- * // Cumulative bloom for directive IDs 224 - 255
- * [7]: number;
- *
- * // We need to store a reference to the injector's parent so DI can keep looking up
- * // the injector tree until it finds the dependency it's looking for.
- * [PARENT_INJECTOR]: number;
- * }
- *
- * export interface TInjector extends Array<any> {
- *
- * // Shared node bloom for directive IDs 0-31 (IDs are % BLOOM_SIZE)
- * [0]: number;
- *
- * // Shared node bloom for directive IDs 32-63
- * [1]: number;
- *
- * // Shared node bloom for directive IDs 64-95
- * [2]: number;
- *
- * // Shared node bloom for directive IDs 96-127
- * [3]: number;
- *
- * // Shared node bloom for directive IDs 128-159
- * [4]: number;
- *
- * // Shared node bloom for directive IDs 160 - 191
- * [5]: number;
- *
- * // Shared node bloom for directive IDs 192 - 223
- * [6]: number;
- *
- * // Shared node bloom for directive IDs 224 - 255
- * [7]: number;
- *
- * // Necessary to find directive indices for a particular node.
- * [TNODE]: TElementNode|TElementContainerNode|TContainerNode;
- * }
- */
- /**
- * Factory for creating instances of injectors in the NodeInjector.
- *
- * This factory is complicated by the fact that it can resolve `multi` factories as well.
- *
- * NOTE: Some of the fields are optional which means that this class has two hidden classes.
- * - One without `multi` support (most common)
- * - One with `multi` values, (rare).
- *
- * Since VMs can cache up to 4 inline hidden classes this is OK.
- *
- * - Single factory: Only `resolving` and `factory` is defined.
- * - `providers` factory: `componentProviders` is a number and `index = -1`.
- * - `viewProviders` factory: `componentProviders` is a number and `index` points to `providers`.
- */
- class NodeInjectorFactory {
- constructor(
- /**
- * Factory to invoke in order to create a new instance.
- */
- factory,
- /**
- * Set to `true` if the token is declared in `viewProviders` (or if it is component).
- */
- isViewProvider, injectImplementation) {
- this.factory = factory;
- /**
- * Marker set to true during factory invocation to see if we get into recursive loop.
- * Recursive loop causes an error to be displayed.
- */
- this.resolving = false;
- ngDevMode && assertDefined(factory, 'Factory not specified');
- ngDevMode && assertEqual(typeof factory, 'function', 'Expected factory function.');
- this.canSeeViewProviders = isViewProvider;
- this.injectImpl = injectImplementation;
- }
- }
- function isFactory(obj) {
- return obj instanceof NodeInjectorFactory;
- } // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd$6 = 1;
- /**
- * Converts `TNodeType` into human readable text.
- * Make sure this matches with `TNodeType`
- */
- function toTNodeTypeAsString(tNodeType) {
- let text = '';
- tNodeType & 1
- /* TNodeType.Text */
- && (text += '|Text');
- tNodeType & 2
- /* TNodeType.Element */
- && (text += '|Element');
- tNodeType & 4
- /* TNodeType.Container */
- && (text += '|Container');
- tNodeType & 8
- /* TNodeType.ElementContainer */
- && (text += '|ElementContainer');
- tNodeType & 16
- /* TNodeType.Projection */
- && (text += '|Projection');
- tNodeType & 32
- /* TNodeType.Icu */
- && (text += '|IcuContainer');
- tNodeType & 64
- /* TNodeType.Placeholder */
- && (text += '|Placeholder');
- return text.length > 0 ? text.substring(1) : text;
- } // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd$5 = 1;
- /**
- * Returns `true` if the `TNode` has a directive which has `@Input()` for `class` binding.
- *
- * ```
- * <div my-dir [class]="exp"></div>
- * ```
- * and
- * ```
- * @Directive({
- * })
- * class MyDirective {
- * @Input()
- * class: string;
- * }
- * ```
- *
- * In the above case it is necessary to write the reconciled styling information into the
- * directive's input.
- *
- * @param tNode
- */
- function hasClassInput(tNode) {
- return (tNode.flags & 16
- /* TNodeFlags.hasClassInput */
- ) !== 0;
- }
- /**
- * Returns `true` if the `TNode` has a directive which has `@Input()` for `style` binding.
- *
- * ```
- * <div my-dir [style]="exp"></div>
- * ```
- * and
- * ```
- * @Directive({
- * })
- * class MyDirective {
- * @Input()
- * class: string;
- * }
- * ```
- *
- * In the above case it is necessary to write the reconciled styling information into the
- * directive's input.
- *
- * @param tNode
- */
- function hasStyleInput(tNode) {
- return (tNode.flags & 32
- /* TNodeFlags.hasStyleInput */
- ) !== 0;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function assertTNodeType(tNode, expectedTypes, message) {
- assertDefined(tNode, 'should be called with a TNode');
- if ((tNode.type & expectedTypes) === 0) {
- throwError(message || `Expected [${toTNodeTypeAsString(expectedTypes)}] but got ${toTNodeTypeAsString(tNode.type)}.`);
- }
- }
- function assertPureTNodeType(type) {
- if (!(type === 2
- /* TNodeType.Element */
- || //
- type === 1
- /* TNodeType.Text */
- || //
- type === 4
- /* TNodeType.Container */
- || //
- type === 8
- /* TNodeType.ElementContainer */
- || //
- type === 32
- /* TNodeType.Icu */
- || //
- type === 16
- /* TNodeType.Projection */
- || //
- type === 64
- /* TNodeType.Placeholder */
- )) {
- throwError(`Expected TNodeType to have only a single type selected, but got ${toTNodeTypeAsString(type)}.`);
- }
- }
- /**
- * Assigns all attribute values to the provided element via the inferred renderer.
- *
- * This function accepts two forms of attribute entries:
- *
- * default: (key, value):
- * attrs = [key1, value1, key2, value2]
- *
- * namespaced: (NAMESPACE_MARKER, uri, name, value)
- * attrs = [NAMESPACE_MARKER, uri, name, value, NAMESPACE_MARKER, uri, name, value]
- *
- * The `attrs` array can contain a mix of both the default and namespaced entries.
- * The "default" values are set without a marker, but if the function comes across
- * a marker value then it will attempt to set a namespaced value. If the marker is
- * not of a namespaced value then the function will quit and return the index value
- * where it stopped during the iteration of the attrs array.
- *
- * See [AttributeMarker] to understand what the namespace marker value is.
- *
- * Note that this instruction does not support assigning style and class values to
- * an element. See `elementStart` and `elementHostAttrs` to learn how styling values
- * are applied to an element.
- * @param renderer The renderer to be used
- * @param native The element that the attributes will be assigned to
- * @param attrs The attribute array of values that will be assigned to the element
- * @returns the index value that was last accessed in the attributes array
- */
- function setUpAttributes(renderer, native, attrs) {
- let i = 0;
- while (i < attrs.length) {
- const value = attrs[i];
- if (typeof value === 'number') {
- // only namespaces are supported. Other value types (such as style/class
- // entries) are not supported in this function.
- if (value !== 0
- /* AttributeMarker.NamespaceURI */
- ) {
- break;
- } // we just landed on the marker value ... therefore
- // we should skip to the next entry
- i++;
- const namespaceURI = attrs[i++];
- const attrName = attrs[i++];
- const attrVal = attrs[i++];
- ngDevMode && ngDevMode.rendererSetAttribute++;
- renderer.setAttribute(native, attrName, attrVal, namespaceURI);
- } else {
- // attrName is string;
- const attrName = value;
- const attrVal = attrs[++i]; // Standard attributes
- ngDevMode && ngDevMode.rendererSetAttribute++;
- if (isAnimationProp(attrName)) {
- renderer.setProperty(native, attrName, attrVal);
- } else {
- renderer.setAttribute(native, attrName, attrVal);
- }
- i++;
- }
- } // another piece of code may iterate over the same attributes array. Therefore
- // it may be helpful to return the exact spot where the attributes array exited
- // whether by running into an unsupported marker or if all the static values were
- // iterated over.
- return i;
- }
- /**
- * Test whether the given value is a marker that indicates that the following
- * attribute values in a `TAttributes` array are only the names of attributes,
- * and not name-value pairs.
- * @param marker The attribute marker to test.
- * @returns true if the marker is a "name-only" marker (e.g. `Bindings`, `Template` or `I18n`).
- */
- function isNameOnlyAttributeMarker(marker) {
- return marker === 3
- /* AttributeMarker.Bindings */
- || marker === 4
- /* AttributeMarker.Template */
- || marker === 6
- /* AttributeMarker.I18n */
- ;
- }
- function isAnimationProp(name) {
- // Perf note: accessing charCodeAt to check for the first character of a string is faster as
- // compared to accessing a character at index 0 (ex. name[0]). The main reason for this is that
- // charCodeAt doesn't allocate memory to return a substring.
- return name.charCodeAt(0) === 64
- /* CharCode.AT_SIGN */
- ;
- }
- /**
- * Merges `src` `TAttributes` into `dst` `TAttributes` removing any duplicates in the process.
- *
- * This merge function keeps the order of attrs same.
- *
- * @param dst Location of where the merged `TAttributes` should end up.
- * @param src `TAttributes` which should be appended to `dst`
- */
- function mergeHostAttrs(dst, src) {
- if (src === null || src.length === 0) {// do nothing
- } else if (dst === null || dst.length === 0) {
- // We have source, but dst is empty, just make a copy.
- dst = src.slice();
- } else {
- let srcMarker = -1
- /* AttributeMarker.ImplicitAttributes */
- ;
- for (let i = 0; i < src.length; i++) {
- const item = src[i];
- if (typeof item === 'number') {
- srcMarker = item;
- } else {
- if (srcMarker === 0
- /* AttributeMarker.NamespaceURI */
- ) {// Case where we need to consume `key1`, `key2`, `value` items.
- } else if (srcMarker === -1
- /* AttributeMarker.ImplicitAttributes */
- || srcMarker === 2
- /* AttributeMarker.Styles */
- ) {
- // Case where we have to consume `key1` and `value` only.
- mergeHostAttribute(dst, srcMarker, item, null, src[++i]);
- } else {
- // Case where we have to consume `key1` only.
- mergeHostAttribute(dst, srcMarker, item, null, null);
- }
- }
- }
- }
- return dst;
- }
- /**
- * Append `key`/`value` to existing `TAttributes` taking region marker and duplicates into account.
- *
- * @param dst `TAttributes` to append to.
- * @param marker Region where the `key`/`value` should be added.
- * @param key1 Key to add to `TAttributes`
- * @param key2 Key to add to `TAttributes` (in case of `AttributeMarker.NamespaceURI`)
- * @param value Value to add or to overwrite to `TAttributes` Only used if `marker` is not Class.
- */
- function mergeHostAttribute(dst, marker, key1, key2, value) {
- let i = 0; // Assume that new markers will be inserted at the end.
- let markerInsertPosition = dst.length; // scan until correct type.
- if (marker === -1
- /* AttributeMarker.ImplicitAttributes */
- ) {
- markerInsertPosition = -1;
- } else {
- while (i < dst.length) {
- const dstValue = dst[i++];
- if (typeof dstValue === 'number') {
- if (dstValue === marker) {
- markerInsertPosition = -1;
- break;
- } else if (dstValue > marker) {
- // We need to save this as we want the markers to be inserted in specific order.
- markerInsertPosition = i - 1;
- break;
- }
- }
- }
- } // search until you find place of insertion
- while (i < dst.length) {
- const item = dst[i];
- if (typeof item === 'number') {
- // since `i` started as the index after the marker, we did not find it if we are at the next
- // marker
- break;
- } else if (item === key1) {
- // We already have same token
- if (key2 === null) {
- if (value !== null) {
- dst[i + 1] = value;
- }
- return;
- } else if (key2 === dst[i + 1]) {
- dst[i + 2] = value;
- return;
- }
- } // Increment counter.
- i++;
- if (key2 !== null) i++;
- if (value !== null) i++;
- } // insert at location.
- if (markerInsertPosition !== -1) {
- dst.splice(markerInsertPosition, 0, marker);
- i = markerInsertPosition + 1;
- }
- dst.splice(i++, 0, key1);
- if (key2 !== null) {
- dst.splice(i++, 0, key2);
- }
- if (value !== null) {
- dst.splice(i++, 0, value);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /// Parent Injector Utils ///////////////////////////////////////////////////////////////
- function hasParentInjector(parentLocation) {
- return parentLocation !== NO_PARENT_INJECTOR;
- }
- function getParentInjectorIndex(parentLocation) {
- ngDevMode && assertNumber(parentLocation, 'Number expected');
- ngDevMode && assertNotEqual(parentLocation, -1, 'Not a valid state.');
- const parentInjectorIndex = parentLocation & 32767
- /* RelativeInjectorLocationFlags.InjectorIndexMask */
- ;
- ngDevMode && assertGreaterThan(parentInjectorIndex, HEADER_OFFSET, 'Parent injector must be pointing past HEADER_OFFSET.');
- return parentLocation & 32767
- /* RelativeInjectorLocationFlags.InjectorIndexMask */
- ;
- }
- function getParentInjectorViewOffset(parentLocation) {
- return parentLocation >> 16
- /* RelativeInjectorLocationFlags.ViewOffsetShift */
- ;
- }
- /**
- * Unwraps a parent injector location number to find the view offset from the current injector,
- * then walks up the declaration view tree until the view is found that contains the parent
- * injector.
- *
- * @param location The location of the parent injector, which contains the view offset
- * @param startView The LView instance from which to start walking up the view tree
- * @returns The LView instance that contains the parent injector
- */
- function getParentInjectorView(location, startView) {
- let viewOffset = getParentInjectorViewOffset(location);
- let parentView = startView; // For most cases, the parent injector can be found on the host node (e.g. for component
- // or container), but we must keep the loop here to support the rarer case of deeply nested
- // <ng-template> tags or inline views, where the parent injector might live many views
- // above the child injector.
- while (viewOffset > 0) {
- parentView = parentView[DECLARATION_VIEW];
- viewOffset--;
- }
- return parentView;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Defines if the call to `inject` should include `viewProviders` in its resolution.
- *
- * This is set to true when we try to instantiate a component. This value is reset in
- * `getNodeInjectable` to a value which matches the declaration location of the token about to be
- * instantiated. This is done so that if we are injecting a token which was declared outside of
- * `viewProviders` we don't accidentally pull `viewProviders` in.
- *
- * Example:
- *
- * ```
- * @Injectable()
- * class MyService {
- * constructor(public value: String) {}
- * }
- *
- * @Component({
- * providers: [
- * MyService,
- * {provide: String, value: 'providers' }
- * ]
- * viewProviders: [
- * {provide: String, value: 'viewProviders'}
- * ]
- * })
- * class MyComponent {
- * constructor(myService: MyService, value: String) {
- * // We expect that Component can see into `viewProviders`.
- * expect(value).toEqual('viewProviders');
- * // `MyService` was not declared in `viewProviders` hence it can't see it.
- * expect(myService.value).toEqual('providers');
- * }
- * }
- *
- * ```
- */
- let includeViewProviders = true;
- function setIncludeViewProviders(v) {
- const oldValue = includeViewProviders;
- includeViewProviders = v;
- return oldValue;
- }
- /**
- * The number of slots in each bloom filter (used by DI). The larger this number, the fewer
- * directives that will share slots, and thus, the fewer false positives when checking for
- * the existence of a directive.
- */
- const BLOOM_SIZE = 256;
- const BLOOM_MASK = BLOOM_SIZE - 1;
- /**
- * The number of bits that is represented by a single bloom bucket. JS bit operations are 32 bits,
- * so each bucket represents 32 distinct tokens which accounts for log2(32) = 5 bits of a bloom hash
- * number.
- */
- const BLOOM_BUCKET_BITS = 5;
- /** Counter used to generate unique IDs for directives. */
- let nextNgElementId = 0;
- /** Value used when something wasn't found by an injector. */
- const NOT_FOUND = {};
- /**
- * Registers this directive as present in its node's injector by flipping the directive's
- * corresponding bit in the injector's bloom filter.
- *
- * @param injectorIndex The index of the node injector where this token should be registered
- * @param tView The TView for the injector's bloom filters
- * @param type The directive token to register
- */
- function bloomAdd(injectorIndex, tView, type) {
- ngDevMode && assertEqual(tView.firstCreatePass, true, 'expected firstCreatePass to be true');
- let id;
- if (typeof type === 'string') {
- id = type.charCodeAt(0) || 0;
- } else if (type.hasOwnProperty(NG_ELEMENT_ID)) {
- id = type[NG_ELEMENT_ID];
- } // Set a unique ID on the directive type, so if something tries to inject the directive,
- // we can easily retrieve the ID and hash it into the bloom bit that should be checked.
- if (id == null) {
- id = type[NG_ELEMENT_ID] = nextNgElementId++;
- } // We only have BLOOM_SIZE (256) slots in our bloom filter (8 buckets * 32 bits each),
- // so all unique IDs must be modulo-ed into a number from 0 - 255 to fit into the filter.
- const bloomHash = id & BLOOM_MASK; // Create a mask that targets the specific bit associated with the directive.
- // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding
- // to bit positions 0 - 31 in a 32 bit integer.
- const mask = 1 << bloomHash; // Each bloom bucket in `tData` represents `BLOOM_BUCKET_BITS` number of bits of `bloomHash`.
- // Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset that the mask
- // should be written to.
- tView.data[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)] |= mask;
- }
- /**
- * Creates (or gets an existing) injector for a given element or container.
- *
- * @param tNode for which an injector should be retrieved / created.
- * @param lView View where the node is stored
- * @returns Node injector
- */
- function getOrCreateNodeInjectorForNode(tNode, lView) {
- const existingInjectorIndex = getInjectorIndex(tNode, lView);
- if (existingInjectorIndex !== -1) {
- return existingInjectorIndex;
- }
- const tView = lView[TVIEW];
- if (tView.firstCreatePass) {
- tNode.injectorIndex = lView.length;
- insertBloom(tView.data, tNode); // foundation for node bloom
- insertBloom(lView, null); // foundation for cumulative bloom
- insertBloom(tView.blueprint, null);
- }
- const parentLoc = getParentInjectorLocation(tNode, lView);
- const injectorIndex = tNode.injectorIndex; // If a parent injector can't be found, its location is set to -1.
- // In that case, we don't need to set up a cumulative bloom
- if (hasParentInjector(parentLoc)) {
- const parentIndex = getParentInjectorIndex(parentLoc);
- const parentLView = getParentInjectorView(parentLoc, lView);
- const parentData = parentLView[TVIEW].data; // Creates a cumulative bloom filter that merges the parent's bloom filter
- // and its own cumulative bloom (which contains tokens for all ancestors)
- for (let i = 0; i < 8
- /* NodeInjectorOffset.BLOOM_SIZE */
- ; i++) {
- lView[injectorIndex + i] = parentLView[parentIndex + i] | parentData[parentIndex + i];
- }
- }
- lView[injectorIndex + 8
- /* NodeInjectorOffset.PARENT */
- ] = parentLoc;
- return injectorIndex;
- }
- function insertBloom(arr, footer) {
- arr.push(0, 0, 0, 0, 0, 0, 0, 0, footer);
- }
- function getInjectorIndex(tNode, lView) {
- if (tNode.injectorIndex === -1 || // If the injector index is the same as its parent's injector index, then the index has been
- // copied down from the parent node. No injector has been created yet on this node.
- tNode.parent && tNode.parent.injectorIndex === tNode.injectorIndex || // After the first template pass, the injector index might exist but the parent values
- // might not have been calculated yet for this instance
- lView[tNode.injectorIndex + 8
- /* NodeInjectorOffset.PARENT */
- ] === null) {
- return -1;
- } else {
- ngDevMode && assertIndexInRange(lView, tNode.injectorIndex);
- return tNode.injectorIndex;
- }
- }
- /**
- * Finds the index of the parent injector, with a view offset if applicable. Used to set the
- * parent injector initially.
- *
- * @returns Returns a number that is the combination of the number of LViews that we have to go up
- * to find the LView containing the parent inject AND the index of the injector within that LView.
- */
- function getParentInjectorLocation(tNode, lView) {
- if (tNode.parent && tNode.parent.injectorIndex !== -1) {
- // If we have a parent `TNode` and there is an injector associated with it we are done, because
- // the parent injector is within the current `LView`.
- return tNode.parent.injectorIndex; // ViewOffset is 0
- } // When parent injector location is computed it may be outside of the current view. (ie it could
- // be pointing to a declared parent location). This variable stores number of declaration parents
- // we need to walk up in order to find the parent injector location.
- let declarationViewOffset = 0;
- let parentTNode = null;
- let lViewCursor = lView; // The parent injector is not in the current `LView`. We will have to walk the declared parent
- // `LView` hierarchy and look for it. If we walk of the top, that means that there is no parent
- // `NodeInjector`.
- while (lViewCursor !== null) {
- parentTNode = getTNodeFromLView(lViewCursor);
- if (parentTNode === null) {
- // If we have no parent, than we are done.
- return NO_PARENT_INJECTOR;
- }
- ngDevMode && parentTNode && assertTNodeForLView(parentTNode, lViewCursor[DECLARATION_VIEW]); // Every iteration of the loop requires that we go to the declared parent.
- declarationViewOffset++;
- lViewCursor = lViewCursor[DECLARATION_VIEW];
- if (parentTNode.injectorIndex !== -1) {
- // We found a NodeInjector which points to something.
- return parentTNode.injectorIndex | declarationViewOffset << 16
- /* RelativeInjectorLocationFlags.ViewOffsetShift */
- ;
- }
- }
- return NO_PARENT_INJECTOR;
- }
- /**
- * Makes a type or an injection token public to the DI system by adding it to an
- * injector's bloom filter.
- *
- * @param di The node injector in which a directive will be added
- * @param token The type or the injection token to be made public
- */
- function diPublicInInjector(injectorIndex, tView, token) {
- bloomAdd(injectorIndex, tView, token);
- }
- /**
- * Inject static attribute value into directive constructor.
- *
- * This method is used with `factory` functions which are generated as part of
- * `defineDirective` or `defineComponent`. The method retrieves the static value
- * of an attribute. (Dynamic attributes are not supported since they are not resolved
- * at the time of injection and can change over time.)
- *
- * # Example
- * Given:
- * ```
- * @Component(...)
- * class MyComponent {
- * constructor(@Attribute('title') title: string) { ... }
- * }
- * ```
- * When instantiated with
- * ```
- * <my-component title="Hello"></my-component>
- * ```
- *
- * Then factory method generated is:
- * ```
- * MyComponent.ɵcmp = defineComponent({
- * factory: () => new MyComponent(injectAttribute('title'))
- * ...
- * })
- * ```
- *
- * @publicApi
- */
- function injectAttributeImpl(tNode, attrNameToInject) {
- ngDevMode && assertTNodeType(tNode, 12
- /* TNodeType.AnyContainer */
- | 3
- /* TNodeType.AnyRNode */
- );
- ngDevMode && assertDefined(tNode, 'expecting tNode');
- if (attrNameToInject === 'class') {
- return tNode.classes;
- }
- if (attrNameToInject === 'style') {
- return tNode.styles;
- }
- const attrs = tNode.attrs;
- if (attrs) {
- const attrsLength = attrs.length;
- let i = 0;
- while (i < attrsLength) {
- const value = attrs[i]; // If we hit a `Bindings` or `Template` marker then we are done.
- if (isNameOnlyAttributeMarker(value)) break; // Skip namespaced attributes
- if (value === 0
- /* AttributeMarker.NamespaceURI */
- ) {
- // we skip the next two values
- // as namespaced attributes looks like
- // [..., AttributeMarker.NamespaceURI, 'http://someuri.com/test', 'test:exist',
- // 'existValue', ...]
- i = i + 2;
- } else if (typeof value === 'number') {
- // Skip to the first value of the marked attribute.
- i++;
- while (i < attrsLength && typeof attrs[i] === 'string') {
- i++;
- }
- } else if (value === attrNameToInject) {
- return attrs[i + 1];
- } else {
- i = i + 2;
- }
- }
- }
- return null;
- }
- function notFoundValueOrThrow(notFoundValue, token, flags) {
- if (flags & InjectFlags.Optional || notFoundValue !== undefined) {
- return notFoundValue;
- } else {
- throwProviderNotFoundError(token, 'NodeInjector');
- }
- }
- /**
- * Returns the value associated to the given token from the ModuleInjector or throws exception
- *
- * @param lView The `LView` that contains the `tNode`
- * @param token The token to look for
- * @param flags Injection flags
- * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`
- * @returns the value from the injector or throws an exception
- */
- function lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) {
- if (flags & InjectFlags.Optional && notFoundValue === undefined) {
- // This must be set or the NullInjector will throw for optional deps
- notFoundValue = null;
- }
- if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {
- const moduleInjector = lView[INJECTOR$1]; // switch to `injectInjectorOnly` implementation for module injector, since module injector
- // should not have access to Component/Directive DI scope (that may happen through
- // `directiveInject` implementation)
- const previousInjectImplementation = setInjectImplementation(undefined);
- try {
- if (moduleInjector) {
- return moduleInjector.get(token, notFoundValue, flags & InjectFlags.Optional);
- } else {
- return injectRootLimpMode(token, notFoundValue, flags & InjectFlags.Optional);
- }
- } finally {
- setInjectImplementation(previousInjectImplementation);
- }
- }
- return notFoundValueOrThrow(notFoundValue, token, flags);
- }
- /**
- * Returns the value associated to the given token from the NodeInjectors => ModuleInjector.
- *
- * Look for the injector providing the token by walking up the node injector tree and then
- * the module injector tree.
- *
- * This function patches `token` with `__NG_ELEMENT_ID__` which contains the id for the bloom
- * filter. `-1` is reserved for injecting `Injector` (implemented by `NodeInjector`)
- *
- * @param tNode The Node where the search for the injector should start
- * @param lView The `LView` that contains the `tNode`
- * @param token The token to look for
- * @param flags Injection flags
- * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`
- * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided
- */
- function getOrCreateInjectable(tNode, lView, token, flags = InjectFlags.Default, notFoundValue) {
- if (tNode !== null) {
- // If the view or any of its ancestors have an embedded
- // view injector, we have to look it up there first.
- if (lView[FLAGS] & 1024
- /* LViewFlags.HasEmbeddedViewInjector */
- ) {
- const embeddedInjectorValue = lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, NOT_FOUND);
- if (embeddedInjectorValue !== NOT_FOUND) {
- return embeddedInjectorValue;
- }
- } // Otherwise try the node injector.
- const value = lookupTokenUsingNodeInjector(tNode, lView, token, flags, NOT_FOUND);
- if (value !== NOT_FOUND) {
- return value;
- }
- } // Finally, fall back to the module injector.
- return lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);
- }
- /**
- * Returns the value associated to the given token from the node injector.
- *
- * @param tNode The Node where the search for the injector should start
- * @param lView The `LView` that contains the `tNode`
- * @param token The token to look for
- * @param flags Injection flags
- * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`
- * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided
- */
- function lookupTokenUsingNodeInjector(tNode, lView, token, flags, notFoundValue) {
- const bloomHash = bloomHashBitOrFactory(token); // If the ID stored here is a function, this is a special object like ElementRef or TemplateRef
- // so just call the factory function to create it.
- if (typeof bloomHash === 'function') {
- if (!enterDI(lView, tNode, flags)) {
- // Failed to enter DI, try module injector instead. If a token is injected with the @Host
- // flag, the module injector is not searched for that token in Ivy.
- return flags & InjectFlags.Host ? notFoundValueOrThrow(notFoundValue, token, flags) : lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue);
- }
- try {
- const value = bloomHash(flags);
- if (value == null && !(flags & InjectFlags.Optional)) {
- throwProviderNotFoundError(token);
- } else {
- return value;
- }
- } finally {
- leaveDI();
- }
- } else if (typeof bloomHash === 'number') {
- // A reference to the previous injector TView that was found while climbing the element
- // injector tree. This is used to know if viewProviders can be accessed on the current
- // injector.
- let previousTView = null;
- let injectorIndex = getInjectorIndex(tNode, lView);
- let parentLocation = NO_PARENT_INJECTOR;
- 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
- // searching the parent injector.
- if (injectorIndex === -1 || flags & InjectFlags.SkipSelf) {
- parentLocation = injectorIndex === -1 ? getParentInjectorLocation(tNode, lView) : lView[injectorIndex + 8
- /* NodeInjectorOffset.PARENT */
- ];
- if (parentLocation === NO_PARENT_INJECTOR || !shouldSearchParent(flags, false)) {
- injectorIndex = -1;
- } else {
- previousTView = lView[TVIEW];
- injectorIndex = getParentInjectorIndex(parentLocation);
- lView = getParentInjectorView(parentLocation, lView);
- }
- } // Traverse up the injector tree until we find a potential match or until we know there
- // *isn't* a match.
- while (injectorIndex !== -1) {
- ngDevMode && assertNodeInjector(lView, injectorIndex); // Check the current injector. If it matches, see if it contains token.
- const tView = lView[TVIEW];
- ngDevMode && assertTNodeForLView(tView.data[injectorIndex + 8
- /* NodeInjectorOffset.TNODE */
- ], lView);
- if (bloomHasToken(bloomHash, injectorIndex, tView.data)) {
- // At this point, we have an injector which *may* contain the token, so we step through
- // the providers and directives associated with the injector's corresponding node to get
- // the instance.
- const instance = searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode);
- if (instance !== NOT_FOUND) {
- return instance;
- }
- }
- parentLocation = lView[injectorIndex + 8
- /* NodeInjectorOffset.PARENT */
- ];
- if (parentLocation !== NO_PARENT_INJECTOR && shouldSearchParent(flags, lView[TVIEW].data[injectorIndex + 8
- /* NodeInjectorOffset.TNODE */
- ] === hostTElementNode) && bloomHasToken(bloomHash, injectorIndex, lView)) {
- // The def wasn't found anywhere on this node, so it was a false positive.
- // Traverse up the tree and continue searching.
- previousTView = tView;
- injectorIndex = getParentInjectorIndex(parentLocation);
- lView = getParentInjectorView(parentLocation, lView);
- } else {
- // If we should not search parent OR If the ancestor bloom filter value does not have the
- // bit corresponding to the directive we can give up on traversing up to find the specific
- // injector.
- injectorIndex = -1;
- }
- }
- }
- return notFoundValue;
- }
- function searchTokensOnInjector(injectorIndex, lView, token, previousTView, flags, hostTElementNode) {
- const currentTView = lView[TVIEW];
- const tNode = currentTView.data[injectorIndex + 8
- /* NodeInjectorOffset.TNODE */
- ]; // First, we need to determine if view providers can be accessed by the starting element.
- // There are two possibilities
- const canAccessViewProviders = previousTView == null ? // 1) This is the first invocation `previousTView == null` which means that we are at the
- // `TNode` of where injector is starting to look. In such a case the only time we are allowed
- // to look into the ViewProviders is if:
- // - we are on a component
- // - AND the injector set `includeViewProviders` to true (implying that the token can see
- // ViewProviders because it is the Component or a Service which itself was declared in
- // ViewProviders)
- isComponentHost(tNode) && includeViewProviders : // 2) `previousTView != null` which means that we are now walking across the parent nodes.
- // In such a case we are only allowed to look into the ViewProviders if:
- // - We just crossed from child View to Parent View `previousTView != currentTView`
- // - AND the parent TNode is an Element.
- // This means that we just came from the Component's View and therefore are allowed to see
- // into the ViewProviders.
- previousTView != currentTView && (tNode.type & 3
- /* TNodeType.AnyRNode */
- ) !== 0; // This special case happens when there is a @host on the inject and when we are searching
- // on the host element node.
- const isHostSpecialCase = flags & InjectFlags.Host && hostTElementNode === tNode;
- const injectableIdx = locateDirectiveOrProvider(tNode, currentTView, token, canAccessViewProviders, isHostSpecialCase);
- if (injectableIdx !== null) {
- return getNodeInjectable(lView, currentTView, injectableIdx, tNode);
- } else {
- return NOT_FOUND;
- }
- }
- /**
- * Searches for the given token among the node's directives and providers.
- *
- * @param tNode TNode on which directives are present.
- * @param tView The tView we are currently processing
- * @param token Provider token or type of a directive to look for.
- * @param canAccessViewProviders Whether view providers should be considered.
- * @param isHostSpecialCase Whether the host special case applies.
- * @returns Index of a found directive or provider, or null when none found.
- */
- function locateDirectiveOrProvider(tNode, tView, token, canAccessViewProviders, isHostSpecialCase) {
- const nodeProviderIndexes = tNode.providerIndexes;
- const tInjectables = tView.data;
- const injectablesStart = nodeProviderIndexes & 1048575
- /* TNodeProviderIndexes.ProvidersStartIndexMask */
- ;
- const directivesStart = tNode.directiveStart;
- const directiveEnd = tNode.directiveEnd;
- const cptViewProvidersCount = nodeProviderIndexes >> 20
- /* TNodeProviderIndexes.CptViewProvidersCountShift */
- ;
- const startingIndex = canAccessViewProviders ? injectablesStart : injectablesStart + cptViewProvidersCount; // When the host special case applies, only the viewProviders and the component are visible
- const endIndex = isHostSpecialCase ? injectablesStart + cptViewProvidersCount : directiveEnd;
- for (let i = startingIndex; i < endIndex; i++) {
- const providerTokenOrDef = tInjectables[i];
- if (i < directivesStart && token === providerTokenOrDef || i >= directivesStart && providerTokenOrDef.type === token) {
- return i;
- }
- }
- if (isHostSpecialCase) {
- const dirDef = tInjectables[directivesStart];
- if (dirDef && isComponentDef(dirDef) && dirDef.type === token) {
- return directivesStart;
- }
- }
- return null;
- }
- /**
- * Retrieve or instantiate the injectable from the `LView` at particular `index`.
- *
- * This function checks to see if the value has already been instantiated and if so returns the
- * cached `injectable`. Otherwise if it detects that the value is still a factory it
- * instantiates the `injectable` and caches the value.
- */
- function getNodeInjectable(lView, tView, index, tNode) {
- let value = lView[index];
- const tData = tView.data;
- if (isFactory(value)) {
- const factory = value;
- if (factory.resolving) {
- throwCyclicDependencyError(stringifyForError(tData[index]));
- }
- const previousIncludeViewProviders = setIncludeViewProviders(factory.canSeeViewProviders);
- factory.resolving = true;
- const previousInjectImplementation = factory.injectImpl ? setInjectImplementation(factory.injectImpl) : null;
- const success = enterDI(lView, tNode, InjectFlags.Default);
- ngDevMode && assertEqual(success, true, 'Because flags do not contain \`SkipSelf\' we expect this to always succeed.');
- try {
- value = lView[index] = factory.factory(undefined, tData, lView, tNode); // This code path is hit for both directives and providers.
- // For perf reasons, we want to avoid searching for hooks on providers.
- // It does no harm to try (the hooks just won't exist), but the extra
- // checks are unnecessary and this is a hot path. So we check to see
- // if the index of the dependency is in the directive range for this
- // tNode. If it's not, we know it's a provider and skip hook registration.
- if (tView.firstCreatePass && index >= tNode.directiveStart) {
- ngDevMode && assertDirectiveDef(tData[index]);
- registerPreOrderHooks(index, tData[index], tView);
- }
- } finally {
- previousInjectImplementation !== null && setInjectImplementation(previousInjectImplementation);
- setIncludeViewProviders(previousIncludeViewProviders);
- factory.resolving = false;
- leaveDI();
- }
- }
- return value;
- }
- /**
- * Returns the bit in an injector's bloom filter that should be used to determine whether or not
- * the directive might be provided by the injector.
- *
- * When a directive is public, it is added to the bloom filter and given a unique ID that can be
- * retrieved on the Type. When the directive isn't public or the token is not a directive `null`
- * is returned as the node injector can not possibly provide that token.
- *
- * @param token the injection token
- * @returns the matching bit to check in the bloom filter or `null` if the token is not known.
- * When the returned value is negative then it represents special values such as `Injector`.
- */
- function bloomHashBitOrFactory(token) {
- ngDevMode && assertDefined(token, 'token must be defined');
- if (typeof token === 'string') {
- return token.charCodeAt(0) || 0;
- }
- const tokenId = // First check with `hasOwnProperty` so we don't get an inherited ID.
- token.hasOwnProperty(NG_ELEMENT_ID) ? token[NG_ELEMENT_ID] : undefined; // Negative token IDs are used for special objects such as `Injector`
- if (typeof tokenId === 'number') {
- if (tokenId >= 0) {
- return tokenId & BLOOM_MASK;
- } else {
- ngDevMode && assertEqual(tokenId, -1
- /* InjectorMarkers.Injector */
- , 'Expecting to get Special Injector Id');
- return createNodeInjector;
- }
- } else {
- return tokenId;
- }
- }
- function bloomHasToken(bloomHash, injectorIndex, injectorView) {
- // Create a mask that targets the specific bit associated with the directive we're looking for.
- // JS bit operations are 32 bits, so this will be a number between 2^0 and 2^31, corresponding
- // to bit positions 0 - 31 in a 32 bit integer.
- const mask = 1 << bloomHash; // Each bloom bucket in `injectorView` represents `BLOOM_BUCKET_BITS` number of bits of
- // `bloomHash`. Any bits in `bloomHash` beyond `BLOOM_BUCKET_BITS` indicate the bucket offset
- // that should be used.
- const value = injectorView[injectorIndex + (bloomHash >> BLOOM_BUCKET_BITS)]; // If the bloom filter value has the bit corresponding to the directive's bloomBit flipped on,
- // this injector is a potential match.
- return !!(value & mask);
- }
- /** Returns true if flags prevent parent injector from being searched for tokens */
- function shouldSearchParent(flags, isFirstHostTNode) {
- return !(flags & InjectFlags.Self) && !(flags & InjectFlags.Host && isFirstHostTNode);
- }
- class NodeInjector {
- constructor(_tNode, _lView) {
- this._tNode = _tNode;
- this._lView = _lView;
- }
- get(token, notFoundValue, flags) {
- return getOrCreateInjectable(this._tNode, this._lView, token, flags, notFoundValue);
- }
- }
- /** Creates a `NodeInjector` for the current node. */
- function createNodeInjector() {
- return new NodeInjector(getCurrentTNode(), getLView());
- }
- /**
- * @codeGenApi
- */
- function ɵɵgetInheritedFactory(type) {
- return noSideEffects(() => {
- const ownConstructor = type.prototype.constructor;
- const ownFactory = ownConstructor[NG_FACTORY_DEF] || getFactoryOf(ownConstructor);
- const objectPrototype = Object.prototype;
- let parent = Object.getPrototypeOf(type.prototype).constructor; // Go up the prototype until we hit `Object`.
- while (parent && parent !== objectPrototype) {
- 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,
- // we've found the inherited factory. Note the check that the factory isn't the type's
- // own factory is redundant in most cases, but if the user has custom decorators on the
- // class, this lookup will start one level down in the prototype chain, causing us to
- // find the own factory first and potentially triggering an infinite loop downstream.
- if (factory && factory !== ownFactory) {
- return factory;
- }
- parent = Object.getPrototypeOf(parent);
- } // There is no factory defined. Either this was improper usage of inheritance
- // (no Angular decorator on the superclass) or there is no constructor at all
- // in the inheritance chain. Since the two cases cannot be distinguished, the
- // latter has to be assumed.
- return t => new t();
- });
- }
- function getFactoryOf(type) {
- if (isForwardRef(type)) {
- return () => {
- const factory = getFactoryOf(resolveForwardRef(type));
- return factory && factory();
- };
- }
- return getFactoryDef(type);
- }
- /**
- * Returns a value from the closest embedded or node injector.
- *
- * @param tNode The Node where the search for the injector should start
- * @param lView The `LView` that contains the `tNode`
- * @param token The token to look for
- * @param flags Injection flags
- * @param notFoundValue The value to return when the injection flags is `InjectFlags.Optional`
- * @returns the value from the injector, `null` when not found, or `notFoundValue` if provided
- */
- function lookupTokenUsingEmbeddedInjector(tNode, lView, token, flags, notFoundValue) {
- let currentTNode = tNode;
- let currentLView = lView; // When an LView with an embedded view injector is inserted, it'll likely be interlaced with
- // nodes who may have injectors (e.g. node injector -> embedded view injector -> node injector).
- // Since the bloom filters for the node injectors have already been constructed and we don't
- // have a way of extracting the records from an injector, the only way to maintain the correct
- // hierarchy when resolving the value is to walk it node-by-node while attempting to resolve
- // the token at each level.
- while (currentTNode !== null && currentLView !== null && currentLView[FLAGS] & 1024
- /* LViewFlags.HasEmbeddedViewInjector */
- && !(currentLView[FLAGS] & 256
- /* LViewFlags.IsRoot */
- )) {
- ngDevMode && assertTNodeForLView(currentTNode, currentLView); // Note that this lookup on the node injector is using the `Self` flag, because
- // we don't want the node injector to look at any parent injectors since we
- // may hit the embedded view injector first.
- const nodeInjectorValue = lookupTokenUsingNodeInjector(currentTNode, currentLView, token, flags | InjectFlags.Self, NOT_FOUND);
- if (nodeInjectorValue !== NOT_FOUND) {
- return nodeInjectorValue;
- } // Has an explicit type due to a TS bug: https://github.com/microsoft/TypeScript/issues/33191
- let parentTNode = currentTNode.parent; // `TNode.parent` includes the parent within the current view only. If it doesn't exist,
- // it means that we've hit the view boundary and we need to go up to the next view.
- if (!parentTNode) {
- // Before we go to the next LView, check if the token exists on the current embedded injector.
- const embeddedViewInjector = currentLView[EMBEDDED_VIEW_INJECTOR];
- if (embeddedViewInjector) {
- const embeddedViewInjectorValue = embeddedViewInjector.get(token, NOT_FOUND, flags);
- if (embeddedViewInjectorValue !== NOT_FOUND) {
- return embeddedViewInjectorValue;
- }
- } // Otherwise keep going up the tree.
- parentTNode = getTNodeFromLView(currentLView);
- currentLView = currentLView[DECLARATION_VIEW];
- }
- currentTNode = parentTNode;
- }
- return notFoundValue;
- }
- /** Gets the TNode associated with an LView inside of the declaration view. */
- function getTNodeFromLView(lView) {
- const tView = lView[TVIEW];
- const tViewType = tView.type; // The parent pointer differs based on `TView.type`.
- if (tViewType === 2
- /* TViewType.Embedded */
- ) {
- ngDevMode && assertDefined(tView.declTNode, 'Embedded TNodes should have declaration parents.');
- return tView.declTNode;
- } else if (tViewType === 1
- /* TViewType.Component */
- ) {
- // Components don't have `TView.declTNode` because each instance of component could be
- // inserted in different location, hence `TView.declTNode` is meaningless.
- return lView[T_HOST];
- }
- return null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Facade for the attribute injection from DI.
- *
- * @codeGenApi
- */
- function ɵɵinjectAttribute(attrNameToInject) {
- return injectAttributeImpl(getCurrentTNode(), attrNameToInject);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const ANNOTATIONS = '__annotations__';
- const PARAMETERS = '__parameters__';
- const PROP_METADATA = '__prop__metadata__';
- /**
- * @suppress {globalThis}
- */
- function makeDecorator(name, props, parentClass, additionalProcessing, typeFn) {
- return noSideEffects(() => {
- const metaCtor = makeMetadataCtor(props);
- function DecoratorFactory(...args) {
- if (this instanceof DecoratorFactory) {
- metaCtor.call(this, ...args);
- return this;
- }
- const annotationInstance = new DecoratorFactory(...args);
- return function TypeDecorator(cls) {
- if (typeFn) typeFn(cls, ...args); // Use of Object.defineProperty is important since it creates non-enumerable property which
- // prevents the property is copied during subclassing.
- const annotations = cls.hasOwnProperty(ANNOTATIONS) ? cls[ANNOTATIONS] : Object.defineProperty(cls, ANNOTATIONS, {
- value: []
- })[ANNOTATIONS];
- annotations.push(annotationInstance);
- if (additionalProcessing) additionalProcessing(cls);
- return cls;
- };
- }
- if (parentClass) {
- DecoratorFactory.prototype = Object.create(parentClass.prototype);
- }
- DecoratorFactory.prototype.ngMetadataName = name;
- DecoratorFactory.annotationCls = DecoratorFactory;
- return DecoratorFactory;
- });
- }
- function makeMetadataCtor(props) {
- return function ctor(...args) {
- if (props) {
- const values = props(...args);
- for (const propName in values) {
- this[propName] = values[propName];
- }
- }
- };
- }
- function makeParamDecorator(name, props, parentClass) {
- return noSideEffects(() => {
- const metaCtor = makeMetadataCtor(props);
- function ParamDecoratorFactory(...args) {
- if (this instanceof ParamDecoratorFactory) {
- metaCtor.apply(this, args);
- return this;
- }
- const annotationInstance = new ParamDecoratorFactory(...args);
- ParamDecorator.annotation = annotationInstance;
- return ParamDecorator;
- function ParamDecorator(cls, unusedKey, index) {
- // Use of Object.defineProperty is important since it creates non-enumerable property which
- // prevents the property is copied during subclassing.
- const parameters = cls.hasOwnProperty(PARAMETERS) ? cls[PARAMETERS] : Object.defineProperty(cls, PARAMETERS, {
- value: []
- })[PARAMETERS]; // there might be gaps if some in between parameters do not have annotations.
- // we pad with nulls.
- while (parameters.length <= index) {
- parameters.push(null);
- }
- (parameters[index] = parameters[index] || []).push(annotationInstance);
- return cls;
- }
- }
- if (parentClass) {
- ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);
- }
- ParamDecoratorFactory.prototype.ngMetadataName = name;
- ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;
- return ParamDecoratorFactory;
- });
- }
- function makePropDecorator(name, props, parentClass, additionalProcessing) {
- return noSideEffects(() => {
- const metaCtor = makeMetadataCtor(props);
- function PropDecoratorFactory(...args) {
- if (this instanceof PropDecoratorFactory) {
- metaCtor.apply(this, args);
- return this;
- }
- const decoratorInstance = new PropDecoratorFactory(...args);
- function PropDecorator(target, name) {
- const constructor = target.constructor; // Use of Object.defineProperty is important because it creates a non-enumerable property
- // which prevents the property from being copied during subclassing.
- const meta = constructor.hasOwnProperty(PROP_METADATA) ? constructor[PROP_METADATA] : Object.defineProperty(constructor, PROP_METADATA, {
- value: {}
- })[PROP_METADATA];
- meta[name] = meta.hasOwnProperty(name) && meta[name] || [];
- meta[name].unshift(decoratorInstance);
- if (additionalProcessing) additionalProcessing(target, name, ...args);
- }
- return PropDecorator;
- }
- if (parentClass) {
- PropDecoratorFactory.prototype = Object.create(parentClass.prototype);
- }
- PropDecoratorFactory.prototype.ngMetadataName = name;
- PropDecoratorFactory.annotationCls = PropDecoratorFactory;
- return PropDecoratorFactory;
- });
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Attribute decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const Attribute = makeParamDecorator('Attribute', attributeName => ({
- attributeName,
- __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName)
- }));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Creates a token that can be used in a DI Provider.
- *
- * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a
- * runtime representation) such as when injecting an interface, callable type, array or
- * parameterized type.
- *
- * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
- * the `Injector`. This provides an additional level of type safety.
- *
- * ```
- * interface MyInterface {...}
- * const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
- * // myInterface is inferred to be MyInterface.
- * ```
- *
- * When creating an `InjectionToken`, you can optionally specify a factory function which returns
- * (possibly by creating) a default value of the parameterized type `T`. This sets up the
- * `InjectionToken` using this factory as a provider as if it was defined explicitly in the
- * application's root injector. If the factory function, which takes zero arguments, needs to inject
- * dependencies, it can do so using the `inject` function.
- * As you can see in the Tree-shakable InjectionToken example below.
- *
- * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which
- * overrides the above behavior and marks the token as belonging to a particular `@NgModule`. As
- * mentioned above, `'root'` is the default value for `providedIn`.
- *
- * @usageNotes
- * ### Basic Examples
- *
- * ### Plain InjectionToken
- *
- * {@example core/di/ts/injector_spec.ts region='InjectionToken'}
- *
- * ### Tree-shakable InjectionToken
- *
- * {@example core/di/ts/injector_spec.ts region='ShakableInjectionToken'}
- *
- *
- * @publicApi
- */
- class InjectionToken {
- /**
- * @param _desc Description for the token,
- * used only for debugging purposes,
- * it should but does not need to be unique
- * @param options Options for the token's usage, as described above
- */
- constructor(_desc, options) {
- this._desc = _desc;
- /** @internal */
- this.ngMetadataName = 'InjectionToken';
- this.ɵprov = undefined;
- if (typeof options == 'number') {
- (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.
- // See `InjectorMarkers`
- this.__NG_ELEMENT_ID__ = options;
- } else if (options !== undefined) {
- this.ɵprov = ɵɵdefineInjectable({
- token: this,
- providedIn: options.providedIn || 'root',
- factory: options.factory
- });
- }
- }
- /**
- * @internal
- */
- get multi() {
- return this;
- }
- toString() {
- return `InjectionToken ${this._desc}`;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A DI token that you can use to create a virtual [provider](guide/glossary#provider)
- * that will populate the `entryComponents` field of components and NgModules
- * based on its `useValue` property value.
- * All components that are referenced in the `useValue` value (either directly
- * or in a nested array or map) are added to the `entryComponents` property.
- *
- * @usageNotes
- *
- * The following example shows how the router can populate the `entryComponents`
- * field of an NgModule based on a router configuration that refers
- * to components.
- *
- * ```typescript
- * // helper function inside the router
- * function provideRoutes(routes) {
- * return [
- * {provide: ROUTES, useValue: routes},
- * {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true}
- * ];
- * }
- *
- * // user code
- * let routes = [
- * {path: '/root', component: RootComp},
- * {path: '/teams', component: TeamsComp}
- * ];
- *
- * @NgModule({
- * providers: [provideRoutes(routes)]
- * })
- * class ModuleWithRoutes {}
- * ```
- *
- * @publicApi
- * @deprecated Since 9.0.0. With Ivy, this property is no longer necessary.
- */
- const ANALYZE_FOR_ENTRY_COMPONENTS = new InjectionToken('AnalyzeForEntryComponents'); // Stores the default value of `emitDistinctChangesOnly` when the `emitDistinctChangesOnly` is not
- // explicitly set.
- const emitDistinctChangesOnlyDefaultValue = true;
- /**
- * Base class for query metadata.
- *
- * @see `ContentChildren`.
- * @see `ContentChild`.
- * @see `ViewChildren`.
- * @see `ViewChild`.
- *
- * @publicApi
- */
- class Query {}
- /**
- * ContentChildren decorator and metadata.
- *
- *
- * @Annotation
- * @publicApi
- */
- const ContentChildren = makePropDecorator('ContentChildren', (selector, data = {}) => Object.assign({
- selector,
- first: false,
- isViewQuery: false,
- descendants: false,
- emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue
- }, data), Query);
- /**
- * ContentChild decorator and metadata.
- *
- *
- * @Annotation
- *
- * @publicApi
- */
- const ContentChild = makePropDecorator('ContentChild', (selector, data = {}) => Object.assign({
- selector,
- first: true,
- isViewQuery: false,
- descendants: true
- }, data), Query);
- /**
- * ViewChildren decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const ViewChildren = makePropDecorator('ViewChildren', (selector, data = {}) => Object.assign({
- selector,
- first: false,
- isViewQuery: true,
- descendants: true,
- emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue
- }, data), Query);
- /**
- * ViewChild decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const ViewChild = makePropDecorator('ViewChild', (selector, data) => Object.assign({
- selector,
- first: true,
- isViewQuery: true,
- descendants: true
- }, data), Query);
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- var FactoryTarget;
- (function (FactoryTarget) {
- FactoryTarget[FactoryTarget["Directive"] = 0] = "Directive";
- FactoryTarget[FactoryTarget["Component"] = 1] = "Component";
- FactoryTarget[FactoryTarget["Injectable"] = 2] = "Injectable";
- FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
- FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
- })(FactoryTarget || (FactoryTarget = {}));
- var R3TemplateDependencyKind;
- (function (R3TemplateDependencyKind) {
- R3TemplateDependencyKind[R3TemplateDependencyKind["Directive"] = 0] = "Directive";
- R3TemplateDependencyKind[R3TemplateDependencyKind["Pipe"] = 1] = "Pipe";
- R3TemplateDependencyKind[R3TemplateDependencyKind["NgModule"] = 2] = "NgModule";
- })(R3TemplateDependencyKind || (R3TemplateDependencyKind = {}));
- var ViewEncapsulation;
- (function (ViewEncapsulation) {
- ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated"; // Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
- ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
- ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
- })(ViewEncapsulation || (ViewEncapsulation = {}));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function getCompilerFacade(request) {
- const globalNg = _global['ng'];
- if (globalNg && globalNg.ɵcompilerFacade) {
- return globalNg.ɵcompilerFacade;
- }
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- // Log the type as an error so that a developer can easily navigate to the type from the
- // console.
- console.error(`JIT compilation failed for ${request.kind}`, request.type);
- let message = `The ${request.kind} '${request.type.name}' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available.\n\n`;
- if (request.usage === 1
- /* JitCompilerUsage.PartialDeclaration */
- ) {
- message += `The ${request.kind} is part of a library that has been partially compiled.\n`;
- message += `However, the Angular Linker has not processed the library such that JIT compilation is used as fallback.\n`;
- message += '\n';
- message += `Ideally, the library is processed using the Angular Linker to become fully AOT compiled.\n`;
- } else {
- message += `JIT compilation is discouraged for production use-cases! Consider using AOT mode instead.\n`;
- }
- message += `Alternatively, the JIT compiler should be loaded by bootstrapping using '@angular/platform-browser-dynamic' or '@angular/platform-server',\n`;
- message += `or manually provide the compiler with 'import "@angular/compiler";' before bootstrapping.`;
- throw new Error(message);
- } else {
- throw new Error('JIT compiler unavailable');
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- *
- * Represents a type that a Component or other object is instances of.
- *
- * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is represented by
- * the `MyCustomComponent` constructor function.
- *
- * @publicApi
- */
- const Type = Function;
- function isType(v) {
- return typeof v === 'function';
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Equivalent to ES6 spread, add each item to an array.
- *
- * @param items The items to add
- * @param arr The array to which you want to add the items
- */
- function addAllToArray(items, arr) {
- for (let i = 0; i < items.length; i++) {
- arr.push(items[i]);
- }
- }
- /**
- * Determines if the contents of two arrays is identical
- *
- * @param a first array
- * @param b second array
- * @param identityAccessor Optional function for extracting stable object identity from a value in
- * the array.
- */
- function arrayEquals(a, b, identityAccessor) {
- if (a.length !== b.length) return false;
- for (let i = 0; i < a.length; i++) {
- let valueA = a[i];
- let valueB = b[i];
- if (identityAccessor) {
- valueA = identityAccessor(valueA);
- valueB = identityAccessor(valueB);
- }
- if (valueB !== valueA) {
- return false;
- }
- }
- return true;
- }
- /**
- * Flattens an array.
- */
- function flatten(list, dst) {
- if (dst === undefined) dst = list;
- for (let i = 0; i < list.length; i++) {
- let item = list[i];
- if (Array.isArray(item)) {
- // we need to inline it.
- if (dst === list) {
- // Our assumption that the list was already flat was wrong and
- // we need to clone flat since we need to write to it.
- dst = list.slice(0, i);
- }
- flatten(item, dst);
- } else if (dst !== list) {
- dst.push(item);
- }
- }
- return dst;
- }
- function deepForEach(input, fn) {
- input.forEach(value => Array.isArray(value) ? deepForEach(value, fn) : fn(value));
- }
- function addToArray(arr, index, value) {
- // perf: array.push is faster than array.splice!
- if (index >= arr.length) {
- arr.push(value);
- } else {
- arr.splice(index, 0, value);
- }
- }
- function removeFromArray(arr, index) {
- // perf: array.pop is faster than array.splice!
- if (index >= arr.length - 1) {
- return arr.pop();
- } else {
- return arr.splice(index, 1)[0];
- }
- }
- function newArray(size, value) {
- const list = [];
- for (let i = 0; i < size; i++) {
- list.push(value);
- }
- return list;
- }
- /**
- * Remove item from array (Same as `Array.splice()` but faster.)
- *
- * `Array.splice()` is not as fast because it has to allocate an array for the elements which were
- * removed. This causes memory pressure and slows down code when most of the time we don't
- * care about the deleted items array.
- *
- * https://jsperf.com/fast-array-splice (About 20x faster)
- *
- * @param array Array to splice
- * @param index Index of element in array to remove.
- * @param count Number of items to remove.
- */
- function arraySplice(array, index, count) {
- const length = array.length - count;
- while (index < length) {
- array[index] = array[index + count];
- index++;
- }
- while (count--) {
- array.pop(); // shrink the array
- }
- }
- /**
- * Same as `Array.splice(index, 0, value)` but faster.
- *
- * `Array.splice()` is not fast because it has to allocate an array for the elements which were
- * removed. This causes memory pressure and slows down code when most of the time we don't
- * care about the deleted items array.
- *
- * @param array Array to splice.
- * @param index Index in array where the `value` should be added.
- * @param value Value to add to array.
- */
- function arrayInsert(array, index, value) {
- ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\'t insert past array end.');
- let end = array.length;
- while (end > index) {
- const previousEnd = end - 1;
- array[end] = array[previousEnd];
- end = previousEnd;
- }
- array[index] = value;
- }
- /**
- * Same as `Array.splice2(index, 0, value1, value2)` but faster.
- *
- * `Array.splice()` is not fast because it has to allocate an array for the elements which were
- * removed. This causes memory pressure and slows down code when most of the time we don't
- * care about the deleted items array.
- *
- * @param array Array to splice.
- * @param index Index in array where the `value` should be added.
- * @param value1 Value to add to array.
- * @param value2 Value to add to array.
- */
- function arrayInsert2(array, index, value1, value2) {
- ngDevMode && assertLessThanOrEqual(index, array.length, 'Can\'t insert past array end.');
- let end = array.length;
- if (end == index) {
- // inserting at the end.
- array.push(value1, value2);
- } else if (end === 1) {
- // corner case when we have less items in array than we have items to insert.
- array.push(value2, array[0]);
- array[0] = value1;
- } else {
- end--;
- array.push(array[end - 1], array[end]);
- while (end > index) {
- const previousEnd = end - 2;
- array[end] = array[previousEnd];
- end--;
- }
- array[index] = value1;
- array[index + 1] = value2;
- }
- }
- /**
- * Insert a `value` into an `array` so that the array remains sorted.
- *
- * NOTE:
- * - Duplicates are not allowed, and are ignored.
- * - This uses binary search algorithm for fast inserts.
- *
- * @param array A sorted array to insert into.
- * @param value The value to insert.
- * @returns index of the inserted value.
- */
- function arrayInsertSorted(array, value) {
- let index = arrayIndexOfSorted(array, value);
- if (index < 0) {
- // if we did not find it insert it.
- index = ~index;
- arrayInsert(array, index, value);
- }
- return index;
- }
- /**
- * Remove `value` from a sorted `array`.
- *
- * NOTE:
- * - This uses binary search algorithm for fast removals.
- *
- * @param array A sorted array to remove from.
- * @param value The value to remove.
- * @returns index of the removed value.
- * - positive index if value found and removed.
- * - negative index if value not found. (`~index` to get the value where it should have been
- * inserted)
- */
- function arrayRemoveSorted(array, value) {
- const index = arrayIndexOfSorted(array, value);
- if (index >= 0) {
- arraySplice(array, index, 1);
- }
- return index;
- }
- /**
- * Get an index of an `value` in a sorted `array`.
- *
- * NOTE:
- * - This uses binary search algorithm for fast removals.
- *
- * @param array A sorted array to binary search.
- * @param value The value to look for.
- * @returns index of the value.
- * - positive index if value found.
- * - negative index if value not found. (`~index` to get the value where it should have been
- * located)
- */
- function arrayIndexOfSorted(array, value) {
- return _arrayIndexOfSorted(array, value, 0);
- }
- /**
- * Set a `value` for a `key`.
- *
- * @param keyValueArray to modify.
- * @param key The key to locate or create.
- * @param value The value to set for a `key`.
- * @returns index (always even) of where the value vas set.
- */
- function keyValueArraySet(keyValueArray, key, value) {
- let index = keyValueArrayIndexOf(keyValueArray, key);
- if (index >= 0) {
- // if we found it set it.
- keyValueArray[index | 1] = value;
- } else {
- index = ~index;
- arrayInsert2(keyValueArray, index, key, value);
- }
- return index;
- }
- /**
- * Retrieve a `value` for a `key` (on `undefined` if not found.)
- *
- * @param keyValueArray to search.
- * @param key The key to locate.
- * @return The `value` stored at the `key` location or `undefined if not found.
- */
- function keyValueArrayGet(keyValueArray, key) {
- const index = keyValueArrayIndexOf(keyValueArray, key);
- if (index >= 0) {
- // if we found it retrieve it.
- return keyValueArray[index | 1];
- }
- return undefined;
- }
- /**
- * Retrieve a `key` index value in the array or `-1` if not found.
- *
- * @param keyValueArray to search.
- * @param key The key to locate.
- * @returns index of where the key is (or should have been.)
- * - positive (even) index if key found.
- * - negative index if key not found. (`~index` (even) to get the index where it should have
- * been inserted.)
- */
- function keyValueArrayIndexOf(keyValueArray, key) {
- return _arrayIndexOfSorted(keyValueArray, key, 1);
- }
- /**
- * Delete a `key` (and `value`) from the `KeyValueArray`.
- *
- * @param keyValueArray to modify.
- * @param key The key to locate or delete (if exist).
- * @returns index of where the key was (or should have been.)
- * - positive (even) index if key found and deleted.
- * - negative index if key not found. (`~index` (even) to get the index where it should have
- * been.)
- */
- function keyValueArrayDelete(keyValueArray, key) {
- const index = keyValueArrayIndexOf(keyValueArray, key);
- if (index >= 0) {
- // if we found it remove it.
- arraySplice(keyValueArray, index, 2);
- }
- return index;
- }
- /**
- * INTERNAL: Get an index of an `value` in a sorted `array` by grouping search by `shift`.
- *
- * NOTE:
- * - This uses binary search algorithm for fast removals.
- *
- * @param array A sorted array to binary search.
- * @param value The value to look for.
- * @param shift grouping shift.
- * - `0` means look at every location
- * - `1` means only look at every other (even) location (the odd locations are to be ignored as
- * they are values.)
- * @returns index of the value.
- * - positive index if value found.
- * - negative index if value not found. (`~index` to get the value where it should have been
- * inserted)
- */
- function _arrayIndexOfSorted(array, value, shift) {
- ngDevMode && assertEqual(Array.isArray(array), true, 'Expecting an array');
- let start = 0;
- let end = array.length >> shift;
- while (end !== start) {
- const middle = start + (end - start >> 1); // find the middle.
- const current = array[middle << shift];
- if (value === current) {
- return middle << shift;
- } else if (current > value) {
- end = middle;
- } else {
- start = middle + 1; // We already searched middle so make it non-inclusive by adding 1
- }
- }
- return ~(end << shift);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /*
- * #########################
- * Attention: These Regular expressions have to hold even if the code is minified!
- * ##########################
- */
- /**
- * Regular expression that detects pass-through constructors for ES5 output. This Regex
- * intends to capture the common delegation pattern emitted by TypeScript and Babel. Also
- * it intends to capture the pattern where existing constructors have been downleveled from
- * ES2015 to ES5 using TypeScript w/ downlevel iteration. e.g.
- *
- * ```
- * function MyClass() {
- * var _this = _super.apply(this, arguments) || this;
- * ```
- *
- * downleveled to ES5 with `downlevelIteration` for TypeScript < 4.2:
- * ```
- * function MyClass() {
- * var _this = _super.apply(this, __spread(arguments)) || this;
- * ```
- *
- * or downleveled to ES5 with `downlevelIteration` for TypeScript >= 4.2:
- * ```
- * function MyClass() {
- * var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
- * ```
- *
- * More details can be found in: https://github.com/angular/angular/issues/38453.
- */
- const ES5_DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/;
- /** Regular expression that detects ES2015 classes which extend from other classes. */
- const ES2015_INHERITED_CLASS = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/;
- /**
- * Regular expression that detects ES2015 classes which extend from other classes and
- * have an explicit constructor defined.
- */
- const ES2015_INHERITED_CLASS_WITH_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/;
- /**
- * Regular expression that detects ES2015 classes which extend from other classes
- * and inherit a constructor.
- */
- const ES2015_INHERITED_CLASS_WITH_DELEGATE_CTOR = /^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;
- /**
- * Determine whether a stringified type is a class which delegates its constructor
- * to its parent.
- *
- * This is not trivial since compiled code can actually contain a constructor function
- * even if the original source code did not. For instance, when the child class contains
- * an initialized instance property.
- */
- function isDelegateCtor(typeStr) {
- 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);
- }
- class ReflectionCapabilities {
- constructor(reflect) {
- this._reflect = reflect || _global['Reflect'];
- }
- factory(t) {
- return (...args) => new t(...args);
- }
- /** @internal */
- _zipTypesAndAnnotations(paramTypes, paramAnnotations) {
- let result;
- if (typeof paramTypes === 'undefined') {
- result = newArray(paramAnnotations.length);
- } else {
- result = newArray(paramTypes.length);
- }
- for (let i = 0; i < result.length; i++) {
- // TS outputs Object for parameters without types, while Traceur omits
- // the annotations. For now we preserve the Traceur behavior to aid
- // migration, but this can be revisited.
- if (typeof paramTypes === 'undefined') {
- result[i] = [];
- } else if (paramTypes[i] && paramTypes[i] != Object) {
- result[i] = [paramTypes[i]];
- } else {
- result[i] = [];
- }
- if (paramAnnotations && paramAnnotations[i] != null) {
- result[i] = result[i].concat(paramAnnotations[i]);
- }
- }
- return result;
- }
- _ownParameters(type, parentCtor) {
- const typeStr = type.toString(); // If we have no decorators, we only have function.length as metadata.
- // In that case, to detect whether a child class declared an own constructor or not,
- // we need to look inside of that constructor to check whether it is
- // just calling the parent.
- // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439
- // that sets 'design:paramtypes' to []
- // if a class inherits from another class but has no ctor declared itself.
- if (isDelegateCtor(typeStr)) {
- return null;
- } // Prefer the direct API.
- if (type.parameters && type.parameters !== parentCtor.parameters) {
- return type.parameters;
- } // API of tsickle for lowering decorators to properties on the class.
- const tsickleCtorParams = type.ctorParameters;
- if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) {
- // Newer tsickle uses a function closure
- // Retain the non-function case for compatibility with older tsickle
- const ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;
- const paramTypes = ctorParameters.map(ctorParam => ctorParam && ctorParam.type);
- const paramAnnotations = ctorParameters.map(ctorParam => ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators));
- return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);
- } // API for metadata created by invoking the decorators.
- const paramAnnotations = type.hasOwnProperty(PARAMETERS) && type[PARAMETERS];
- const paramTypes = this._reflect && this._reflect.getOwnMetadata && this._reflect.getOwnMetadata('design:paramtypes', type);
- if (paramTypes || paramAnnotations) {
- return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);
- } // If a class has no decorators, at least create metadata
- // based on function.length.
- // Note: We know that this is a real constructor as we checked
- // the content of the constructor above.
- return newArray(type.length);
- }
- parameters(type) {
- // Note: only report metadata if we have at least one class decorator
- // to stay in sync with the static reflector.
- if (!isType(type)) {
- return [];
- }
- const parentCtor = getParentCtor(type);
- let parameters = this._ownParameters(type, parentCtor);
- if (!parameters && parentCtor !== Object) {
- parameters = this.parameters(parentCtor);
- }
- return parameters || [];
- }
- _ownAnnotations(typeOrFunc, parentCtor) {
- // Prefer the direct API.
- if (typeOrFunc.annotations && typeOrFunc.annotations !== parentCtor.annotations) {
- let annotations = typeOrFunc.annotations;
- if (typeof annotations === 'function' && annotations.annotations) {
- annotations = annotations.annotations;
- }
- return annotations;
- } // API of tsickle for lowering decorators to properties on the class.
- if (typeOrFunc.decorators && typeOrFunc.decorators !== parentCtor.decorators) {
- return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);
- } // API for metadata created by invoking the decorators.
- if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) {
- return typeOrFunc[ANNOTATIONS];
- }
- return null;
- }
- annotations(typeOrFunc) {
- if (!isType(typeOrFunc)) {
- return [];
- }
- const parentCtor = getParentCtor(typeOrFunc);
- const ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || [];
- const parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : [];
- return parentAnnotations.concat(ownAnnotations);
- }
- _ownPropMetadata(typeOrFunc, parentCtor) {
- // Prefer the direct API.
- if (typeOrFunc.propMetadata && typeOrFunc.propMetadata !== parentCtor.propMetadata) {
- let propMetadata = typeOrFunc.propMetadata;
- if (typeof propMetadata === 'function' && propMetadata.propMetadata) {
- propMetadata = propMetadata.propMetadata;
- }
- return propMetadata;
- } // API of tsickle for lowering decorators to properties on the class.
- if (typeOrFunc.propDecorators && typeOrFunc.propDecorators !== parentCtor.propDecorators) {
- const propDecorators = typeOrFunc.propDecorators;
- const propMetadata = {};
- Object.keys(propDecorators).forEach(prop => {
- propMetadata[prop] = convertTsickleDecoratorIntoMetadata(propDecorators[prop]);
- });
- return propMetadata;
- } // API for metadata created by invoking the decorators.
- if (typeOrFunc.hasOwnProperty(PROP_METADATA)) {
- return typeOrFunc[PROP_METADATA];
- }
- return null;
- }
- propMetadata(typeOrFunc) {
- if (!isType(typeOrFunc)) {
- return {};
- }
- const parentCtor = getParentCtor(typeOrFunc);
- const propMetadata = {};
- if (parentCtor !== Object) {
- const parentPropMetadata = this.propMetadata(parentCtor);
- Object.keys(parentPropMetadata).forEach(propName => {
- propMetadata[propName] = parentPropMetadata[propName];
- });
- }
- const ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor);
- if (ownPropMetadata) {
- Object.keys(ownPropMetadata).forEach(propName => {
- const decorators = [];
- if (propMetadata.hasOwnProperty(propName)) {
- decorators.push(...propMetadata[propName]);
- }
- decorators.push(...ownPropMetadata[propName]);
- propMetadata[propName] = decorators;
- });
- }
- return propMetadata;
- }
- ownPropMetadata(typeOrFunc) {
- if (!isType(typeOrFunc)) {
- return {};
- }
- return this._ownPropMetadata(typeOrFunc, getParentCtor(typeOrFunc)) || {};
- }
- hasLifecycleHook(type, lcProperty) {
- return type instanceof Type && lcProperty in type.prototype;
- }
- }
- function convertTsickleDecoratorIntoMetadata(decoratorInvocations) {
- if (!decoratorInvocations) {
- return [];
- }
- return decoratorInvocations.map(decoratorInvocation => {
- const decoratorType = decoratorInvocation.type;
- const annotationCls = decoratorType.annotationCls;
- const annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];
- return new annotationCls(...annotationArgs);
- });
- }
- function getParentCtor(ctor) {
- const parentProto = ctor.prototype ? Object.getPrototypeOf(ctor.prototype) : null;
- const parentCtor = parentProto ? parentProto.constructor : null; // Note: We always use `Object` as the null value
- // to simplify checking later on.
- return parentCtor || Object;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const _THROW_IF_NOT_FOUND = {};
- const THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;
- /*
- * Name of a property (that we patch onto DI decorator), which is used as an annotation of which
- * InjectFlag this decorator represents. This allows to avoid direct references to the DI decorators
- * in the code, thus making them tree-shakable.
- */
- const DI_DECORATOR_FLAG = '__NG_DI_FLAG__';
- const NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';
- const NG_TOKEN_PATH = 'ngTokenPath';
- const NEW_LINE = /\n/gm;
- const NO_NEW_LINE = 'ɵ';
- const SOURCE = '__source';
- /**
- * Current injector value used by `inject`.
- * - `undefined`: it is an error to call `inject`
- * - `null`: `inject` can be called but there is no injector (limp-mode).
- * - Injector instance: Use the injector for resolution.
- */
- let _currentInjector = undefined;
- function setCurrentInjector(injector) {
- const former = _currentInjector;
- _currentInjector = injector;
- return former;
- }
- function injectInjectorOnly(token, flags = InjectFlags.Default) {
- if (_currentInjector === undefined) {
- throw new RuntimeError(-203
- /* RuntimeErrorCode.MISSING_INJECTION_CONTEXT */
- , 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\`.`);
- } else if (_currentInjector === null) {
- return injectRootLimpMode(token, undefined, flags);
- } else {
- return _currentInjector.get(token, flags & InjectFlags.Optional ? null : undefined, flags);
- }
- }
- function ɵɵinject(token, flags = InjectFlags.Default) {
- return (getInjectImplementation() || injectInjectorOnly)(resolveForwardRef(token), flags);
- }
- /**
- * Throws an error indicating that a factory function could not be generated by the compiler for a
- * particular class.
- *
- * The name of the class is not mentioned here, but will be in the generated factory function name
- * and thus in the stack trace.
- *
- * @codeGenApi
- */
- function ɵɵinvalidFactoryDep(index) {
- throw new RuntimeError(202
- /* RuntimeErrorCode.INVALID_FACTORY_DEPENDENCY */
- , ngDevMode && `This constructor is not compatible with Angular Dependency Injection because its dependency at index ${index} of the parameter list is invalid.
- 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.
- 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.`);
- }
- /**
- * Injects a token from the currently active injector.
- * `inject` is only supported during instantiation of a dependency by the DI system. It can be used
- * during:
- * - Construction (via the `constructor`) of a class being instantiated by the DI system, such
- * as an `@Injectable` or `@Component`.
- * - In the initializer for fields of such classes.
- * - In the factory function specified for `useFactory` of a `Provider` or an `@Injectable`.
- * - In the `factory` function specified for an `InjectionToken`.
- *
- * @param token A token that represents a dependency that should be injected.
- * @param flags Optional flags that control how injection is executed.
- * The flags correspond to injection strategies that can be specified with
- * parameter decorators `@Host`, `@Self`, `@SkipSef`, and `@Optional`.
- * @returns the injected value if operation is successful, `null` otherwise.
- * @throws if called outside of a supported context.
- *
- * @usageNotes
- * In practice the `inject()` calls are allowed in a constructor, a constructor parameter and a
- * field initializer:
- *
- * ```typescript
- * @Injectable({providedIn: 'root'})
- * export class Car {
- * radio: Radio|undefined;
- * // OK: field initializer
- * spareTyre = inject(Tyre);
- *
- * constructor() {
- * // OK: constructor body
- * this.radio = inject(Radio);
- * }
- * }
- * ```
- *
- * It is also legal to call `inject` from a provider's factory:
- *
- * ```typescript
- * providers: [
- * {provide: Car, useFactory: () => {
- * // OK: a class factory
- * const engine = inject(Engine);
- * return new Car(engine);
- * }}
- * ]
- * ```
- *
- * Calls to the `inject()` function outside of the class creation context will result in error. Most
- * notably, calls to `inject()` are disallowed after a class instance was created, in methods
- * (including lifecycle hooks):
- *
- * ```typescript
- * @Component({ ... })
- * export class CarComponent {
- * ngOnInit() {
- * // ERROR: too late, the component instance was already created
- * const engine = inject(Engine);
- * engine.start();
- * }
- * }
- * ```
- *
- * @publicApi
- */
- function inject(token, flags = InjectFlags.Default) {
- if (typeof flags !== 'number') {
- // While TypeScript doesn't accept it without a cast, bitwise OR with false-y values in
- // JavaScript is a no-op. We can use that for a very codesize-efficient conversion from
- // `InjectOptions` to `InjectFlags`.
- flags = 0
- /* InternalInjectFlags.Default */
- | ( // comment to force a line break in the formatter
- flags.optional && 8
- /* InternalInjectFlags.Optional */
- ) | (flags.host && 1
- /* InternalInjectFlags.Host */
- ) | (flags.self && 2
- /* InternalInjectFlags.Self */
- ) | (flags.skipSelf && 4
- /* InternalInjectFlags.SkipSelf */
- );
- }
- return ɵɵinject(token, flags);
- }
- function injectArgs(types) {
- const args = [];
- for (let i = 0; i < types.length; i++) {
- const arg = resolveForwardRef(types[i]);
- if (Array.isArray(arg)) {
- if (arg.length === 0) {
- throw new RuntimeError(900
- /* RuntimeErrorCode.INVALID_DIFFER_INPUT */
- , ngDevMode && 'Arguments array must have arguments.');
- }
- let type = undefined;
- let flags = InjectFlags.Default;
- for (let j = 0; j < arg.length; j++) {
- const meta = arg[j];
- const flag = getInjectFlag(meta);
- if (typeof flag === 'number') {
- // Special case when we handle @Inject decorator.
- if (flag === -1
- /* DecoratorFlags.Inject */
- ) {
- type = meta.token;
- } else {
- flags |= flag;
- }
- } else {
- type = meta;
- }
- }
- args.push(ɵɵinject(type, flags));
- } else {
- args.push(ɵɵinject(arg));
- }
- }
- return args;
- }
- /**
- * Attaches a given InjectFlag to a given decorator using monkey-patching.
- * Since DI decorators can be used in providers `deps` array (when provider is configured using
- * `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we
- * attach the flag to make it available both as a static property and as a field on decorator
- * instance.
- *
- * @param decorator Provided DI decorator.
- * @param flag InjectFlag that should be applied.
- */
- function attachInjectFlag(decorator, flag) {
- decorator[DI_DECORATOR_FLAG] = flag;
- decorator.prototype[DI_DECORATOR_FLAG] = flag;
- return decorator;
- }
- /**
- * Reads monkey-patched property that contains InjectFlag attached to a decorator.
- *
- * @param token Token that may contain monkey-patched DI flags property.
- */
- function getInjectFlag(token) {
- return token[DI_DECORATOR_FLAG];
- }
- function catchInjectorError(e, token, injectorErrorName, source) {
- const tokenPath = e[NG_TEMP_TOKEN_PATH];
- if (token[SOURCE]) {
- tokenPath.unshift(token[SOURCE]);
- }
- e.message = formatError('\n' + e.message, tokenPath, injectorErrorName, source);
- e[NG_TOKEN_PATH] = tokenPath;
- e[NG_TEMP_TOKEN_PATH] = null;
- throw e;
- }
- function formatError(text, obj, injectorErrorName, source = null) {
- text = text && text.charAt(0) === '\n' && text.charAt(1) == NO_NEW_LINE ? text.slice(2) : text;
- let context = stringify(obj);
- if (Array.isArray(obj)) {
- context = obj.map(stringify).join(' -> ');
- } else if (typeof obj === 'object') {
- let parts = [];
- for (let key in obj) {
- if (obj.hasOwnProperty(key)) {
- let value = obj[key];
- parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value)));
- }
- }
- context = `{${parts.join(', ')}}`;
- }
- return `${injectorErrorName}${source ? '(' + source + ')' : ''}[${context}]: ${text.replace(NEW_LINE, '\n ')}`;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Inject decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const Inject = attachInjectFlag( // Disable tslint because `DecoratorFlags` is a const enum which gets inlined.
- // tslint:disable-next-line: no-toplevel-property-access
- makeParamDecorator('Inject', token => ({
- token
- })), -1
- /* DecoratorFlags.Inject */
- );
- /**
- * Optional decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const Optional = // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.
- // tslint:disable-next-line: no-toplevel-property-access
- attachInjectFlag(makeParamDecorator('Optional'), 8
- /* InternalInjectFlags.Optional */
- );
- /**
- * Self decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const Self = // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.
- // tslint:disable-next-line: no-toplevel-property-access
- attachInjectFlag(makeParamDecorator('Self'), 2
- /* InternalInjectFlags.Self */
- );
- /**
- * `SkipSelf` decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const SkipSelf = // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.
- // tslint:disable-next-line: no-toplevel-property-access
- attachInjectFlag(makeParamDecorator('SkipSelf'), 4
- /* InternalInjectFlags.SkipSelf */
- );
- /**
- * Host decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const Host = // Disable tslint because `InternalInjectFlags` is a const enum which gets inlined.
- // tslint:disable-next-line: no-toplevel-property-access
- attachInjectFlag(makeParamDecorator('Host'), 1
- /* InternalInjectFlags.Host */
- );
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- let _reflect = null;
- function getReflect() {
- return _reflect = _reflect || new ReflectionCapabilities();
- }
- function reflectDependencies(type) {
- return convertDependencies(getReflect().parameters(type));
- }
- function convertDependencies(deps) {
- return deps.map(dep => reflectDependency(dep));
- }
- function reflectDependency(dep) {
- const meta = {
- token: null,
- attribute: null,
- host: false,
- optional: false,
- self: false,
- skipSelf: false
- };
- if (Array.isArray(dep) && dep.length > 0) {
- for (let j = 0; j < dep.length; j++) {
- const param = dep[j];
- if (param === undefined) {
- // param may be undefined if type of dep is not set by ngtsc
- continue;
- }
- const proto = Object.getPrototypeOf(param);
- if (param instanceof Optional || proto.ngMetadataName === 'Optional') {
- meta.optional = true;
- } else if (param instanceof SkipSelf || proto.ngMetadataName === 'SkipSelf') {
- meta.skipSelf = true;
- } else if (param instanceof Self || proto.ngMetadataName === 'Self') {
- meta.self = true;
- } else if (param instanceof Host || proto.ngMetadataName === 'Host') {
- meta.host = true;
- } else if (param instanceof Inject) {
- meta.token = param.token;
- } else if (param instanceof Attribute) {
- if (param.attributeName === undefined) {
- throw new RuntimeError(204
- /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */
- , ngDevMode && `Attribute name must be defined.`);
- }
- meta.attribute = param.attributeName;
- } else {
- meta.token = param;
- }
- }
- } else if (dep === undefined || Array.isArray(dep) && dep.length === 0) {
- meta.token = null;
- } else {
- meta.token = dep;
- }
- return meta;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Used to resolve resource URLs on `@Component` when used with JIT compilation.
- *
- * Example:
- * ```
- * @Component({
- * selector: 'my-comp',
- * templateUrl: 'my-comp.html', // This requires asynchronous resolution
- * })
- * class MyComponent{
- * }
- *
- * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process
- * // and `MyComponent`'s `@Component.templateUrl` needs to be resolved asynchronously.
- *
- * // Calling `resolveComponentResources()` will resolve `@Component.templateUrl` into
- * // `@Component.template`, which allows `renderComponent` to proceed in a synchronous manner.
- *
- * // Use browser's `fetch()` function as the default resource resolution strategy.
- * resolveComponentResources(fetch).then(() => {
- * // After resolution all URLs have been converted into `template` strings.
- * renderComponent(MyComponent);
- * });
- *
- * ```
- *
- * NOTE: In AOT the resolution happens during compilation, and so there should be no need
- * to call this method outside JIT mode.
- *
- * @param resourceResolver a function which is responsible for returning a `Promise` to the
- * contents of the resolved URL. Browser's `fetch()` method is a good default implementation.
- */
- function resolveComponentResources(resourceResolver) {
- // Store all promises which are fetching the resources.
- const componentResolved = []; // Cache so that we don't fetch the same resource more than once.
- const urlMap = new Map();
- function cachedResourceResolve(url) {
- let promise = urlMap.get(url);
- if (!promise) {
- const resp = resourceResolver(url);
- urlMap.set(url, promise = resp.then(unwrapResponse));
- }
- return promise;
- }
- componentResourceResolutionQueue.forEach((component, type) => {
- const promises = [];
- if (component.templateUrl) {
- promises.push(cachedResourceResolve(component.templateUrl).then(template => {
- component.template = template;
- }));
- }
- const styleUrls = component.styleUrls;
- const styles = component.styles || (component.styles = []);
- const styleOffset = component.styles.length;
- styleUrls && styleUrls.forEach((styleUrl, index) => {
- styles.push(''); // pre-allocate array.
- promises.push(cachedResourceResolve(styleUrl).then(style => {
- styles[styleOffset + index] = style;
- styleUrls.splice(styleUrls.indexOf(styleUrl), 1);
- if (styleUrls.length == 0) {
- component.styleUrls = undefined;
- }
- }));
- });
- const fullyResolved = Promise.all(promises).then(() => componentDefResolved(type));
- componentResolved.push(fullyResolved);
- });
- clearResolutionOfComponentResourcesQueue();
- return Promise.all(componentResolved).then(() => undefined);
- }
- let componentResourceResolutionQueue = new Map(); // Track when existing ɵcmp for a Type is waiting on resources.
- const componentDefPendingResolution = new Set();
- function maybeQueueResolutionOfComponentResources(type, metadata) {
- if (componentNeedsResolution(metadata)) {
- componentResourceResolutionQueue.set(type, metadata);
- componentDefPendingResolution.add(type);
- }
- }
- function isComponentDefPendingResolution(type) {
- return componentDefPendingResolution.has(type);
- }
- function componentNeedsResolution(component) {
- return !!(component.templateUrl && !component.hasOwnProperty('template') || component.styleUrls && component.styleUrls.length);
- }
- function clearResolutionOfComponentResourcesQueue() {
- const old = componentResourceResolutionQueue;
- componentResourceResolutionQueue = new Map();
- return old;
- }
- function restoreComponentResolutionQueue(queue) {
- componentDefPendingResolution.clear();
- queue.forEach((_, type) => componentDefPendingResolution.add(type));
- componentResourceResolutionQueue = queue;
- }
- function isComponentResourceResolutionQueueEmpty() {
- return componentResourceResolutionQueue.size === 0;
- }
- function unwrapResponse(response) {
- return typeof response == 'string' ? response : response.text();
- }
- function componentDefResolved(type) {
- componentDefPendingResolution.delete(type);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Map of module-id to the corresponding NgModule.
- */
- const modules = new Map();
- /**
- * Whether to check for duplicate NgModule registrations.
- *
- * This can be disabled for testing.
- */
- let checkForDuplicateNgModules = true;
- function assertSameOrNotExisting(id, type, incoming) {
- if (type && type !== incoming && checkForDuplicateNgModules) {
- throw new Error(`Duplicate module registered for ${id} - ${stringify(type)} vs ${stringify(type.name)}`);
- }
- }
- /**
- * Adds the given NgModule type to Angular's NgModule registry.
- *
- * This is generated as a side-effect of NgModule compilation. Note that the `id` is passed in
- * explicitly and not read from the NgModule definition. This is for two reasons: it avoids a
- * megamorphic read, and in JIT there's a chicken-and-egg problem where the NgModule may not be
- * fully resolved when it's registered.
- *
- * @codeGenApi
- */
- function registerNgModuleType(ngModuleType, id) {
- const existing = modules.get(id) || null;
- assertSameOrNotExisting(id, existing, ngModuleType);
- modules.set(id, ngModuleType);
- }
- function clearModulesForTest() {
- modules.clear();
- }
- function getRegisteredNgModuleType(id) {
- return modules.get(id);
- }
- /**
- * Control whether the NgModule registration system enforces that each NgModule type registered has
- * a unique id.
- *
- * This is useful for testing as the NgModule registry cannot be properly reset between tests with
- * Angular's current API.
- */
- function setAllowDuplicateNgModuleIdsForTest(allowDuplicates) {
- checkForDuplicateNgModules = !allowDuplicates;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Most of the use of `document` in Angular is from within the DI system so it is possible to simply
- * inject the `DOCUMENT` token and are done.
- *
- * Ivy is special because it does not rely upon the DI and must get hold of the document some other
- * way.
- *
- * The solution is to define `getDocument()` and `setDocument()` top-level functions for ivy.
- * Wherever ivy needs the global document, it calls `getDocument()` instead.
- *
- * When running ivy outside of a browser environment, it is necessary to call `setDocument()` to
- * tell ivy what the global `document` is.
- *
- * Angular does this for us in each of the standard platforms (`Browser`, `Server`, and `WebWorker`)
- * by calling `setDocument()` when providing the `DOCUMENT` token.
- */
- let DOCUMENT = undefined;
- /**
- * Tell ivy what the `document` is for this platform.
- *
- * It is only necessary to call this if the current platform is not a browser.
- *
- * @param document The object representing the global `document` in this environment.
- */
- function setDocument(document) {
- DOCUMENT = document;
- }
- /**
- * Access the object that represents the `document` for this platform.
- *
- * Ivy calls this whenever it needs to access the `document` object.
- * For example to create the renderer or to do sanitization.
- */
- function getDocument() {
- if (DOCUMENT !== undefined) {
- return DOCUMENT;
- } else if (typeof document !== 'undefined') {
- return document;
- } // No "document" can be found. This should only happen if we are running ivy outside Angular and
- // the current platform is not a browser. Since this is not a supported scenario at the moment
- // this should not happen in Angular apps.
- // Once we support running ivy outside of Angular we will need to publish `setDocument()` as a
- // public API. Meanwhile we just return `undefined` and let the application fail.
- return undefined;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The Trusted Types policy, or null if Trusted Types are not
- * enabled/supported, or undefined if the policy has not been created yet.
- */
- let policy$1;
- /**
- * Returns the Trusted Types policy, or null if Trusted Types are not
- * enabled/supported. The first call to this function will create the policy.
- */
- function getPolicy$1() {
- if (policy$1 === undefined) {
- policy$1 = null;
- if (_global.trustedTypes) {
- try {
- policy$1 = _global.trustedTypes.createPolicy('angular', {
- createHTML: s => s,
- createScript: s => s,
- createScriptURL: s => s
- });
- } catch (_a) {// trustedTypes.createPolicy throws if called with a name that is
- // already registered, even in report-only mode. Until the API changes,
- // catch the error not to break the applications functionally. In such
- // cases, the code will fall back to using strings.
- }
- }
- }
- return policy$1;
- }
- /**
- * Unsafely promote a string to a TrustedHTML, falling back to strings when
- * Trusted Types are not available.
- * @security This is a security-sensitive function; any use of this function
- * must go through security review. In particular, it must be assured that the
- * provided string will never cause an XSS vulnerability if used in a context
- * that will be interpreted as HTML by a browser, e.g. when assigning to
- * element.innerHTML.
- */
- function trustedHTMLFromString(html) {
- var _a;
- return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createHTML(html)) || html;
- }
- /**
- * Unsafely promote a string to a TrustedScript, falling back to strings when
- * Trusted Types are not available.
- * @security In particular, it must be assured that the provided string will
- * never cause an XSS vulnerability if used in a context that will be
- * interpreted and executed as a script by a browser, e.g. when calling eval.
- */
- function trustedScriptFromString(script) {
- var _a;
- return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
- }
- /**
- * Unsafely promote a string to a TrustedScriptURL, falling back to strings
- * when Trusted Types are not available.
- * @security This is a security-sensitive function; any use of this function
- * must go through security review. In particular, it must be assured that the
- * provided string will never cause an XSS vulnerability if used in a context
- * that will cause a browser to load and execute a resource, e.g. when
- * assigning to script.src.
- */
- function trustedScriptURLFromString(url) {
- var _a;
- return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
- }
- /**
- * Unsafely call the Function constructor with the given string arguments. It
- * is only available in development mode, and should be stripped out of
- * production code.
- * @security This is a security-sensitive function; any use of this function
- * must go through security review. In particular, it must be assured that it
- * is only called from development code, as use in production code can lead to
- * XSS vulnerabilities.
- */
- function newTrustedFunctionForDev(...args) {
- if (typeof ngDevMode === 'undefined') {
- throw new Error('newTrustedFunctionForDev should never be called in production');
- }
- if (!_global.trustedTypes) {
- // In environments that don't support Trusted Types, fall back to the most
- // straightforward implementation:
- return new Function(...args);
- } // Chrome currently does not support passing TrustedScript to the Function
- // constructor. The following implements the workaround proposed on the page
- // below, where the Chromium bug is also referenced:
- // https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor
- const fnArgs = args.slice(0, -1).join(',');
- const fnBody = args[args.length - 1];
- const body = `(function anonymous(${fnArgs}
- ) { ${fnBody}
- })`; // Using eval directly confuses the compiler and prevents this module from
- // being stripped out of JS binaries even if not used. The global['eval']
- // indirection fixes that.
- const fn = _global['eval'](trustedScriptFromString(body));
- if (fn.bind === undefined) {
- // Workaround for a browser bug that only exists in Chrome 83, where passing
- // a TrustedScript to eval just returns the TrustedScript back without
- // evaluating it. In that case, fall back to the most straightforward
- // implementation:
- return new Function(...args);
- } // To completely mimic the behavior of calling "new Function", two more
- // things need to happen:
- // 1. Stringifying the resulting function should return its source code
- fn.toString = () => body; // 2. When calling the resulting function, `this` should refer to `global`
- return fn.bind(_global); // When Trusted Types support in Function constructors is widely available,
- // the implementation of this function can be simplified to:
- // return new Function(...args.map(a => trustedScriptFromString(a)));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The Trusted Types policy, or null if Trusted Types are not
- * enabled/supported, or undefined if the policy has not been created yet.
- */
- let policy;
- /**
- * Returns the Trusted Types policy, or null if Trusted Types are not
- * enabled/supported. The first call to this function will create the policy.
- */
- function getPolicy() {
- if (policy === undefined) {
- policy = null;
- if (_global.trustedTypes) {
- try {
- policy = _global.trustedTypes.createPolicy('angular#unsafe-bypass', {
- createHTML: s => s,
- createScript: s => s,
- createScriptURL: s => s
- });
- } catch (_a) {// trustedTypes.createPolicy throws if called with a name that is
- // already registered, even in report-only mode. Until the API changes,
- // catch the error not to break the applications functionally. In such
- // cases, the code will fall back to using strings.
- }
- }
- }
- return policy;
- }
- /**
- * Unsafely promote a string to a TrustedHTML, falling back to strings when
- * Trusted Types are not available.
- * @security This is a security-sensitive function; any use of this function
- * must go through security review. In particular, it must be assured that it
- * is only passed strings that come directly from custom sanitizers or the
- * bypassSecurityTrust* functions.
- */
- function trustedHTMLFromStringBypass(html) {
- var _a;
- return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createHTML(html)) || html;
- }
- /**
- * Unsafely promote a string to a TrustedScript, falling back to strings when
- * Trusted Types are not available.
- * @security This is a security-sensitive function; any use of this function
- * must go through security review. In particular, it must be assured that it
- * is only passed strings that come directly from custom sanitizers or the
- * bypassSecurityTrust* functions.
- */
- function trustedScriptFromStringBypass(script) {
- var _a;
- return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
- }
- /**
- * Unsafely promote a string to a TrustedScriptURL, falling back to strings
- * when Trusted Types are not available.
- * @security This is a security-sensitive function; any use of this function
- * must go through security review. In particular, it must be assured that it
- * is only passed strings that come directly from custom sanitizers or the
- * bypassSecurityTrust* functions.
- */
- function trustedScriptURLFromStringBypass(url) {
- var _a;
- return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class SafeValueImpl {
- constructor(changingThisBreaksApplicationSecurity) {
- this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;
- }
- toString() {
- return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}` + ` (see https://g.co/ng/security#xss)`;
- }
- }
- class SafeHtmlImpl extends SafeValueImpl {
- getTypeName() {
- return "HTML"
- /* BypassType.Html */
- ;
- }
- }
- class SafeStyleImpl extends SafeValueImpl {
- getTypeName() {
- return "Style"
- /* BypassType.Style */
- ;
- }
- }
- class SafeScriptImpl extends SafeValueImpl {
- getTypeName() {
- return "Script"
- /* BypassType.Script */
- ;
- }
- }
- class SafeUrlImpl extends SafeValueImpl {
- getTypeName() {
- return "URL"
- /* BypassType.Url */
- ;
- }
- }
- class SafeResourceUrlImpl extends SafeValueImpl {
- getTypeName() {
- return "ResourceURL"
- /* BypassType.ResourceUrl */
- ;
- }
- }
- function unwrapSafeValue(value) {
- return value instanceof SafeValueImpl ? value.changingThisBreaksApplicationSecurity : value;
- }
- function allowSanitizationBypassAndThrow(value, type) {
- const actualType = getSanitizationBypassType(value);
- if (actualType != null && actualType !== type) {
- // Allow ResourceURLs in URL contexts, they are strictly more trusted.
- if (actualType === "ResourceURL"
- /* BypassType.ResourceUrl */
- && type === "URL"
- /* BypassType.Url */
- ) return true;
- throw new Error(`Required a safe ${type}, got a ${actualType} (see https://g.co/ng/security#xss)`);
- }
- return actualType === type;
- }
- function getSanitizationBypassType(value) {
- return value instanceof SafeValueImpl && value.getTypeName() || null;
- }
- /**
- * Mark `html` string as trusted.
- *
- * This function wraps the trusted string in `String` and brands it in a way which makes it
- * recognizable to {@link htmlSanitizer} to be trusted implicitly.
- *
- * @param trustedHtml `html` string which needs to be implicitly trusted.
- * @returns a `html` which has been branded to be implicitly trusted.
- */
- function bypassSanitizationTrustHtml(trustedHtml) {
- return new SafeHtmlImpl(trustedHtml);
- }
- /**
- * Mark `style` string as trusted.
- *
- * This function wraps the trusted string in `String` and brands it in a way which makes it
- * recognizable to {@link styleSanitizer} to be trusted implicitly.
- *
- * @param trustedStyle `style` string which needs to be implicitly trusted.
- * @returns a `style` hich has been branded to be implicitly trusted.
- */
- function bypassSanitizationTrustStyle(trustedStyle) {
- return new SafeStyleImpl(trustedStyle);
- }
- /**
- * Mark `script` string as trusted.
- *
- * This function wraps the trusted string in `String` and brands it in a way which makes it
- * recognizable to {@link scriptSanitizer} to be trusted implicitly.
- *
- * @param trustedScript `script` string which needs to be implicitly trusted.
- * @returns a `script` which has been branded to be implicitly trusted.
- */
- function bypassSanitizationTrustScript(trustedScript) {
- return new SafeScriptImpl(trustedScript);
- }
- /**
- * Mark `url` string as trusted.
- *
- * This function wraps the trusted string in `String` and brands it in a way which makes it
- * recognizable to {@link urlSanitizer} to be trusted implicitly.
- *
- * @param trustedUrl `url` string which needs to be implicitly trusted.
- * @returns a `url` which has been branded to be implicitly trusted.
- */
- function bypassSanitizationTrustUrl(trustedUrl) {
- return new SafeUrlImpl(trustedUrl);
- }
- /**
- * Mark `url` string as trusted.
- *
- * This function wraps the trusted string in `String` and brands it in a way which makes it
- * recognizable to {@link resourceUrlSanitizer} to be trusted implicitly.
- *
- * @param trustedResourceUrl `url` string which needs to be implicitly trusted.
- * @returns a `url` which has been branded to be implicitly trusted.
- */
- function bypassSanitizationTrustResourceUrl(trustedResourceUrl) {
- return new SafeResourceUrlImpl(trustedResourceUrl);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This helper is used to get hold of an inert tree of DOM elements containing dirty HTML
- * that needs sanitizing.
- * Depending upon browser support we use one of two strategies for doing this.
- * Default: DOMParser strategy
- * Fallback: InertDocument strategy
- */
- function getInertBodyHelper(defaultDoc) {
- const inertDocumentHelper = new InertDocumentHelper(defaultDoc);
- return isDOMParserAvailable() ? new DOMParserHelper(inertDocumentHelper) : inertDocumentHelper;
- }
- /**
- * Uses DOMParser to create and fill an inert body element.
- * This is the default strategy used in browsers that support it.
- */
- class DOMParserHelper {
- constructor(inertDocumentHelper) {
- this.inertDocumentHelper = inertDocumentHelper;
- }
- getInertBodyElement(html) {
- // We add these extra elements to ensure that the rest of the content is parsed as expected
- // e.g. leading whitespace is maintained and tags like `<meta>` do not get hoisted to the
- // `<head>` tag. Note that the `<body>` tag is closed implicitly to prevent unclosed tags
- // in `html` from consuming the otherwise explicit `</body>` tag.
- html = '<body><remove></remove>' + html;
- try {
- const body = new window.DOMParser().parseFromString(trustedHTMLFromString(html), 'text/html').body;
- if (body === null) {
- // In some browsers (e.g. Mozilla/5.0 iPad AppleWebKit Mobile) the `body` property only
- // becomes available in the following tick of the JS engine. In that case we fall back to
- // the `inertDocumentHelper` instead.
- return this.inertDocumentHelper.getInertBodyElement(html);
- }
- body.removeChild(body.firstChild);
- return body;
- } catch (_a) {
- return null;
- }
- }
- }
- /**
- * Use an HTML5 `template` element, if supported, or an inert body element created via
- * `createHtmlDocument` to create and fill an inert DOM element.
- * This is the fallback strategy if the browser does not support DOMParser.
- */
- class InertDocumentHelper {
- constructor(defaultDoc) {
- this.defaultDoc = defaultDoc;
- this.inertDocument = this.defaultDoc.implementation.createHTMLDocument('sanitization-inert');
- if (this.inertDocument.body == null) {
- // usually there should be only one body element in the document, but IE doesn't have any, so
- // we need to create one.
- const inertHtml = this.inertDocument.createElement('html');
- this.inertDocument.appendChild(inertHtml);
- const inertBodyElement = this.inertDocument.createElement('body');
- inertHtml.appendChild(inertBodyElement);
- }
- }
- getInertBodyElement(html) {
- // Prefer using <template> element if supported.
- const templateEl = this.inertDocument.createElement('template');
- if ('content' in templateEl) {
- templateEl.innerHTML = trustedHTMLFromString(html);
- return templateEl;
- } // Note that previously we used to do something like `this.inertDocument.body.innerHTML = html`
- // and we returned the inert `body` node. This was changed, because IE seems to treat setting
- // `innerHTML` on an inserted element differently, compared to one that hasn't been inserted
- // yet. In particular, IE appears to split some of the text into multiple text nodes rather
- // than keeping them in a single one which ends up messing with Ivy's i18n parsing further
- // down the line. This has been worked around by creating a new inert `body` and using it as
- // the root node in which we insert the HTML.
- const inertBody = this.inertDocument.createElement('body');
- inertBody.innerHTML = trustedHTMLFromString(html); // Support: IE 11 only
- // strip custom-namespaced attributes on IE<=11
- if (this.defaultDoc.documentMode) {
- this.stripCustomNsAttrs(inertBody);
- }
- return inertBody;
- }
- /**
- * When IE11 comes across an unknown namespaced attribute e.g. 'xlink:foo' it adds 'xmlns:ns1'
- * attribute to declare ns1 namespace and prefixes the attribute with 'ns1' (e.g.
- * 'ns1:xlink:foo').
- *
- * This is undesirable since we don't want to allow any of these custom attributes. This method
- * strips them all.
- */
- stripCustomNsAttrs(el) {
- const elAttrs = el.attributes; // loop backwards so that we can support removals.
- for (let i = elAttrs.length - 1; 0 < i; i--) {
- const attrib = elAttrs.item(i);
- const attrName = attrib.name;
- if (attrName === 'xmlns:ns1' || attrName.indexOf('ns1:') === 0) {
- el.removeAttribute(attrName);
- }
- }
- let childNode = el.firstChild;
- while (childNode) {
- if (childNode.nodeType === Node.ELEMENT_NODE) this.stripCustomNsAttrs(childNode);
- childNode = childNode.nextSibling;
- }
- }
- }
- /**
- * We need to determine whether the DOMParser exists in the global context and
- * supports parsing HTML; HTML parsing support is not as wide as other formats, see
- * https://developer.mozilla.org/en-US/docs/Web/API/DOMParser#Browser_compatibility.
- *
- * @suppress {uselessCode}
- */
- function isDOMParserAvailable() {
- try {
- return !!new window.DOMParser().parseFromString(trustedHTMLFromString(''), 'text/html');
- } catch (_a) {
- return false;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A pattern that recognizes a commonly useful subset of URLs that are safe.
- *
- * This regular expression matches a subset of URLs that will not cause script
- * execution if used in URL context within a HTML document. Specifically, this
- * regular expression matches if (comment from here on and regex copied from
- * Soy's EscapingConventions):
- * (1) Either an allowed protocol (http, https, mailto or ftp).
- * (2) or no protocol. A protocol must be followed by a colon. The below
- * allows that by allowing colons only after one of the characters [/?#].
- * A colon after a hash (#) must be in the fragment.
- * Otherwise, a colon after a (?) must be in a query.
- * Otherwise, a colon after a single solidus (/) must be in a path.
- * Otherwise, a colon after a double solidus (//) must be in the authority
- * (before port).
- *
- * The pattern disallows &, used in HTML entity declarations before
- * one of the characters in [/?#]. This disallows HTML entities used in the
- * protocol name, which should never happen, e.g. "http" for "http".
- * It also disallows HTML entities in the first path part of a relative path,
- * e.g. "foo<bar/baz". Our existing escaping functions should not produce
- * that. More importantly, it disallows masking of a colon,
- * e.g. "javascript:...".
- *
- * This regular expression was taken from the Closure sanitization library.
- */
- const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;
- function _sanitizeUrl(url) {
- url = String(url);
- if (url.match(SAFE_URL_PATTERN)) return url;
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- console.warn(`WARNING: sanitizing unsafe URL value ${url} (see https://g.co/ng/security#xss)`);
- }
- return 'unsafe:' + url;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function tagSet(tags) {
- const res = {};
- for (const t of tags.split(',')) res[t] = true;
- return res;
- }
- function merge(...sets) {
- const res = {};
- for (const s of sets) {
- for (const v in s) {
- if (s.hasOwnProperty(v)) res[v] = true;
- }
- }
- return res;
- } // Good source of info about elements and attributes
- // https://html.spec.whatwg.org/#semantics
- // https://simon.html5.org/html-elements
- // Safe Void Elements - HTML5
- // https://html.spec.whatwg.org/#void-elements
- const VOID_ELEMENTS = tagSet('area,br,col,hr,img,wbr'); // Elements that you can, intentionally, leave open (and which close themselves)
- // https://html.spec.whatwg.org/#optional-tags
- const OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr');
- const OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet('rp,rt');
- const OPTIONAL_END_TAG_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS); // Safe Block Elements - HTML5
- 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
- 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'));
- const VALID_ELEMENTS = merge(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS); // Attributes that have href and hence need to be sanitized
- const URI_ATTRS = tagSet('background,cite,href,itemtype,longdesc,poster,src,xlink:href');
- 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)
- 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
- // issues in the past, so it seems safer to leave it out if possible. If support for binding SVG via
- // innerHTML is required, SVG attributes should be added here.
- // NB: Sanitization does not allow <form> elements or other active elements (<button> etc). Those
- // can be sanitized, but they increase security surface area without a legitimate use case, so they
- // are left out here.
- const VALID_ATTRS = merge(URI_ATTRS, HTML_ATTRS, ARIA_ATTRS); // Elements whose content should not be traversed/preserved, if the elements themselves are invalid.
- //
- // Typically, `<invalid>Some content</invalid>` would traverse (and in this case preserve)
- // `Some content`, but strip `invalid-element` opening/closing tags. For some elements, though, we
- // don't want to preserve the content, if the elements themselves are going to be removed.
- const SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS = tagSet('script,style,template');
- /**
- * SanitizingHtmlSerializer serializes a DOM fragment, stripping out any unsafe elements and unsafe
- * attributes.
- */
- class SanitizingHtmlSerializer {
- constructor() {
- // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just
- // because characters were re-encoded.
- this.sanitizedSomething = false;
- this.buf = [];
- }
- sanitizeChildren(el) {
- // This cannot use a TreeWalker, as it has to run on Angular's various DOM adapters.
- // However this code never accesses properties off of `document` before deleting its contents
- // again, so it shouldn't be vulnerable to DOM clobbering.
- let current = el.firstChild;
- let traverseContent = true;
- while (current) {
- if (current.nodeType === Node.ELEMENT_NODE) {
- traverseContent = this.startElement(current);
- } else if (current.nodeType === Node.TEXT_NODE) {
- this.chars(current.nodeValue);
- } else {
- // Strip non-element, non-text nodes.
- this.sanitizedSomething = true;
- }
- if (traverseContent && current.firstChild) {
- current = current.firstChild;
- continue;
- }
- while (current) {
- // Leaving the element. Walk up and to the right, closing tags as we go.
- if (current.nodeType === Node.ELEMENT_NODE) {
- this.endElement(current);
- }
- let next = this.checkClobberedElement(current, current.nextSibling);
- if (next) {
- current = next;
- break;
- }
- current = this.checkClobberedElement(current, current.parentNode);
- }
- }
- return this.buf.join('');
- }
- /**
- * Sanitizes an opening element tag (if valid) and returns whether the element's contents should
- * be traversed. Element content must always be traversed (even if the element itself is not
- * valid/safe), unless the element is one of `SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS`.
- *
- * @param element The element to sanitize.
- * @return True if the element's contents should be traversed.
- */
- startElement(element) {
- const tagName = element.nodeName.toLowerCase();
- if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {
- this.sanitizedSomething = true;
- return !SKIP_TRAVERSING_CONTENT_IF_INVALID_ELEMENTS.hasOwnProperty(tagName);
- }
- this.buf.push('<');
- this.buf.push(tagName);
- const elAttrs = element.attributes;
- for (let i = 0; i < elAttrs.length; i++) {
- const elAttr = elAttrs.item(i);
- const attrName = elAttr.name;
- const lower = attrName.toLowerCase();
- if (!VALID_ATTRS.hasOwnProperty(lower)) {
- this.sanitizedSomething = true;
- continue;
- }
- let value = elAttr.value; // TODO(martinprobst): Special case image URIs for data:image/...
- if (URI_ATTRS[lower]) value = _sanitizeUrl(value);
- this.buf.push(' ', attrName, '="', encodeEntities(value), '"');
- }
- this.buf.push('>');
- return true;
- }
- endElement(current) {
- const tagName = current.nodeName.toLowerCase();
- if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) {
- this.buf.push('</');
- this.buf.push(tagName);
- this.buf.push('>');
- }
- }
- chars(chars) {
- this.buf.push(encodeEntities(chars));
- }
- checkClobberedElement(node, nextNode) {
- if (nextNode && (node.compareDocumentPosition(nextNode) & Node.DOCUMENT_POSITION_CONTAINED_BY) === Node.DOCUMENT_POSITION_CONTAINED_BY) {
- throw new Error(`Failed to sanitize html because the element is clobbered: ${node.outerHTML}`);
- }
- return nextNode;
- }
- } // Regular Expressions for parsing tags and attributes
- const SURROGATE_PAIR_REGEXP = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; // ! to ~ is the ASCII range.
- const NON_ALPHANUMERIC_REGEXP = /([^\#-~ |!])/g;
- /**
- * Escapes all potentially dangerous characters, so that the
- * resulting string can be safely inserted into attribute or
- * element text.
- * @param value
- */
- function encodeEntities(value) {
- return value.replace(/&/g, '&').replace(SURROGATE_PAIR_REGEXP, function (match) {
- const hi = match.charCodeAt(0);
- const low = match.charCodeAt(1);
- return '&#' + ((hi - 0xD800) * 0x400 + (low - 0xDC00) + 0x10000) + ';';
- }).replace(NON_ALPHANUMERIC_REGEXP, function (match) {
- return '&#' + match.charCodeAt(0) + ';';
- }).replace(/</g, '<').replace(/>/g, '>');
- }
- let inertBodyHelper;
- /**
- * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to
- * the DOM in a browser environment.
- */
- function _sanitizeHtml(defaultDoc, unsafeHtmlInput) {
- let inertBodyElement = null;
- try {
- inertBodyHelper = inertBodyHelper || getInertBodyHelper(defaultDoc); // Make sure unsafeHtml is actually a string (TypeScript types are not enforced at runtime).
- let unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : '';
- inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml); // mXSS protection. Repeatedly parse the document to make sure it stabilizes, so that a browser
- // trying to auto-correct incorrect HTML cannot cause formerly inert HTML to become dangerous.
- let mXSSAttempts = 5;
- let parsedHtml = unsafeHtml;
- do {
- if (mXSSAttempts === 0) {
- throw new Error('Failed to sanitize html because the input is unstable');
- }
- mXSSAttempts--;
- unsafeHtml = parsedHtml;
- parsedHtml = inertBodyElement.innerHTML;
- inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeHtml);
- } while (unsafeHtml !== parsedHtml);
- const sanitizer = new SanitizingHtmlSerializer();
- const safeHtml = sanitizer.sanitizeChildren(getTemplateContent(inertBodyElement) || inertBodyElement);
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && sanitizer.sanitizedSomething) {
- console.warn('WARNING: sanitizing HTML stripped some content, see https://g.co/ng/security#xss');
- }
- return trustedHTMLFromString(safeHtml);
- } finally {
- // In case anything goes wrong, clear out inertElement to reset the entire DOM structure.
- if (inertBodyElement) {
- const parent = getTemplateContent(inertBodyElement) || inertBodyElement;
- while (parent.firstChild) {
- parent.removeChild(parent.firstChild);
- }
- }
- }
- }
- function getTemplateContent(el) {
- return 'content' in el
- /** Microsoft/TypeScript#21517 */
- && isTemplateElement(el) ? el.content : null;
- }
- function isTemplateElement(el) {
- return el.nodeType === Node.ELEMENT_NODE && el.nodeName === 'TEMPLATE';
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property
- * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly
- * handled.
- *
- * See DomSanitizer for more details on security in Angular applications.
- *
- * @publicApi
- */
- var SecurityContext;
- (function (SecurityContext) {
- SecurityContext[SecurityContext["NONE"] = 0] = "NONE";
- SecurityContext[SecurityContext["HTML"] = 1] = "HTML";
- SecurityContext[SecurityContext["STYLE"] = 2] = "STYLE";
- SecurityContext[SecurityContext["SCRIPT"] = 3] = "SCRIPT";
- SecurityContext[SecurityContext["URL"] = 4] = "URL";
- SecurityContext[SecurityContext["RESOURCE_URL"] = 5] = "RESOURCE_URL";
- })(SecurityContext || (SecurityContext = {}));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An `html` sanitizer which converts untrusted `html` **string** into trusted string by removing
- * dangerous content.
- *
- * This method parses the `html` and locates potentially dangerous content (such as urls and
- * javascript) and removes it.
- *
- * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustHtml}.
- *
- * @param unsafeHtml untrusted `html`, typically from the user.
- * @returns `html` string which is safe to display to user, because all of the dangerous javascript
- * and urls have been removed.
- *
- * @codeGenApi
- */
- function ɵɵsanitizeHtml(unsafeHtml) {
- const sanitizer = getSanitizer();
- if (sanitizer) {
- return trustedHTMLFromStringBypass(sanitizer.sanitize(SecurityContext.HTML, unsafeHtml) || '');
- }
- if (allowSanitizationBypassAndThrow(unsafeHtml, "HTML"
- /* BypassType.Html */
- )) {
- return trustedHTMLFromStringBypass(unwrapSafeValue(unsafeHtml));
- }
- return _sanitizeHtml(getDocument(), renderStringify(unsafeHtml));
- }
- /**
- * A `style` sanitizer which converts untrusted `style` **string** into trusted string by removing
- * dangerous content.
- *
- * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustStyle}.
- *
- * @param unsafeStyle untrusted `style`, typically from the user.
- * @returns `style` string which is safe to bind to the `style` properties.
- *
- * @codeGenApi
- */
- function ɵɵsanitizeStyle(unsafeStyle) {
- const sanitizer = getSanitizer();
- if (sanitizer) {
- return sanitizer.sanitize(SecurityContext.STYLE, unsafeStyle) || '';
- }
- if (allowSanitizationBypassAndThrow(unsafeStyle, "Style"
- /* BypassType.Style */
- )) {
- return unwrapSafeValue(unsafeStyle);
- }
- return renderStringify(unsafeStyle);
- }
- /**
- * A `url` sanitizer which converts untrusted `url` **string** into trusted string by removing
- * dangerous
- * content.
- *
- * This method parses the `url` and locates potentially dangerous content (such as javascript) and
- * removes it.
- *
- * It is possible to mark a string as trusted by calling {@link bypassSanitizationTrustUrl}.
- *
- * @param unsafeUrl untrusted `url`, typically from the user.
- * @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because
- * all of the dangerous javascript has been removed.
- *
- * @codeGenApi
- */
- function ɵɵsanitizeUrl(unsafeUrl) {
- const sanitizer = getSanitizer();
- if (sanitizer) {
- return sanitizer.sanitize(SecurityContext.URL, unsafeUrl) || '';
- }
- if (allowSanitizationBypassAndThrow(unsafeUrl, "URL"
- /* BypassType.Url */
- )) {
- return unwrapSafeValue(unsafeUrl);
- }
- return _sanitizeUrl(renderStringify(unsafeUrl));
- }
- /**
- * A `url` sanitizer which only lets trusted `url`s through.
- *
- * This passes only `url`s marked trusted by calling {@link bypassSanitizationTrustResourceUrl}.
- *
- * @param unsafeResourceUrl untrusted `url`, typically from the user.
- * @returns `url` string which is safe to bind to the `src` properties such as `<img src>`, because
- * only trusted `url`s have been allowed to pass.
- *
- * @codeGenApi
- */
- function ɵɵsanitizeResourceUrl(unsafeResourceUrl) {
- const sanitizer = getSanitizer();
- if (sanitizer) {
- return trustedScriptURLFromStringBypass(sanitizer.sanitize(SecurityContext.RESOURCE_URL, unsafeResourceUrl) || '');
- }
- if (allowSanitizationBypassAndThrow(unsafeResourceUrl, "ResourceURL"
- /* BypassType.ResourceUrl */
- )) {
- return trustedScriptURLFromStringBypass(unwrapSafeValue(unsafeResourceUrl));
- }
- throw new RuntimeError(904
- /* RuntimeErrorCode.UNSAFE_VALUE_IN_RESOURCE_URL */
- , ngDevMode && 'unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
- }
- /**
- * A `script` sanitizer which only lets trusted javascript through.
- *
- * This passes only `script`s marked trusted by calling {@link
- * bypassSanitizationTrustScript}.
- *
- * @param unsafeScript untrusted `script`, typically from the user.
- * @returns `url` string which is safe to bind to the `<script>` element such as `<img src>`,
- * because only trusted `scripts` have been allowed to pass.
- *
- * @codeGenApi
- */
- function ɵɵsanitizeScript(unsafeScript) {
- const sanitizer = getSanitizer();
- if (sanitizer) {
- return trustedScriptFromStringBypass(sanitizer.sanitize(SecurityContext.SCRIPT, unsafeScript) || '');
- }
- if (allowSanitizationBypassAndThrow(unsafeScript, "Script"
- /* BypassType.Script */
- )) {
- return trustedScriptFromStringBypass(unwrapSafeValue(unsafeScript));
- }
- throw new RuntimeError(905
- /* RuntimeErrorCode.UNSAFE_VALUE_IN_SCRIPT */
- , ngDevMode && 'unsafe value used in a script context');
- }
- /**
- * A template tag function for promoting the associated constant literal to a
- * TrustedHTML. Interpolation is explicitly not allowed.
- *
- * @param html constant template literal containing trusted HTML.
- * @returns TrustedHTML wrapping `html`.
- *
- * @security This is a security-sensitive function and should only be used to
- * convert constant values of attributes and properties found in
- * application-provided Angular templates to TrustedHTML.
- *
- * @codeGenApi
- */
- function ɵɵtrustConstantHtml(html) {
- // The following runtime check ensures that the function was called as a
- // template tag (e.g. ɵɵtrustConstantHtml`content`), without any interpolation
- // (e.g. not ɵɵtrustConstantHtml`content ${variable}`). A TemplateStringsArray
- // is an array with a `raw` property that is also an array. The associated
- // template literal has no interpolation if and only if the length of the
- // TemplateStringsArray is 1.
- if (ngDevMode && (!Array.isArray(html) || !Array.isArray(html.raw) || html.length !== 1)) {
- throw new Error(`Unexpected interpolation in trusted HTML constant: ${html.join('?')}`);
- }
- return trustedHTMLFromString(html[0]);
- }
- /**
- * A template tag function for promoting the associated constant literal to a
- * TrustedScriptURL. Interpolation is explicitly not allowed.
- *
- * @param url constant template literal containing a trusted script URL.
- * @returns TrustedScriptURL wrapping `url`.
- *
- * @security This is a security-sensitive function and should only be used to
- * convert constant values of attributes and properties found in
- * application-provided Angular templates to TrustedScriptURL.
- *
- * @codeGenApi
- */
- function ɵɵtrustConstantResourceUrl(url) {
- // The following runtime check ensures that the function was called as a
- // template tag (e.g. ɵɵtrustConstantResourceUrl`content`), without any
- // interpolation (e.g. not ɵɵtrustConstantResourceUrl`content ${variable}`). A
- // TemplateStringsArray is an array with a `raw` property that is also an
- // array. The associated template literal has no interpolation if and only if
- // the length of the TemplateStringsArray is 1.
- if (ngDevMode && (!Array.isArray(url) || !Array.isArray(url.raw) || url.length !== 1)) {
- throw new Error(`Unexpected interpolation in trusted URL constant: ${url.join('?')}`);
- }
- return trustedScriptURLFromString(url[0]);
- }
- /**
- * Detects which sanitizer to use for URL property, based on tag name and prop name.
- *
- * The rules are based on the RESOURCE_URL context config from
- * `packages/compiler/src/schema/dom_security_schema.ts`.
- * If tag and prop names don't match Resource URL schema, use URL sanitizer.
- */
- function getUrlSanitizer(tag, prop) {
- if (prop === 'src' && (tag === 'embed' || tag === 'frame' || tag === 'iframe' || tag === 'media' || tag === 'script') || prop === 'href' && (tag === 'base' || tag === 'link')) {
- return ɵɵsanitizeResourceUrl;
- }
- return ɵɵsanitizeUrl;
- }
- /**
- * Sanitizes URL, selecting sanitizer function based on tag and property names.
- *
- * This function is used in case we can't define security context at compile time, when only prop
- * name is available. This happens when we generate host bindings for Directives/Components. The
- * host element is unknown at compile time, so we defer calculation of specific sanitizer to
- * runtime.
- *
- * @param unsafeUrl untrusted `url`, typically from the user.
- * @param tag target element tag name.
- * @param prop name of the property that contains the value.
- * @returns `url` string which is safe to bind.
- *
- * @codeGenApi
- */
- function ɵɵsanitizeUrlOrResourceUrl(unsafeUrl, tag, prop) {
- return getUrlSanitizer(tag, prop)(unsafeUrl);
- }
- function validateAgainstEventProperties(name) {
- if (name.toLowerCase().startsWith('on')) {
- 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.`;
- throw new RuntimeError(306
- /* RuntimeErrorCode.INVALID_EVENT_BINDING */
- , errorMessage);
- }
- }
- function validateAgainstEventAttributes(name) {
- if (name.toLowerCase().startsWith('on')) {
- const errorMessage = `Binding to event attribute '${name}' is disallowed for security reasons, ` + `please use (${name.slice(2)})=...`;
- throw new RuntimeError(306
- /* RuntimeErrorCode.INVALID_EVENT_BINDING */
- , errorMessage);
- }
- }
- function getSanitizer() {
- const lView = getLView();
- return lView && lView[SANITIZER];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A multi-provider token for initialization functions that will run upon construction of an
- * environment injector.
- *
- * @publicApi
- */
- const ENVIRONMENT_INITIALIZER = new InjectionToken('ENVIRONMENT_INITIALIZER');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An InjectionToken that gets the current `Injector` for `createInjector()`-style injectors.
- *
- * Requesting this token instead of `Injector` allows `StaticInjector` to be tree-shaken from a
- * project.
- *
- * @publicApi
- */
- const INJECTOR = new InjectionToken('INJECTOR', // Disable tslint because this is const enum which gets inlined not top level prop access.
- // tslint:disable-next-line: no-toplevel-property-access
- -1
- /* InjectorMarkers.Injector */
- );
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const INJECTOR_DEF_TYPES = new InjectionToken('INJECTOR_DEF_TYPES');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class NullInjector {
- get(token, notFoundValue = THROW_IF_NOT_FOUND) {
- if (notFoundValue === THROW_IF_NOT_FOUND) {
- const error = new Error(`NullInjectorError: No provider for ${stringify(token)}!`);
- error.name = 'NullInjectorError';
- throw error;
- }
- return notFoundValue;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Collects providers from all NgModules and standalone components, including transitively imported
- * ones.
- *
- * Providers extracted via `importProvidersFrom` are only usable in an application injector or
- * another environment injector (such as a route injector). They should not be used in component
- * providers.
- *
- * More information about standalone components can be found in [this
- * guide](guide/standalone-components).
- *
- * @usageNotes
- * The results of the `importProvidersFrom` call can be used in the `bootstrapApplication` call:
- *
- * ```typescript
- * await bootstrapApplication(RootComponent, {
- * providers: [
- * importProvidersFrom(NgModuleOne, NgModuleTwo)
- * ]
- * });
- * ```
- *
- * You can also use the `importProvidersFrom` results in the `providers` field of a route, when a
- * standalone component is used:
- *
- * ```typescript
- * export const ROUTES: Route[] = [
- * {
- * path: 'foo',
- * providers: [
- * importProvidersFrom(NgModuleOne, NgModuleTwo)
- * ],
- * component: YourStandaloneComponent
- * }
- * ];
- * ```
- *
- * @returns Collected providers from the specified list of types.
- * @publicApi
- * @developerPreview
- */
- function importProvidersFrom(...sources) {
- return {
- ɵproviders: internalImportProvidersFrom(true, sources)
- };
- }
- function internalImportProvidersFrom(checkForStandaloneCmp, ...sources) {
- const providersOut = [];
- const dedup = new Set(); // already seen types
- let injectorTypesWithProviders;
- deepForEach(sources, source => {
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && checkForStandaloneCmp) {
- const cmpDef = getComponentDef(source);
- if (cmpDef === null || cmpDef === void 0 ? void 0 : cmpDef.standalone) {
- throw new RuntimeError(800
- /* RuntimeErrorCode.IMPORT_PROVIDERS_FROM_STANDALONE */
- , `Importing providers supports NgModule or ModuleWithProviders but got a standalone component "${stringifyForError(source)}"`);
- }
- } // Narrow `source` to access the internal type analogue for `ModuleWithProviders`.
- const internalSource = source;
- if (walkProviderTree(internalSource, providersOut, [], dedup)) {
- injectorTypesWithProviders || (injectorTypesWithProviders = []);
- injectorTypesWithProviders.push(internalSource);
- }
- }); // Collect all providers from `ModuleWithProviders` types.
- if (injectorTypesWithProviders !== undefined) {
- processInjectorTypesWithProviders(injectorTypesWithProviders, providersOut);
- }
- return providersOut;
- }
- /**
- * Collects all providers from the list of `ModuleWithProviders` and appends them to the provided
- * array.
- */
- function processInjectorTypesWithProviders(typesWithProviders, providersOut) {
- for (let i = 0; i < typesWithProviders.length; i++) {
- const {
- ngModule,
- providers
- } = typesWithProviders[i];
- deepForEach(providers, provider => {
- ngDevMode && validateProvider(provider, providers || EMPTY_ARRAY, ngModule);
- providersOut.push(provider);
- });
- }
- }
- /**
- * The logic visits an `InjectorType`, an `InjectorTypeWithProviders`, or a standalone
- * `ComponentType`, and all of its transitive providers and collects providers.
- *
- * If an `InjectorTypeWithProviders` that declares providers besides the type is specified,
- * the function will return "true" to indicate that the providers of the type definition need
- * to be processed. This allows us to process providers of injector types after all imports of
- * an injector definition are processed. (following View Engine semantics: see FW-1349)
- */
- function walkProviderTree(container, providersOut, parents, dedup) {
- container = resolveForwardRef(container);
- if (!container) return false; // The actual type which had the definition. Usually `container`, but may be an unwrapped type
- // from `InjectorTypeWithProviders`.
- let defType = null;
- let injDef = getInjectorDef(container);
- const cmpDef = !injDef && getComponentDef(container);
- if (!injDef && !cmpDef) {
- // `container` is not an injector type or a component type. It might be:
- // * An `InjectorTypeWithProviders` that wraps an injector type.
- // * A standalone directive or pipe that got pulled in from a standalone component's
- // dependencies.
- // Try to unwrap it as an `InjectorTypeWithProviders` first.
- const ngModule = container.ngModule;
- injDef = getInjectorDef(ngModule);
- if (injDef) {
- defType = ngModule;
- } else {
- // Not a component or injector type, so ignore it.
- return false;
- }
- } else if (cmpDef && !cmpDef.standalone) {
- return false;
- } else {
- defType = container;
- } // Check for circular dependencies.
- if (ngDevMode && parents.indexOf(defType) !== -1) {
- const defName = stringify(defType);
- const path = parents.map(stringify);
- throwCyclicDependencyError(defName, path);
- } // Check for multiple imports of the same module
- const isDuplicate = dedup.has(defType);
- if (cmpDef) {
- if (isDuplicate) {
- // This component definition has already been processed.
- return false;
- }
- dedup.add(defType);
- if (cmpDef.dependencies) {
- const deps = typeof cmpDef.dependencies === 'function' ? cmpDef.dependencies() : cmpDef.dependencies;
- for (const dep of deps) {
- walkProviderTree(dep, providersOut, parents, dedup);
- }
- }
- } else if (injDef) {
- // First, include providers from any imports.
- if (injDef.imports != null && !isDuplicate) {
- // Before processing defType's imports, add it to the set of parents. This way, if it ends
- // up deeply importing itself, this can be detected.
- ngDevMode && parents.push(defType); // Add it to the set of dedups. This way we can detect multiple imports of the same module
- dedup.add(defType);
- let importTypesWithProviders;
- try {
- deepForEach(injDef.imports, imported => {
- if (walkProviderTree(imported, providersOut, parents, dedup)) {
- importTypesWithProviders || (importTypesWithProviders = []); // If the processed import is an injector type with providers, we store it in the
- // list of import types with providers, so that we can process those afterwards.
- importTypesWithProviders.push(imported);
- }
- });
- } finally {
- // Remove it from the parents set when finished.
- ngDevMode && parents.pop();
- } // Imports which are declared with providers (TypeWithProviders) need to be processed
- // after all imported modules are processed. This is similar to how View Engine
- // processes/merges module imports in the metadata resolver. See: FW-1349.
- if (importTypesWithProviders !== undefined) {
- processInjectorTypesWithProviders(importTypesWithProviders, providersOut);
- }
- }
- if (!isDuplicate) {
- // Track the InjectorType and add a provider for it.
- // It's important that this is done after the def's imports.
- const factory = getFactoryDef(defType) || (() => new defType()); // Append extra providers to make more info available for consumers (to retrieve an injector
- // type), as well as internally (to calculate an injection scope correctly and eagerly
- // instantiate a `defType` when an injector is created).
- providersOut.push( // Provider to create `defType` using its factory.
- {
- provide: defType,
- useFactory: factory,
- deps: EMPTY_ARRAY
- }, // Make this `defType` available to an internal logic that calculates injector scope.
- {
- provide: INJECTOR_DEF_TYPES,
- useValue: defType,
- multi: true
- }, // Provider to eagerly instantiate `defType` via `ENVIRONMENT_INITIALIZER`.
- {
- provide: ENVIRONMENT_INITIALIZER,
- useValue: () => ɵɵinject(defType),
- multi: true
- } //
- );
- } // Next, include providers listed on the definition itself.
- const defProviders = injDef.providers;
- if (defProviders != null && !isDuplicate) {
- const injectorType = container;
- deepForEach(defProviders, provider => {
- ngDevMode && validateProvider(provider, defProviders, injectorType);
- providersOut.push(provider);
- });
- }
- } else {
- // Should not happen, but just in case.
- return false;
- }
- return defType !== container && container.providers !== undefined;
- }
- function validateProvider(provider, providers, containerType) {
- if (isTypeProvider(provider) || isValueProvider(provider) || isFactoryProvider(provider) || isExistingProvider(provider)) {
- return;
- } // Here we expect the provider to be a `useClass` provider (by elimination).
- const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide));
- if (!classRef) {
- throwInvalidProviderError(containerType, providers, provider);
- }
- }
- const USE_VALUE$1 = getClosureSafeProperty({
- provide: String,
- useValue: getClosureSafeProperty
- });
- function isValueProvider(value) {
- return value !== null && typeof value == 'object' && USE_VALUE$1 in value;
- }
- function isExistingProvider(value) {
- return !!(value && value.useExisting);
- }
- function isFactoryProvider(value) {
- return !!(value && value.useFactory);
- }
- function isTypeProvider(value) {
- return typeof value === 'function';
- }
- function isClassProvider(value) {
- return !!value.useClass;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An internal token whose presence in an injector indicates that the injector should treat itself
- * as a root scoped injector when processing requests for unknown tokens which may indicate
- * they are provided in the root scope.
- */
- const INJECTOR_SCOPE = new InjectionToken('Set Injector scope.');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Marker which indicates that a value has not yet been created from the factory function.
- */
- const NOT_YET = {};
- /**
- * Marker which indicates that the factory function for a token is in the process of being called.
- *
- * If the injector is asked to inject a token with its value set to CIRCULAR, that indicates
- * injection of a dependency has recursively attempted to inject the original token, and there is
- * a circular dependency among the providers.
- */
- const CIRCULAR = {};
- /**
- * A lazily initialized NullInjector.
- */
- let NULL_INJECTOR$1 = undefined;
- function getNullInjector() {
- if (NULL_INJECTOR$1 === undefined) {
- NULL_INJECTOR$1 = new NullInjector();
- }
- return NULL_INJECTOR$1;
- }
- /**
- * An `Injector` that's part of the environment injector hierarchy, which exists outside of the
- * component tree.
- *
- * @developerPreview
- */
- class EnvironmentInjector {}
- class R3Injector extends EnvironmentInjector {
- constructor(providers, parent, source, scopes) {
- super();
- this.parent = parent;
- this.source = source;
- this.scopes = scopes;
- /**
- * Map of tokens to records which contain the instances of those tokens.
- * - `null` value implies that we don't have the record. Used by tree-shakable injectors
- * to prevent further searches.
- */
- this.records = new Map();
- /**
- * Set of values instantiated by this injector which contain `ngOnDestroy` lifecycle hooks.
- */
- this._ngOnDestroyHooks = new Set();
- this._onDestroyHooks = [];
- this._destroyed = false; // Start off by creating Records for every provider.
- forEachSingleProvider(providers, provider => this.processProvider(provider)); // Make sure the INJECTOR token provides this injector.
- this.records.set(INJECTOR, makeRecord(undefined, this)); // And `EnvironmentInjector` if the current injector is supposed to be env-scoped.
- if (scopes.has('environment')) {
- this.records.set(EnvironmentInjector, makeRecord(undefined, this));
- } // Detect whether this injector has the APP_ROOT_SCOPE token and thus should provide
- // any injectable scoped to APP_ROOT_SCOPE.
- const record = this.records.get(INJECTOR_SCOPE);
- if (record != null && typeof record.value === 'string') {
- this.scopes.add(record.value);
- }
- this.injectorDefTypes = new Set(this.get(INJECTOR_DEF_TYPES.multi, EMPTY_ARRAY, InjectFlags.Self));
- }
- /**
- * Flag indicating that this injector was previously destroyed.
- */
- get destroyed() {
- return this._destroyed;
- }
- /**
- * Destroy the injector and release references to every instance or provider associated with it.
- *
- * Also calls the `OnDestroy` lifecycle hooks of every instance that was created for which a
- * hook was found.
- */
- destroy() {
- this.assertNotDestroyed(); // Set destroyed = true first, in case lifecycle hooks re-enter destroy().
- this._destroyed = true;
- try {
- // Call all the lifecycle hooks.
- for (const service of this._ngOnDestroyHooks) {
- service.ngOnDestroy();
- }
- for (const hook of this._onDestroyHooks) {
- hook();
- }
- } finally {
- // Release all references.
- this.records.clear();
- this._ngOnDestroyHooks.clear();
- this.injectorDefTypes.clear();
- this._onDestroyHooks.length = 0;
- }
- }
- onDestroy(callback) {
- this._onDestroyHooks.push(callback);
- }
- runInContext(fn) {
- this.assertNotDestroyed();
- const previousInjector = setCurrentInjector(this);
- const previousInjectImplementation = setInjectImplementation(undefined);
- try {
- return fn();
- } finally {
- setCurrentInjector(previousInjector);
- setInjectImplementation(previousInjectImplementation);
- }
- }
- get(token, notFoundValue = THROW_IF_NOT_FOUND, flags = InjectFlags.Default) {
- this.assertNotDestroyed(); // Set the injection context.
- const previousInjector = setCurrentInjector(this);
- const previousInjectImplementation = setInjectImplementation(undefined);
- try {
- // Check for the SkipSelf flag.
- if (!(flags & InjectFlags.SkipSelf)) {
- // SkipSelf isn't set, check if the record belongs to this injector.
- let record = this.records.get(token);
- if (record === undefined) {
- // No record, but maybe the token is scoped to this injector. Look for an injectable
- // def with a scope matching this injector.
- const def = couldBeInjectableType(token) && getInjectableDef(token);
- if (def && this.injectableDefInScope(def)) {
- // Found an injectable def and it's scoped to this injector. Pretend as if it was here
- // all along.
- record = makeRecord(injectableDefOrInjectorDefFactory(token), NOT_YET);
- } else {
- record = null;
- }
- this.records.set(token, record);
- } // If a record was found, get the instance for it and return it.
- if (record != null
- /* NOT null || undefined */
- ) {
- return this.hydrate(token, record);
- }
- } // Select the next injector based on the Self flag - if self is set, the next injector is
- // the NullInjector, otherwise it's the parent.
- const nextInjector = !(flags & InjectFlags.Self) ? this.parent : getNullInjector(); // Set the notFoundValue based on the Optional flag - if optional is set and notFoundValue
- // is undefined, the value is null, otherwise it's the notFoundValue.
- notFoundValue = flags & InjectFlags.Optional && notFoundValue === THROW_IF_NOT_FOUND ? null : notFoundValue;
- return nextInjector.get(token, notFoundValue);
- } catch (e) {
- if (e.name === 'NullInjectorError') {
- const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];
- path.unshift(stringify(token));
- if (previousInjector) {
- // We still have a parent injector, keep throwing
- throw e;
- } else {
- // Format & throw the final error message when we don't have any previous injector
- return catchInjectorError(e, token, 'R3InjectorError', this.source);
- }
- } else {
- throw e;
- }
- } finally {
- // Lastly, restore the previous injection context.
- setInjectImplementation(previousInjectImplementation);
- setCurrentInjector(previousInjector);
- }
- }
- /** @internal */
- resolveInjectorInitializers() {
- const previousInjector = setCurrentInjector(this);
- const previousInjectImplementation = setInjectImplementation(undefined);
- try {
- const initializers = this.get(ENVIRONMENT_INITIALIZER.multi, EMPTY_ARRAY, InjectFlags.Self);
- if (ngDevMode && !Array.isArray(initializers)) {
- throw new RuntimeError(209
- /* RuntimeErrorCode.INVALID_MULTI_PROVIDER */
- , '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.');
- }
- for (const initializer of initializers) {
- initializer();
- }
- } finally {
- setCurrentInjector(previousInjector);
- setInjectImplementation(previousInjectImplementation);
- }
- }
- toString() {
- const tokens = [];
- const records = this.records;
- for (const token of records.keys()) {
- tokens.push(stringify(token));
- }
- return `R3Injector[${tokens.join(', ')}]`;
- }
- assertNotDestroyed() {
- if (this._destroyed) {
- throw new RuntimeError(205
- /* RuntimeErrorCode.INJECTOR_ALREADY_DESTROYED */
- , ngDevMode && 'Injector has already been destroyed.');
- }
- }
- /**
- * Process a `SingleProvider` and add it.
- */
- processProvider(provider) {
- // Determine the token from the provider. Either it's its own token, or has a {provide: ...}
- // property.
- provider = resolveForwardRef(provider);
- let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider && provider.provide); // Construct a `Record` for the provider.
- const record = providerToRecord(provider);
- if (!isTypeProvider(provider) && provider.multi === true) {
- // If the provider indicates that it's a multi-provider, process it specially.
- // First check whether it's been defined already.
- let multiRecord = this.records.get(token);
- if (multiRecord) {
- // It has. Throw a nice error if
- if (ngDevMode && multiRecord.multi === undefined) {
- throwMixedMultiProviderError();
- }
- } else {
- multiRecord = makeRecord(undefined, NOT_YET, true);
- multiRecord.factory = () => injectArgs(multiRecord.multi);
- this.records.set(token, multiRecord);
- }
- token = provider;
- multiRecord.multi.push(provider);
- } else {
- const existing = this.records.get(token);
- if (ngDevMode && existing && existing.multi !== undefined) {
- throwMixedMultiProviderError();
- }
- }
- this.records.set(token, record);
- }
- hydrate(token, record) {
- if (ngDevMode && record.value === CIRCULAR) {
- throwCyclicDependencyError(stringify(token));
- } else if (record.value === NOT_YET) {
- record.value = CIRCULAR;
- record.value = record.factory();
- }
- if (typeof record.value === 'object' && record.value && hasOnDestroy(record.value)) {
- this._ngOnDestroyHooks.add(record.value);
- }
- return record.value;
- }
- injectableDefInScope(def) {
- if (!def.providedIn) {
- return false;
- }
- const providedIn = resolveForwardRef(def.providedIn);
- if (typeof providedIn === 'string') {
- return providedIn === 'any' || this.scopes.has(providedIn);
- } else {
- return this.injectorDefTypes.has(providedIn);
- }
- }
- }
- function injectableDefOrInjectorDefFactory(token) {
- // Most tokens will have an injectable def directly on them, which specifies a factory directly.
- const injectableDef = getInjectableDef(token);
- const factory = injectableDef !== null ? injectableDef.factory : getFactoryDef(token);
- if (factory !== null) {
- return factory;
- } // InjectionTokens should have an injectable def (ɵprov) and thus should be handled above.
- // If it's missing that, it's an error.
- if (token instanceof InjectionToken) {
- throw new RuntimeError(204
- /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */
- , ngDevMode && `Token ${stringify(token)} is missing a ɵprov definition.`);
- } // Undecorated types can sometimes be created if they have no constructor arguments.
- if (token instanceof Function) {
- return getUndecoratedInjectableFactory(token);
- } // There was no way to resolve a factory for this token.
- throw new RuntimeError(204
- /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */
- , ngDevMode && 'unreachable');
- }
- function getUndecoratedInjectableFactory(token) {
- // If the token has parameters then it has dependencies that we cannot resolve implicitly.
- const paramLength = token.length;
- if (paramLength > 0) {
- const args = newArray(paramLength, '?');
- throw new RuntimeError(204
- /* RuntimeErrorCode.INVALID_INJECTION_TOKEN */
- , ngDevMode && `Can't resolve all parameters for ${stringify(token)}: (${args.join(', ')}).`);
- } // The constructor function appears to have no parameters.
- // This might be because it inherits from a super-class. In which case, use an injectable
- // def from an ancestor if there is one.
- // Otherwise this really is a simple class with no dependencies, so return a factory that
- // just instantiates the zero-arg constructor.
- const inheritedInjectableDef = getInheritedInjectableDef(token);
- if (inheritedInjectableDef !== null) {
- return () => inheritedInjectableDef.factory(token);
- } else {
- return () => new token();
- }
- }
- function providerToRecord(provider) {
- if (isValueProvider(provider)) {
- return makeRecord(undefined, provider.useValue);
- } else {
- const factory = providerToFactory(provider);
- return makeRecord(factory, NOT_YET);
- }
- }
- /**
- * Converts a `SingleProvider` into a factory function.
- *
- * @param provider provider to convert to factory
- */
- function providerToFactory(provider, ngModuleType, providers) {
- let factory = undefined;
- if (ngDevMode && isImportedNgModuleProviders(provider)) {
- throwInvalidProviderError(undefined, providers, provider);
- }
- if (isTypeProvider(provider)) {
- const unwrappedProvider = resolveForwardRef(provider);
- return getFactoryDef(unwrappedProvider) || injectableDefOrInjectorDefFactory(unwrappedProvider);
- } else {
- if (isValueProvider(provider)) {
- factory = () => resolveForwardRef(provider.useValue);
- } else if (isFactoryProvider(provider)) {
- factory = () => provider.useFactory(...injectArgs(provider.deps || []));
- } else if (isExistingProvider(provider)) {
- factory = () => ɵɵinject(resolveForwardRef(provider.useExisting));
- } else {
- const classRef = resolveForwardRef(provider && (provider.useClass || provider.provide));
- if (ngDevMode && !classRef) {
- throwInvalidProviderError(ngModuleType, providers, provider);
- }
- if (hasDeps(provider)) {
- factory = () => new classRef(...injectArgs(provider.deps));
- } else {
- return getFactoryDef(classRef) || injectableDefOrInjectorDefFactory(classRef);
- }
- }
- }
- return factory;
- }
- function makeRecord(factory, value, multi = false) {
- return {
- factory: factory,
- value: value,
- multi: multi ? [] : undefined
- };
- }
- function hasDeps(value) {
- return !!value.deps;
- }
- function hasOnDestroy(value) {
- return value !== null && typeof value === 'object' && typeof value.ngOnDestroy === 'function';
- }
- function couldBeInjectableType(value) {
- return typeof value === 'function' || typeof value === 'object' && value instanceof InjectionToken;
- }
- function isImportedNgModuleProviders(provider) {
- return !!provider.ɵproviders;
- }
- function forEachSingleProvider(providers, fn) {
- for (const provider of providers) {
- if (Array.isArray(provider)) {
- forEachSingleProvider(provider, fn);
- } else if (isImportedNgModuleProviders(provider)) {
- forEachSingleProvider(provider.ɵproviders, fn);
- } else {
- fn(provider);
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents a component created by a `ComponentFactory`.
- * Provides access to the component instance and related objects,
- * and provides the means of destroying the instance.
- *
- * @publicApi
- */
- class ComponentRef$1 {}
- /**
- * Base class for a factory that can create a component dynamically.
- * Instantiate a factory for a given type of component with `resolveComponentFactory()`.
- * Use the resulting `ComponentFactory.create()` method to create a component of that type.
- *
- * @see [Dynamic Components](guide/dynamic-component-loader)
- *
- * @publicApi
- *
- * @deprecated Angular no longer requires Component factories. Please use other APIs where
- * Component class can be used directly.
- */
- class ComponentFactory$1 {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function noComponentFactoryError(component) {
- const error = Error(`No component factory found for ${stringify(component)}. Did you add it to @NgModule.entryComponents?`);
- error[ERROR_COMPONENT] = component;
- return error;
- }
- const ERROR_COMPONENT = 'ngComponent';
- function getComponent$1(error) {
- return error[ERROR_COMPONENT];
- }
- class _NullComponentFactoryResolver {
- resolveComponentFactory(component) {
- throw noComponentFactoryError(component);
- }
- }
- /**
- * A simple registry that maps `Components` to generated `ComponentFactory` classes
- * that can be used to create instances of components.
- * Use to obtain the factory for a given component type,
- * then use the factory's `create()` method to create a component of that type.
- *
- * Note: since v13, dynamic component creation via
- * [`ViewContainerRef.createComponent`](api/core/ViewContainerRef#createComponent)
- * does **not** require resolving component factory: component class can be used directly.
- *
- * @publicApi
- *
- * @deprecated Angular no longer requires Component factories. Please use other APIs where
- * Component class can be used directly.
- */
- class ComponentFactoryResolver$1 {}
- ComponentFactoryResolver$1.NULL = /* @__PURE__ */new _NullComponentFactoryResolver();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Creates an ElementRef from the most recent node.
- *
- * @returns The ElementRef instance to use
- */
- function injectElementRef() {
- return createElementRef(getCurrentTNode(), getLView());
- }
- /**
- * Creates an ElementRef given a node.
- *
- * @param tNode The node for which you'd like an ElementRef
- * @param lView The view to which the node belongs
- * @returns The ElementRef instance to use
- */
- function createElementRef(tNode, lView) {
- return new ElementRef(getNativeByTNode(tNode, lView));
- }
- /**
- * A wrapper around a native element inside of a View.
- *
- * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM
- * element.
- *
- * @security Permitting direct access to the DOM can make your application more vulnerable to
- * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the
- * [Security Guide](https://g.co/ng/security).
- *
- * @publicApi
- */
- // Note: We don't expose things like `Injector`, `ViewContainer`, ... here,
- // i.e. users have to ask for what they need. With that, we can build better analysis tools
- // and could do better codegen in the future.
- class ElementRef {
- constructor(nativeElement) {
- this.nativeElement = nativeElement;
- }
- }
- /**
- * @internal
- * @nocollapse
- */
- ElementRef.__NG_ELEMENT_ID__ = injectElementRef;
- /**
- * Unwraps `ElementRef` and return the `nativeElement`.
- *
- * @param value value to unwrap
- * @returns `nativeElement` if `ElementRef` otherwise returns value as is.
- */
- function unwrapElementRef(value) {
- return value instanceof ElementRef ? value.nativeElement : value;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const Renderer2Interceptor = new InjectionToken('Renderer2Interceptor');
- /**
- * Creates and initializes a custom renderer that implements the `Renderer2` base class.
- *
- * @publicApi
- */
- class RendererFactory2 {}
- /**
- * Extend this base class to implement custom rendering. By default, Angular
- * renders a template into DOM. You can use custom rendering to intercept
- * rendering calls, or to render to something other than DOM.
- *
- * Create your custom renderer using `RendererFactory2`.
- *
- * Use a custom renderer to bypass Angular's templating and
- * make custom UI changes that can't be expressed declaratively.
- * For example if you need to set a property or an attribute whose name is
- * not statically known, use the `setProperty()` or
- * `setAttribute()` method.
- *
- * @publicApi
- */
- class Renderer2 {}
- /**
- * @internal
- * @nocollapse
- */
- Renderer2.__NG_ELEMENT_ID__ = () => injectRenderer2();
- /** Injects a Renderer2 for the current component. */
- function injectRenderer2() {
- // We need the Renderer to be based on the component that it's being injected into, however since
- // DI happens before we've entered its view, `getLView` will return the parent view instead.
- const lView = getLView();
- const tNode = getCurrentTNode();
- const nodeAtIndex = getComponentLViewByIndex(tNode.index, lView);
- return (isLView(nodeAtIndex) ? nodeAtIndex : lView)[RENDERER];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Sanitizer is used by the views to sanitize potentially dangerous values.
- *
- * @publicApi
- */
- class Sanitizer {}
- /** @nocollapse */
- Sanitizer.ɵprov = ɵɵdefineInjectable({
- token: Sanitizer,
- providedIn: 'root',
- factory: () => null
- });
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description Represents the version of Angular
- *
- * @publicApi
- */
- class Version {
- constructor(full) {
- this.full = full;
- this.major = full.split('.')[0];
- this.minor = full.split('.')[1];
- this.patch = full.split('.').slice(2).join('.');
- }
- }
- /**
- * @publicApi
- */
- const VERSION = new Version('14.2.7');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This default value is when checking the hierarchy for a token.
- //
- // It means both:
- // - the token is not provided by the current injector,
- // - only the element injectors should be checked (ie do not check module injectors
- //
- // mod1
- // /
- // el1 mod2
- // \ /
- // el2
- //
- // When requesting el2.injector.get(token), we should check in the following order and return the
- // first found value:
- // - el2.injector.get(token, default)
- // - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module
- // - mod2.injector.get(token, default)
- const NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {};
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Defines a schema that allows an NgModule to contain the following:
- * - Non-Angular elements named with dash case (`-`).
- * - Element properties named with dash case (`-`).
- * Dash case is the naming convention for custom elements.
- *
- * @publicApi
- */
- const CUSTOM_ELEMENTS_SCHEMA = {
- name: 'custom-elements'
- };
- /**
- * Defines a schema that allows any property on any element.
- *
- * This schema allows you to ignore the errors related to any unknown elements or properties in a
- * template. The usage of this schema is generally discouraged because it prevents useful validation
- * and may hide real errors in your template. Consider using the `CUSTOM_ELEMENTS_SCHEMA` instead.
- *
- * @publicApi
- */
- const NO_ERRORS_SCHEMA = {
- name: 'no-errors-schema'
- };
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- let shouldThrowErrorOnUnknownElement = false;
- /**
- * Sets a strict mode for JIT-compiled components to throw an error on unknown elements,
- * instead of just logging the error.
- * (for AOT-compiled ones this check happens at build time).
- */
- function ɵsetUnknownElementStrictMode(shouldThrow) {
- shouldThrowErrorOnUnknownElement = shouldThrow;
- }
- /**
- * Gets the current value of the strict mode.
- */
- function ɵgetUnknownElementStrictMode() {
- return shouldThrowErrorOnUnknownElement;
- }
- let shouldThrowErrorOnUnknownProperty = false;
- /**
- * Sets a strict mode for JIT-compiled components to throw an error on unknown properties,
- * instead of just logging the error.
- * (for AOT-compiled ones this check happens at build time).
- */
- function ɵsetUnknownPropertyStrictMode(shouldThrow) {
- shouldThrowErrorOnUnknownProperty = shouldThrow;
- }
- /**
- * Gets the current value of the strict mode.
- */
- function ɵgetUnknownPropertyStrictMode() {
- return shouldThrowErrorOnUnknownProperty;
- }
- /**
- * Validates that the element is known at runtime and produces
- * an error if it's not the case.
- * This check is relevant for JIT-compiled components (for AOT-compiled
- * ones this check happens at build time).
- *
- * The element is considered known if either:
- * - it's a known HTML element
- * - it's a known custom element
- * - the element matches any directive
- * - the element is allowed by one of the schemas
- *
- * @param element Element to validate
- * @param lView An `LView` that represents a current component that is being rendered
- * @param tagName Name of the tag to check
- * @param schemas Array of schemas
- * @param hasDirectives Boolean indicating that the element matches any directive
- */
- function validateElementIsKnown(element, lView, tagName, schemas, hasDirectives) {
- // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT
- // mode where this check happens at compile time. In JIT mode, `schemas` is always present and
- // defined as an array (as an empty array in case `schemas` field is not defined) and we should
- // execute the check below.
- if (schemas === null) return; // If the element matches any directive, it's considered as valid.
- if (!hasDirectives && tagName !== null) {
- // The element is unknown if it's an instance of HTMLUnknownElement, or it isn't registered
- // as a custom element. Note that unknown elements with a dash in their name won't be instances
- // of HTMLUnknownElement in browsers that support web components.
- const isUnknown = // Note that we can't check for `typeof HTMLUnknownElement === 'function'`,
- // because while most browsers return 'function', IE returns 'object'.
- typeof HTMLUnknownElement !== 'undefined' && HTMLUnknownElement && element instanceof HTMLUnknownElement || typeof customElements !== 'undefined' && tagName.indexOf('-') > -1 && !customElements.get(tagName);
- if (isUnknown && !matchingSchemas(schemas, tagName)) {
- const isHostStandalone = isHostComponentStandalone(lView);
- const templateLocation = getTemplateLocationDetails(lView);
- const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;
- let message = `'${tagName}' is not a known element${templateLocation}:\n`;
- 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`;
- if (tagName && tagName.indexOf('-') > -1) {
- message += `2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the ${schemas} of this component to suppress this message.`;
- } else {
- message += `2. To allow any element add 'NO_ERRORS_SCHEMA' to the ${schemas} of this component.`;
- }
- if (shouldThrowErrorOnUnknownElement) {
- throw new RuntimeError(304
- /* RuntimeErrorCode.UNKNOWN_ELEMENT */
- , message);
- } else {
- console.error(formatRuntimeError(304
- /* RuntimeErrorCode.UNKNOWN_ELEMENT */
- , message));
- }
- }
- }
- }
- /**
- * Validates that the property of the element is known at runtime and returns
- * false if it's not the case.
- * This check is relevant for JIT-compiled components (for AOT-compiled
- * ones this check happens at build time).
- *
- * The property is considered known if either:
- * - it's a known property of the element
- * - the element is allowed by one of the schemas
- * - the property is used for animations
- *
- * @param element Element to validate
- * @param propName Name of the property to check
- * @param tagName Name of the tag hosting the property
- * @param schemas Array of schemas
- */
- function isPropertyValid(element, propName, tagName, schemas) {
- // If `schemas` is set to `null`, that's an indication that this Component was compiled in AOT
- // mode where this check happens at compile time. In JIT mode, `schemas` is always present and
- // defined as an array (as an empty array in case `schemas` field is not defined) and we should
- // execute the check below.
- if (schemas === null) return true; // The property is considered valid if the element matches the schema, it exists on the element,
- // or it is synthetic, and we are in a browser context (web worker nodes should be skipped).
- if (matchingSchemas(schemas, tagName) || propName in element || isAnimationProp(propName)) {
- return true;
- } // Note: `typeof Node` returns 'function' in most browsers, but on IE it is 'object' so we
- // need to account for both here, while being careful with `typeof null` also returning 'object'.
- return typeof Node === 'undefined' || Node === null || !(element instanceof Node);
- }
- /**
- * Logs or throws an error that a property is not supported on an element.
- *
- * @param propName Name of the invalid property
- * @param tagName Name of the tag hosting the property
- * @param nodeType Type of the node hosting the property
- * @param lView An `LView` that represents a current component
- */
- function handleUnknownPropertyError(propName, tagName, nodeType, lView) {
- // Special-case a situation when a structural directive is applied to
- // an `<ng-template>` element, for example: `<ng-template *ngIf="true">`.
- // In this case the compiler generates the `ɵɵtemplate` instruction with
- // the `null` as the tagName. The directive matching logic at runtime relies
- // on this effect (see `isInlineTemplate`), thus using the 'ng-template' as
- // a default value of the `tNode.value` is not feasible at this moment.
- if (!tagName && nodeType === 4
- /* TNodeType.Container */
- ) {
- tagName = 'ng-template';
- }
- const isHostStandalone = isHostComponentStandalone(lView);
- const templateLocation = getTemplateLocationDetails(lView);
- let message = `Can't bind to '${propName}' since it isn't a known property of '${tagName}'${templateLocation}.`;
- const schemas = `'${isHostStandalone ? '@Component' : '@NgModule'}.schemas'`;
- const importLocation = isHostStandalone ? 'included in the \'@Component.imports\' of this component' : 'a part of an @NgModule where this component is declared';
- if (KNOWN_CONTROL_FLOW_DIRECTIVES.has(propName)) {
- // Most likely this is a control flow directive (such as `*ngIf`) used in
- // a template, but the directive or the `CommonModule` is not imported.
- const correspondingImport = KNOWN_CONTROL_FLOW_DIRECTIVES.get(propName);
- message += `\nIf the '${propName}' is an Angular control flow directive, ` + `please make sure that either the '${correspondingImport}' directive or the 'CommonModule' is ${importLocation}.`;
- } else {
- // May be an Angular component, which is not imported/declared?
- 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?
- if (tagName && tagName.indexOf('-') > -1) {
- message += `\n2. If '${tagName}' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' ` + `to the ${schemas} of this component to suppress this message.`;
- message += `\n3. To allow any property add 'NO_ERRORS_SCHEMA' to ` + `the ${schemas} of this component.`;
- } else {
- // If it's expected, the error can be suppressed by the `NO_ERRORS_SCHEMA` schema.
- message += `\n2. To allow any property add 'NO_ERRORS_SCHEMA' to ` + `the ${schemas} of this component.`;
- }
- }
- reportUnknownPropertyError(message);
- }
- function reportUnknownPropertyError(message) {
- if (shouldThrowErrorOnUnknownProperty) {
- throw new RuntimeError(303
- /* RuntimeErrorCode.UNKNOWN_BINDING */
- , message);
- } else {
- console.error(formatRuntimeError(303
- /* RuntimeErrorCode.UNKNOWN_BINDING */
- , message));
- }
- }
- /**
- * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)
- * and must **not** be used in production bundles. The function makes megamorphic reads, which might
- * be too slow for production mode and also it relies on the constructor function being available.
- *
- * Gets a reference to the host component def (where a current component is declared).
- *
- * @param lView An `LView` that represents a current component that is being rendered.
- */
- function getDeclarationComponentDef(lView) {
- !ngDevMode && throwError('Must never be called in production mode');
- const declarationLView = lView[DECLARATION_COMPONENT_VIEW];
- const context = declarationLView[CONTEXT]; // Unable to obtain a context.
- if (!context) return null;
- return context.constructor ? getComponentDef(context.constructor) : null;
- }
- /**
- * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)
- * and must **not** be used in production bundles. The function makes megamorphic reads, which might
- * be too slow for production mode.
- *
- * Checks if the current component is declared inside of a standalone component template.
- *
- * @param lView An `LView` that represents a current component that is being rendered.
- */
- function isHostComponentStandalone(lView) {
- !ngDevMode && throwError('Must never be called in production mode');
- const componentDef = getDeclarationComponentDef(lView); // Treat host component as non-standalone if we can't obtain the def.
- return !!(componentDef === null || componentDef === void 0 ? void 0 : componentDef.standalone);
- }
- /**
- * WARNING: this is a **dev-mode only** function (thus should always be guarded by the `ngDevMode`)
- * and must **not** be used in production bundles. The function makes megamorphic reads, which might
- * be too slow for production mode.
- *
- * Constructs a string describing the location of the host component template. The function is used
- * in dev mode to produce error messages.
- *
- * @param lView An `LView` that represents a current component that is being rendered.
- */
- function getTemplateLocationDetails(lView) {
- var _a;
- !ngDevMode && throwError('Must never be called in production mode');
- const hostComponentDef = getDeclarationComponentDef(lView);
- const componentClassName = (_a = hostComponentDef === null || hostComponentDef === void 0 ? void 0 : hostComponentDef.type) === null || _a === void 0 ? void 0 : _a.name;
- return componentClassName ? ` (used in the '${componentClassName}' component template)` : '';
- }
- /**
- * The set of known control flow directives and their corresponding imports.
- * We use this set to produce a more precises error message with a note
- * that the `CommonModule` should also be included.
- */
- const KNOWN_CONTROL_FLOW_DIRECTIVES = new Map([['ngIf', 'NgIf'], ['ngFor', 'NgFor'], ['ngSwitchCase', 'NgSwitchCase'], ['ngSwitchDefault', 'NgSwitchDefault']]);
- /**
- * Returns true if the tag name is allowed by specified schemas.
- * @param schemas Array of schemas
- * @param tagName Name of the tag
- */
- function matchingSchemas(schemas, tagName) {
- if (schemas !== null) {
- for (let i = 0; i < schemas.length; i++) {
- const schema = schemas[i];
- if (schema === NO_ERRORS_SCHEMA || schema === CUSTOM_ELEMENTS_SCHEMA && tagName && tagName.indexOf('-') > -1) {
- return true;
- }
- }
- }
- return false;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const ERROR_ORIGINAL_ERROR = 'ngOriginalError';
- function wrappedError(message, originalError) {
- const msg = `${message} caused by: ${originalError instanceof Error ? originalError.message : originalError}`;
- const error = Error(msg);
- error[ERROR_ORIGINAL_ERROR] = originalError;
- return error;
- }
- function getOriginalError(error) {
- return error[ERROR_ORIGINAL_ERROR];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Provides a hook for centralized exception handling.
- *
- * The default implementation of `ErrorHandler` prints error messages to the `console`. To
- * intercept error handling, write a custom exception handler that replaces this default as
- * appropriate for your app.
- *
- * @usageNotes
- * ### Example
- *
- * ```
- * class MyErrorHandler implements ErrorHandler {
- * handleError(error) {
- * // do something with the exception
- * }
- * }
- *
- * @NgModule({
- * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]
- * })
- * class MyModule {}
- * ```
- *
- * @publicApi
- */
- class ErrorHandler {
- constructor() {
- /**
- * @internal
- */
- this._console = console;
- }
- handleError(error) {
- const originalError = this._findOriginalError(error);
- this._console.error('ERROR', error);
- if (originalError) {
- this._console.error('ORIGINAL ERROR', originalError);
- }
- }
- /** @internal */
- _findOriginalError(error) {
- let e = error && getOriginalError(error);
- while (e && getOriginalError(e)) {
- e = getOriginalError(e);
- }
- return e || null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Disallowed strings in the comment.
- *
- * see: https://html.spec.whatwg.org/multipage/syntax.html#comments
- */
- const COMMENT_DISALLOWED = /^>|^->|<!--|-->|--!>|<!-$/g;
- /**
- * Delimiter in the disallowed strings which needs to be wrapped with zero with character.
- */
- const COMMENT_DELIMITER = /(<|>)/;
- const COMMENT_DELIMITER_ESCAPED = '\u200B$1\u200B';
- /**
- * Escape the content of comment strings so that it can be safely inserted into a comment node.
- *
- * The issue is that HTML does not specify any way to escape comment end text inside the comment.
- * Consider: `<!-- The way you close a comment is with ">", and "->" at the beginning or by "-->" or
- * "--!>" at the end. -->`. Above the `"-->"` is meant to be text not an end to the comment. This
- * can be created programmatically through DOM APIs. (`<!--` are also disallowed.)
- *
- * see: https://html.spec.whatwg.org/multipage/syntax.html#comments
- *
- * ```
- * div.innerHTML = div.innerHTML
- * ```
- *
- * One would expect that the above code would be safe to do, but it turns out that because comment
- * text is not escaped, the comment may contain text which will prematurely close the comment
- * opening up the application for XSS attack. (In SSR we programmatically create comment nodes which
- * may contain such text and expect them to be safe.)
- *
- * This function escapes the comment text by looking for comment delimiters (`<` and `>`) and
- * surrounding them with `_>_` where the `_` is a zero width space `\u200B`. The result is that if a
- * comment contains any of the comment start/end delimiters (such as `<!--`, `-->` or `--!>`) the
- * text it will render normally but it will not cause the HTML parser to close/open the comment.
- *
- * @param value text to make safe for comment node by escaping the comment open/close character
- * sequence.
- */
- function escapeCommentText(value) {
- return value.replace(COMMENT_DISALLOWED, text => text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function normalizeDebugBindingName(name) {
- // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers
- name = camelCaseToDashCase(name.replace(/[$@]/g, '_'));
- return `ng-reflect-${name}`;
- }
- const CAMEL_CASE_REGEXP = /([A-Z])/g;
- function camelCaseToDashCase(input) {
- return input.replace(CAMEL_CASE_REGEXP, (...m) => '-' + m[1].toLowerCase());
- }
- function normalizeDebugBindingValue(value) {
- try {
- // Limit the size of the value as otherwise the DOM just gets polluted.
- return value != null ? value.toString().slice(0, 30) : value;
- } catch (e) {
- return '[ERROR] Exception while trying to serialize the value';
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Keeps track of the currently-active LViews.
- const TRACKED_LVIEWS = new Map(); // Used for generating unique IDs for LViews.
- let uniqueIdCounter = 0;
- /** Gets a unique ID that can be assigned to an LView. */
- function getUniqueLViewId() {
- return uniqueIdCounter++;
- }
- /** Starts tracking an LView. */
- function registerLView(lView) {
- ngDevMode && assertNumber(lView[ID], 'LView must have an ID in order to be registered');
- TRACKED_LVIEWS.set(lView[ID], lView);
- }
- /** Gets an LView by its unique ID. */
- function getLViewById(id) {
- ngDevMode && assertNumber(id, 'ID used for LView lookup must be a number');
- return TRACKED_LVIEWS.get(id) || null;
- }
- /** Stops tracking an LView. */
- function unregisterLView(lView) {
- ngDevMode && assertNumber(lView[ID], 'Cannot stop tracking an LView that does not have an ID');
- TRACKED_LVIEWS.delete(lView[ID]);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The internal view context which is specific to a given DOM element, directive or
- * component instance. Each value in here (besides the LView and element node details)
- * can be present, null or undefined. If undefined then it implies the value has not been
- * looked up yet, otherwise, if null, then a lookup was executed and nothing was found.
- *
- * Each value will get filled when the respective value is examined within the getContext
- * function. The component, element and each directive instance will share the same instance
- * of the context.
- */
- class LContext {
- constructor(
- /**
- * ID of the component's parent view data.
- */
- lViewId,
- /**
- * The index instance of the node.
- */
- nodeIndex,
- /**
- * The instance of the DOM node that is attached to the lNode.
- */
- native) {
- this.lViewId = lViewId;
- this.nodeIndex = nodeIndex;
- this.native = native;
- }
- /** Component's parent view data. */
- get lView() {
- return getLViewById(this.lViewId);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Returns the matching `LContext` data for a given DOM node, directive or component instance.
- *
- * This function will examine the provided DOM element, component, or directive instance\'s
- * monkey-patched property to derive the `LContext` data. Once called then the monkey-patched
- * value will be that of the newly created `LContext`.
- *
- * If the monkey-patched value is the `LView` instance then the context value for that
- * target will be created and the monkey-patch reference will be updated. Therefore when this
- * function is called it may mutate the provided element\'s, component\'s or any of the associated
- * directive\'s monkey-patch values.
- *
- * If the monkey-patch value is not detected then the code will walk up the DOM until an element
- * is found which contains a monkey-patch reference. When that occurs then the provided element
- * will be updated with a new context (which is then returned). If the monkey-patch value is not
- * detected for a component/directive instance then it will throw an error (all components and
- * directives should be automatically monkey-patched by ivy).
- *
- * @param target Component, Directive or DOM Node.
- */
- function getLContext(target) {
- let mpValue = readPatchedData(target);
- if (mpValue) {
- // only when it's an array is it considered an LView instance
- // ... otherwise it's an already constructed LContext instance
- if (isLView(mpValue)) {
- const lView = mpValue;
- let nodeIndex;
- let component = undefined;
- let directives = undefined;
- if (isComponentInstance(target)) {
- nodeIndex = findViaComponent(lView, target);
- if (nodeIndex == -1) {
- throw new Error('The provided component was not found in the application');
- }
- component = target;
- } else if (isDirectiveInstance(target)) {
- nodeIndex = findViaDirective(lView, target);
- if (nodeIndex == -1) {
- throw new Error('The provided directive was not found in the application');
- }
- directives = getDirectivesAtNodeIndex(nodeIndex, lView, false);
- } else {
- nodeIndex = findViaNativeElement(lView, target);
- if (nodeIndex == -1) {
- return null;
- }
- } // the goal is not to fill the entire context full of data because the lookups
- // are expensive. Instead, only the target data (the element, component, container, ICU
- // expression or directive details) are filled into the context. If called multiple times
- // with different target values then the missing target data will be filled in.
- const native = unwrapRNode(lView[nodeIndex]);
- const existingCtx = readPatchedData(native);
- const context = existingCtx && !Array.isArray(existingCtx) ? existingCtx : createLContext(lView, nodeIndex, native); // only when the component has been discovered then update the monkey-patch
- if (component && context.component === undefined) {
- context.component = component;
- attachPatchData(context.component, context);
- } // only when the directives have been discovered then update the monkey-patch
- if (directives && context.directives === undefined) {
- context.directives = directives;
- for (let i = 0; i < directives.length; i++) {
- attachPatchData(directives[i], context);
- }
- }
- attachPatchData(context.native, context);
- mpValue = context;
- }
- } else {
- const rElement = target;
- ngDevMode && assertDomNode(rElement); // if the context is not found then we need to traverse upwards up the DOM
- // to find the nearest element that has already been monkey patched with data
- let parent = rElement;
- while (parent = parent.parentNode) {
- const parentContext = readPatchedData(parent);
- if (parentContext) {
- const lView = Array.isArray(parentContext) ? parentContext : parentContext.lView; // the edge of the app was also reached here through another means
- // (maybe because the DOM was changed manually).
- if (!lView) {
- return null;
- }
- const index = findViaNativeElement(lView, rElement);
- if (index >= 0) {
- const native = unwrapRNode(lView[index]);
- const context = createLContext(lView, index, native);
- attachPatchData(native, context);
- mpValue = context;
- break;
- }
- }
- }
- }
- return mpValue || null;
- }
- /**
- * Creates an empty instance of a `LContext` context
- */
- function createLContext(lView, nodeIndex, native) {
- return new LContext(lView[ID], nodeIndex, native);
- }
- /**
- * Takes a component instance and returns the view for that component.
- *
- * @param componentInstance
- * @returns The component's view
- */
- function getComponentViewByInstance(componentInstance) {
- let patchedData = readPatchedData(componentInstance);
- let lView;
- if (isLView(patchedData)) {
- const contextLView = patchedData;
- const nodeIndex = findViaComponent(contextLView, componentInstance);
- lView = getComponentLViewByIndex(nodeIndex, contextLView);
- const context = createLContext(contextLView, nodeIndex, lView[HOST]);
- context.component = componentInstance;
- attachPatchData(componentInstance, context);
- attachPatchData(context.native, context);
- } else {
- const context = patchedData;
- const contextLView = context.lView;
- ngDevMode && assertLView(contextLView);
- lView = getComponentLViewByIndex(context.nodeIndex, contextLView);
- }
- return lView;
- }
- /**
- * This property will be monkey-patched on elements, components and directives.
- */
- const MONKEY_PATCH_KEY_NAME = '__ngContext__';
- /**
- * Assigns the given data to the given target (which could be a component,
- * directive or DOM node instance) using monkey-patching.
- */
- function attachPatchData(target, data) {
- ngDevMode && assertDefined(target, 'Target expected'); // Only attach the ID of the view in order to avoid memory leaks (see #41047). We only do this
- // for `LView`, because we have control over when an `LView` is created and destroyed, whereas
- // we can't know when to remove an `LContext`.
- if (isLView(data)) {
- target[MONKEY_PATCH_KEY_NAME] = data[ID];
- registerLView(data);
- } else {
- target[MONKEY_PATCH_KEY_NAME] = data;
- }
- }
- /**
- * Returns the monkey-patch value data present on the target (which could be
- * a component, directive or a DOM node).
- */
- function readPatchedData(target) {
- ngDevMode && assertDefined(target, 'Target expected');
- const data = target[MONKEY_PATCH_KEY_NAME];
- return typeof data === 'number' ? getLViewById(data) : data || null;
- }
- function readPatchedLView(target) {
- const value = readPatchedData(target);
- if (value) {
- return isLView(value) ? value : value.lView;
- }
- return null;
- }
- function isComponentInstance(instance) {
- return instance && instance.constructor && instance.constructor.ɵcmp;
- }
- function isDirectiveInstance(instance) {
- return instance && instance.constructor && instance.constructor.ɵdir;
- }
- /**
- * Locates the element within the given LView and returns the matching index
- */
- function findViaNativeElement(lView, target) {
- const tView = lView[TVIEW];
- for (let i = HEADER_OFFSET; i < tView.bindingStartIndex; i++) {
- if (unwrapRNode(lView[i]) === target) {
- return i;
- }
- }
- return -1;
- }
- /**
- * Locates the next tNode (child, sibling or parent).
- */
- function traverseNextElement(tNode) {
- if (tNode.child) {
- return tNode.child;
- } else if (tNode.next) {
- return tNode.next;
- } else {
- // Let's take the following template: <div><span>text</span></div><component/>
- // After checking the text node, we need to find the next parent that has a "next" TNode,
- // in this case the parent `div`, so that we can find the component.
- while (tNode.parent && !tNode.parent.next) {
- tNode = tNode.parent;
- }
- return tNode.parent && tNode.parent.next;
- }
- }
- /**
- * Locates the component within the given LView and returns the matching index
- */
- function findViaComponent(lView, componentInstance) {
- const componentIndices = lView[TVIEW].components;
- if (componentIndices) {
- for (let i = 0; i < componentIndices.length; i++) {
- const elementComponentIndex = componentIndices[i];
- const componentView = getComponentLViewByIndex(elementComponentIndex, lView);
- if (componentView[CONTEXT] === componentInstance) {
- return elementComponentIndex;
- }
- }
- } else {
- const rootComponentView = getComponentLViewByIndex(HEADER_OFFSET, lView);
- const rootComponent = rootComponentView[CONTEXT];
- if (rootComponent === componentInstance) {
- // we are dealing with the root element here therefore we know that the
- // element is the very first element after the HEADER data in the lView
- return HEADER_OFFSET;
- }
- }
- return -1;
- }
- /**
- * Locates the directive within the given LView and returns the matching index
- */
- function findViaDirective(lView, directiveInstance) {
- // if a directive is monkey patched then it will (by default)
- // have a reference to the LView of the current view. The
- // element bound to the directive being search lives somewhere
- // in the view data. We loop through the nodes and check their
- // list of directives for the instance.
- let tNode = lView[TVIEW].firstChild;
- while (tNode) {
- const directiveIndexStart = tNode.directiveStart;
- const directiveIndexEnd = tNode.directiveEnd;
- for (let i = directiveIndexStart; i < directiveIndexEnd; i++) {
- if (lView[i] === directiveInstance) {
- return tNode.index;
- }
- }
- tNode = traverseNextElement(tNode);
- }
- return -1;
- }
- /**
- * Returns a list of directives extracted from the given view based on the
- * provided list of directive index values.
- *
- * @param nodeIndex The node index
- * @param lView The target view data
- * @param includeComponents Whether or not to include components in returned directives
- */
- function getDirectivesAtNodeIndex(nodeIndex, lView, includeComponents) {
- const tNode = lView[TVIEW].data[nodeIndex];
- let directiveStartIndex = tNode.directiveStart;
- if (directiveStartIndex == 0) return EMPTY_ARRAY;
- const directiveEndIndex = tNode.directiveEnd;
- if (!includeComponents && tNode.flags & 2
- /* TNodeFlags.isComponentHost */
- ) directiveStartIndex++;
- return lView.slice(directiveStartIndex, directiveEndIndex);
- }
- function getComponentAtNodeIndex(nodeIndex, lView) {
- const tNode = lView[TVIEW].data[nodeIndex];
- let directiveStartIndex = tNode.directiveStart;
- return tNode.flags & 2
- /* TNodeFlags.isComponentHost */
- ? lView[directiveStartIndex] : null;
- }
- /**
- * Returns a map of local references (local reference name => element or directive instance) that
- * exist on a given element.
- */
- function discoverLocalRefs(lView, nodeIndex) {
- const tNode = lView[TVIEW].data[nodeIndex];
- if (tNode && tNode.localNames) {
- const result = {};
- let localIndex = tNode.index + 1;
- for (let i = 0; i < tNode.localNames.length; i += 2) {
- result[tNode.localNames[i]] = lView[localIndex];
- localIndex++;
- }
- return result;
- }
- return null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- *
- * @codeGenApi
- */
- function ɵɵresolveWindow(element) {
- return element.ownerDocument.defaultView;
- }
- /**
- *
- * @codeGenApi
- */
- function ɵɵresolveDocument(element) {
- return element.ownerDocument;
- }
- /**
- *
- * @codeGenApi
- */
- function ɵɵresolveBody(element) {
- return element.ownerDocument.body;
- }
- /**
- * The special delimiter we use to separate property names, prefixes, and suffixes
- * in property binding metadata. See storeBindingMetadata().
- *
- * We intentionally use the Unicode "REPLACEMENT CHARACTER" (U+FFFD) as a delimiter
- * because it is a very uncommon character that is unlikely to be part of a user's
- * property names or interpolation strings. If it is in fact used in a property
- * binding, DebugElement.properties will not return the correct value for that
- * binding. However, there should be no runtime effect for real applications.
- *
- * This character is typically rendered as a question mark inside of a diamond.
- * See https://en.wikipedia.org/wiki/Specials_(Unicode_block)
- *
- */
- const INTERPOLATION_DELIMITER = `�`;
- /**
- * Unwrap a value which might be behind a closure (for forward declaration reasons).
- */
- function maybeUnwrapFn(value) {
- if (value instanceof Function) {
- return value();
- } else {
- return value;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /** Verifies that a given type is a Standalone Component. */
- function assertStandaloneComponentType(type) {
- assertComponentDef(type);
- const componentDef = getComponentDef(type);
- if (!componentDef.standalone) {
- throw new RuntimeError(907
- /* RuntimeErrorCode.TYPE_IS_NOT_STANDALONE */
- , `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.`);
- }
- }
- /** Verifies whether a given type is a component */
- function assertComponentDef(type) {
- if (!getComponentDef(type)) {
- throw new RuntimeError(906
- /* RuntimeErrorCode.MISSING_GENERATED_DEF */
- , `The ${stringifyForError(type)} is not an Angular component, ` + `make sure it has the \`@Component\` decorator.`);
- }
- }
- /** Called when there are multiple component selectors that match a given node */
- function throwMultipleComponentError(tNode, first, second) {
- throw new RuntimeError(-300
- /* RuntimeErrorCode.MULTIPLE_COMPONENTS_MATCH */
- , `Multiple components match node with tagname ${tNode.value}: ` + `${stringifyForError(first)} and ` + `${stringifyForError(second)}`);
- }
- /** Throws an ExpressionChangedAfterChecked error if checkNoChanges mode is on. */
- function throwErrorIfNoChangesMode(creationMode, oldValue, currValue, propName) {
- const field = propName ? ` for '${propName}'` : '';
- let msg = `ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value${field}: '${oldValue}'. Current value: '${currValue}'.`;
- if (creationMode) {
- 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?`;
- }
- throw new RuntimeError(-100
- /* RuntimeErrorCode.EXPRESSION_CHANGED_AFTER_CHECKED */
- , msg);
- }
- function constructDetailsForInterpolation(lView, rootIndex, expressionIndex, meta, changedValue) {
- const [propName, prefix, ...chunks] = meta.split(INTERPOLATION_DELIMITER);
- let oldValue = prefix,
- newValue = prefix;
- for (let i = 0; i < chunks.length; i++) {
- const slotIdx = rootIndex + i;
- oldValue += `${lView[slotIdx]}${chunks[i]}`;
- newValue += `${slotIdx === expressionIndex ? changedValue : lView[slotIdx]}${chunks[i]}`;
- }
- return {
- propName,
- oldValue,
- newValue
- };
- }
- /**
- * Constructs an object that contains details for the ExpressionChangedAfterItHasBeenCheckedError:
- * - property name (for property bindings or interpolations)
- * - old and new values, enriched using information from metadata
- *
- * More information on the metadata storage format can be found in `storePropertyBindingMetadata`
- * function description.
- */
- function getExpressionChangedErrorDetails(lView, bindingIndex, oldValue, newValue) {
- const tData = lView[TVIEW].data;
- const metadata = tData[bindingIndex];
- if (typeof metadata === 'string') {
- // metadata for property interpolation
- if (metadata.indexOf(INTERPOLATION_DELIMITER) > -1) {
- return constructDetailsForInterpolation(lView, bindingIndex, bindingIndex, metadata, newValue);
- } // metadata for property binding
- return {
- propName: metadata,
- oldValue,
- newValue
- };
- } // metadata is not available for this expression, check if this expression is a part of the
- // property interpolation by going from the current binding index left and look for a string that
- // contains INTERPOLATION_DELIMITER, the layout in tView.data for this case will look like this:
- // [..., 'id�Prefix � and � suffix', null, null, null, ...]
- if (metadata === null) {
- let idx = bindingIndex - 1;
- while (typeof tData[idx] !== 'string' && tData[idx + 1] === null) {
- idx--;
- }
- const meta = tData[idx];
- if (typeof meta === 'string') {
- const matches = meta.match(new RegExp(INTERPOLATION_DELIMITER, 'g')); // first interpolation delimiter separates property name from interpolation parts (in case of
- // property interpolations), so we subtract one from total number of found delimiters
- if (matches && matches.length - 1 > bindingIndex - idx) {
- return constructDetailsForInterpolation(lView, idx, bindingIndex, meta, newValue);
- }
- }
- }
- return {
- propName: undefined,
- oldValue,
- newValue
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Flags for renderer-specific style modifiers.
- * @publicApi
- */
- var RendererStyleFlags2;
- (function (RendererStyleFlags2) {
- // TODO(misko): This needs to be refactored into a separate file so that it can be imported from
- // `node_manipulation.ts` Currently doing the import cause resolution order to change and fails
- // the tests. The work around is to have hard coded value in `node_manipulation.ts` for now.
- /**
- * Marks a style as important.
- */
- RendererStyleFlags2[RendererStyleFlags2["Important"] = 1] = "Important";
- /**
- * Marks a style as using dash case naming (this-is-dash-case).
- */
- RendererStyleFlags2[RendererStyleFlags2["DashCase"] = 2] = "DashCase";
- })(RendererStyleFlags2 || (RendererStyleFlags2 = {}));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- let _icuContainerIterate;
- /**
- * Iterator which provides ability to visit all of the `TIcuContainerNode` root `RNode`s.
- */
- function icuContainerIterate(tIcuContainerNode, lView) {
- return _icuContainerIterate(tIcuContainerNode, lView);
- }
- /**
- * Ensures that `IcuContainerVisitor`'s implementation is present.
- *
- * This function is invoked when i18n instruction comes across an ICU. The purpose is to allow the
- * bundler to tree shake ICU logic and only load it if ICU instruction is executed.
- */
- function ensureIcuContainerVisitorLoaded(loader) {
- if (_icuContainerIterate === undefined) {
- // Do not inline this function. We want to keep `ensureIcuContainerVisitorLoaded` light, so it
- // can be inlined into call-site.
- _icuContainerIterate = loader();
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd$4 = 1;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd$3 = 1;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Gets the parent LView of the passed LView, if the PARENT is an LContainer, will get the parent of
- * that LContainer, which is an LView
- * @param lView the lView whose parent to get
- */
- function getLViewParent(lView) {
- ngDevMode && assertLView(lView);
- const parent = lView[PARENT];
- return isLContainer(parent) ? parent[PARENT] : parent;
- }
- /**
- * Retrieve the root view from any component or `LView` by walking the parent `LView` until
- * reaching the root `LView`.
- *
- * @param componentOrLView any component or `LView`
- */
- function getRootView(componentOrLView) {
- ngDevMode && assertDefined(componentOrLView, 'component');
- let lView = isLView(componentOrLView) ? componentOrLView : readPatchedLView(componentOrLView);
- while (lView && !(lView[FLAGS] & 256
- /* LViewFlags.IsRoot */
- )) {
- lView = getLViewParent(lView);
- }
- ngDevMode && assertLView(lView);
- return lView;
- }
- /**
- * Returns the context information associated with the application where the target is situated. It
- * does this by walking the parent views until it gets to the root view, then getting the context
- * off of that.
- *
- * @param viewOrComponent the `LView` or component to get the root context for.
- */
- function getRootContext(viewOrComponent) {
- const rootView = getRootView(viewOrComponent);
- ngDevMode && assertDefined(rootView[CONTEXT], 'Root view has no context. Perhaps it is disconnected?');
- return rootView[CONTEXT];
- }
- /**
- * Gets the first `LContainer` in the LView or `null` if none exists.
- */
- function getFirstLContainer(lView) {
- return getNearestLContainer(lView[CHILD_HEAD]);
- }
- /**
- * Gets the next `LContainer` that is a sibling of the given container.
- */
- function getNextLContainer(container) {
- return getNearestLContainer(container[NEXT]);
- }
- function getNearestLContainer(viewOrContainer) {
- while (viewOrContainer !== null && !isLContainer(viewOrContainer)) {
- viewOrContainer = viewOrContainer[NEXT];
- }
- return viewOrContainer;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const unusedValueToPlacateAjd$2 = unusedValueExportToPlacateAjd$8 + unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$3 + unusedValueExportToPlacateAjd$7;
- /**
- * NOTE: for performance reasons, the possible actions are inlined within the function instead of
- * being passed as an argument.
- */
- function applyToElementOrContainer(action, renderer, parent, lNodeToHandle, beforeNode) {
- // If this slot was allocated for a text node dynamically created by i18n, the text node itself
- // won't be created until i18nApply() in the update block, so this node should be skipped.
- // For more info, see "ICU expressions should work inside an ngTemplateOutlet inside an ngFor"
- // in `i18n_spec.ts`.
- if (lNodeToHandle != null) {
- let lContainer;
- let isComponent = false; // We are expecting an RNode, but in the case of a component or LContainer the `RNode` is
- // wrapped in an array which needs to be unwrapped. We need to know if it is a component and if
- // it has LContainer so that we can process all of those cases appropriately.
- if (isLContainer(lNodeToHandle)) {
- lContainer = lNodeToHandle;
- } else if (isLView(lNodeToHandle)) {
- isComponent = true;
- ngDevMode && assertDefined(lNodeToHandle[HOST], 'HOST must be defined for a component LView');
- lNodeToHandle = lNodeToHandle[HOST];
- }
- const rNode = unwrapRNode(lNodeToHandle);
- if (action === 0
- /* WalkTNodeTreeAction.Create */
- && parent !== null) {
- if (beforeNode == null) {
- nativeAppendChild(renderer, parent, rNode);
- } else {
- nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);
- }
- } else if (action === 1
- /* WalkTNodeTreeAction.Insert */
- && parent !== null) {
- nativeInsertBefore(renderer, parent, rNode, beforeNode || null, true);
- } else if (action === 2
- /* WalkTNodeTreeAction.Detach */
- ) {
- nativeRemoveNode(renderer, rNode, isComponent);
- } else if (action === 3
- /* WalkTNodeTreeAction.Destroy */
- ) {
- ngDevMode && ngDevMode.rendererDestroyNode++;
- renderer.destroyNode(rNode);
- }
- if (lContainer != null) {
- applyContainer(renderer, action, lContainer, parent, beforeNode);
- }
- }
- }
- function createTextNode(renderer, value) {
- ngDevMode && ngDevMode.rendererCreateTextNode++;
- ngDevMode && ngDevMode.rendererSetText++;
- return renderer.createText(value);
- }
- function updateTextNode(renderer, rNode, value) {
- ngDevMode && ngDevMode.rendererSetText++;
- renderer.setValue(rNode, value);
- }
- function createCommentNode(renderer, value) {
- ngDevMode && ngDevMode.rendererCreateComment++;
- return renderer.createComment(escapeCommentText(value));
- }
- /**
- * Creates a native element from a tag name, using a renderer.
- * @param renderer A renderer to use
- * @param name the tag name
- * @param namespace Optional namespace for element.
- * @returns the element created
- */
- function createElementNode(renderer, name, namespace) {
- ngDevMode && ngDevMode.rendererCreateElement++;
- return renderer.createElement(name, namespace);
- }
- /**
- * Removes all DOM elements associated with a view.
- *
- * Because some root nodes of the view may be containers, we sometimes need
- * to propagate deeply into the nested containers to remove all elements in the
- * views beneath it.
- *
- * @param tView The `TView' of the `LView` from which elements should be added or removed
- * @param lView The view from which elements should be added or removed
- */
- function removeViewFromContainer(tView, lView) {
- const renderer = lView[RENDERER];
- applyView(tView, lView, renderer, 2
- /* WalkTNodeTreeAction.Detach */
- , null, null);
- lView[HOST] = null;
- lView[T_HOST] = null;
- }
- /**
- * Adds all DOM elements associated with a view.
- *
- * Because some root nodes of the view may be containers, we sometimes need
- * to propagate deeply into the nested containers to add all elements in the
- * views beneath it.
- *
- * @param tView The `TView' of the `LView` from which elements should be added or removed
- * @param parentTNode The `TNode` where the `LView` should be attached to.
- * @param renderer Current renderer to use for DOM manipulations.
- * @param lView The view from which elements should be added or removed
- * @param parentNativeNode The parent `RElement` where it should be inserted into.
- * @param beforeNode The node before which elements should be added, if insert mode
- */
- function addViewToContainer(tView, parentTNode, renderer, lView, parentNativeNode, beforeNode) {
- lView[HOST] = parentNativeNode;
- lView[T_HOST] = parentTNode;
- applyView(tView, lView, renderer, 1
- /* WalkTNodeTreeAction.Insert */
- , parentNativeNode, beforeNode);
- }
- /**
- * Detach a `LView` from the DOM by detaching its nodes.
- *
- * @param tView The `TView' of the `LView` to be detached
- * @param lView the `LView` to be detached.
- */
- function renderDetachView(tView, lView) {
- applyView(tView, lView, lView[RENDERER], 2
- /* WalkTNodeTreeAction.Detach */
- , null, null);
- }
- /**
- * Traverses down and up the tree of views and containers to remove listeners and
- * call onDestroy callbacks.
- *
- * Notes:
- * - Because it's used for onDestroy calls, it needs to be bottom-up.
- * - Must process containers instead of their views to avoid splicing
- * when views are destroyed and re-added.
- * - Using a while loop because it's faster than recursion
- * - Destroy only called on movement to sibling or movement to parent (laterally or up)
- *
- * @param rootView The view to destroy
- */
- function destroyViewTree(rootView) {
- // If the view has no children, we can clean it up and return early.
- let lViewOrLContainer = rootView[CHILD_HEAD];
- if (!lViewOrLContainer) {
- return cleanUpView(rootView[TVIEW], rootView);
- }
- while (lViewOrLContainer) {
- let next = null;
- if (isLView(lViewOrLContainer)) {
- // If LView, traverse down to child.
- next = lViewOrLContainer[CHILD_HEAD];
- } else {
- ngDevMode && assertLContainer(lViewOrLContainer); // If container, traverse down to its first LView.
- const firstView = lViewOrLContainer[CONTAINER_HEADER_OFFSET];
- if (firstView) next = firstView;
- }
- if (!next) {
- // Only clean up view when moving to the side or up, as destroy hooks
- // should be called in order from the bottom up.
- while (lViewOrLContainer && !lViewOrLContainer[NEXT] && lViewOrLContainer !== rootView) {
- if (isLView(lViewOrLContainer)) {
- cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);
- }
- lViewOrLContainer = lViewOrLContainer[PARENT];
- }
- if (lViewOrLContainer === null) lViewOrLContainer = rootView;
- if (isLView(lViewOrLContainer)) {
- cleanUpView(lViewOrLContainer[TVIEW], lViewOrLContainer);
- }
- next = lViewOrLContainer && lViewOrLContainer[NEXT];
- }
- lViewOrLContainer = next;
- }
- }
- /**
- * Inserts a view into a container.
- *
- * This adds the view to the container's array of active views in the correct
- * position. It also adds the view's elements to the DOM if the container isn't a
- * root node of another view (in that case, the view's elements will be added when
- * the container's parent view is added later).
- *
- * @param tView The `TView' of the `LView` to insert
- * @param lView The view to insert
- * @param lContainer The container into which the view should be inserted
- * @param index Which index in the container to insert the child view into
- */
- function insertView(tView, lView, lContainer, index) {
- ngDevMode && assertLView(lView);
- ngDevMode && assertLContainer(lContainer);
- const indexInContainer = CONTAINER_HEADER_OFFSET + index;
- const containerLength = lContainer.length;
- if (index > 0) {
- // This is a new view, we need to add it to the children.
- lContainer[indexInContainer - 1][NEXT] = lView;
- }
- if (index < containerLength - CONTAINER_HEADER_OFFSET) {
- lView[NEXT] = lContainer[indexInContainer];
- addToArray(lContainer, CONTAINER_HEADER_OFFSET + index, lView);
- } else {
- lContainer.push(lView);
- lView[NEXT] = null;
- }
- lView[PARENT] = lContainer; // track views where declaration and insertion points are different
- const declarationLContainer = lView[DECLARATION_LCONTAINER];
- if (declarationLContainer !== null && lContainer !== declarationLContainer) {
- trackMovedView(declarationLContainer, lView);
- } // notify query that a new view has been added
- const lQueries = lView[QUERIES];
- if (lQueries !== null) {
- lQueries.insertView(tView);
- } // Sets the attached flag
- lView[FLAGS] |= 64
- /* LViewFlags.Attached */
- ;
- }
- /**
- * Track views created from the declaration container (TemplateRef) and inserted into a
- * different LContainer.
- */
- function trackMovedView(declarationContainer, lView) {
- ngDevMode && assertDefined(lView, 'LView required');
- ngDevMode && assertLContainer(declarationContainer);
- const movedViews = declarationContainer[MOVED_VIEWS];
- const insertedLContainer = lView[PARENT];
- ngDevMode && assertLContainer(insertedLContainer);
- const insertedComponentLView = insertedLContainer[PARENT][DECLARATION_COMPONENT_VIEW];
- ngDevMode && assertDefined(insertedComponentLView, 'Missing insertedComponentLView');
- const declaredComponentLView = lView[DECLARATION_COMPONENT_VIEW];
- ngDevMode && assertDefined(declaredComponentLView, 'Missing declaredComponentLView');
- if (declaredComponentLView !== insertedComponentLView) {
- // At this point the declaration-component is not same as insertion-component; this means that
- // this is a transplanted view. Mark the declared lView as having transplanted views so that
- // those views can participate in CD.
- declarationContainer[HAS_TRANSPLANTED_VIEWS] = true;
- }
- if (movedViews === null) {
- declarationContainer[MOVED_VIEWS] = [lView];
- } else {
- movedViews.push(lView);
- }
- }
- function detachMovedView(declarationContainer, lView) {
- ngDevMode && assertLContainer(declarationContainer);
- ngDevMode && assertDefined(declarationContainer[MOVED_VIEWS], 'A projected view should belong to a non-empty projected views collection');
- const movedViews = declarationContainer[MOVED_VIEWS];
- const declarationViewIndex = movedViews.indexOf(lView);
- const insertionLContainer = lView[PARENT];
- ngDevMode && assertLContainer(insertionLContainer); // If the view was marked for refresh but then detached before it was checked (where the flag
- // would be cleared and the counter decremented), we need to decrement the view counter here
- // instead.
- if (lView[FLAGS] & 512
- /* LViewFlags.RefreshTransplantedView */
- ) {
- lView[FLAGS] &= ~512
- /* LViewFlags.RefreshTransplantedView */
- ;
- updateTransplantedViewCount(insertionLContainer, -1);
- }
- movedViews.splice(declarationViewIndex, 1);
- }
- /**
- * Detaches a view from a container.
- *
- * This method removes the view from the container's array of active views. It also
- * removes the view's elements from the DOM.
- *
- * @param lContainer The container from which to detach a view
- * @param removeIndex The index of the view to detach
- * @returns Detached LView instance.
- */
- function detachView(lContainer, removeIndex) {
- if (lContainer.length <= CONTAINER_HEADER_OFFSET) return;
- const indexInContainer = CONTAINER_HEADER_OFFSET + removeIndex;
- const viewToDetach = lContainer[indexInContainer];
- if (viewToDetach) {
- const declarationLContainer = viewToDetach[DECLARATION_LCONTAINER];
- if (declarationLContainer !== null && declarationLContainer !== lContainer) {
- detachMovedView(declarationLContainer, viewToDetach);
- }
- if (removeIndex > 0) {
- lContainer[indexInContainer - 1][NEXT] = viewToDetach[NEXT];
- }
- const removedLView = removeFromArray(lContainer, CONTAINER_HEADER_OFFSET + removeIndex);
- removeViewFromContainer(viewToDetach[TVIEW], viewToDetach); // notify query that a view has been removed
- const lQueries = removedLView[QUERIES];
- if (lQueries !== null) {
- lQueries.detachView(removedLView[TVIEW]);
- }
- viewToDetach[PARENT] = null;
- viewToDetach[NEXT] = null; // Unsets the attached flag
- viewToDetach[FLAGS] &= ~64
- /* LViewFlags.Attached */
- ;
- }
- return viewToDetach;
- }
- /**
- * A standalone function which destroys an LView,
- * conducting clean up (e.g. removing listeners, calling onDestroys).
- *
- * @param tView The `TView' of the `LView` to be destroyed
- * @param lView The view to be destroyed.
- */
- function destroyLView(tView, lView) {
- if (!(lView[FLAGS] & 128
- /* LViewFlags.Destroyed */
- )) {
- const renderer = lView[RENDERER];
- if (renderer.destroyNode) {
- applyView(tView, lView, renderer, 3
- /* WalkTNodeTreeAction.Destroy */
- , null, null);
- }
- destroyViewTree(lView);
- }
- }
- /**
- * Calls onDestroys hooks for all directives and pipes in a given view and then removes all
- * listeners. Listeners are removed as the last step so events delivered in the onDestroys hooks
- * can be propagated to @Output listeners.
- *
- * @param tView `TView` for the `LView` to clean up.
- * @param lView The LView to clean up
- */
- function cleanUpView(tView, lView) {
- if (!(lView[FLAGS] & 128
- /* LViewFlags.Destroyed */
- )) {
- // Usually the Attached flag is removed when the view is detached from its parent, however
- // if it's a root view, the flag won't be unset hence why we're also removing on destroy.
- lView[FLAGS] &= ~64
- /* LViewFlags.Attached */
- ; // Mark the LView as destroyed *before* executing the onDestroy hooks. An onDestroy hook
- // runs arbitrary user code, which could include its own `viewRef.destroy()` (or similar). If
- // We don't flag the view as destroyed before the hooks, this could lead to an infinite loop.
- // This also aligns with the ViewEngine behavior. It also means that the onDestroy hook is
- // really more of an "afterDestroy" hook if you think about it.
- lView[FLAGS] |= 128
- /* LViewFlags.Destroyed */
- ;
- executeOnDestroys(tView, lView);
- processCleanups(tView, lView); // For component views only, the local renderer is destroyed at clean up time.
- if (lView[TVIEW].type === 1
- /* TViewType.Component */
- ) {
- ngDevMode && ngDevMode.rendererDestroy++;
- lView[RENDERER].destroy();
- }
- const declarationContainer = lView[DECLARATION_LCONTAINER]; // we are dealing with an embedded view that is still inserted into a container
- if (declarationContainer !== null && isLContainer(lView[PARENT])) {
- // and this is a projected view
- if (declarationContainer !== lView[PARENT]) {
- detachMovedView(declarationContainer, lView);
- } // For embedded views still attached to a container: remove query result from this view.
- const lQueries = lView[QUERIES];
- if (lQueries !== null) {
- lQueries.detachView(tView);
- }
- } // Unregister the view once everything else has been cleaned up.
- unregisterLView(lView);
- }
- }
- /** Removes listeners and unsubscribes from output subscriptions */
- function processCleanups(tView, lView) {
- const tCleanup = tView.cleanup;
- const lCleanup = lView[CLEANUP]; // `LCleanup` contains both share information with `TCleanup` as well as instance specific
- // information appended at the end. We need to know where the end of the `TCleanup` information
- // is, and we track this with `lastLCleanupIndex`.
- let lastLCleanupIndex = -1;
- if (tCleanup !== null) {
- for (let i = 0; i < tCleanup.length - 1; i += 2) {
- if (typeof tCleanup[i] === 'string') {
- // This is a native DOM listener
- const idxOrTargetGetter = tCleanup[i + 1];
- const target = typeof idxOrTargetGetter === 'function' ? idxOrTargetGetter(lView) : unwrapRNode(lView[idxOrTargetGetter]);
- const listener = lCleanup[lastLCleanupIndex = tCleanup[i + 2]];
- const useCaptureOrSubIdx = tCleanup[i + 3];
- if (typeof useCaptureOrSubIdx === 'boolean') {
- // native DOM listener registered with Renderer3
- target.removeEventListener(tCleanup[i], listener, useCaptureOrSubIdx);
- } else {
- if (useCaptureOrSubIdx >= 0) {
- // unregister
- lCleanup[lastLCleanupIndex = useCaptureOrSubIdx]();
- } else {
- // Subscription
- lCleanup[lastLCleanupIndex = -useCaptureOrSubIdx].unsubscribe();
- }
- }
- i += 2;
- } else {
- // This is a cleanup function that is grouped with the index of its context
- const context = lCleanup[lastLCleanupIndex = tCleanup[i + 1]];
- tCleanup[i].call(context);
- }
- }
- }
- if (lCleanup !== null) {
- for (let i = lastLCleanupIndex + 1; i < lCleanup.length; i++) {
- const instanceCleanupFn = lCleanup[i];
- ngDevMode && assertFunction(instanceCleanupFn, 'Expecting instance cleanup function.');
- instanceCleanupFn();
- }
- lView[CLEANUP] = null;
- }
- }
- /** Calls onDestroy hooks for this view */
- function executeOnDestroys(tView, lView) {
- let destroyHooks;
- if (tView != null && (destroyHooks = tView.destroyHooks) != null) {
- for (let i = 0; i < destroyHooks.length; i += 2) {
- const context = lView[destroyHooks[i]]; // Only call the destroy hook if the context has been requested.
- if (!(context instanceof NodeInjectorFactory)) {
- const toCall = destroyHooks[i + 1];
- if (Array.isArray(toCall)) {
- for (let j = 0; j < toCall.length; j += 2) {
- const callContext = context[toCall[j]];
- const hook = toCall[j + 1];
- profiler(4
- /* ProfilerEvent.LifecycleHookStart */
- , callContext, hook);
- try {
- hook.call(callContext);
- } finally {
- profiler(5
- /* ProfilerEvent.LifecycleHookEnd */
- , callContext, hook);
- }
- }
- } else {
- profiler(4
- /* ProfilerEvent.LifecycleHookStart */
- , context, toCall);
- try {
- toCall.call(context);
- } finally {
- profiler(5
- /* ProfilerEvent.LifecycleHookEnd */
- , context, toCall);
- }
- }
- }
- }
- }
- }
- /**
- * Returns a native element if a node can be inserted into the given parent.
- *
- * There are two reasons why we may not be able to insert a element immediately.
- * - Projection: When creating a child content element of a component, we have to skip the
- * insertion because the content of a component will be projected.
- * `<component><content>delayed due to projection</content></component>`
- * - Parent container is disconnected: This can happen when we are inserting a view into
- * parent container, which itself is disconnected. For example the parent container is part
- * of a View which has not be inserted or is made for projection but has not been inserted
- * into destination.
- *
- * @param tView: Current `TView`.
- * @param tNode: `TNode` for which we wish to retrieve render parent.
- * @param lView: Current `LView`.
- */
- function getParentRElement(tView, tNode, lView) {
- return getClosestRElement(tView, tNode.parent, lView);
- }
- /**
- * Get closest `RElement` or `null` if it can't be found.
- *
- * If `TNode` is `TNodeType.Element` => return `RElement` at `LView[tNode.index]` location.
- * If `TNode` is `TNodeType.ElementContainer|IcuContain` => return the parent (recursively).
- * If `TNode` is `null` then return host `RElement`:
- * - return `null` if projection
- * - return `null` if parent container is disconnected (we have no parent.)
- *
- * @param tView: Current `TView`.
- * @param tNode: `TNode` for which we wish to retrieve `RElement` (or `null` if host element is
- * needed).
- * @param lView: Current `LView`.
- * @returns `null` if the `RElement` can't be determined at this time (no parent / projection)
- */
- function getClosestRElement(tView, tNode, lView) {
- let parentTNode = tNode; // Skip over element and ICU containers as those are represented by a comment node and
- // can't be used as a render parent.
- while (parentTNode !== null && parentTNode.type & (8
- /* TNodeType.ElementContainer */
- | 32
- /* TNodeType.Icu */
- )) {
- tNode = parentTNode;
- parentTNode = tNode.parent;
- } // If the parent tNode is null, then we are inserting across views: either into an embedded view
- // or a component view.
- if (parentTNode === null) {
- // We are inserting a root element of the component view into the component host element and
- // it should always be eager.
- return lView[HOST];
- } else {
- ngDevMode && assertTNodeType(parentTNode, 3
- /* TNodeType.AnyRNode */
- | 4
- /* TNodeType.Container */
- );
- if (parentTNode.flags & 2
- /* TNodeFlags.isComponentHost */
- ) {
- ngDevMode && assertTNodeForLView(parentTNode, lView);
- 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
- // parent element is not a component. Component's content nodes are not inserted immediately
- // because they will be projected, and so doing insert at this point would be wasteful.
- // Since the projection would then move it to its final destination. Note that we can't
- // make this assumption when using the Shadow DOM, because the native projection placeholders
- // (<content> or <slot>) have to be in place as elements are being inserted.
- if (encapsulation === ViewEncapsulation$1.None || encapsulation === ViewEncapsulation$1.Emulated) {
- return null;
- }
- }
- return getNativeByTNode(parentTNode, lView);
- }
- }
- /**
- * Inserts a native node before another native node for a given parent.
- * This is a utility function that can be used when native nodes were determined.
- */
- function nativeInsertBefore(renderer, parent, child, beforeNode, isMove) {
- ngDevMode && ngDevMode.rendererInsertBefore++;
- renderer.insertBefore(parent, child, beforeNode, isMove);
- }
- function nativeAppendChild(renderer, parent, child) {
- ngDevMode && ngDevMode.rendererAppendChild++;
- ngDevMode && assertDefined(parent, 'parent node must be defined');
- renderer.appendChild(parent, child);
- }
- function nativeAppendOrInsertBefore(renderer, parent, child, beforeNode, isMove) {
- if (beforeNode !== null) {
- nativeInsertBefore(renderer, parent, child, beforeNode, isMove);
- } else {
- nativeAppendChild(renderer, parent, child);
- }
- }
- /** Removes a node from the DOM given its native parent. */
- function nativeRemoveChild(renderer, parent, child, isHostElement) {
- renderer.removeChild(parent, child, isHostElement);
- }
- /** Checks if an element is a `<template>` node. */
- function isTemplateNode(node) {
- return node.tagName === 'TEMPLATE' && node.content !== undefined;
- }
- /**
- * Returns a native parent of a given native node.
- */
- function nativeParentNode(renderer, node) {
- return renderer.parentNode(node);
- }
- /**
- * Returns a native sibling of a given native node.
- */
- function nativeNextSibling(renderer, node) {
- return renderer.nextSibling(node);
- }
- /**
- * Find a node in front of which `currentTNode` should be inserted.
- *
- * This method determines the `RNode` in front of which we should insert the `currentRNode`. This
- * takes `TNode.insertBeforeIndex` into account if i18n code has been invoked.
- *
- * @param parentTNode parent `TNode`
- * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)
- * @param lView current `LView`
- */
- function getInsertInFrontOfRNode(parentTNode, currentTNode, lView) {
- return _getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView);
- }
- /**
- * Find a node in front of which `currentTNode` should be inserted. (Does not take i18n into
- * account)
- *
- * This method determines the `RNode` in front of which we should insert the `currentRNode`. This
- * does not take `TNode.insertBeforeIndex` into account.
- *
- * @param parentTNode parent `TNode`
- * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)
- * @param lView current `LView`
- */
- function getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView) {
- if (parentTNode.type & (8
- /* TNodeType.ElementContainer */
- | 32
- /* TNodeType.Icu */
- )) {
- return getNativeByTNode(parentTNode, lView);
- }
- return null;
- }
- /**
- * Tree shakable boundary for `getInsertInFrontOfRNodeWithI18n` function.
- *
- * This function will only be set if i18n code runs.
- */
- let _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithNoI18n;
- /**
- * Tree shakable boundary for `processI18nInsertBefore` function.
- *
- * This function will only be set if i18n code runs.
- */
- let _processI18nInsertBefore;
- function setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore) {
- _getInsertInFrontOfRNodeWithI18n = getInsertInFrontOfRNodeWithI18n;
- _processI18nInsertBefore = processI18nInsertBefore;
- }
- /**
- * Appends the `child` native node (or a collection of nodes) to the `parent`.
- *
- * @param tView The `TView' to be appended
- * @param lView The current LView
- * @param childRNode The native child (or children) that should be appended
- * @param childTNode The TNode of the child element
- */
- function appendChild(tView, lView, childRNode, childTNode) {
- const parentRNode = getParentRElement(tView, childTNode, lView);
- const renderer = lView[RENDERER];
- const parentTNode = childTNode.parent || lView[T_HOST];
- const anchorNode = getInsertInFrontOfRNode(parentTNode, childTNode, lView);
- if (parentRNode != null) {
- if (Array.isArray(childRNode)) {
- for (let i = 0; i < childRNode.length; i++) {
- nativeAppendOrInsertBefore(renderer, parentRNode, childRNode[i], anchorNode, false);
- }
- } else {
- nativeAppendOrInsertBefore(renderer, parentRNode, childRNode, anchorNode, false);
- }
- }
- _processI18nInsertBefore !== undefined && _processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRNode);
- }
- /**
- * Returns the first native node for a given LView, starting from the provided TNode.
- *
- * Native nodes are returned in the order in which those appear in the native tree (DOM).
- */
- function getFirstNativeNode(lView, tNode) {
- if (tNode !== null) {
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- | 12
- /* TNodeType.AnyContainer */
- | 32
- /* TNodeType.Icu */
- | 16
- /* TNodeType.Projection */
- );
- const tNodeType = tNode.type;
- if (tNodeType & 3
- /* TNodeType.AnyRNode */
- ) {
- return getNativeByTNode(tNode, lView);
- } else if (tNodeType & 4
- /* TNodeType.Container */
- ) {
- return getBeforeNodeForView(-1, lView[tNode.index]);
- } else if (tNodeType & 8
- /* TNodeType.ElementContainer */
- ) {
- const elIcuContainerChild = tNode.child;
- if (elIcuContainerChild !== null) {
- return getFirstNativeNode(lView, elIcuContainerChild);
- } else {
- const rNodeOrLContainer = lView[tNode.index];
- if (isLContainer(rNodeOrLContainer)) {
- return getBeforeNodeForView(-1, rNodeOrLContainer);
- } else {
- return unwrapRNode(rNodeOrLContainer);
- }
- }
- } else if (tNodeType & 32
- /* TNodeType.Icu */
- ) {
- let nextRNode = icuContainerIterate(tNode, lView);
- let rNode = nextRNode(); // If the ICU container has no nodes, than we use the ICU anchor as the node.
- return rNode || unwrapRNode(lView[tNode.index]);
- } else {
- const projectionNodes = getProjectionNodes(lView, tNode);
- if (projectionNodes !== null) {
- if (Array.isArray(projectionNodes)) {
- return projectionNodes[0];
- }
- const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);
- ngDevMode && assertParentView(parentView);
- return getFirstNativeNode(parentView, projectionNodes);
- } else {
- return getFirstNativeNode(lView, tNode.next);
- }
- }
- }
- return null;
- }
- function getProjectionNodes(lView, tNode) {
- if (tNode !== null) {
- const componentView = lView[DECLARATION_COMPONENT_VIEW];
- const componentHost = componentView[T_HOST];
- const slotIdx = tNode.projection;
- ngDevMode && assertProjectionSlots(lView);
- return componentHost.projection[slotIdx];
- }
- return null;
- }
- function getBeforeNodeForView(viewIndexInContainer, lContainer) {
- const nextViewIndex = CONTAINER_HEADER_OFFSET + viewIndexInContainer + 1;
- if (nextViewIndex < lContainer.length) {
- const lView = lContainer[nextViewIndex];
- const firstTNodeOfView = lView[TVIEW].firstChild;
- if (firstTNodeOfView !== null) {
- return getFirstNativeNode(lView, firstTNodeOfView);
- }
- }
- return lContainer[NATIVE];
- }
- /**
- * Removes a native node itself using a given renderer. To remove the node we are looking up its
- * parent from the native tree as not all platforms / browsers support the equivalent of
- * node.remove().
- *
- * @param renderer A renderer to be used
- * @param rNode The native node that should be removed
- * @param isHostElement A flag indicating if a node to be removed is a host of a component.
- */
- function nativeRemoveNode(renderer, rNode, isHostElement) {
- ngDevMode && ngDevMode.rendererRemoveNode++;
- const nativeParent = nativeParentNode(renderer, rNode);
- if (nativeParent) {
- nativeRemoveChild(renderer, nativeParent, rNode, isHostElement);
- }
- }
- /**
- * Performs the operation of `action` on the node. Typically this involves inserting or removing
- * nodes on the LView or projection boundary.
- */
- function applyNodes(renderer, action, tNode, lView, parentRElement, beforeNode, isProjection) {
- while (tNode != null) {
- ngDevMode && assertTNodeForLView(tNode, lView);
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- | 12
- /* TNodeType.AnyContainer */
- | 16
- /* TNodeType.Projection */
- | 32
- /* TNodeType.Icu */
- );
- const rawSlotValue = lView[tNode.index];
- const tNodeType = tNode.type;
- if (isProjection) {
- if (action === 0
- /* WalkTNodeTreeAction.Create */
- ) {
- rawSlotValue && attachPatchData(unwrapRNode(rawSlotValue), lView);
- tNode.flags |= 4
- /* TNodeFlags.isProjected */
- ;
- }
- }
- if ((tNode.flags & 64
- /* TNodeFlags.isDetached */
- ) !== 64
- /* TNodeFlags.isDetached */
- ) {
- if (tNodeType & 8
- /* TNodeType.ElementContainer */
- ) {
- applyNodes(renderer, action, tNode.child, lView, parentRElement, beforeNode, false);
- applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);
- } else if (tNodeType & 32
- /* TNodeType.Icu */
- ) {
- const nextRNode = icuContainerIterate(tNode, lView);
- let rNode;
- while (rNode = nextRNode()) {
- applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode);
- }
- applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);
- } else if (tNodeType & 16
- /* TNodeType.Projection */
- ) {
- applyProjectionRecursive(renderer, action, lView, tNode, parentRElement, beforeNode);
- } else {
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- | 4
- /* TNodeType.Container */
- );
- applyToElementOrContainer(action, renderer, parentRElement, rawSlotValue, beforeNode);
- }
- }
- tNode = isProjection ? tNode.projectionNext : tNode.next;
- }
- }
- function applyView(tView, lView, renderer, action, parentRElement, beforeNode) {
- applyNodes(renderer, action, tView.firstChild, lView, parentRElement, beforeNode, false);
- }
- /**
- * `applyProjection` performs operation on the projection.
- *
- * Inserting a projection requires us to locate the projected nodes from the parent component. The
- * complication is that those nodes themselves could be re-projected from their parent component.
- *
- * @param tView The `TView` of `LView` which needs to be inserted, detached, destroyed
- * @param lView The `LView` which needs to be inserted, detached, destroyed.
- * @param tProjectionNode node to project
- */
- function applyProjection(tView, lView, tProjectionNode) {
- const renderer = lView[RENDERER];
- const parentRNode = getParentRElement(tView, tProjectionNode, lView);
- const parentTNode = tProjectionNode.parent || lView[T_HOST];
- let beforeNode = getInsertInFrontOfRNode(parentTNode, tProjectionNode, lView);
- applyProjectionRecursive(renderer, 0
- /* WalkTNodeTreeAction.Create */
- , lView, tProjectionNode, parentRNode, beforeNode);
- }
- /**
- * `applyProjectionRecursive` performs operation on the projection specified by `action` (insert,
- * detach, destroy)
- *
- * Inserting a projection requires us to locate the projected nodes from the parent component. The
- * complication is that those nodes themselves could be re-projected from their parent component.
- *
- * @param renderer Render to use
- * @param action action to perform (insert, detach, destroy)
- * @param lView The LView which needs to be inserted, detached, destroyed.
- * @param tProjectionNode node to project
- * @param parentRElement parent DOM element for insertion/removal.
- * @param beforeNode Before which node the insertions should happen.
- */
- function applyProjectionRecursive(renderer, action, lView, tProjectionNode, parentRElement, beforeNode) {
- const componentLView = lView[DECLARATION_COMPONENT_VIEW];
- const componentNode = componentLView[T_HOST];
- ngDevMode && assertEqual(typeof tProjectionNode.projection, 'number', 'expecting projection index');
- const nodeToProjectOrRNodes = componentNode.projection[tProjectionNode.projection];
- if (Array.isArray(nodeToProjectOrRNodes)) {
- // This should not exist, it is a bit of a hack. When we bootstrap a top level node and we
- // need to support passing projectable nodes, so we cheat and put them in the TNode
- // of the Host TView. (Yes we put instance info at the T Level). We can get away with it
- // because we know that that TView is not shared and therefore it will not be a problem.
- // This should be refactored and cleaned up.
- for (let i = 0; i < nodeToProjectOrRNodes.length; i++) {
- const rNode = nodeToProjectOrRNodes[i];
- applyToElementOrContainer(action, renderer, parentRElement, rNode, beforeNode);
- }
- } else {
- let nodeToProject = nodeToProjectOrRNodes;
- const projectedComponentLView = componentLView[PARENT];
- applyNodes(renderer, action, nodeToProject, projectedComponentLView, parentRElement, beforeNode, true);
- }
- }
- /**
- * `applyContainer` performs an operation on the container and its views as specified by
- * `action` (insert, detach, destroy)
- *
- * Inserting a Container is complicated by the fact that the container may have Views which
- * themselves have containers or projections.
- *
- * @param renderer Renderer to use
- * @param action action to perform (insert, detach, destroy)
- * @param lContainer The LContainer which needs to be inserted, detached, destroyed.
- * @param parentRElement parent DOM element for insertion/removal.
- * @param beforeNode Before which node the insertions should happen.
- */
- function applyContainer(renderer, action, lContainer, parentRElement, beforeNode) {
- ngDevMode && assertLContainer(lContainer);
- const anchor = lContainer[NATIVE]; // LContainer has its own before node.
- const native = unwrapRNode(lContainer); // An LContainer can be created dynamically on any node by injecting ViewContainerRef.
- // Asking for a ViewContainerRef on an element will result in a creation of a separate anchor
- // node (comment in the DOM) that will be different from the LContainer's host node. In this
- // particular case we need to execute action on 2 nodes:
- // - container's host node (this is done in the executeActionOnElementOrContainer)
- // - container's host node (this is done here)
- if (anchor !== native) {
- // This is very strange to me (Misko). I would expect that the native is same as anchor. I
- // don't see a reason why they should be different, but they are.
- //
- // If they are we need to process the second anchor as well.
- applyToElementOrContainer(action, renderer, parentRElement, anchor, beforeNode);
- }
- for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
- const lView = lContainer[i];
- applyView(lView[TVIEW], lView, renderer, action, parentRElement, anchor);
- }
- }
- /**
- * Writes class/style to element.
- *
- * @param renderer Renderer to use.
- * @param isClassBased `true` if it should be written to `class` (`false` to write to `style`)
- * @param rNode The Node to write to.
- * @param prop Property to write to. This would be the class/style name.
- * @param value Value to write. If `null`/`undefined`/`false` this is considered a remove (set/add
- * otherwise).
- */
- function applyStyling(renderer, isClassBased, rNode, prop, value) {
- if (isClassBased) {
- // We actually want JS true/false here because any truthy value should add the class
- if (!value) {
- ngDevMode && ngDevMode.rendererRemoveClass++;
- renderer.removeClass(rNode, prop);
- } else {
- ngDevMode && ngDevMode.rendererAddClass++;
- renderer.addClass(rNode, prop);
- }
- } else {
- let flags = prop.indexOf('-') === -1 ? undefined : RendererStyleFlags2.DashCase;
- if (value == null
- /** || value === undefined */
- ) {
- ngDevMode && ngDevMode.rendererRemoveStyle++;
- renderer.removeStyle(rNode, prop, flags);
- } else {
- // A value is important if it ends with `!important`. The style
- // parser strips any semicolons at the end of the value.
- const isImportant = typeof value === 'string' ? value.endsWith('!important') : false;
- if (isImportant) {
- // !important has to be stripped from the value for it to be valid.
- value = value.slice(0, -10);
- flags |= RendererStyleFlags2.Important;
- }
- ngDevMode && ngDevMode.rendererSetStyle++;
- renderer.setStyle(rNode, prop, value, flags);
- }
- }
- }
- /**
- * Write `cssText` to `RElement`.
- *
- * This function does direct write without any reconciliation. Used for writing initial values, so
- * that static styling values do not pull in the style parser.
- *
- * @param renderer Renderer to use
- * @param element The element which needs to be updated.
- * @param newValue The new class list to write.
- */
- function writeDirectStyle(renderer, element, newValue) {
- ngDevMode && assertString(newValue, '\'newValue\' should be a string');
- renderer.setAttribute(element, 'style', newValue);
- ngDevMode && ngDevMode.rendererSetStyle++;
- }
- /**
- * Write `className` to `RElement`.
- *
- * This function does direct write without any reconciliation. Used for writing initial values, so
- * that static styling values do not pull in the style parser.
- *
- * @param renderer Renderer to use
- * @param element The element which needs to be updated.
- * @param newValue The new class list to write.
- */
- function writeDirectClass(renderer, element, newValue) {
- ngDevMode && assertString(newValue, '\'newValue\' should be a string');
- if (newValue === '') {
- // There are tests in `google3` which expect `element.getAttribute('class')` to be `null`.
- renderer.removeAttribute(element, 'class');
- } else {
- renderer.setAttribute(element, 'class', newValue);
- }
- ngDevMode && ngDevMode.rendererSetClassName++;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Returns an index of `classToSearch` in `className` taking token boundaries into account.
- *
- * `classIndexOf('AB A', 'A', 0)` will be 3 (not 0 since `AB!==A`)
- *
- * @param className A string containing classes (whitespace separated)
- * @param classToSearch A class name to locate
- * @param startingIndex Starting location of search
- * @returns an index of the located class (or -1 if not found)
- */
- function classIndexOf(className, classToSearch, startingIndex) {
- ngDevMode && assertNotEqual(classToSearch, '', 'can not look for "" string.');
- let end = className.length;
- while (true) {
- const foundIndex = className.indexOf(classToSearch, startingIndex);
- if (foundIndex === -1) return foundIndex;
- if (foundIndex === 0 || className.charCodeAt(foundIndex - 1) <= 32
- /* CharCode.SPACE */
- ) {
- // Ensure that it has leading whitespace
- const length = classToSearch.length;
- if (foundIndex + length === end || className.charCodeAt(foundIndex + length) <= 32
- /* CharCode.SPACE */
- ) {
- // Ensure that it has trailing whitespace
- return foundIndex;
- }
- } // False positive, keep searching from where we left off.
- startingIndex = foundIndex + 1;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const unusedValueToPlacateAjd$1 = unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd$4;
- const NG_TEMPLATE_SELECTOR = 'ng-template';
- /**
- * Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)
- *
- * @param attrs `TAttributes` to search through.
- * @param cssClassToMatch class to match (lowercase)
- * @param isProjectionMode Whether or not class matching should look into the attribute `class` in
- * addition to the `AttributeMarker.Classes`.
- */
- function isCssClassMatching(attrs, cssClassToMatch, isProjectionMode) {
- // TODO(misko): The fact that this function needs to know about `isProjectionMode` seems suspect.
- // It is strange to me that sometimes the class information comes in form of `class` attribute
- // and sometimes in form of `AttributeMarker.Classes`. Some investigation is needed to determine
- // if that is the right behavior.
- ngDevMode && assertEqual(cssClassToMatch, cssClassToMatch.toLowerCase(), 'Class name expected to be lowercase.');
- let i = 0;
- while (i < attrs.length) {
- let item = attrs[i++];
- if (isProjectionMode && item === 'class') {
- item = attrs[i];
- if (classIndexOf(item.toLowerCase(), cssClassToMatch, 0) !== -1) {
- return true;
- }
- } else if (item === 1
- /* AttributeMarker.Classes */
- ) {
- // We found the classes section. Start searching for the class.
- while (i < attrs.length && typeof (item = attrs[i++]) == 'string') {
- // while we have strings
- if (item.toLowerCase() === cssClassToMatch) return true;
- }
- return false;
- }
- }
- return false;
- }
- /**
- * Checks whether the `tNode` represents an inline template (e.g. `*ngFor`).
- *
- * @param tNode current TNode
- */
- function isInlineTemplate(tNode) {
- return tNode.type === 4
- /* TNodeType.Container */
- && tNode.value !== NG_TEMPLATE_SELECTOR;
- }
- /**
- * Function that checks whether a given tNode matches tag-based selector and has a valid type.
- *
- * Matching can be performed in 2 modes: projection mode (when we project nodes) and regular
- * directive matching mode:
- * - in the "directive matching" mode we do _not_ take TContainer's tagName into account if it is
- * different from NG_TEMPLATE_SELECTOR (value different from NG_TEMPLATE_SELECTOR indicates that a
- * tag name was extracted from * syntax so we would match the same directive twice);
- * - in the "projection" mode, we use a tag name potentially extracted from the * syntax processing
- * (applicable to TNodeType.Container only).
- */
- function hasTagAndTypeMatch(tNode, currentSelector, isProjectionMode) {
- const tagNameToCompare = tNode.type === 4
- /* TNodeType.Container */
- && !isProjectionMode ? NG_TEMPLATE_SELECTOR : tNode.value;
- return currentSelector === tagNameToCompare;
- }
- /**
- * A utility function to match an Ivy node static data against a simple CSS selector
- *
- * @param node static data of the node to match
- * @param selector The selector to try matching against the node.
- * @param isProjectionMode if `true` we are matching for content projection, otherwise we are doing
- * directive matching.
- * @returns true if node matches the selector.
- */
- function isNodeMatchingSelector(tNode, selector, isProjectionMode) {
- ngDevMode && assertDefined(selector[0], 'Selector should have a tag name');
- let mode = 4
- /* SelectorFlags.ELEMENT */
- ;
- const nodeAttrs = tNode.attrs || []; // Find the index of first attribute that has no value, only a name.
- const nameOnlyMarkerIdx = getNameOnlyMarkerIndex(nodeAttrs); // When processing ":not" selectors, we skip to the next ":not" if the
- // current one doesn't match
- let skipToNextSelector = false;
- for (let i = 0; i < selector.length; i++) {
- const current = selector[i];
- if (typeof current === 'number') {
- // If we finish processing a :not selector and it hasn't failed, return false
- if (!skipToNextSelector && !isPositive(mode) && !isPositive(current)) {
- return false;
- } // If we are skipping to the next :not() and this mode flag is positive,
- // it's a part of the current :not() selector, and we should keep skipping
- if (skipToNextSelector && isPositive(current)) continue;
- skipToNextSelector = false;
- mode = current | mode & 1
- /* SelectorFlags.NOT */
- ;
- continue;
- }
- if (skipToNextSelector) continue;
- if (mode & 4
- /* SelectorFlags.ELEMENT */
- ) {
- mode = 2
- /* SelectorFlags.ATTRIBUTE */
- | mode & 1
- /* SelectorFlags.NOT */
- ;
- if (current !== '' && !hasTagAndTypeMatch(tNode, current, isProjectionMode) || current === '' && selector.length === 1) {
- if (isPositive(mode)) return false;
- skipToNextSelector = true;
- }
- } else {
- const selectorAttrValue = mode & 8
- /* SelectorFlags.CLASS */
- ? current : selector[++i]; // special case for matching against classes when a tNode has been instantiated with
- // class and style values as separate attribute values (e.g. ['title', CLASS, 'foo'])
- if (mode & 8
- /* SelectorFlags.CLASS */
- && tNode.attrs !== null) {
- if (!isCssClassMatching(tNode.attrs, selectorAttrValue, isProjectionMode)) {
- if (isPositive(mode)) return false;
- skipToNextSelector = true;
- }
- continue;
- }
- const attrName = mode & 8
- /* SelectorFlags.CLASS */
- ? 'class' : current;
- const attrIndexInNode = findAttrIndexInNode(attrName, nodeAttrs, isInlineTemplate(tNode), isProjectionMode);
- if (attrIndexInNode === -1) {
- if (isPositive(mode)) return false;
- skipToNextSelector = true;
- continue;
- }
- if (selectorAttrValue !== '') {
- let nodeAttrValue;
- if (attrIndexInNode > nameOnlyMarkerIdx) {
- nodeAttrValue = '';
- } else {
- ngDevMode && assertNotEqual(nodeAttrs[attrIndexInNode], 0
- /* AttributeMarker.NamespaceURI */
- , 'We do not match directives on namespaced attributes'); // we lowercase the attribute value to be able to match
- // selectors without case-sensitivity
- // (selectors are already in lowercase when generated)
- nodeAttrValue = nodeAttrs[attrIndexInNode + 1].toLowerCase();
- }
- const compareAgainstClassName = mode & 8
- /* SelectorFlags.CLASS */
- ? nodeAttrValue : null;
- if (compareAgainstClassName && classIndexOf(compareAgainstClassName, selectorAttrValue, 0) !== -1 || mode & 2
- /* SelectorFlags.ATTRIBUTE */
- && selectorAttrValue !== nodeAttrValue) {
- if (isPositive(mode)) return false;
- skipToNextSelector = true;
- }
- }
- }
- }
- return isPositive(mode) || skipToNextSelector;
- }
- function isPositive(mode) {
- return (mode & 1
- /* SelectorFlags.NOT */
- ) === 0;
- }
- /**
- * Examines the attribute's definition array for a node to find the index of the
- * attribute that matches the given `name`.
- *
- * NOTE: This will not match namespaced attributes.
- *
- * Attribute matching depends upon `isInlineTemplate` and `isProjectionMode`.
- * The following table summarizes which types of attributes we attempt to match:
- *
- * ===========================================================================================================
- * Modes | Normal Attributes | Bindings Attributes | Template Attributes | I18n
- * Attributes
- * ===========================================================================================================
- * Inline + Projection | YES | YES | NO | YES
- * -----------------------------------------------------------------------------------------------------------
- * Inline + Directive | NO | NO | YES | NO
- * -----------------------------------------------------------------------------------------------------------
- * Non-inline + Projection | YES | YES | NO | YES
- * -----------------------------------------------------------------------------------------------------------
- * Non-inline + Directive | YES | YES | NO | YES
- * ===========================================================================================================
- *
- * @param name the name of the attribute to find
- * @param attrs the attribute array to examine
- * @param isInlineTemplate true if the node being matched is an inline template (e.g. `*ngFor`)
- * rather than a manually expanded template node (e.g `<ng-template>`).
- * @param isProjectionMode true if we are matching against content projection otherwise we are
- * matching against directives.
- */
- function findAttrIndexInNode(name, attrs, isInlineTemplate, isProjectionMode) {
- if (attrs === null) return -1;
- let i = 0;
- if (isProjectionMode || !isInlineTemplate) {
- let bindingsMode = false;
- while (i < attrs.length) {
- const maybeAttrName = attrs[i];
- if (maybeAttrName === name) {
- return i;
- } else if (maybeAttrName === 3
- /* AttributeMarker.Bindings */
- || maybeAttrName === 6
- /* AttributeMarker.I18n */
- ) {
- bindingsMode = true;
- } else if (maybeAttrName === 1
- /* AttributeMarker.Classes */
- || maybeAttrName === 2
- /* AttributeMarker.Styles */
- ) {
- let value = attrs[++i]; // We should skip classes here because we have a separate mechanism for
- // matching classes in projection mode.
- while (typeof value === 'string') {
- value = attrs[++i];
- }
- continue;
- } else if (maybeAttrName === 4
- /* AttributeMarker.Template */
- ) {
- // We do not care about Template attributes in this scenario.
- break;
- } else if (maybeAttrName === 0
- /* AttributeMarker.NamespaceURI */
- ) {
- // Skip the whole namespaced attribute and value. This is by design.
- i += 4;
- continue;
- } // In binding mode there are only names, rather than name-value pairs.
- i += bindingsMode ? 1 : 2;
- } // We did not match the attribute
- return -1;
- } else {
- return matchTemplateAttribute(attrs, name);
- }
- }
- function isNodeMatchingSelectorList(tNode, selector, isProjectionMode = false) {
- for (let i = 0; i < selector.length; i++) {
- if (isNodeMatchingSelector(tNode, selector[i], isProjectionMode)) {
- return true;
- }
- }
- return false;
- }
- function getProjectAsAttrValue(tNode) {
- const nodeAttrs = tNode.attrs;
- if (nodeAttrs != null) {
- const ngProjectAsAttrIdx = nodeAttrs.indexOf(5
- /* AttributeMarker.ProjectAs */
- ); // only check for ngProjectAs in attribute names, don't accidentally match attribute's value
- // (attribute names are stored at even indexes)
- if ((ngProjectAsAttrIdx & 1) === 0) {
- return nodeAttrs[ngProjectAsAttrIdx + 1];
- }
- }
- return null;
- }
- function getNameOnlyMarkerIndex(nodeAttrs) {
- for (let i = 0; i < nodeAttrs.length; i++) {
- const nodeAttr = nodeAttrs[i];
- if (isNameOnlyAttributeMarker(nodeAttr)) {
- return i;
- }
- }
- return nodeAttrs.length;
- }
- function matchTemplateAttribute(attrs, name) {
- let i = attrs.indexOf(4
- /* AttributeMarker.Template */
- );
- if (i > -1) {
- i++;
- while (i < attrs.length) {
- const attr = attrs[i]; // Return in case we checked all template attrs and are switching to the next section in the
- // attrs array (that starts with a number that represents an attribute marker).
- if (typeof attr === 'number') return -1;
- if (attr === name) return i;
- i++;
- }
- }
- return -1;
- }
- /**
- * Checks whether a selector is inside a CssSelectorList
- * @param selector Selector to be checked.
- * @param list List in which to look for the selector.
- */
- function isSelectorInSelectorList(selector, list) {
- selectorListLoop: for (let i = 0; i < list.length; i++) {
- const currentSelectorInList = list[i];
- if (selector.length !== currentSelectorInList.length) {
- continue;
- }
- for (let j = 0; j < selector.length; j++) {
- if (selector[j] !== currentSelectorInList[j]) {
- continue selectorListLoop;
- }
- }
- return true;
- }
- return false;
- }
- function maybeWrapInNotSelector(isNegativeMode, chunk) {
- return isNegativeMode ? ':not(' + chunk.trim() + ')' : chunk;
- }
- function stringifyCSSSelector(selector) {
- let result = selector[0];
- let i = 1;
- let mode = 2
- /* SelectorFlags.ATTRIBUTE */
- ;
- let currentChunk = '';
- let isNegativeMode = false;
- while (i < selector.length) {
- let valueOrMarker = selector[i];
- if (typeof valueOrMarker === 'string') {
- if (mode & 2
- /* SelectorFlags.ATTRIBUTE */
- ) {
- const attrValue = selector[++i];
- currentChunk += '[' + valueOrMarker + (attrValue.length > 0 ? '="' + attrValue + '"' : '') + ']';
- } else if (mode & 8
- /* SelectorFlags.CLASS */
- ) {
- currentChunk += '.' + valueOrMarker;
- } else if (mode & 4
- /* SelectorFlags.ELEMENT */
- ) {
- currentChunk += ' ' + valueOrMarker;
- }
- } else {
- //
- // Append current chunk to the final result in case we come across SelectorFlag, which
- // indicates that the previous section of a selector is over. We need to accumulate content
- // between flags to make sure we wrap the chunk later in :not() selector if needed, e.g.
- // ```
- // ['', Flags.CLASS, '.classA', Flags.CLASS | Flags.NOT, '.classB', '.classC']
- // ```
- // should be transformed to `.classA :not(.classB .classC)`.
- //
- // Note: for negative selector part, we accumulate content between flags until we find the
- // next negative flag. This is needed to support a case where `:not()` rule contains more than
- // one chunk, e.g. the following selector:
- // ```
- // ['', Flags.ELEMENT | Flags.NOT, 'p', Flags.CLASS, 'foo', Flags.CLASS | Flags.NOT, 'bar']
- // ```
- // should be stringified to `:not(p.foo) :not(.bar)`
- //
- if (currentChunk !== '' && !isPositive(valueOrMarker)) {
- result += maybeWrapInNotSelector(isNegativeMode, currentChunk);
- currentChunk = '';
- }
- mode = valueOrMarker; // According to CssSelector spec, once we come across `SelectorFlags.NOT` flag, the negative
- // mode is maintained for remaining chunks of a selector.
- isNegativeMode = isNegativeMode || !isPositive(mode);
- }
- i++;
- }
- if (currentChunk !== '') {
- result += maybeWrapInNotSelector(isNegativeMode, currentChunk);
- }
- return result;
- }
- /**
- * Generates string representation of CSS selector in parsed form.
- *
- * ComponentDef and DirectiveDef are generated with the selector in parsed form to avoid doing
- * additional parsing at runtime (for example, for directive matching). However in some cases (for
- * example, while bootstrapping a component), a string version of the selector is required to query
- * for the host element on the page. This function takes the parsed form of a selector and returns
- * its string representation.
- *
- * @param selectorList selector in parsed form
- * @returns string representation of a given selector
- */
- function stringifyCSSSelectorList(selectorList) {
- return selectorList.map(stringifyCSSSelector).join(',');
- }
- /**
- * Extracts attributes and classes information from a given CSS selector.
- *
- * This function is used while creating a component dynamically. In this case, the host element
- * (that is created dynamically) should contain attributes and classes specified in component's CSS
- * selector.
- *
- * @param selector CSS selector in parsed form (in a form of array)
- * @returns object with `attrs` and `classes` fields that contain extracted information
- */
- function extractAttrsAndClassesFromSelector(selector) {
- const attrs = [];
- const classes = [];
- let i = 1;
- let mode = 2
- /* SelectorFlags.ATTRIBUTE */
- ;
- while (i < selector.length) {
- let valueOrMarker = selector[i];
- if (typeof valueOrMarker === 'string') {
- if (mode === 2
- /* SelectorFlags.ATTRIBUTE */
- ) {
- if (valueOrMarker !== '') {
- attrs.push(valueOrMarker, selector[++i]);
- }
- } else if (mode === 8
- /* SelectorFlags.CLASS */
- ) {
- classes.push(valueOrMarker);
- }
- } else {
- // According to CssSelector spec, once we come across `SelectorFlags.NOT` flag, the negative
- // mode is maintained for remaining chunks of a selector. Since attributes and classes are
- // extracted only for "positive" part of the selector, we can stop here.
- if (!isPositive(mode)) break;
- mode = valueOrMarker;
- }
- i++;
- }
- return {
- attrs,
- classes
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /** A special value which designates that a value has not changed. */
- const NO_CHANGE = typeof ngDevMode === 'undefined' || ngDevMode ? {
- __brand__: 'NO_CHANGE'
- } : {};
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Advances to an element for later binding instructions.
- *
- * Used in conjunction with instructions like {@link property} to act on elements with specified
- * indices, for example those created with {@link element} or {@link elementStart}.
- *
- * ```ts
- * (rf: RenderFlags, ctx: any) => {
- * if (rf & 1) {
- * text(0, 'Hello');
- * text(1, 'Goodbye')
- * element(2, 'div');
- * }
- * if (rf & 2) {
- * advance(2); // Advance twice to the <div>.
- * property('title', 'test');
- * }
- * }
- * ```
- * @param delta Number of elements to advance forwards by.
- *
- * @codeGenApi
- */
- function ɵɵadvance(delta) {
- ngDevMode && assertGreaterThan(delta, 0, 'Can only advance forward');
- selectIndexInternal(getTView(), getLView(), getSelectedIndex() + delta, !!ngDevMode && isInCheckNoChangesMode());
- }
- function selectIndexInternal(tView, lView, index, checkNoChangesMode) {
- ngDevMode && assertIndexInDeclRange(lView, index); // Flush the initial hooks for elements in the view that have been added up to this point.
- // PERF WARNING: do NOT extract this to a separate function without running benchmarks
- if (!checkNoChangesMode) {
- const hooksInitPhaseCompleted = (lView[FLAGS] & 3
- /* LViewFlags.InitPhaseStateMask */
- ) === 3
- /* InitPhaseState.InitPhaseCompleted */
- ;
- if (hooksInitPhaseCompleted) {
- const preOrderCheckHooks = tView.preOrderCheckHooks;
- if (preOrderCheckHooks !== null) {
- executeCheckHooks(lView, preOrderCheckHooks, index);
- }
- } else {
- const preOrderHooks = tView.preOrderHooks;
- if (preOrderHooks !== null) {
- executeInitAndCheckHooks(lView, preOrderHooks, 0
- /* InitPhaseState.OnInitHooksToBeRun */
- , index);
- }
- }
- } // We must set the selected index *after* running the hooks, because hooks may have side-effects
- // that cause other template functions to run, thus updating the selected index, which is global
- // state. If we run `setSelectedIndex` *before* we run the hooks, in some cases the selected index
- // will be altered by the time we leave the `ɵɵadvance` instruction.
- setSelectedIndex(index);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
- *
- * This should be kept up to date with the public exports of @angular/core.
- */
- const angularCoreDiEnv = {
- 'ɵɵdefineInjectable': ɵɵdefineInjectable,
- 'ɵɵdefineInjector': ɵɵdefineInjector,
- 'ɵɵinject': ɵɵinject,
- 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,
- 'resolveForwardRef': resolveForwardRef
- };
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Compile an Angular injectable according to its `Injectable` metadata, and patch the resulting
- * injectable def (`ɵprov`) onto the injectable type.
- */
- function compileInjectable(type, meta) {
- let ngInjectableDef = null;
- let ngFactoryDef = null; // if NG_PROV_DEF is already defined on this class then don't overwrite it
- if (!type.hasOwnProperty(NG_PROV_DEF)) {
- Object.defineProperty(type, NG_PROV_DEF, {
- get: () => {
- if (ngInjectableDef === null) {
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'injectable',
- type
- });
- ngInjectableDef = compiler.compileInjectable(angularCoreDiEnv, `ng:///${type.name}/ɵprov.js`, getInjectableMetadata(type, meta));
- }
- return ngInjectableDef;
- }
- });
- } // if NG_FACTORY_DEF is already defined on this class then don't overwrite it
- if (!type.hasOwnProperty(NG_FACTORY_DEF)) {
- Object.defineProperty(type, NG_FACTORY_DEF, {
- get: () => {
- if (ngFactoryDef === null) {
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'injectable',
- type
- });
- ngFactoryDef = compiler.compileFactory(angularCoreDiEnv, `ng:///${type.name}/ɵfac.js`, {
- name: type.name,
- type,
- typeArgumentCount: 0,
- deps: reflectDependencies(type),
- target: compiler.FactoryTarget.Injectable
- });
- }
- return ngFactoryDef;
- },
- // Leave this configurable so that the factories from directives or pipes can take precedence.
- configurable: true
- });
- }
- }
- const USE_VALUE = getClosureSafeProperty({
- provide: String,
- useValue: getClosureSafeProperty
- });
- function isUseClassProvider(meta) {
- return meta.useClass !== undefined;
- }
- function isUseValueProvider(meta) {
- return USE_VALUE in meta;
- }
- function isUseFactoryProvider(meta) {
- return meta.useFactory !== undefined;
- }
- function isUseExistingProvider(meta) {
- return meta.useExisting !== undefined;
- }
- function getInjectableMetadata(type, srcMeta) {
- // Allow the compilation of a class with a `@Injectable()` decorator without parameters
- const meta = srcMeta || {
- providedIn: null
- };
- const compilerMeta = {
- name: type.name,
- type: type,
- typeArgumentCount: 0,
- providedIn: meta.providedIn
- };
- if ((isUseClassProvider(meta) || isUseFactoryProvider(meta)) && meta.deps !== undefined) {
- compilerMeta.deps = convertDependencies(meta.deps);
- } // Check to see if the user explicitly provided a `useXxxx` property.
- if (isUseClassProvider(meta)) {
- compilerMeta.useClass = meta.useClass;
- } else if (isUseValueProvider(meta)) {
- compilerMeta.useValue = meta.useValue;
- } else if (isUseFactoryProvider(meta)) {
- compilerMeta.useFactory = meta.useFactory;
- } else if (isUseExistingProvider(meta)) {
- compilerMeta.useExisting = meta.useExisting;
- }
- return compilerMeta;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Injectable decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => compileInjectable(type, meta));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
- *
- * @publicApi
- */
- function createInjector(defType, parent = null, additionalProviders = null, name) {
- const injector = createInjectorWithoutInjectorInstances(defType, parent, additionalProviders, name);
- injector.resolveInjectorInitializers();
- return injector;
- }
- /**
- * Creates a new injector without eagerly resolving its injector types. Can be used in places
- * where resolving the injector types immediately can lead to an infinite loop. The injector types
- * should be resolved at a later point by calling `_resolveInjectorDefTypes`.
- */
- function createInjectorWithoutInjectorInstances(defType, parent = null, additionalProviders = null, name, scopes = new Set()) {
- const providers = [additionalProviders || EMPTY_ARRAY, importProvidersFrom(defType)];
- name = name || (typeof defType === 'object' ? undefined : stringify(defType));
- return new R3Injector(providers, parent || getNullInjector(), name || null, scopes);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Concrete injectors implement this interface. Injectors are configured
- * with [providers](guide/glossary#provider) that associate
- * dependencies of various types with [injection tokens](guide/glossary#di-token).
- *
- * @see ["DI Providers"](guide/dependency-injection-providers).
- * @see `StaticProvider`
- *
- * @usageNotes
- *
- * The following example creates a service injector instance.
- *
- * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'}
- *
- * ### Usage example
- *
- * {@example core/di/ts/injector_spec.ts region='Injector'}
- *
- * `Injector` returns itself when given `Injector` as a token:
- *
- * {@example core/di/ts/injector_spec.ts region='injectInjector'}
- *
- * @publicApi
- */
- class Injector {
- static create(options, parent) {
- var _a;
- if (Array.isArray(options)) {
- return createInjector({
- name: ''
- }, parent, options, '');
- } else {
- const name = (_a = options.name) !== null && _a !== void 0 ? _a : '';
- return createInjector({
- name
- }, options.parent, options.providers, name);
- }
- }
- }
- Injector.THROW_IF_NOT_FOUND = THROW_IF_NOT_FOUND;
- Injector.NULL = /* @__PURE__ */new NullInjector();
- /** @nocollapse */
- Injector.ɵprov = ɵɵdefineInjectable({
- token: Injector,
- providedIn: 'any',
- factory: () => ɵɵinject(INJECTOR)
- });
- /**
- * @internal
- * @nocollapse
- */
- Injector.__NG_ELEMENT_ID__ = -1
- /* InjectorMarkers.Injector */
- ;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function findFirstClosedCycle(keys) {
- const res = [];
- for (let i = 0; i < keys.length; ++i) {
- if (res.indexOf(keys[i]) > -1) {
- res.push(keys[i]);
- return res;
- }
- res.push(keys[i]);
- }
- return res;
- }
- function constructResolvingPath(keys) {
- if (keys.length > 1) {
- const reversed = findFirstClosedCycle(keys.slice().reverse());
- const tokenStrs = reversed.map(k => stringify(k.token));
- return ' (' + tokenStrs.join(' -> ') + ')';
- }
- return '';
- }
- function injectionError(injector, key, constructResolvingMessage, originalError) {
- const keys = [key];
- const errMsg = constructResolvingMessage(keys);
- const error = originalError ? wrappedError(errMsg, originalError) : Error(errMsg);
- error.addKey = addKey;
- error.keys = keys;
- error.injectors = [injector];
- error.constructResolvingMessage = constructResolvingMessage;
- error[ERROR_ORIGINAL_ERROR] = originalError;
- return error;
- }
- function addKey(injector, key) {
- this.injectors.push(injector);
- this.keys.push(key); // Note: This updated message won't be reflected in the `.stack` property
- this.message = this.constructResolvingMessage(this.keys);
- }
- /**
- * Thrown when trying to retrieve a dependency by key from {@link Injector}, but the
- * {@link Injector} does not have a {@link Provider} for the given key.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * class A {
- * constructor(b:B) {}
- * }
- *
- * expect(() => Injector.resolveAndCreate([A])).toThrowError();
- * ```
- */
- function noProviderError(injector, key) {
- return injectionError(injector, key, function (keys) {
- const first = stringify(keys[0].token);
- return `No provider for ${first}!${constructResolvingPath(keys)}`;
- });
- }
- /**
- * Thrown when dependencies form a cycle.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * var injector = Injector.resolveAndCreate([
- * {provide: "one", useFactory: (two) => "two", deps: [[new Inject("two")]]},
- * {provide: "two", useFactory: (one) => "one", deps: [[new Inject("one")]]}
- * ]);
- *
- * expect(() => injector.get("one")).toThrowError();
- * ```
- *
- * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.
- */
- function cyclicDependencyError(injector, key) {
- return injectionError(injector, key, function (keys) {
- return `Cannot instantiate cyclic dependency!${constructResolvingPath(keys)}`;
- });
- }
- /**
- * Thrown when a constructing type returns with an Error.
- *
- * The `InstantiationError` class contains the original error plus the dependency graph which caused
- * this object to be instantiated.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * class A {
- * constructor() {
- * throw new Error('message');
- * }
- * }
- *
- * var injector = Injector.resolveAndCreate([A]);
- * try {
- * injector.get(A);
- * } catch (e) {
- * expect(e instanceof InstantiationError).toBe(true);
- * expect(e.originalException.message).toEqual("message");
- * expect(e.originalStack).toBeDefined();
- * }
- * ```
- */
- function instantiationError(injector, originalException, originalStack, key) {
- return injectionError(injector, key, function (keys) {
- const first = stringify(keys[0].token);
- return `${originalException.message}: Error during instantiation of ${first}!${constructResolvingPath(keys)}.`;
- }, originalException);
- }
- /**
- * Thrown when an object other then {@link Provider} (or `Type`) is passed to {@link Injector}
- * creation.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * expect(() => Injector.resolveAndCreate(["not a type"])).toThrowError();
- * ```
- */
- function invalidProviderError(provider) {
- return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${provider}`);
- }
- /**
- * Thrown when the class has no annotation information.
- *
- * Lack of annotation information prevents the {@link Injector} from determining which dependencies
- * need to be injected into the constructor.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * class A {
- * constructor(b) {}
- * }
- *
- * expect(() => Injector.resolveAndCreate([A])).toThrowError();
- * ```
- *
- * This error is also thrown when the class not marked with {@link Injectable} has parameter types.
- *
- * ```typescript
- * class B {}
- *
- * class A {
- * constructor(b:B) {} // no information about the parameter types of A is available at runtime.
- * }
- *
- * expect(() => Injector.resolveAndCreate([A,B])).toThrowError();
- * ```
- *
- */
- function noAnnotationError(typeOrFunc, params) {
- const signature = [];
- for (let i = 0, ii = params.length; i < ii; i++) {
- const parameter = params[i];
- if (!parameter || parameter.length == 0) {
- signature.push('?');
- } else {
- signature.push(parameter.map(stringify).join(' '));
- }
- }
- 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.');
- }
- /**
- * Thrown when getting an object by index.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * class A {}
- *
- * var injector = Injector.resolveAndCreate([A]);
- *
- * expect(() => injector.getAt(100)).toThrowError();
- * ```
- *
- */
- function outOfBoundsError(index) {
- return Error(`Index ${index} is out-of-bounds.`);
- } // TODO: add a working example after alpha38 is released
- /**
- * Thrown when a multi provider and a regular provider are bound to the same token.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * expect(() => Injector.resolveAndCreate([
- * { provide: "Strings", useValue: "string1", multi: true},
- * { provide: "Strings", useValue: "string2", multi: false}
- * ])).toThrowError();
- * ```
- */
- function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) {
- return Error(`Cannot mix multi providers and regular providers, got: ${provider1} ${provider2}`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A unique object used for retrieving items from the {@link ReflectiveInjector}.
- *
- * Keys have:
- * - a system-wide unique `id`.
- * - a `token`.
- *
- * `Key` is used internally by {@link ReflectiveInjector} because its system-wide unique `id` allows
- * the
- * injector to store created objects in a more efficient way.
- *
- * `Key` should not be created directly. {@link ReflectiveInjector} creates keys automatically when
- * resolving
- * providers.
- *
- * @deprecated No replacement
- * @publicApi
- */
- class ReflectiveKey {
- /**
- * Private
- */
- constructor(token, id) {
- this.token = token;
- this.id = id;
- if (!token) {
- throw new RuntimeError(208
- /* RuntimeErrorCode.MISSING_INJECTION_TOKEN */
- , ngDevMode && 'Token must be defined!');
- }
- this.displayName = stringify(this.token);
- }
- /**
- * Retrieves a `Key` for a token.
- */
- static get(token) {
- return _globalKeyRegistry.get(resolveForwardRef(token));
- }
- /**
- * @returns the number of keys registered in the system.
- */
- static get numberOfKeys() {
- return _globalKeyRegistry.numberOfKeys;
- }
- }
- class KeyRegistry {
- constructor() {
- this._allKeys = new Map();
- }
- get(token) {
- if (token instanceof ReflectiveKey) return token;
- if (this._allKeys.has(token)) {
- return this._allKeys.get(token);
- }
- const newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);
- this._allKeys.set(token, newKey);
- return newKey;
- }
- get numberOfKeys() {
- return this._allKeys.size;
- }
- }
- const _globalKeyRegistry = new KeyRegistry();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * `Dependency` is used by the framework to extend DI.
- * This is internal to Angular and should not be used directly.
- */
- class ReflectiveDependency {
- constructor(key, optional, visibility) {
- this.key = key;
- this.optional = optional;
- this.visibility = visibility;
- }
- static fromKey(key) {
- return new ReflectiveDependency(key, false, null);
- }
- }
- const _EMPTY_LIST = [];
- class ResolvedReflectiveProvider_ {
- constructor(key, resolvedFactories, multiProvider) {
- this.key = key;
- this.resolvedFactories = resolvedFactories;
- this.multiProvider = multiProvider;
- this.resolvedFactory = this.resolvedFactories[0];
- }
- }
- /**
- * An internal resolved representation of a factory function created by resolving `Provider`.
- * @publicApi
- */
- class ResolvedReflectiveFactory {
- constructor(
- /**
- * Factory function which can return an instance of an object represented by a key.
- */
- factory,
- /**
- * Arguments (dependencies) to the `factory` function.
- */
- dependencies) {
- this.factory = factory;
- this.dependencies = dependencies;
- }
- }
- /**
- * Resolve a single provider.
- */
- function resolveReflectiveFactory(provider) {
- let factoryFn;
- let resolvedDeps;
- if (provider.useClass) {
- const useClass = resolveForwardRef(provider.useClass);
- factoryFn = getReflect().factory(useClass);
- resolvedDeps = _dependenciesFor(useClass);
- } else if (provider.useExisting) {
- factoryFn = aliasInstance => aliasInstance;
- resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))];
- } else if (provider.useFactory) {
- factoryFn = provider.useFactory;
- resolvedDeps = constructDependencies(provider.useFactory, provider.deps);
- } else {
- factoryFn = () => provider.useValue;
- resolvedDeps = _EMPTY_LIST;
- }
- return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);
- }
- /**
- * Converts the `Provider` into `ResolvedProvider`.
- *
- * `Injector` internally only uses `ResolvedProvider`, `Provider` contains convenience provider
- * syntax.
- */
- function resolveReflectiveProvider(provider) {
- return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi || false);
- }
- /**
- * Resolve a list of Providers.
- */
- function resolveReflectiveProviders(providers) {
- const normalized = _normalizeProviders(providers, []);
- const resolved = normalized.map(resolveReflectiveProvider);
- const resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map());
- return Array.from(resolvedProviderMap.values());
- }
- /**
- * Merges a list of ResolvedProviders into a list where each key is contained exactly once and
- * multi providers have been merged.
- */
- function mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {
- for (let i = 0; i < providers.length; i++) {
- const provider = providers[i];
- const existing = normalizedProvidersMap.get(provider.key.id);
- if (existing) {
- if (provider.multiProvider !== existing.multiProvider) {
- throw mixingMultiProvidersWithRegularProvidersError(existing, provider);
- }
- if (provider.multiProvider) {
- for (let j = 0; j < provider.resolvedFactories.length; j++) {
- existing.resolvedFactories.push(provider.resolvedFactories[j]);
- }
- } else {
- normalizedProvidersMap.set(provider.key.id, provider);
- }
- } else {
- let resolvedProvider;
- if (provider.multiProvider) {
- resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider);
- } else {
- resolvedProvider = provider;
- }
- normalizedProvidersMap.set(provider.key.id, resolvedProvider);
- }
- }
- return normalizedProvidersMap;
- }
- function _normalizeProviders(providers, res) {
- providers.forEach(b => {
- if (b instanceof Type) {
- res.push({
- provide: b,
- useClass: b
- });
- } else if (b && typeof b == 'object' && b.provide !== undefined) {
- res.push(b);
- } else if (Array.isArray(b)) {
- _normalizeProviders(b, res);
- } else {
- throw invalidProviderError(b);
- }
- });
- return res;
- }
- function constructDependencies(typeOrFunc, dependencies) {
- if (!dependencies) {
- return _dependenciesFor(typeOrFunc);
- } else {
- const params = dependencies.map(t => [t]);
- return dependencies.map(t => _extractToken(typeOrFunc, t, params));
- }
- }
- function _dependenciesFor(typeOrFunc) {
- const params = getReflect().parameters(typeOrFunc);
- if (!params) return [];
- if (params.some(p => p == null)) {
- throw noAnnotationError(typeOrFunc, params);
- }
- return params.map(p => _extractToken(typeOrFunc, p, params));
- }
- function _extractToken(typeOrFunc, metadata, params) {
- let token = null;
- let optional = false;
- if (!Array.isArray(metadata)) {
- if (metadata instanceof Inject) {
- return _createDependency(metadata.token, optional, null);
- } else {
- return _createDependency(metadata, optional, null);
- }
- }
- let visibility = null;
- for (let i = 0; i < metadata.length; ++i) {
- const paramMetadata = metadata[i];
- if (paramMetadata instanceof Type) {
- token = paramMetadata;
- } else if (paramMetadata instanceof Inject) {
- token = paramMetadata.token;
- } else if (paramMetadata instanceof Optional) {
- optional = true;
- } else if (paramMetadata instanceof Self || paramMetadata instanceof SkipSelf) {
- visibility = paramMetadata;
- } else if (paramMetadata instanceof InjectionToken) {
- token = paramMetadata;
- }
- }
- token = resolveForwardRef(token);
- if (token != null) {
- return _createDependency(token, optional, visibility);
- } else {
- throw noAnnotationError(typeOrFunc, params);
- }
- }
- function _createDependency(token, optional, visibility) {
- return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Threshold for the dynamic version
- const UNDEFINED = {};
- /**
- * A ReflectiveDependency injection container used for instantiating objects and resolving
- * dependencies.
- *
- * An `Injector` is a replacement for a `new` operator, which can automatically resolve the
- * constructor dependencies.
- *
- * In typical use, application code asks for the dependencies in the constructor and they are
- * resolved by the `Injector`.
- *
- * @usageNotes
- * ### Example
- *
- * The following example creates an `Injector` configured to create `Engine` and `Car`.
- *
- * ```typescript
- * @Injectable()
- * class Engine {
- * }
- *
- * @Injectable()
- * class Car {
- * constructor(public engine:Engine) {}
- * }
- *
- * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);
- * var car = injector.get(Car);
- * expect(car instanceof Car).toBe(true);
- * expect(car.engine instanceof Engine).toBe(true);
- * ```
- *
- * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`
- * resolve all of the object's dependencies automatically.
- *
- * TODO: delete in v14.
- *
- * @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead.
- * @publicApi
- */
- class ReflectiveInjector {
- /**
- * Turns an array of provider definitions into an array of resolved providers.
- *
- * A resolution is a process of flattening multiple nested arrays and converting individual
- * providers into an array of `ResolvedReflectiveProvider`s.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * @Injectable()
- * class Engine {
- * }
- *
- * @Injectable()
- * class Car {
- * constructor(public engine:Engine) {}
- * }
- *
- * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]);
- *
- * expect(providers.length).toEqual(2);
- *
- * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true);
- * expect(providers[0].key.displayName).toBe("Car");
- * expect(providers[0].dependencies.length).toEqual(1);
- * expect(providers[0].factory).toBeDefined();
- *
- * expect(providers[1].key.displayName).toBe("Engine");
- * });
- * ```
- *
- */
- static resolve(providers) {
- return resolveReflectiveProviders(providers);
- }
- /**
- * Resolves an array of providers and creates an injector from those providers.
- *
- * The passed-in providers can be an array of `Type`, `Provider`,
- * or a recursive array of more providers.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * @Injectable()
- * class Engine {
- * }
- *
- * @Injectable()
- * class Car {
- * constructor(public engine:Engine) {}
- * }
- *
- * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);
- * expect(injector.get(Car) instanceof Car).toBe(true);
- * ```
- */
- static resolveAndCreate(providers, parent) {
- const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);
- return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);
- }
- /**
- * Creates an injector from previously resolved providers.
- *
- * This API is the recommended way to construct injectors in performance-sensitive parts.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * @Injectable()
- * class Engine {
- * }
- *
- * @Injectable()
- * class Car {
- * constructor(public engine:Engine) {}
- * }
- *
- * var providers = ReflectiveInjector.resolve([Car, Engine]);
- * var injector = ReflectiveInjector.fromResolvedProviders(providers);
- * expect(injector.get(Car) instanceof Car).toBe(true);
- * ```
- */
- static fromResolvedProviders(providers, parent) {
- return new ReflectiveInjector_(providers, parent);
- }
- }
- class ReflectiveInjector_ {
- /**
- * Private
- */
- constructor(_providers, _parent) {
- /** @internal */
- this._constructionCounter = 0;
- this._providers = _providers;
- this.parent = _parent || null;
- const len = _providers.length;
- this.keyIds = [];
- this.objs = [];
- for (let i = 0; i < len; i++) {
- this.keyIds[i] = _providers[i].key.id;
- this.objs[i] = UNDEFINED;
- }
- }
- get(token, notFoundValue = THROW_IF_NOT_FOUND) {
- return this._getByKey(ReflectiveKey.get(token), null, notFoundValue);
- }
- resolveAndCreateChild(providers) {
- const ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);
- return this.createChildFromResolved(ResolvedReflectiveProviders);
- }
- createChildFromResolved(providers) {
- const inj = new ReflectiveInjector_(providers);
- inj.parent = this;
- return inj;
- }
- resolveAndInstantiate(provider) {
- return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);
- }
- instantiateResolved(provider) {
- return this._instantiateProvider(provider);
- }
- getProviderAtIndex(index) {
- if (index < 0 || index >= this._providers.length) {
- throw outOfBoundsError(index);
- }
- return this._providers[index];
- }
- /** @internal */
- _new(provider) {
- if (this._constructionCounter++ > this._getMaxNumberOfObjects()) {
- throw cyclicDependencyError(this, provider.key);
- }
- return this._instantiateProvider(provider);
- }
- _getMaxNumberOfObjects() {
- return this.objs.length;
- }
- _instantiateProvider(provider) {
- if (provider.multiProvider) {
- const res = [];
- for (let i = 0; i < provider.resolvedFactories.length; ++i) {
- res[i] = this._instantiate(provider, provider.resolvedFactories[i]);
- }
- return res;
- } else {
- return this._instantiate(provider, provider.resolvedFactories[0]);
- }
- }
- _instantiate(provider, ResolvedReflectiveFactory) {
- const factory = ResolvedReflectiveFactory.factory;
- let deps;
- try {
- deps = ResolvedReflectiveFactory.dependencies.map(dep => this._getByReflectiveDependency(dep));
- } catch (e) {
- if (e.addKey) {
- e.addKey(this, provider.key);
- }
- throw e;
- }
- let obj;
- try {
- obj = factory(...deps);
- } catch (e) {
- throw instantiationError(this, e, e.stack, provider.key);
- }
- return obj;
- }
- _getByReflectiveDependency(dep) {
- return this._getByKey(dep.key, dep.visibility, dep.optional ? null : THROW_IF_NOT_FOUND);
- }
- _getByKey(key, visibility, notFoundValue) {
- if (key === ReflectiveInjector_.INJECTOR_KEY) {
- return this;
- }
- if (visibility instanceof Self) {
- return this._getByKeySelf(key, notFoundValue);
- } else {
- return this._getByKeyDefault(key, notFoundValue, visibility);
- }
- }
- _getObjByKeyId(keyId) {
- for (let i = 0; i < this.keyIds.length; i++) {
- if (this.keyIds[i] === keyId) {
- if (this.objs[i] === UNDEFINED) {
- this.objs[i] = this._new(this._providers[i]);
- }
- return this.objs[i];
- }
- }
- return UNDEFINED;
- }
- /** @internal */
- _throwOrNull(key, notFoundValue) {
- if (notFoundValue !== THROW_IF_NOT_FOUND) {
- return notFoundValue;
- } else {
- throw noProviderError(this, key);
- }
- }
- /** @internal */
- _getByKeySelf(key, notFoundValue) {
- const obj = this._getObjByKeyId(key.id);
- return obj !== UNDEFINED ? obj : this._throwOrNull(key, notFoundValue);
- }
- /** @internal */
- _getByKeyDefault(key, notFoundValue, visibility) {
- let inj;
- if (visibility instanceof SkipSelf) {
- inj = this.parent;
- } else {
- inj = this;
- }
- while (inj instanceof ReflectiveInjector_) {
- const inj_ = inj;
- const obj = inj_._getObjByKeyId(key.id);
- if (obj !== UNDEFINED) return obj;
- inj = inj_.parent;
- }
- if (inj !== null) {
- return inj.get(key.token, notFoundValue);
- } else {
- return this._throwOrNull(key, notFoundValue);
- }
- }
- get displayName() {
- const providers = _mapProviders(this, b => ' "' + b.key.displayName + '" ').join(', ');
- return `ReflectiveInjector(providers: [${providers}])`;
- }
- toString() {
- return this.displayName;
- }
- }
- ReflectiveInjector_.INJECTOR_KEY = /* @__PURE__ */ReflectiveKey.get(Injector);
- function _mapProviders(injector, fn) {
- const res = [];
- for (let i = 0; i < injector._providers.length; ++i) {
- res[i] = fn(injector.getProviderAtIndex(i));
- }
- return res;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function ɵɵdirectiveInject(token, flags = InjectFlags.Default) {
- const lView = getLView(); // Fall back to inject() if view hasn't been created. This situation can happen in tests
- // if inject utilities are used before bootstrapping.
- if (lView === null) {
- // Verify that we will not get into infinite loop.
- ngDevMode && assertInjectImplementationNotEqual(ɵɵdirectiveInject);
- return ɵɵinject(token, flags);
- }
- const tNode = getCurrentTNode();
- return getOrCreateInjectable(tNode, lView, resolveForwardRef(token), flags);
- }
- /**
- * Throws an error indicating that a factory function could not be generated by the compiler for a
- * particular class.
- *
- * This instruction allows the actual error message to be optimized away when ngDevMode is turned
- * off, saving bytes of generated code while still providing a good experience in dev mode.
- *
- * The name of the class is not mentioned here, but will be in the generated factory function name
- * and thus in the stack trace.
- *
- * @codeGenApi
- */
- function ɵɵinvalidFactory() {
- const msg = ngDevMode ? `This constructor was not compatible with Dependency Injection.` : 'invalid';
- throw new Error(msg);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * THIS FILE CONTAINS CODE WHICH SHOULD BE TREE SHAKEN AND NEVER CALLED FROM PRODUCTION CODE!!!
- */
- /**
- * Creates an `Array` construction with a given name. This is useful when
- * looking for memory consumption to see what time of array it is.
- *
- *
- * @param name Name to give to the constructor
- * @returns A subclass of `Array` if possible. This can only be done in
- * environments which support `class` construct.
- */
- function createNamedArrayType(name) {
- // This should never be called in prod mode, so let's verify that is the case.
- if (ngDevMode) {
- try {
- // If this function were compromised the following could lead to arbitrary
- // script execution. We bless it with Trusted Types anyway since this
- // function is stripped out of production binaries.
- return newTrustedFunctionForDev('Array', `return class ${name} extends Array{}`)(Array);
- } catch (e) {
- // If it does not work just give up and fall back to regular Array.
- return Array;
- }
- } else {
- throw new Error('Looks like we are in \'prod mode\', but we are creating a named Array type, which is wrong! Check your code');
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function toTStylingRange(prev, next) {
- ngDevMode && assertNumberInRange(prev, 0, 32767
- /* StylingRange.UNSIGNED_MASK */
- );
- ngDevMode && assertNumberInRange(next, 0, 32767
- /* StylingRange.UNSIGNED_MASK */
- );
- return prev << 17
- /* StylingRange.PREV_SHIFT */
- | next << 2
- /* StylingRange.NEXT_SHIFT */
- ;
- }
- function getTStylingRangePrev(tStylingRange) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- return tStylingRange >> 17
- /* StylingRange.PREV_SHIFT */
- & 32767
- /* StylingRange.UNSIGNED_MASK */
- ;
- }
- function getTStylingRangePrevDuplicate(tStylingRange) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- return (tStylingRange & 2
- /* StylingRange.PREV_DUPLICATE */
- ) == 2
- /* StylingRange.PREV_DUPLICATE */
- ;
- }
- function setTStylingRangePrev(tStylingRange, previous) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- ngDevMode && assertNumberInRange(previous, 0, 32767
- /* StylingRange.UNSIGNED_MASK */
- );
- return tStylingRange & ~4294836224
- /* StylingRange.PREV_MASK */
- | previous << 17
- /* StylingRange.PREV_SHIFT */
- ;
- }
- function setTStylingRangePrevDuplicate(tStylingRange) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- return tStylingRange | 2
- /* StylingRange.PREV_DUPLICATE */
- ;
- }
- function getTStylingRangeNext(tStylingRange) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- return (tStylingRange & 131068
- /* StylingRange.NEXT_MASK */
- ) >> 2
- /* StylingRange.NEXT_SHIFT */
- ;
- }
- function setTStylingRangeNext(tStylingRange, next) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- ngDevMode && assertNumberInRange(next, 0, 32767
- /* StylingRange.UNSIGNED_MASK */
- );
- return tStylingRange & ~131068
- /* StylingRange.NEXT_MASK */
- | //
- next << 2
- /* StylingRange.NEXT_SHIFT */
- ;
- }
- function getTStylingRangeNextDuplicate(tStylingRange) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- return (tStylingRange & 1
- /* StylingRange.NEXT_DUPLICATE */
- ) === 1
- /* StylingRange.NEXT_DUPLICATE */
- ;
- }
- function setTStylingRangeNextDuplicate(tStylingRange) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- return tStylingRange | 1
- /* StylingRange.NEXT_DUPLICATE */
- ;
- }
- function getTStylingRangeTail(tStylingRange) {
- ngDevMode && assertNumber(tStylingRange, 'expected number');
- const next = getTStylingRangeNext(tStylingRange);
- return next === 0 ? getTStylingRangePrev(tStylingRange) : next;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Patch a `debug` property on top of the existing object.
- *
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
- *
- * @param obj Object to patch
- * @param debug Value to patch
- */
- function attachDebugObject(obj, debug) {
- if (ngDevMode) {
- Object.defineProperty(obj, 'debug', {
- value: debug,
- enumerable: false
- });
- } else {
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
- }
- }
- /**
- * Patch a `debug` property getter on top of the existing object.
- *
- * NOTE: always call this method with `ngDevMode && attachDebugObject(...)`
- *
- * @param obj Object to patch
- * @param debugGetter Getter returning a value to patch
- */
- function attachDebugGetter(obj, debugGetter) {
- if (ngDevMode) {
- Object.defineProperty(obj, 'debug', {
- get: debugGetter,
- enumerable: false
- });
- } else {
- throw new Error('This method should be guarded with `ngDevMode` so that it can be tree shaken in production!');
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /*
- * This file contains conditionally attached classes which provide human readable (debug) level
- * information for `LView`, `LContainer` and other internal data structures. These data structures
- * are stored internally as array which makes it very difficult during debugging to reason about the
- * current state of the system.
- *
- * Patching the array with extra property does change the array's hidden class' but it does not
- * change the cost of access, therefore this patching should not have significant if any impact in
- * `ngDevMode` mode. (see: https://jsperf.com/array-vs-monkey-patch-array)
- *
- * So instead of seeing:
- * ```
- * Array(30) [Object, 659, null, …]
- * ```
- *
- * You get to see:
- * ```
- * LViewDebug {
- * views: [...],
- * flags: {attached: true, ...}
- * nodes: [
- * {html: '<div id="123">', ..., nodes: [
- * {html: '<span>', ..., nodes: null}
- * ]}
- * ]
- * }
- * ```
- */
- let LVIEW_COMPONENT_CACHE;
- let LVIEW_EMBEDDED_CACHE;
- let LVIEW_ROOT;
- let LVIEW_COMPONENT;
- let LVIEW_EMBEDDED;
- /**
- * This function clones a blueprint and creates LView.
- *
- * Simple slice will keep the same type, and we need it to be LView
- */
- function cloneToLViewFromTViewBlueprint(tView) {
- const debugTView = tView;
- const lView = getLViewToClone(debugTView.type, tView.template && tView.template.name);
- return lView.concat(tView.blueprint);
- }
- class LRootView extends Array {}
- class LComponentView extends Array {}
- class LEmbeddedView extends Array {}
- function getLViewToClone(type, name) {
- switch (type) {
- case 0
- /* TViewType.Root */
- :
- if (LVIEW_ROOT === undefined) LVIEW_ROOT = new LRootView();
- return LVIEW_ROOT;
- case 1
- /* TViewType.Component */
- :
- if (!ngDevMode || !ngDevMode.namedConstructors) {
- if (LVIEW_COMPONENT === undefined) LVIEW_COMPONENT = new LComponentView();
- return LVIEW_COMPONENT;
- }
- if (LVIEW_COMPONENT_CACHE === undefined) LVIEW_COMPONENT_CACHE = new Map();
- let componentArray = LVIEW_COMPONENT_CACHE.get(name);
- if (componentArray === undefined) {
- componentArray = new (createNamedArrayType('LComponentView' + nameSuffix(name)))();
- LVIEW_COMPONENT_CACHE.set(name, componentArray);
- }
- return componentArray;
- case 2
- /* TViewType.Embedded */
- :
- if (!ngDevMode || !ngDevMode.namedConstructors) {
- if (LVIEW_EMBEDDED === undefined) LVIEW_EMBEDDED = new LEmbeddedView();
- return LVIEW_EMBEDDED;
- }
- if (LVIEW_EMBEDDED_CACHE === undefined) LVIEW_EMBEDDED_CACHE = new Map();
- let embeddedArray = LVIEW_EMBEDDED_CACHE.get(name);
- if (embeddedArray === undefined) {
- embeddedArray = new (createNamedArrayType('LEmbeddedView' + nameSuffix(name)))();
- LVIEW_EMBEDDED_CACHE.set(name, embeddedArray);
- }
- return embeddedArray;
- }
- }
- function nameSuffix(text) {
- if (text == null) return '';
- const index = text.lastIndexOf('_Template');
- return '_' + (index === -1 ? text : text.slice(0, index));
- }
- /**
- * This class is a debug version of Object literal so that we can have constructor name show up
- * in
- * debug tools in ngDevMode.
- */
- const TViewConstructor = class TView {
- 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) {
- this.type = type;
- this.blueprint = blueprint;
- this.template = template;
- this.queries = queries;
- this.viewQuery = viewQuery;
- this.declTNode = declTNode;
- this.data = data;
- this.bindingStartIndex = bindingStartIndex;
- this.expandoStartIndex = expandoStartIndex;
- this.hostBindingOpCodes = hostBindingOpCodes;
- this.firstCreatePass = firstCreatePass;
- this.firstUpdatePass = firstUpdatePass;
- this.staticViewQueries = staticViewQueries;
- this.staticContentQueries = staticContentQueries;
- this.preOrderHooks = preOrderHooks;
- this.preOrderCheckHooks = preOrderCheckHooks;
- this.contentHooks = contentHooks;
- this.contentCheckHooks = contentCheckHooks;
- this.viewHooks = viewHooks;
- this.viewCheckHooks = viewCheckHooks;
- this.destroyHooks = destroyHooks;
- this.cleanup = cleanup;
- this.contentQueries = contentQueries;
- this.components = components;
- this.directiveRegistry = directiveRegistry;
- this.pipeRegistry = pipeRegistry;
- this.firstChild = firstChild;
- this.schemas = schemas;
- this.consts = consts;
- this.incompleteFirstPass = incompleteFirstPass;
- this._decls = _decls;
- this._vars = _vars;
- }
- get template_() {
- const buf = [];
- processTNodeChildren(this.firstChild, buf);
- return buf.join('');
- }
- get type_() {
- return TViewTypeAsString[this.type] || `TViewType.?${this.type}?`;
- }
- };
- class TNode {
- constructor(tView_, //
- type, //
- index, //
- insertBeforeIndex, //
- injectorIndex, //
- directiveStart, //
- directiveEnd, //
- directiveStylingLast, //
- propertyBindings, //
- flags, //
- providerIndexes, //
- value, //
- attrs, //
- mergedAttrs, //
- localNames, //
- initialInputs, //
- inputs, //
- outputs, //
- tViews, //
- next, //
- projectionNext, //
- child, //
- parent, //
- projection, //
- styles, //
- stylesWithoutHost, //
- residualStyles, //
- classes, //
- classesWithoutHost, //
- residualClasses, //
- classBindings, //
- styleBindings) {
- this.tView_ = tView_;
- this.type = type;
- this.index = index;
- this.insertBeforeIndex = insertBeforeIndex;
- this.injectorIndex = injectorIndex;
- this.directiveStart = directiveStart;
- this.directiveEnd = directiveEnd;
- this.directiveStylingLast = directiveStylingLast;
- this.propertyBindings = propertyBindings;
- this.flags = flags;
- this.providerIndexes = providerIndexes;
- this.value = value;
- this.attrs = attrs;
- this.mergedAttrs = mergedAttrs;
- this.localNames = localNames;
- this.initialInputs = initialInputs;
- this.inputs = inputs;
- this.outputs = outputs;
- this.tViews = tViews;
- this.next = next;
- this.projectionNext = projectionNext;
- this.child = child;
- this.parent = parent;
- this.projection = projection;
- this.styles = styles;
- this.stylesWithoutHost = stylesWithoutHost;
- this.residualStyles = residualStyles;
- this.classes = classes;
- this.classesWithoutHost = classesWithoutHost;
- this.residualClasses = residualClasses;
- this.classBindings = classBindings;
- this.styleBindings = styleBindings;
- }
- /**
- * Return a human debug version of the set of `NodeInjector`s which will be consulted when
- * resolving tokens from this `TNode`.
- *
- * When debugging applications, it is often difficult to determine which `NodeInjector`s will be
- * consulted. This method shows a list of `DebugNode`s representing the `TNode`s which will be
- * consulted in order when resolving a token starting at this `TNode`.
- *
- * The original data is stored in `LView` and `TView` with a lot of offset indexes, and so it is
- * difficult to reason about.
- *
- * @param lView The `LView` instance for this `TNode`.
- */
- debugNodeInjectorPath(lView) {
- const path = [];
- let injectorIndex = getInjectorIndex(this, lView);
- if (injectorIndex === -1) {
- // Looks like the current `TNode` does not have `NodeInjector` associated with it => look for
- // parent NodeInjector.
- const parentLocation = getParentInjectorLocation(this, lView);
- if (parentLocation !== NO_PARENT_INJECTOR) {
- // We found a parent, so start searching from the parent location.
- injectorIndex = getParentInjectorIndex(parentLocation);
- lView = getParentInjectorView(parentLocation, lView);
- } else {// No parents have been found, so there are no `NodeInjector`s to consult.
- }
- }
- while (injectorIndex !== -1) {
- ngDevMode && assertNodeInjector(lView, injectorIndex);
- const tNode = lView[TVIEW].data[injectorIndex + 8
- /* NodeInjectorOffset.TNODE */
- ];
- path.push(buildDebugNode(tNode, lView));
- const parentLocation = lView[injectorIndex + 8
- /* NodeInjectorOffset.PARENT */
- ];
- if (parentLocation === NO_PARENT_INJECTOR) {
- injectorIndex = -1;
- } else {
- injectorIndex = getParentInjectorIndex(parentLocation);
- lView = getParentInjectorView(parentLocation, lView);
- }
- }
- return path;
- }
- get type_() {
- return toTNodeTypeAsString(this.type) || `TNodeType.?${this.type}?`;
- }
- get flags_() {
- const flags = [];
- if (this.flags & 16
- /* TNodeFlags.hasClassInput */
- ) flags.push('TNodeFlags.hasClassInput');
- if (this.flags & 8
- /* TNodeFlags.hasContentQuery */
- ) flags.push('TNodeFlags.hasContentQuery');
- if (this.flags & 32
- /* TNodeFlags.hasStyleInput */
- ) flags.push('TNodeFlags.hasStyleInput');
- if (this.flags & 128
- /* TNodeFlags.hasHostBindings */
- ) flags.push('TNodeFlags.hasHostBindings');
- if (this.flags & 2
- /* TNodeFlags.isComponentHost */
- ) flags.push('TNodeFlags.isComponentHost');
- if (this.flags & 1
- /* TNodeFlags.isDirectiveHost */
- ) flags.push('TNodeFlags.isDirectiveHost');
- if (this.flags & 64
- /* TNodeFlags.isDetached */
- ) flags.push('TNodeFlags.isDetached');
- if (this.flags & 4
- /* TNodeFlags.isProjected */
- ) flags.push('TNodeFlags.isProjected');
- return flags.join('|');
- }
- get template_() {
- if (this.type & 1
- /* TNodeType.Text */
- ) return this.value;
- const buf = [];
- const tagName = typeof this.value === 'string' && this.value || this.type_;
- buf.push('<', tagName);
- if (this.flags) {
- buf.push(' ', this.flags_);
- }
- if (this.attrs) {
- for (let i = 0; i < this.attrs.length;) {
- const attrName = this.attrs[i++];
- if (typeof attrName == 'number') {
- break;
- }
- const attrValue = this.attrs[i++];
- buf.push(' ', attrName, '="', attrValue, '"');
- }
- }
- buf.push('>');
- processTNodeChildren(this.child, buf);
- buf.push('</', tagName, '>');
- return buf.join('');
- }
- get styleBindings_() {
- return toDebugStyleBinding(this, false);
- }
- get classBindings_() {
- return toDebugStyleBinding(this, true);
- }
- get providerIndexStart_() {
- return this.providerIndexes & 1048575
- /* TNodeProviderIndexes.ProvidersStartIndexMask */
- ;
- }
- get providerIndexEnd_() {
- return this.providerIndexStart_ + (this.providerIndexes >>> 20
- /* TNodeProviderIndexes.CptViewProvidersCountShift */
- );
- }
- }
- const TNodeDebug = TNode;
- function toDebugStyleBinding(tNode, isClassBased) {
- const tData = tNode.tView_.data;
- const bindings = [];
- const range = isClassBased ? tNode.classBindings : tNode.styleBindings;
- const prev = getTStylingRangePrev(range);
- const next = getTStylingRangeNext(range);
- let isTemplate = next !== 0;
- let cursor = isTemplate ? next : prev;
- while (cursor !== 0) {
- const itemKey = tData[cursor];
- const itemRange = tData[cursor + 1];
- bindings.unshift({
- key: itemKey,
- index: cursor,
- isTemplate: isTemplate,
- prevDuplicate: getTStylingRangePrevDuplicate(itemRange),
- nextDuplicate: getTStylingRangeNextDuplicate(itemRange),
- nextIndex: getTStylingRangeNext(itemRange),
- prevIndex: getTStylingRangePrev(itemRange)
- });
- if (cursor === prev) isTemplate = false;
- cursor = getTStylingRangePrev(itemRange);
- }
- bindings.push((isClassBased ? tNode.residualClasses : tNode.residualStyles) || null);
- return bindings;
- }
- function processTNodeChildren(tNode, buf) {
- while (tNode) {
- buf.push(tNode.template_);
- tNode = tNode.next;
- }
- }
- class TViewData extends Array {}
- let TVIEWDATA_EMPTY; // can't initialize here or it will not be tree shaken, because
- // `LView` constructor could have side-effects.
- /**
- * This function clones a blueprint and creates TData.
- *
- * Simple slice will keep the same type, and we need it to be TData
- */
- function cloneToTViewData(list) {
- if (TVIEWDATA_EMPTY === undefined) TVIEWDATA_EMPTY = new TViewData();
- return TVIEWDATA_EMPTY.concat(list);
- }
- class LViewBlueprint extends Array {}
- class MatchesArray extends Array {}
- class TViewComponents extends Array {}
- class TNodeLocalNames extends Array {}
- class TNodeInitialInputs extends Array {}
- class LCleanup extends Array {}
- class TCleanup extends Array {}
- function attachLViewDebug(lView) {
- attachDebugObject(lView, new LViewDebug(lView));
- }
- function attachLContainerDebug(lContainer) {
- attachDebugObject(lContainer, new LContainerDebug(lContainer));
- }
- function toDebug(obj) {
- if (obj) {
- const debug = obj.debug;
- assertDefined(debug, 'Object does not have a debug representation.');
- return debug;
- } else {
- return obj;
- }
- }
- /**
- * Use this method to unwrap a native element in `LView` and convert it into HTML for easier
- * reading.
- *
- * @param value possibly wrapped native DOM node.
- * @param includeChildren If `true` then the serialized HTML form will include child elements
- * (same
- * as `outerHTML`). If `false` then the serialized HTML form will only contain the element
- * itself
- * (will not serialize child elements).
- */
- function toHtml(value, includeChildren = false) {
- const node = unwrapRNode(value);
- if (node) {
- switch (node.nodeType) {
- case Node.TEXT_NODE:
- return node.textContent;
- case Node.COMMENT_NODE:
- return `<!--${node.textContent}-->`;
- case Node.ELEMENT_NODE:
- const outerHTML = node.outerHTML;
- if (includeChildren) {
- return outerHTML;
- } else {
- const innerHTML = '>' + node.innerHTML + '<';
- return outerHTML.split(innerHTML)[0] + '>';
- }
- }
- }
- return null;
- }
- class LViewDebug {
- constructor(_raw_lView) {
- this._raw_lView = _raw_lView;
- }
- /**
- * Flags associated with the `LView` unpacked into a more readable state.
- */
- get flags() {
- const flags = this._raw_lView[FLAGS];
- return {
- __raw__flags__: flags,
- initPhaseState: flags & 3
- /* LViewFlags.InitPhaseStateMask */
- ,
- creationMode: !!(flags & 4
- /* LViewFlags.CreationMode */
- ),
- firstViewPass: !!(flags & 8
- /* LViewFlags.FirstLViewPass */
- ),
- checkAlways: !!(flags & 16
- /* LViewFlags.CheckAlways */
- ),
- dirty: !!(flags & 32
- /* LViewFlags.Dirty */
- ),
- attached: !!(flags & 64
- /* LViewFlags.Attached */
- ),
- destroyed: !!(flags & 128
- /* LViewFlags.Destroyed */
- ),
- isRoot: !!(flags & 256
- /* LViewFlags.IsRoot */
- ),
- indexWithinInitPhase: flags >> 11
- /* LViewFlags.IndexWithinInitPhaseShift */
- };
- }
- get parent() {
- return toDebug(this._raw_lView[PARENT]);
- }
- get hostHTML() {
- return toHtml(this._raw_lView[HOST], true);
- }
- get html() {
- return (this.nodes || []).map(mapToHTML).join('');
- }
- get context() {
- return this._raw_lView[CONTEXT];
- }
- /**
- * The tree of nodes associated with the current `LView`. The nodes have been normalized into
- * a tree structure with relevant details pulled out for readability.
- */
- get nodes() {
- const lView = this._raw_lView;
- const tNode = lView[TVIEW].firstChild;
- return toDebugNodes(tNode, lView);
- }
- get template() {
- return this.tView.template_;
- }
- get tView() {
- return this._raw_lView[TVIEW];
- }
- get cleanup() {
- return this._raw_lView[CLEANUP];
- }
- get injector() {
- return this._raw_lView[INJECTOR$1];
- }
- get rendererFactory() {
- return this._raw_lView[RENDERER_FACTORY];
- }
- get renderer() {
- return this._raw_lView[RENDERER];
- }
- get sanitizer() {
- return this._raw_lView[SANITIZER];
- }
- get childHead() {
- return toDebug(this._raw_lView[CHILD_HEAD]);
- }
- get next() {
- return toDebug(this._raw_lView[NEXT]);
- }
- get childTail() {
- return toDebug(this._raw_lView[CHILD_TAIL]);
- }
- get declarationView() {
- return toDebug(this._raw_lView[DECLARATION_VIEW]);
- }
- get queries() {
- return this._raw_lView[QUERIES];
- }
- get tHost() {
- return this._raw_lView[T_HOST];
- }
- get id() {
- return this._raw_lView[ID];
- }
- get decls() {
- return toLViewRange(this.tView, this._raw_lView, HEADER_OFFSET, this.tView.bindingStartIndex);
- }
- get vars() {
- return toLViewRange(this.tView, this._raw_lView, this.tView.bindingStartIndex, this.tView.expandoStartIndex);
- }
- get expando() {
- return toLViewRange(this.tView, this._raw_lView, this.tView.expandoStartIndex, this._raw_lView.length);
- }
- /**
- * Normalized view of child views (and containers) attached at this location.
- */
- get childViews() {
- const childViews = [];
- let child = this.childHead;
- while (child) {
- childViews.push(child);
- child = child.next;
- }
- return childViews;
- }
- }
- function mapToHTML(node) {
- if (node.type === 'ElementContainer') {
- return (node.children || []).map(mapToHTML).join('');
- } else if (node.type === 'IcuContainer') {
- throw new Error('Not implemented');
- } else {
- return toHtml(node.native, true) || '';
- }
- }
- function toLViewRange(tView, lView, start, end) {
- let content = [];
- for (let index = start; index < end; index++) {
- content.push({
- index: index,
- t: tView.data[index],
- l: lView[index]
- });
- }
- return {
- start: start,
- end: end,
- length: end - start,
- content: content
- };
- }
- /**
- * Turns a flat list of nodes into a tree by walking the associated `TNode` tree.
- *
- * @param tNode
- * @param lView
- */
- function toDebugNodes(tNode, lView) {
- if (tNode) {
- const debugNodes = [];
- let tNodeCursor = tNode;
- while (tNodeCursor) {
- debugNodes.push(buildDebugNode(tNodeCursor, lView));
- tNodeCursor = tNodeCursor.next;
- }
- return debugNodes;
- } else {
- return [];
- }
- }
- function buildDebugNode(tNode, lView) {
- const rawValue = lView[tNode.index];
- const native = unwrapRNode(rawValue);
- const factories = [];
- const instances = [];
- const tView = lView[TVIEW];
- for (let i = tNode.directiveStart; i < tNode.directiveEnd; i++) {
- const def = tView.data[i];
- factories.push(def.type);
- instances.push(lView[i]);
- }
- return {
- html: toHtml(native),
- type: toTNodeTypeAsString(tNode.type),
- tNode,
- native: native,
- children: toDebugNodes(tNode.child, lView),
- factories,
- instances,
- injector: buildNodeInjectorDebug(tNode, tView, lView),
- get injectorResolutionPath() {
- return tNode.debugNodeInjectorPath(lView);
- }
- };
- }
- function buildNodeInjectorDebug(tNode, tView, lView) {
- const viewProviders = [];
- for (let i = tNode.providerIndexStart_; i < tNode.providerIndexEnd_; i++) {
- viewProviders.push(tView.data[i]);
- }
- const providers = [];
- for (let i = tNode.providerIndexEnd_; i < tNode.directiveEnd; i++) {
- providers.push(tView.data[i]);
- }
- const nodeInjectorDebug = {
- bloom: toBloom(lView, tNode.injectorIndex),
- cumulativeBloom: toBloom(tView.data, tNode.injectorIndex),
- providers,
- viewProviders,
- parentInjectorIndex: lView[tNode.providerIndexStart_ - 1]
- };
- return nodeInjectorDebug;
- }
- /**
- * Convert a number at `idx` location in `array` into binary representation.
- *
- * @param array
- * @param idx
- */
- function binary(array, idx) {
- const value = array[idx]; // If not a number we print 8 `?` to retain alignment but let user know that it was called on
- // wrong type.
- if (typeof value !== 'number') return '????????'; // We prefix 0s so that we have constant length number
- const text = '00000000' + value.toString(2);
- return text.substring(text.length - 8);
- }
- /**
- * Convert a bloom filter at location `idx` in `array` into binary representation.
- *
- * @param array
- * @param idx
- */
- function toBloom(array, idx) {
- if (idx < 0) {
- return 'NO_NODE_INJECTOR';
- }
- 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)}`;
- }
- class LContainerDebug {
- constructor(_raw_lContainer) {
- this._raw_lContainer = _raw_lContainer;
- }
- get hasTransplantedViews() {
- return this._raw_lContainer[HAS_TRANSPLANTED_VIEWS];
- }
- get views() {
- return this._raw_lContainer.slice(CONTAINER_HEADER_OFFSET).map(toDebug);
- }
- get parent() {
- return toDebug(this._raw_lContainer[PARENT]);
- }
- get movedViews() {
- return this._raw_lContainer[MOVED_VIEWS];
- }
- get host() {
- return this._raw_lContainer[HOST];
- }
- get native() {
- return this._raw_lContainer[NATIVE];
- }
- get next() {
- return toDebug(this._raw_lContainer[NEXT]);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Invoke `HostBindingsFunction`s for view.
- *
- * This methods executes `TView.hostBindingOpCodes`. It is used to execute the
- * `HostBindingsFunction`s associated with the current `LView`.
- *
- * @param tView Current `TView`.
- * @param lView Current `LView`.
- */
- function processHostBindingOpCodes(tView, lView) {
- const hostBindingOpCodes = tView.hostBindingOpCodes;
- if (hostBindingOpCodes === null) return;
- try {
- for (let i = 0; i < hostBindingOpCodes.length; i++) {
- const opCode = hostBindingOpCodes[i];
- if (opCode < 0) {
- // Negative numbers are element indexes.
- setSelectedIndex(~opCode);
- } else {
- // Positive numbers are NumberTuple which store bindingRootIndex and directiveIndex.
- const directiveIdx = opCode;
- const bindingRootIndx = hostBindingOpCodes[++i];
- const hostBindingFn = hostBindingOpCodes[++i];
- setBindingRootForHostBindings(bindingRootIndx, directiveIdx);
- const context = lView[directiveIdx];
- hostBindingFn(2
- /* RenderFlags.Update */
- , context);
- }
- }
- } finally {
- setSelectedIndex(-1);
- }
- }
- /** Refreshes all content queries declared by directives in a given view */
- function refreshContentQueries(tView, lView) {
- const contentQueries = tView.contentQueries;
- if (contentQueries !== null) {
- for (let i = 0; i < contentQueries.length; i += 2) {
- const queryStartIdx = contentQueries[i];
- const directiveDefIdx = contentQueries[i + 1];
- if (directiveDefIdx !== -1) {
- const directiveDef = tView.data[directiveDefIdx];
- ngDevMode && assertDefined(directiveDef, 'DirectiveDef not found.');
- ngDevMode && assertDefined(directiveDef.contentQueries, 'contentQueries function should be defined');
- setCurrentQueryIndex(queryStartIdx);
- directiveDef.contentQueries(2
- /* RenderFlags.Update */
- , lView[directiveDefIdx], directiveDefIdx);
- }
- }
- }
- }
- /** Refreshes child components in the current view (update mode). */
- function refreshChildComponents(hostLView, components) {
- for (let i = 0; i < components.length; i++) {
- refreshComponent(hostLView, components[i]);
- }
- }
- /** Renders child components in the current view (creation mode). */
- function renderChildComponents(hostLView, components) {
- for (let i = 0; i < components.length; i++) {
- renderComponent(hostLView, components[i]);
- }
- }
- function createLView(parentLView, tView, context, flags, host, tHostNode, rendererFactory, renderer, sanitizer, injector, embeddedViewInjector) {
- const lView = ngDevMode ? cloneToLViewFromTViewBlueprint(tView) : tView.blueprint.slice();
- lView[HOST] = host;
- lView[FLAGS] = flags | 4
- /* LViewFlags.CreationMode */
- | 64
- /* LViewFlags.Attached */
- | 8
- /* LViewFlags.FirstLViewPass */
- ;
- if (embeddedViewInjector !== null || parentLView && parentLView[FLAGS] & 1024
- /* LViewFlags.HasEmbeddedViewInjector */
- ) {
- lView[FLAGS] |= 1024
- /* LViewFlags.HasEmbeddedViewInjector */
- ;
- }
- resetPreOrderHookFlags(lView);
- ngDevMode && tView.declTNode && parentLView && assertTNodeForLView(tView.declTNode, parentLView);
- lView[PARENT] = lView[DECLARATION_VIEW] = parentLView;
- lView[CONTEXT] = context;
- lView[RENDERER_FACTORY] = rendererFactory || parentLView && parentLView[RENDERER_FACTORY];
- ngDevMode && assertDefined(lView[RENDERER_FACTORY], 'RendererFactory is required');
- lView[RENDERER] = renderer || parentLView && parentLView[RENDERER];
- ngDevMode && assertDefined(lView[RENDERER], 'Renderer is required');
- lView[SANITIZER] = sanitizer || parentLView && parentLView[SANITIZER] || null;
- lView[INJECTOR$1] = injector || parentLView && parentLView[INJECTOR$1] || null;
- lView[T_HOST] = tHostNode;
- lView[ID] = getUniqueLViewId();
- lView[EMBEDDED_VIEW_INJECTOR] = embeddedViewInjector;
- ngDevMode && assertEqual(tView.type == 2
- /* TViewType.Embedded */
- ? parentLView !== null : true, true, 'Embedded views must have parentLView');
- lView[DECLARATION_COMPONENT_VIEW] = tView.type == 2
- /* TViewType.Embedded */
- ? parentLView[DECLARATION_COMPONENT_VIEW] : lView;
- ngDevMode && attachLViewDebug(lView);
- return lView;
- }
- function getOrCreateTNode(tView, index, type, name, attrs) {
- ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in
- // `view_engine_compatibility` for additional context.
- assertGreaterThanOrEqual(index, HEADER_OFFSET, 'TNodes can\'t be in the LView header.'); // Keep this function short, so that the VM will inline it.
- ngDevMode && assertPureTNodeType(type);
- let tNode = tView.data[index];
- if (tNode === null) {
- tNode = createTNodeAtIndex(tView, index, type, name, attrs);
- if (isInI18nBlock()) {
- // If we are in i18n block then all elements should be pre declared through `Placeholder`
- // See `TNodeType.Placeholder` and `LFrame.inI18n` for more context.
- // If the `TNode` was not pre-declared than it means it was not mentioned which means it was
- // removed, so we mark it as detached.
- tNode.flags |= 64
- /* TNodeFlags.isDetached */
- ;
- }
- } else if (tNode.type & 64
- /* TNodeType.Placeholder */
- ) {
- tNode.type = type;
- tNode.value = name;
- tNode.attrs = attrs;
- const parent = getCurrentParentTNode();
- tNode.injectorIndex = parent === null ? -1 : parent.injectorIndex;
- ngDevMode && assertTNodeForTView(tNode, tView);
- ngDevMode && assertEqual(index, tNode.index, 'Expecting same index');
- }
- setCurrentTNode(tNode, true);
- return tNode;
- }
- function createTNodeAtIndex(tView, index, type, name, attrs) {
- const currentTNode = getCurrentTNodePlaceholderOk();
- const isParent = isCurrentTNodeParent();
- const parent = isParent ? currentTNode : currentTNode && currentTNode.parent; // Parents cannot cross component boundaries because components will be used in multiple places.
- 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
- // at index 0, in case of i18n, index 0 can be the instruction `i18nStart` and the first node has
- // the index 1 or more, so we can't just check node index.
- if (tView.firstChild === null) {
- tView.firstChild = tNode;
- }
- if (currentTNode !== null) {
- if (isParent) {
- // FIXME(misko): This logic looks unnecessarily complicated. Could we simplify?
- if (currentTNode.child == null && tNode.parent !== null) {
- // We are in the same view, which means we are adding content node to the parent view.
- currentTNode.child = tNode;
- }
- } else {
- if (currentTNode.next === null) {
- // In the case of i18n the `currentTNode` may already be linked, in which case we don't want
- // to break the links which i18n created.
- currentTNode.next = tNode;
- }
- }
- }
- return tNode;
- }
- /**
- * When elements are created dynamically after a view blueprint is created (e.g. through
- * i18nApply()), we need to adjust the blueprint for future
- * template passes.
- *
- * @param tView `TView` associated with `LView`
- * @param lView The `LView` containing the blueprint to adjust
- * @param numSlotsToAlloc The number of slots to alloc in the LView, should be >0
- * @param initialValue Initial value to store in blueprint
- */
- function allocExpando(tView, lView, numSlotsToAlloc, initialValue) {
- if (numSlotsToAlloc === 0) return -1;
- if (ngDevMode) {
- assertFirstCreatePass(tView);
- assertSame(tView, lView[TVIEW], '`LView` must be associated with `TView`!');
- assertEqual(tView.data.length, lView.length, 'Expecting LView to be same size as TView');
- assertEqual(tView.data.length, tView.blueprint.length, 'Expecting Blueprint to be same size as TView');
- assertFirstUpdatePass(tView);
- }
- const allocIdx = lView.length;
- for (let i = 0; i < numSlotsToAlloc; i++) {
- lView.push(initialValue);
- tView.blueprint.push(initialValue);
- tView.data.push(null);
- }
- return allocIdx;
- } //////////////////////////
- //// Render
- //////////////////////////
- /**
- * Processes a view in the creation mode. This includes a number of steps in a specific order:
- * - creating view query functions (if any);
- * - executing a template function in the creation mode;
- * - updating static queries (if any);
- * - creating child components defined in a given view.
- */
- function renderView(tView, lView, context) {
- ngDevMode && assertEqual(isCreationMode(lView), true, 'Should be run in creation mode');
- enterView(lView);
- try {
- const viewQuery = tView.viewQuery;
- if (viewQuery !== null) {
- executeViewQueryFn(1
- /* RenderFlags.Create */
- , viewQuery, context);
- } // Execute a template associated with this view, if it exists. A template function might not be
- // defined for the root component views.
- const templateFn = tView.template;
- if (templateFn !== null) {
- executeTemplate(tView, lView, templateFn, 1
- /* RenderFlags.Create */
- , context);
- } // This needs to be set before children are processed to support recursive components.
- // This must be set to false immediately after the first creation run because in an
- // ngFor loop, all the views will be created together before update mode runs and turns
- // off firstCreatePass. If we don't set it here, instances will perform directive
- // matching, etc again and again.
- if (tView.firstCreatePass) {
- tView.firstCreatePass = false;
- } // We resolve content queries specifically marked as `static` in creation mode. Dynamic
- // content queries are resolved during change detection (i.e. update mode), after embedded
- // views are refreshed (see block above).
- if (tView.staticContentQueries) {
- refreshContentQueries(tView, lView);
- } // We must materialize query results before child components are processed
- // in case a child component has projected a container. The LContainer needs
- // to exist so the embedded views are properly attached by the container.
- if (tView.staticViewQueries) {
- executeViewQueryFn(2
- /* RenderFlags.Update */
- , tView.viewQuery, context);
- } // Render child component views.
- const components = tView.components;
- if (components !== null) {
- renderChildComponents(lView, components);
- }
- } catch (error) {
- // If we didn't manage to get past the first template pass due to
- // an error, mark the view as corrupted so we can try to recover.
- if (tView.firstCreatePass) {
- tView.incompleteFirstPass = true;
- tView.firstCreatePass = false;
- }
- throw error;
- } finally {
- lView[FLAGS] &= ~4
- /* LViewFlags.CreationMode */
- ;
- leaveView();
- }
- }
- /**
- * Processes a view in update mode. This includes a number of steps in a specific order:
- * - executing a template function in update mode;
- * - executing hooks;
- * - refreshing queries;
- * - setting host bindings;
- * - refreshing child (embedded and component) views.
- */
- function refreshView(tView, lView, templateFn, context) {
- ngDevMode && assertEqual(isCreationMode(lView), false, 'Should be run in update mode');
- const flags = lView[FLAGS];
- if ((flags & 128
- /* LViewFlags.Destroyed */
- ) === 128
- /* LViewFlags.Destroyed */
- ) return;
- enterView(lView); // Check no changes mode is a dev only mode used to verify that bindings have not changed
- // since they were assigned. We do not want to execute lifecycle hooks in that mode.
- const isInCheckNoChangesPass = ngDevMode && isInCheckNoChangesMode();
- try {
- resetPreOrderHookFlags(lView);
- setBindingIndex(tView.bindingStartIndex);
- if (templateFn !== null) {
- executeTemplate(tView, lView, templateFn, 2
- /* RenderFlags.Update */
- , context);
- }
- const hooksInitPhaseCompleted = (flags & 3
- /* LViewFlags.InitPhaseStateMask */
- ) === 3
- /* InitPhaseState.InitPhaseCompleted */
- ; // execute pre-order hooks (OnInit, OnChanges, DoCheck)
- // PERF WARNING: do NOT extract this to a separate function without running benchmarks
- if (!isInCheckNoChangesPass) {
- if (hooksInitPhaseCompleted) {
- const preOrderCheckHooks = tView.preOrderCheckHooks;
- if (preOrderCheckHooks !== null) {
- executeCheckHooks(lView, preOrderCheckHooks, null);
- }
- } else {
- const preOrderHooks = tView.preOrderHooks;
- if (preOrderHooks !== null) {
- executeInitAndCheckHooks(lView, preOrderHooks, 0
- /* InitPhaseState.OnInitHooksToBeRun */
- , null);
- }
- incrementInitPhaseFlags(lView, 0
- /* InitPhaseState.OnInitHooksToBeRun */
- );
- }
- } // First mark transplanted views that are declared in this lView as needing a refresh at their
- // insertion points. This is needed to avoid the situation where the template is defined in this
- // `LView` but its declaration appears after the insertion component.
- markTransplantedViewsForRefresh(lView);
- refreshEmbeddedViews(lView); // Content query results must be refreshed before content hooks are called.
- if (tView.contentQueries !== null) {
- refreshContentQueries(tView, lView);
- } // execute content hooks (AfterContentInit, AfterContentChecked)
- // PERF WARNING: do NOT extract this to a separate function without running benchmarks
- if (!isInCheckNoChangesPass) {
- if (hooksInitPhaseCompleted) {
- const contentCheckHooks = tView.contentCheckHooks;
- if (contentCheckHooks !== null) {
- executeCheckHooks(lView, contentCheckHooks);
- }
- } else {
- const contentHooks = tView.contentHooks;
- if (contentHooks !== null) {
- executeInitAndCheckHooks(lView, contentHooks, 1
- /* InitPhaseState.AfterContentInitHooksToBeRun */
- );
- }
- incrementInitPhaseFlags(lView, 1
- /* InitPhaseState.AfterContentInitHooksToBeRun */
- );
- }
- }
- processHostBindingOpCodes(tView, lView); // Refresh child component views.
- const components = tView.components;
- if (components !== null) {
- refreshChildComponents(lView, components);
- } // View queries must execute after refreshing child components because a template in this view
- // could be inserted in a child component. If the view query executes before child component
- // refresh, the template might not yet be inserted.
- const viewQuery = tView.viewQuery;
- if (viewQuery !== null) {
- executeViewQueryFn(2
- /* RenderFlags.Update */
- , viewQuery, context);
- } // execute view hooks (AfterViewInit, AfterViewChecked)
- // PERF WARNING: do NOT extract this to a separate function without running benchmarks
- if (!isInCheckNoChangesPass) {
- if (hooksInitPhaseCompleted) {
- const viewCheckHooks = tView.viewCheckHooks;
- if (viewCheckHooks !== null) {
- executeCheckHooks(lView, viewCheckHooks);
- }
- } else {
- const viewHooks = tView.viewHooks;
- if (viewHooks !== null) {
- executeInitAndCheckHooks(lView, viewHooks, 2
- /* InitPhaseState.AfterViewInitHooksToBeRun */
- );
- }
- incrementInitPhaseFlags(lView, 2
- /* InitPhaseState.AfterViewInitHooksToBeRun */
- );
- }
- }
- if (tView.firstUpdatePass === true) {
- // We need to make sure that we only flip the flag on successful `refreshView` only
- // Don't do this in `finally` block.
- // If we did this in `finally` block then an exception could block the execution of styling
- // instructions which in turn would be unable to insert themselves into the styling linked
- // list. The result of this would be that if the exception would not be throw on subsequent CD
- // the styling would be unable to process it data and reflect to the DOM.
- tView.firstUpdatePass = false;
- } // Do not reset the dirty state when running in check no changes mode. We don't want components
- // to behave differently depending on whether check no changes is enabled or not. For example:
- // Marking an OnPush component as dirty from within the `ngAfterViewInit` hook in order to
- // refresh a `NgClass` binding should work. If we would reset the dirty state in the check
- // no changes cycle, the component would be not be dirty for the next update pass. This would
- // be different in production mode where the component dirty state is not reset.
- if (!isInCheckNoChangesPass) {
- lView[FLAGS] &= ~(32
- /* LViewFlags.Dirty */
- | 8
- /* LViewFlags.FirstLViewPass */
- );
- }
- if (lView[FLAGS] & 512
- /* LViewFlags.RefreshTransplantedView */
- ) {
- lView[FLAGS] &= ~512
- /* LViewFlags.RefreshTransplantedView */
- ;
- updateTransplantedViewCount(lView[PARENT], -1);
- }
- } finally {
- leaveView();
- }
- }
- function executeTemplate(tView, lView, templateFn, rf, context) {
- const prevSelectedIndex = getSelectedIndex();
- const isUpdatePhase = rf & 2
- /* RenderFlags.Update */
- ;
- try {
- setSelectedIndex(-1);
- if (isUpdatePhase && lView.length > HEADER_OFFSET) {
- // When we're updating, inherently select 0 so we don't
- // have to generate that instruction for most update blocks.
- selectIndexInternal(tView, lView, HEADER_OFFSET, !!ngDevMode && isInCheckNoChangesMode());
- }
- const preHookType = isUpdatePhase ? 2
- /* ProfilerEvent.TemplateUpdateStart */
- : 0
- /* ProfilerEvent.TemplateCreateStart */
- ;
- profiler(preHookType, context);
- templateFn(rf, context);
- } finally {
- setSelectedIndex(prevSelectedIndex);
- const postHookType = isUpdatePhase ? 3
- /* ProfilerEvent.TemplateUpdateEnd */
- : 1
- /* ProfilerEvent.TemplateCreateEnd */
- ;
- profiler(postHookType, context);
- }
- } //////////////////////////
- //// Element
- //////////////////////////
- function executeContentQueries(tView, tNode, lView) {
- if (isContentQueryHost(tNode)) {
- const start = tNode.directiveStart;
- const end = tNode.directiveEnd;
- for (let directiveIndex = start; directiveIndex < end; directiveIndex++) {
- const def = tView.data[directiveIndex];
- if (def.contentQueries) {
- def.contentQueries(1
- /* RenderFlags.Create */
- , lView[directiveIndex], directiveIndex);
- }
- }
- }
- }
- /**
- * Creates directive instances.
- */
- function createDirectivesInstances(tView, lView, tNode) {
- if (!getBindingsEnabled()) return;
- instantiateAllDirectives(tView, lView, tNode, getNativeByTNode(tNode, lView));
- if ((tNode.flags & 128
- /* TNodeFlags.hasHostBindings */
- ) === 128
- /* TNodeFlags.hasHostBindings */
- ) {
- invokeDirectivesHostBindings(tView, lView, tNode);
- }
- }
- /**
- * Takes a list of local names and indices and pushes the resolved local variable values
- * to LView in the same order as they are loaded in the template with load().
- */
- function saveResolvedLocalsInData(viewData, tNode, localRefExtractor = getNativeByTNode) {
- const localNames = tNode.localNames;
- if (localNames !== null) {
- let localIndex = tNode.index + 1;
- for (let i = 0; i < localNames.length; i += 2) {
- const index = localNames[i + 1];
- const value = index === -1 ? localRefExtractor(tNode, viewData) : viewData[index];
- viewData[localIndex++] = value;
- }
- }
- }
- /**
- * Gets TView from a template function or creates a new TView
- * if it doesn't already exist.
- *
- * @param def ComponentDef
- * @returns TView
- */
- function getOrCreateComponentTView(def) {
- const tView = def.tView; // Create a TView if there isn't one, or recreate it if the first create pass didn't
- // complete successfully since we can't know for sure whether it's in a usable shape.
- if (tView === null || tView.incompleteFirstPass) {
- // Declaration node here is null since this function is called when we dynamically create a
- // component and hence there is no declaration.
- const declTNode = null;
- return def.tView = createTView(1
- /* TViewType.Component */
- , declTNode, def.template, def.decls, def.vars, def.directiveDefs, def.pipeDefs, def.viewQuery, def.schemas, def.consts);
- }
- return tView;
- }
- /**
- * Creates a TView instance
- *
- * @param type Type of `TView`.
- * @param declTNode Declaration location of this `TView`.
- * @param templateFn Template function
- * @param decls The number of nodes, local refs, and pipes in this template
- * @param directives Registry of directives for this view
- * @param pipes Registry of pipes for this view
- * @param viewQuery View queries for this view
- * @param schemas Schemas for this view
- * @param consts Constants for this view
- */
- function createTView(type, declTNode, templateFn, decls, vars, directives, pipes, viewQuery, schemas, constsOrFactory) {
- ngDevMode && ngDevMode.tView++;
- const bindingStartIndex = HEADER_OFFSET + decls; // This length does not yet contain host bindings from child directives because at this point,
- // we don't know which directives are active on this template. As soon as a directive is matched
- // that has a host binding, we will update the blueprint with that def's hostVars count.
- const initialViewLength = bindingStartIndex + vars;
- const blueprint = createViewBlueprint(bindingStartIndex, initialViewLength);
- const consts = typeof constsOrFactory === 'function' ? constsOrFactory() : constsOrFactory;
- const tView = blueprint[TVIEW] = ngDevMode ? new TViewConstructor(type, // type: TViewType,
- blueprint, // blueprint: LView,
- templateFn, // template: ComponentTemplate<{}>|null,
- null, // queries: TQueries|null
- viewQuery, // viewQuery: ViewQueriesFunction<{}>|null,
- declTNode, // declTNode: TNode|null,
- cloneToTViewData(blueprint).fill(null, bindingStartIndex), // data: TData,
- bindingStartIndex, // bindingStartIndex: number,
- initialViewLength, // expandoStartIndex: number,
- null, // hostBindingOpCodes: HostBindingOpCodes,
- true, // firstCreatePass: boolean,
- true, // firstUpdatePass: boolean,
- false, // staticViewQueries: boolean,
- false, // staticContentQueries: boolean,
- null, // preOrderHooks: HookData|null,
- null, // preOrderCheckHooks: HookData|null,
- null, // contentHooks: HookData|null,
- null, // contentCheckHooks: HookData|null,
- null, // viewHooks: HookData|null,
- null, // viewCheckHooks: HookData|null,
- null, // destroyHooks: DestroyHookData|null,
- null, // cleanup: any[]|null,
- null, // contentQueries: number[]|null,
- null, // components: number[]|null,
- typeof directives === 'function' ? //
- directives() : //
- directives, // directiveRegistry: DirectiveDefList|null,
- typeof pipes === 'function' ? pipes() : pipes, // pipeRegistry: PipeDefList|null,
- null, // firstChild: TNode|null,
- schemas, // schemas: SchemaMetadata[]|null,
- consts, // consts: TConstants|null
- false, // incompleteFirstPass: boolean
- decls, // ngDevMode only: decls
- vars) : {
- type: type,
- blueprint: blueprint,
- template: templateFn,
- queries: null,
- viewQuery: viewQuery,
- declTNode: declTNode,
- data: blueprint.slice().fill(null, bindingStartIndex),
- bindingStartIndex: bindingStartIndex,
- expandoStartIndex: initialViewLength,
- hostBindingOpCodes: null,
- firstCreatePass: true,
- firstUpdatePass: true,
- staticViewQueries: false,
- staticContentQueries: false,
- preOrderHooks: null,
- preOrderCheckHooks: null,
- contentHooks: null,
- contentCheckHooks: null,
- viewHooks: null,
- viewCheckHooks: null,
- destroyHooks: null,
- cleanup: null,
- contentQueries: null,
- components: null,
- directiveRegistry: typeof directives === 'function' ? directives() : directives,
- pipeRegistry: typeof pipes === 'function' ? pipes() : pipes,
- firstChild: null,
- schemas: schemas,
- consts: consts,
- incompleteFirstPass: false
- };
- if (ngDevMode) {
- // For performance reasons it is important that the tView retains the same shape during runtime.
- // (To make sure that all of the code is monomorphic.) For this reason we seal the object to
- // prevent class transitions.
- Object.seal(tView);
- }
- return tView;
- }
- function createViewBlueprint(bindingStartIndex, initialViewLength) {
- const blueprint = ngDevMode ? new LViewBlueprint() : [];
- for (let i = 0; i < initialViewLength; i++) {
- blueprint.push(i < bindingStartIndex ? null : NO_CHANGE);
- }
- return blueprint;
- }
- function createError(text, token) {
- return new Error(`Renderer: ${text} [${stringifyForError(token)}]`);
- }
- /**
- * Locates the host native element, used for bootstrapping existing nodes into rendering pipeline.
- *
- * @param rendererFactory Factory function to create renderer instance.
- * @param elementOrSelector Render element or CSS selector to locate the element.
- * @param encapsulation View Encapsulation defined for component that requests host element.
- */
- function locateHostElement(renderer, elementOrSelector, encapsulation) {
- // When using native Shadow DOM, do not clear host element to allow native slot projection
- const preserveContent = encapsulation === ViewEncapsulation$1.ShadowDom;
- return renderer.selectRootElement(elementOrSelector, preserveContent);
- }
- /**
- * Saves context for this cleanup function in LView.cleanupInstances.
- *
- * On the first template pass, saves in TView:
- * - Cleanup function
- * - Index of context we just saved in LView.cleanupInstances
- *
- * This function can also be used to store instance specific cleanup fns. In that case the `context`
- * is `null` and the function is store in `LView` (rather than it `TView`).
- */
- function storeCleanupWithContext(tView, lView, context, cleanupFn) {
- const lCleanup = getOrCreateLViewCleanup(lView);
- if (context === null) {
- // If context is null that this is instance specific callback. These callbacks can only be
- // inserted after template shared instances. For this reason in ngDevMode we freeze the TView.
- if (ngDevMode) {
- Object.freeze(getOrCreateTViewCleanup(tView));
- }
- lCleanup.push(cleanupFn);
- } else {
- lCleanup.push(context);
- if (tView.firstCreatePass) {
- getOrCreateTViewCleanup(tView).push(cleanupFn, lCleanup.length - 1);
- }
- }
- }
- function createTNode(tView, tParent, type, index, value, attrs) {
- ngDevMode && index !== 0 && // 0 are bogus nodes and they are OK. See `createContainerRef` in
- // `view_engine_compatibility` for additional context.
- assertGreaterThanOrEqual(index, HEADER_OFFSET, 'TNodes can\'t be in the LView header.');
- ngDevMode && assertNotSame(attrs, undefined, '\'undefined\' is not valid value for \'attrs\'');
- ngDevMode && ngDevMode.tNode++;
- ngDevMode && tParent && assertTNodeForTView(tParent, tView);
- let injectorIndex = tParent ? tParent.injectorIndex : -1;
- const tNode = ngDevMode ? new TNodeDebug(tView, // tView_: TView
- type, // type: TNodeType
- index, // index: number
- null, // insertBeforeIndex: null|-1|number|number[]
- injectorIndex, // injectorIndex: number
- -1, // directiveStart: number
- -1, // directiveEnd: number
- -1, // directiveStylingLast: number
- null, // propertyBindings: number[]|null
- 0, // flags: TNodeFlags
- 0, // providerIndexes: TNodeProviderIndexes
- value, // value: string|null
- attrs, // attrs: (string|AttributeMarker|(string|SelectorFlags)[])[]|null
- null, // mergedAttrs
- null, // localNames: (string|number)[]|null
- undefined, // initialInputs: (string[]|null)[]|null|undefined
- null, // inputs: PropertyAliases|null
- null, // outputs: PropertyAliases|null
- null, // tViews: ITView|ITView[]|null
- null, // next: ITNode|null
- null, // projectionNext: ITNode|null
- null, // child: ITNode|null
- tParent, // parent: TElementNode|TContainerNode|null
- null, // projection: number|(ITNode|RNode[])[]|null
- null, // styles: string|null
- null, // stylesWithoutHost: string|null
- undefined, // residualStyles: string|null
- null, // classes: string|null
- null, // classesWithoutHost: string|null
- undefined, // residualClasses: string|null
- 0, // classBindings: TStylingRange;
- 0) : {
- type,
- index,
- insertBeforeIndex: null,
- injectorIndex,
- directiveStart: -1,
- directiveEnd: -1,
- directiveStylingLast: -1,
- propertyBindings: null,
- flags: 0,
- providerIndexes: 0,
- value: value,
- attrs: attrs,
- mergedAttrs: null,
- localNames: null,
- initialInputs: undefined,
- inputs: null,
- outputs: null,
- tViews: null,
- next: null,
- projectionNext: null,
- child: null,
- parent: tParent,
- projection: null,
- styles: null,
- stylesWithoutHost: null,
- residualStyles: undefined,
- classes: null,
- classesWithoutHost: null,
- residualClasses: undefined,
- classBindings: 0,
- styleBindings: 0
- };
- if (ngDevMode) {
- // For performance reasons it is important that the tNode retains the same shape during runtime.
- // (To make sure that all of the code is monomorphic.) For this reason we seal the object to
- // prevent class transitions.
- Object.seal(tNode);
- }
- return tNode;
- }
- function generatePropertyAliases(inputAliasMap, directiveDefIdx, propStore) {
- for (let publicName in inputAliasMap) {
- if (inputAliasMap.hasOwnProperty(publicName)) {
- propStore = propStore === null ? {} : propStore;
- const internalName = inputAliasMap[publicName];
- if (propStore.hasOwnProperty(publicName)) {
- propStore[publicName].push(directiveDefIdx, internalName);
- } else {
- propStore[publicName] = [directiveDefIdx, internalName];
- }
- }
- }
- return propStore;
- }
- /**
- * Initializes data structures required to work with directive inputs and outputs.
- * Initialization is done for all directives matched on a given TNode.
- */
- function initializeInputAndOutputAliases(tView, tNode) {
- ngDevMode && assertFirstCreatePass(tView);
- const start = tNode.directiveStart;
- const end = tNode.directiveEnd;
- const tViewData = tView.data;
- const tNodeAttrs = tNode.attrs;
- const inputsFromAttrs = ngDevMode ? new TNodeInitialInputs() : [];
- let inputsStore = null;
- let outputsStore = null;
- for (let i = start; i < end; i++) {
- const directiveDef = tViewData[i];
- const directiveInputs = directiveDef.inputs; // Do not use unbound attributes as inputs to structural directives, since structural
- // directive inputs can only be set using microsyntax (e.g. `<div *dir="exp">`).
- // TODO(FW-1930): microsyntax expressions may also contain unbound/static attributes, which
- // should be set for inline templates.
- const initialInputs = tNodeAttrs !== null && !isInlineTemplate(tNode) ? generateInitialInputs(directiveInputs, tNodeAttrs) : null;
- inputsFromAttrs.push(initialInputs);
- inputsStore = generatePropertyAliases(directiveInputs, i, inputsStore);
- outputsStore = generatePropertyAliases(directiveDef.outputs, i, outputsStore);
- }
- if (inputsStore !== null) {
- if (inputsStore.hasOwnProperty('class')) {
- tNode.flags |= 16
- /* TNodeFlags.hasClassInput */
- ;
- }
- if (inputsStore.hasOwnProperty('style')) {
- tNode.flags |= 32
- /* TNodeFlags.hasStyleInput */
- ;
- }
- }
- tNode.initialInputs = inputsFromAttrs;
- tNode.inputs = inputsStore;
- tNode.outputs = outputsStore;
- }
- /**
- * Mapping between attributes names that don't correspond to their element property names.
- *
- * Performance note: this function is written as a series of if checks (instead of, say, a property
- * object lookup) for performance reasons - the series of `if` checks seems to be the fastest way of
- * mapping property names. Do NOT change without benchmarking.
- *
- * Note: this mapping has to be kept in sync with the equally named mapping in the template
- * type-checking machinery of ngtsc.
- */
- function mapPropName(name) {
- if (name === 'class') return 'className';
- if (name === 'for') return 'htmlFor';
- if (name === 'formaction') return 'formAction';
- if (name === 'innerHtml') return 'innerHTML';
- if (name === 'readonly') return 'readOnly';
- if (name === 'tabindex') return 'tabIndex';
- return name;
- }
- function elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, nativeOnly) {
- ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');
- const element = getNativeByTNode(tNode, lView);
- let inputData = tNode.inputs;
- let dataValue;
- if (!nativeOnly && inputData != null && (dataValue = inputData[propName])) {
- setInputsForProperty(tView, lView, dataValue, propName, value);
- if (isComponentHost(tNode)) markDirtyIfOnPush(lView, tNode.index);
- if (ngDevMode) {
- setNgReflectProperties(lView, element, tNode.type, dataValue, value);
- }
- } else if (tNode.type & 3
- /* TNodeType.AnyRNode */
- ) {
- propName = mapPropName(propName);
- if (ngDevMode) {
- validateAgainstEventProperties(propName);
- if (!isPropertyValid(element, propName, tNode.value, tView.schemas)) {
- handleUnknownPropertyError(propName, tNode.value, tNode.type, lView);
- }
- ngDevMode.rendererSetProperty++;
- } // It is assumed that the sanitizer is only added when the compiler determines that the
- // property is risky, so sanitization can be done without further checks.
- value = sanitizer != null ? sanitizer(value, tNode.value || '', propName) : value;
- renderer.setProperty(element, propName, value);
- } else if (tNode.type & 12
- /* TNodeType.AnyContainer */
- ) {
- // If the node is a container and the property didn't
- // match any of the inputs or schemas we should throw.
- if (ngDevMode && !matchingSchemas(tView.schemas, tNode.value)) {
- handleUnknownPropertyError(propName, tNode.value, tNode.type, lView);
- }
- }
- }
- /** If node is an OnPush component, marks its LView dirty. */
- function markDirtyIfOnPush(lView, viewIndex) {
- ngDevMode && assertLView(lView);
- const childComponentLView = getComponentLViewByIndex(viewIndex, lView);
- if (!(childComponentLView[FLAGS] & 16
- /* LViewFlags.CheckAlways */
- )) {
- childComponentLView[FLAGS] |= 32
- /* LViewFlags.Dirty */
- ;
- }
- }
- function setNgReflectProperty(lView, element, type, attrName, value) {
- const renderer = lView[RENDERER];
- attrName = normalizeDebugBindingName(attrName);
- const debugValue = normalizeDebugBindingValue(value);
- if (type & 3
- /* TNodeType.AnyRNode */
- ) {
- if (value == null) {
- renderer.removeAttribute(element, attrName);
- } else {
- renderer.setAttribute(element, attrName, debugValue);
- }
- } else {
- const textContent = escapeCommentText(`bindings=${JSON.stringify({
- [attrName]: debugValue
- }, null, 2)}`);
- renderer.setValue(element, textContent);
- }
- }
- function setNgReflectProperties(lView, element, type, dataValue, value) {
- if (type & (3
- /* TNodeType.AnyRNode */
- | 4
- /* TNodeType.Container */
- )) {
- /**
- * dataValue is an array containing runtime input or output names for the directives:
- * i+0: directive instance index
- * i+1: privateName
- *
- * e.g. [0, 'change', 'change-minified']
- * we want to set the reflected property with the privateName: dataValue[i+1]
- */
- for (let i = 0; i < dataValue.length; i += 2) {
- setNgReflectProperty(lView, element, type, dataValue[i + 1], value);
- }
- }
- }
- /**
- * Instantiate a root component.
- */
- function instantiateRootComponent(tView, lView, def) {
- const rootTNode = getCurrentTNode();
- if (tView.firstCreatePass) {
- if (def.providersResolver) def.providersResolver(def);
- const directiveIndex = allocExpando(tView, lView, 1, null);
- ngDevMode && assertEqual(directiveIndex, rootTNode.directiveStart, 'Because this is a root component the allocated expando should match the TNode component.');
- configureViewWithDirective(tView, rootTNode, lView, directiveIndex, def);
- initializeInputAndOutputAliases(tView, rootTNode);
- }
- const directive = getNodeInjectable(lView, tView, rootTNode.directiveStart, rootTNode);
- attachPatchData(directive, lView);
- const native = getNativeByTNode(rootTNode, lView);
- if (native) {
- attachPatchData(native, lView);
- }
- return directive;
- }
- /**
- * Resolve the matched directives on a node.
- */
- function resolveDirectives(tView, lView, tNode, localRefs) {
- // Please make sure to have explicit type for `exportsMap`. Inferred type triggers bug in
- // tsickle.
- ngDevMode && assertFirstCreatePass(tView);
- let hasDirectives = false;
- if (getBindingsEnabled()) {
- const directiveDefs = findDirectiveDefMatches(tView, lView, tNode);
- const exportsMap = localRefs === null ? null : {
- '': -1
- };
- if (directiveDefs !== null) {
- hasDirectives = true;
- initTNodeFlags(tNode, tView.data.length, directiveDefs.length); // When the same token is provided by several directives on the same node, some rules apply in
- // the viewEngine:
- // - viewProviders have priority over providers
- // - the last directive in NgModule.declarations has priority over the previous one
- // So to match these rules, the order in which providers are added in the arrays is very
- // important.
- for (let i = 0; i < directiveDefs.length; i++) {
- const def = directiveDefs[i];
- if (def.providersResolver) def.providersResolver(def);
- }
- let preOrderHooksFound = false;
- let preOrderCheckHooksFound = false;
- let directiveIdx = allocExpando(tView, lView, directiveDefs.length, null);
- ngDevMode && assertSame(directiveIdx, tNode.directiveStart, 'TNode.directiveStart should point to just allocated space');
- for (let i = 0; i < directiveDefs.length; i++) {
- const def = directiveDefs[i]; // Merge the attrs in the order of matches. This assumes that the first directive is the
- // component itself, so that the component has the least priority.
- tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, def.hostAttrs);
- configureViewWithDirective(tView, tNode, lView, directiveIdx, def);
- saveNameToExportMap(directiveIdx, def, exportsMap);
- if (def.contentQueries !== null) tNode.flags |= 8
- /* TNodeFlags.hasContentQuery */
- ;
- if (def.hostBindings !== null || def.hostAttrs !== null || def.hostVars !== 0) tNode.flags |= 128
- /* TNodeFlags.hasHostBindings */
- ;
- const lifeCycleHooks = def.type.prototype; // Only push a node index into the preOrderHooks array if this is the first
- // pre-order hook found on this node.
- if (!preOrderHooksFound && (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngOnInit || lifeCycleHooks.ngDoCheck)) {
- // We will push the actual hook function into this array later during dir instantiation.
- // We cannot do it now because we must ensure hooks are registered in the same
- // order that directives are created (i.e. injection order).
- (tView.preOrderHooks || (tView.preOrderHooks = [])).push(tNode.index);
- preOrderHooksFound = true;
- }
- if (!preOrderCheckHooksFound && (lifeCycleHooks.ngOnChanges || lifeCycleHooks.ngDoCheck)) {
- (tView.preOrderCheckHooks || (tView.preOrderCheckHooks = [])).push(tNode.index);
- preOrderCheckHooksFound = true;
- }
- directiveIdx++;
- }
- initializeInputAndOutputAliases(tView, tNode);
- }
- if (exportsMap) cacheMatchingLocalNames(tNode, localRefs, exportsMap);
- } // Merge the template attrs last so that they have the highest priority.
- tNode.mergedAttrs = mergeHostAttrs(tNode.mergedAttrs, tNode.attrs);
- return hasDirectives;
- }
- /**
- * Add `hostBindings` to the `TView.hostBindingOpCodes`.
- *
- * @param tView `TView` to which the `hostBindings` should be added.
- * @param tNode `TNode` the element which contains the directive
- * @param lView `LView` current `LView`
- * @param directiveIdx Directive index in view.
- * @param directiveVarsIdx Where will the directive's vars be stored
- * @param def `ComponentDef`/`DirectiveDef`, which contains the `hostVars`/`hostBindings` to add.
- */
- function registerHostBindingOpCodes(tView, tNode, lView, directiveIdx, directiveVarsIdx, def) {
- ngDevMode && assertFirstCreatePass(tView);
- const hostBindings = def.hostBindings;
- if (hostBindings) {
- let hostBindingOpCodes = tView.hostBindingOpCodes;
- if (hostBindingOpCodes === null) {
- hostBindingOpCodes = tView.hostBindingOpCodes = [];
- }
- const elementIndx = ~tNode.index;
- if (lastSelectedElementIdx(hostBindingOpCodes) != elementIndx) {
- // Conditionally add select element so that we are more efficient in execution.
- // NOTE: this is strictly not necessary and it trades code size for runtime perf.
- // (We could just always add it.)
- hostBindingOpCodes.push(elementIndx);
- }
- hostBindingOpCodes.push(directiveIdx, directiveVarsIdx, hostBindings);
- }
- }
- /**
- * Returns the last selected element index in the `HostBindingOpCodes`
- *
- * For perf reasons we don't need to update the selected element index in `HostBindingOpCodes` only
- * if it changes. This method returns the last index (or '0' if not found.)
- *
- * Selected element index are only the ones which are negative.
- */
- function lastSelectedElementIdx(hostBindingOpCodes) {
- let i = hostBindingOpCodes.length;
- while (i > 0) {
- const value = hostBindingOpCodes[--i];
- if (typeof value === 'number' && value < 0) {
- return value;
- }
- }
- return 0;
- }
- /**
- * Instantiate all the directives that were previously resolved on the current node.
- */
- function instantiateAllDirectives(tView, lView, tNode, native) {
- const start = tNode.directiveStart;
- const end = tNode.directiveEnd;
- if (!tView.firstCreatePass) {
- getOrCreateNodeInjectorForNode(tNode, lView);
- }
- attachPatchData(native, lView);
- const initialInputs = tNode.initialInputs;
- for (let i = start; i < end; i++) {
- const def = tView.data[i];
- const isComponent = isComponentDef(def);
- if (isComponent) {
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- );
- addComponentLogic(lView, tNode, def);
- }
- const directive = getNodeInjectable(lView, tView, i, tNode);
- attachPatchData(directive, lView);
- if (initialInputs !== null) {
- setInputsFromAttrs(lView, i - start, directive, def, tNode, initialInputs);
- }
- if (isComponent) {
- const componentView = getComponentLViewByIndex(tNode.index, lView);
- componentView[CONTEXT] = directive;
- }
- }
- }
- function invokeDirectivesHostBindings(tView, lView, tNode) {
- const start = tNode.directiveStart;
- const end = tNode.directiveEnd;
- const elementIndex = tNode.index;
- const currentDirectiveIndex = getCurrentDirectiveIndex();
- try {
- setSelectedIndex(elementIndex);
- for (let dirIndex = start; dirIndex < end; dirIndex++) {
- const def = tView.data[dirIndex];
- const directive = lView[dirIndex];
- setCurrentDirectiveIndex(dirIndex);
- if (def.hostBindings !== null || def.hostVars !== 0 || def.hostAttrs !== null) {
- invokeHostBindingsInCreationMode(def, directive);
- }
- }
- } finally {
- setSelectedIndex(-1);
- setCurrentDirectiveIndex(currentDirectiveIndex);
- }
- }
- /**
- * Invoke the host bindings in creation mode.
- *
- * @param def `DirectiveDef` which may contain the `hostBindings` function.
- * @param directive Instance of directive.
- */
- function invokeHostBindingsInCreationMode(def, directive) {
- if (def.hostBindings !== null) {
- def.hostBindings(1
- /* RenderFlags.Create */
- , directive);
- }
- }
- /**
- * Matches the current node against all available selectors.
- * If a component is matched (at most one), it is returned in first position in the array.
- */
- function findDirectiveDefMatches(tView, viewData, tNode) {
- ngDevMode && assertFirstCreatePass(tView);
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- | 12
- /* TNodeType.AnyContainer */
- );
- const registry = tView.directiveRegistry;
- let matches = null;
- if (registry) {
- for (let i = 0; i < registry.length; i++) {
- const def = registry[i];
- if (isNodeMatchingSelectorList(tNode, def.selectors,
- /* isProjectionMode */
- false)) {
- matches || (matches = ngDevMode ? new MatchesArray() : []);
- diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, viewData), tView, def.type);
- if (isComponentDef(def)) {
- if (ngDevMode) {
- assertTNodeType(tNode, 2
- /* TNodeType.Element */
- , `"${tNode.value}" tags cannot be used as component hosts. ` + `Please use a different tag to activate the ${stringify(def.type)} component.`);
- if (tNode.flags & 2
- /* TNodeFlags.isComponentHost */
- ) {
- // If another component has been matched previously, it's the first element in the
- // `matches` array, see how we store components/directives in `matches` below.
- throwMultipleComponentError(tNode, matches[0].type, def.type);
- }
- }
- markAsComponentHost(tView, tNode); // The component is always stored first with directives after.
- matches.unshift(def);
- } else {
- matches.push(def);
- }
- }
- }
- }
- return matches;
- }
- /**
- * Marks a given TNode as a component's host. This consists of:
- * - setting appropriate TNode flags;
- * - storing index of component's host element so it will be queued for view refresh during CD.
- */
- function markAsComponentHost(tView, hostTNode) {
- ngDevMode && assertFirstCreatePass(tView);
- hostTNode.flags |= 2
- /* TNodeFlags.isComponentHost */
- ;
- (tView.components || (tView.components = ngDevMode ? new TViewComponents() : [])).push(hostTNode.index);
- }
- /** Caches local names and their matching directive indices for query and template lookups. */
- function cacheMatchingLocalNames(tNode, localRefs, exportsMap) {
- if (localRefs) {
- const localNames = tNode.localNames = ngDevMode ? new TNodeLocalNames() : []; // Local names must be stored in tNode in the same order that localRefs are defined
- // in the template to ensure the data is loaded in the same slots as their refs
- // in the template (for template queries).
- for (let i = 0; i < localRefs.length; i += 2) {
- const index = exportsMap[localRefs[i + 1]];
- if (index == null) throw new RuntimeError(-301
- /* RuntimeErrorCode.EXPORT_NOT_FOUND */
- , ngDevMode && `Export of name '${localRefs[i + 1]}' not found!`);
- localNames.push(localRefs[i], index);
- }
- }
- }
- /**
- * Builds up an export map as directives are created, so local refs can be quickly mapped
- * to their directive instances.
- */
- function saveNameToExportMap(directiveIdx, def, exportsMap) {
- if (exportsMap) {
- if (def.exportAs) {
- for (let i = 0; i < def.exportAs.length; i++) {
- exportsMap[def.exportAs[i]] = directiveIdx;
- }
- }
- if (isComponentDef(def)) exportsMap[''] = directiveIdx;
- }
- }
- /**
- * Initializes the flags on the current node, setting all indices to the initial index,
- * the directive count to 0, and adding the isComponent flag.
- * @param index the initial index
- */
- function initTNodeFlags(tNode, index, numberOfDirectives) {
- ngDevMode && assertNotEqual(numberOfDirectives, tNode.directiveEnd - tNode.directiveStart, 'Reached the max number of directives');
- tNode.flags |= 1
- /* TNodeFlags.isDirectiveHost */
- ; // When the first directive is created on a node, save the index
- tNode.directiveStart = index;
- tNode.directiveEnd = index + numberOfDirectives;
- tNode.providerIndexes = index;
- }
- /**
- * Setup directive for instantiation.
- *
- * We need to create a `NodeInjectorFactory` which is then inserted in both the `Blueprint` as well
- * as `LView`. `TView` gets the `DirectiveDef`.
- *
- * @param tView `TView`
- * @param tNode `TNode`
- * @param lView `LView`
- * @param directiveIndex Index where the directive will be stored in the Expando.
- * @param def `DirectiveDef`
- */
- function configureViewWithDirective(tView, tNode, lView, directiveIndex, def) {
- ngDevMode && assertGreaterThanOrEqual(directiveIndex, HEADER_OFFSET, 'Must be in Expando section');
- tView.data[directiveIndex] = def;
- const directiveFactory = def.factory || (def.factory = getFactoryDef(def.type, true)); // Even though `directiveFactory` will already be using `ɵɵdirectiveInject` in its generated code,
- // we also want to support `inject()` directly from the directive constructor context so we set
- // `ɵɵdirectiveInject` as the inject implementation here too.
- const nodeInjectorFactory = new NodeInjectorFactory(directiveFactory, isComponentDef(def), ɵɵdirectiveInject);
- tView.blueprint[directiveIndex] = nodeInjectorFactory;
- lView[directiveIndex] = nodeInjectorFactory;
- registerHostBindingOpCodes(tView, tNode, lView, directiveIndex, allocExpando(tView, lView, def.hostVars, NO_CHANGE), def);
- }
- function addComponentLogic(lView, hostTNode, def) {
- const native = getNativeByTNode(hostTNode, lView);
- const tView = getOrCreateComponentTView(def); // Only component views should be added to the view tree directly. Embedded views are
- // accessed through their containers because they may be removed / re-added later.
- const rendererFactory = lView[RENDERER_FACTORY];
- const componentView = addToViewTree(lView, createLView(lView, tView, null, def.onPush ? 32
- /* LViewFlags.Dirty */
- : 16
- /* LViewFlags.CheckAlways */
- , native, hostTNode, rendererFactory, rendererFactory.createRenderer(native, def), null, null, null)); // Component view will always be created before any injected LContainers,
- // so this is a regular element, wrap it with the component view
- lView[hostTNode.index] = componentView;
- }
- function elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace) {
- if (ngDevMode) {
- assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');
- validateAgainstEventAttributes(name);
- assertTNodeType(tNode, 2
- /* TNodeType.Element */
- , `Attempted to set attribute \`${name}\` on a container node. ` + `Host bindings are not valid on ng-container or ng-template.`);
- }
- const element = getNativeByTNode(tNode, lView);
- setElementAttribute(lView[RENDERER], element, namespace, tNode.value, name, value, sanitizer);
- }
- function setElementAttribute(renderer, element, namespace, tagName, name, value, sanitizer) {
- if (value == null) {
- ngDevMode && ngDevMode.rendererRemoveAttribute++;
- renderer.removeAttribute(element, name, namespace);
- } else {
- ngDevMode && ngDevMode.rendererSetAttribute++;
- const strValue = sanitizer == null ? renderStringify(value) : sanitizer(value, tagName || '', name);
- renderer.setAttribute(element, name, strValue, namespace);
- }
- }
- /**
- * Sets initial input properties on directive instances from attribute data
- *
- * @param lView Current LView that is being processed.
- * @param directiveIndex Index of the directive in directives array
- * @param instance Instance of the directive on which to set the initial inputs
- * @param def The directive def that contains the list of inputs
- * @param tNode The static data for this node
- */
- function setInputsFromAttrs(lView, directiveIndex, instance, def, tNode, initialInputData) {
- const initialInputs = initialInputData[directiveIndex];
- if (initialInputs !== null) {
- const setInput = def.setInput;
- for (let i = 0; i < initialInputs.length;) {
- const publicName = initialInputs[i++];
- const privateName = initialInputs[i++];
- const value = initialInputs[i++];
- if (setInput !== null) {
- def.setInput(instance, value, publicName, privateName);
- } else {
- instance[privateName] = value;
- }
- if (ngDevMode) {
- const nativeElement = getNativeByTNode(tNode, lView);
- setNgReflectProperty(lView, nativeElement, tNode.type, privateName, value);
- }
- }
- }
- }
- /**
- * Generates initialInputData for a node and stores it in the template's static storage
- * so subsequent template invocations don't have to recalculate it.
- *
- * initialInputData is an array containing values that need to be set as input properties
- * for directives on this node, but only once on creation. We need this array to support
- * the case where you set an @Input property of a directive using attribute-like syntax.
- * e.g. if you have a `name` @Input, you can set it once like this:
- *
- * <my-component name="Bess"></my-component>
- *
- * @param inputs The list of inputs from the directive def
- * @param attrs The static attrs on this node
- */
- function generateInitialInputs(inputs, attrs) {
- let inputsToStore = null;
- let i = 0;
- while (i < attrs.length) {
- const attrName = attrs[i];
- if (attrName === 0
- /* AttributeMarker.NamespaceURI */
- ) {
- // We do not allow inputs on namespaced attributes.
- i += 4;
- continue;
- } else if (attrName === 5
- /* AttributeMarker.ProjectAs */
- ) {
- // Skip over the `ngProjectAs` value.
- i += 2;
- continue;
- } // If we hit any other attribute markers, we're done anyway. None of those are valid inputs.
- if (typeof attrName === 'number') break;
- if (inputs.hasOwnProperty(attrName)) {
- if (inputsToStore === null) inputsToStore = [];
- inputsToStore.push(attrName, inputs[attrName], attrs[i + 1]);
- }
- i += 2;
- }
- return inputsToStore;
- } //////////////////////////
- //// ViewContainer & View
- //////////////////////////
- // Not sure why I need to do `any` here but TS complains later.
- const LContainerArray = class LContainer extends Array {};
- /**
- * Creates a LContainer, either from a container instruction, or for a ViewContainerRef.
- *
- * @param hostNative The host element for the LContainer
- * @param hostTNode The host TNode for the LContainer
- * @param currentView The parent view of the LContainer
- * @param native The native comment element
- * @param isForViewContainerRef Optional a flag indicating the ViewContainerRef case
- * @returns LContainer
- */
- function createLContainer(hostNative, currentView, native, tNode) {
- ngDevMode && assertLView(currentView); // https://jsperf.com/array-literal-vs-new-array-really
- const lContainer = new (ngDevMode ? LContainerArray : Array)(hostNative, // host native
- true, // Boolean `true` in this position signifies that this is an `LContainer`
- false, // has transplanted views
- currentView, // parent
- null, // next
- 0, // transplanted views to refresh count
- tNode, // t_host
- native, // native,
- null, // view refs
- null);
- ngDevMode && assertEqual(lContainer.length, CONTAINER_HEADER_OFFSET, 'Should allocate correct number of slots for LContainer header.');
- ngDevMode && attachLContainerDebug(lContainer);
- return lContainer;
- }
- /**
- * Goes over embedded views (ones created through ViewContainerRef APIs) and refreshes
- * them by executing an associated template function.
- */
- function refreshEmbeddedViews(lView) {
- for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
- for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
- const embeddedLView = lContainer[i];
- const embeddedTView = embeddedLView[TVIEW];
- ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
- if (viewAttachedToChangeDetector(embeddedLView)) {
- refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
- }
- }
- }
- }
- /**
- * Mark transplanted views as needing to be refreshed at their insertion points.
- *
- * @param lView The `LView` that may have transplanted views.
- */
- function markTransplantedViewsForRefresh(lView) {
- for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
- if (!lContainer[HAS_TRANSPLANTED_VIEWS]) continue;
- const movedViews = lContainer[MOVED_VIEWS];
- ngDevMode && assertDefined(movedViews, 'Transplanted View flags set but missing MOVED_VIEWS');
- for (let i = 0; i < movedViews.length; i++) {
- const movedLView = movedViews[i];
- const insertionLContainer = movedLView[PARENT];
- ngDevMode && assertLContainer(insertionLContainer); // We don't want to increment the counter if the moved LView was already marked for
- // refresh.
- if ((movedLView[FLAGS] & 512
- /* LViewFlags.RefreshTransplantedView */
- ) === 0) {
- updateTransplantedViewCount(insertionLContainer, 1);
- } // Note, it is possible that the `movedViews` is tracking views that are transplanted *and*
- // those that aren't (declaration component === insertion component). In the latter case,
- // it's fine to add the flag, as we will clear it immediately in
- // `refreshEmbeddedViews` for the view currently being refreshed.
- movedLView[FLAGS] |= 512
- /* LViewFlags.RefreshTransplantedView */
- ;
- }
- }
- } /////////////
- /**
- * Refreshes components by entering the component view and processing its bindings, queries, etc.
- *
- * @param componentHostIdx Element index in LView[] (adjusted for HEADER_OFFSET)
- */
- function refreshComponent(hostLView, componentHostIdx) {
- ngDevMode && assertEqual(isCreationMode(hostLView), false, 'Should be run in update mode');
- const componentView = getComponentLViewByIndex(componentHostIdx, hostLView); // Only attached components that are CheckAlways or OnPush and dirty should be refreshed
- if (viewAttachedToChangeDetector(componentView)) {
- const tView = componentView[TVIEW];
- if (componentView[FLAGS] & (16
- /* LViewFlags.CheckAlways */
- | 32
- /* LViewFlags.Dirty */
- )) {
- refreshView(tView, componentView, tView.template, componentView[CONTEXT]);
- } else if (componentView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
- // Only attached components that are CheckAlways or OnPush and dirty should be refreshed
- refreshContainsDirtyView(componentView);
- }
- }
- }
- /**
- * Refreshes all transplanted views marked with `LViewFlags.RefreshTransplantedView` that are
- * children or descendants of the given lView.
- *
- * @param lView The lView which contains descendant transplanted views that need to be refreshed.
- */
- function refreshContainsDirtyView(lView) {
- for (let lContainer = getFirstLContainer(lView); lContainer !== null; lContainer = getNextLContainer(lContainer)) {
- for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
- const embeddedLView = lContainer[i];
- if (viewAttachedToChangeDetector(embeddedLView)) {
- if (embeddedLView[FLAGS] & 512
- /* LViewFlags.RefreshTransplantedView */
- ) {
- const embeddedTView = embeddedLView[TVIEW];
- ngDevMode && assertDefined(embeddedTView, 'TView must be allocated');
- refreshView(embeddedTView, embeddedLView, embeddedTView.template, embeddedLView[CONTEXT]);
- } else if (embeddedLView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
- refreshContainsDirtyView(embeddedLView);
- }
- }
- }
- }
- const tView = lView[TVIEW]; // Refresh child component views.
- const components = tView.components;
- if (components !== null) {
- for (let i = 0; i < components.length; i++) {
- const componentView = getComponentLViewByIndex(components[i], lView); // Only attached components that are CheckAlways or OnPush and dirty should be refreshed
- if (viewAttachedToChangeDetector(componentView) && componentView[TRANSPLANTED_VIEWS_TO_REFRESH] > 0) {
- refreshContainsDirtyView(componentView);
- }
- }
- }
- }
- function renderComponent(hostLView, componentHostIdx) {
- ngDevMode && assertEqual(isCreationMode(hostLView), true, 'Should be run in creation mode');
- const componentView = getComponentLViewByIndex(componentHostIdx, hostLView);
- const componentTView = componentView[TVIEW];
- syncViewWithBlueprint(componentTView, componentView);
- renderView(componentTView, componentView, componentView[CONTEXT]);
- }
- /**
- * Syncs an LView instance with its blueprint if they have gotten out of sync.
- *
- * Typically, blueprints and their view instances should always be in sync, so the loop here
- * will be skipped. However, consider this case of two components side-by-side:
- *
- * App template:
- * ```
- * <comp></comp>
- * <comp></comp>
- * ```
- *
- * The following will happen:
- * 1. App template begins processing.
- * 2. First <comp> is matched as a component and its LView is created.
- * 3. Second <comp> is matched as a component and its LView is created.
- * 4. App template completes processing, so it's time to check child templates.
- * 5. First <comp> template is checked. It has a directive, so its def is pushed to blueprint.
- * 6. Second <comp> template is checked. Its blueprint has been updated by the first
- * <comp> template, but its LView was created before this update, so it is out of sync.
- *
- * Note that embedded views inside ngFor loops will never be out of sync because these views
- * are processed as soon as they are created.
- *
- * @param tView The `TView` that contains the blueprint for syncing
- * @param lView The view to sync
- */
- function syncViewWithBlueprint(tView, lView) {
- for (let i = lView.length; i < tView.blueprint.length; i++) {
- lView.push(tView.blueprint[i]);
- }
- }
- /**
- * Adds LView or LContainer to the end of the current view tree.
- *
- * This structure will be used to traverse through nested views to remove listeners
- * and call onDestroy callbacks.
- *
- * @param lView The view where LView or LContainer should be added
- * @param adjustedHostIndex Index of the view's host node in LView[], adjusted for header
- * @param lViewOrLContainer The LView or LContainer to add to the view tree
- * @returns The state passed in
- */
- function addToViewTree(lView, lViewOrLContainer) {
- // TODO(benlesh/misko): This implementation is incorrect, because it always adds the LContainer
- // to the end of the queue, which means if the developer retrieves the LContainers from RNodes out
- // of order, the change detection will run out of order, as the act of retrieving the the
- // LContainer from the RNode is what adds it to the queue.
- if (lView[CHILD_HEAD]) {
- lView[CHILD_TAIL][NEXT] = lViewOrLContainer;
- } else {
- lView[CHILD_HEAD] = lViewOrLContainer;
- }
- lView[CHILD_TAIL] = lViewOrLContainer;
- return lViewOrLContainer;
- } ///////////////////////////////
- //// Change detection
- ///////////////////////////////
- /**
- * Marks current view and all ancestors dirty.
- *
- * Returns the root view because it is found as a byproduct of marking the view tree
- * dirty, and can be used by methods that consume markViewDirty() to easily schedule
- * change detection. Otherwise, such methods would need to traverse up the view tree
- * an additional time to get the root view and schedule a tick on it.
- *
- * @param lView The starting LView to mark dirty
- * @returns the root LView
- */
- function markViewDirty(lView) {
- while (lView) {
- lView[FLAGS] |= 32
- /* LViewFlags.Dirty */
- ;
- const parent = getLViewParent(lView); // Stop traversing up as soon as you find a root view that wasn't attached to any container
- if (isRootView(lView) && !parent) {
- return lView;
- } // continue otherwise
- lView = parent;
- }
- return null;
- }
- function detectChangesInternal(tView, lView, context, notifyErrorHandler = true) {
- const rendererFactory = lView[RENDERER_FACTORY]; // Check no changes mode is a dev only mode used to verify that bindings have not changed
- // since they were assigned. We do not want to invoke renderer factory functions in that mode
- // to avoid any possible side-effects.
- const checkNoChangesMode = !!ngDevMode && isInCheckNoChangesMode();
- if (!checkNoChangesMode && rendererFactory.begin) rendererFactory.begin();
- try {
- refreshView(tView, lView, tView.template, context);
- } catch (error) {
- if (notifyErrorHandler) {
- handleError(lView, error);
- }
- throw error;
- } finally {
- if (!checkNoChangesMode && rendererFactory.end) rendererFactory.end();
- }
- }
- function checkNoChangesInternal(tView, lView, context, notifyErrorHandler = true) {
- setIsInCheckNoChangesMode(true);
- try {
- detectChangesInternal(tView, lView, context, notifyErrorHandler);
- } finally {
- setIsInCheckNoChangesMode(false);
- }
- }
- function executeViewQueryFn(flags, viewQueryFn, component) {
- ngDevMode && assertDefined(viewQueryFn, 'View queries function to execute must be defined.');
- setCurrentQueryIndex(0);
- viewQueryFn(flags, component);
- } ///////////////////////////////
- //// Bindings & interpolations
- ///////////////////////////////
- /**
- * Stores meta-data for a property binding to be used by TestBed's `DebugElement.properties`.
- *
- * In order to support TestBed's `DebugElement.properties` we need to save, for each binding:
- * - a bound property name;
- * - a static parts of interpolated strings;
- *
- * A given property metadata is saved at the binding's index in the `TView.data` (in other words, a
- * property binding metadata will be stored in `TView.data` at the same index as a bound value in
- * `LView`). Metadata are represented as `INTERPOLATION_DELIMITER`-delimited string with the
- * following format:
- * - `propertyName` for bound properties;
- * - `propertyName�prefix�interpolation_static_part1�..interpolation_static_partN�suffix` for
- * interpolated properties.
- *
- * @param tData `TData` where meta-data will be saved;
- * @param tNode `TNode` that is a target of the binding;
- * @param propertyName bound property name;
- * @param bindingIndex binding index in `LView`
- * @param interpolationParts static interpolation parts (for property interpolations)
- */
- function storePropertyBindingMetadata(tData, tNode, propertyName, bindingIndex, ...interpolationParts) {
- // Binding meta-data are stored only the first time a given property instruction is processed.
- // Since we don't have a concept of the "first update pass" we need to check for presence of the
- // binding meta-data to decide if one should be stored (or if was stored already).
- if (tData[bindingIndex] === null) {
- if (tNode.inputs == null || !tNode.inputs[propertyName]) {
- const propBindingIdxs = tNode.propertyBindings || (tNode.propertyBindings = []);
- propBindingIdxs.push(bindingIndex);
- let bindingMetadata = propertyName;
- if (interpolationParts.length > 0) {
- bindingMetadata += INTERPOLATION_DELIMITER + interpolationParts.join(INTERPOLATION_DELIMITER);
- }
- tData[bindingIndex] = bindingMetadata;
- }
- }
- }
- function getOrCreateLViewCleanup(view) {
- // top level variables should not be exported for performance reasons (PERF_NOTES.md)
- return view[CLEANUP] || (view[CLEANUP] = ngDevMode ? new LCleanup() : []);
- }
- function getOrCreateTViewCleanup(tView) {
- return tView.cleanup || (tView.cleanup = ngDevMode ? new TCleanup() : []);
- }
- /**
- * There are cases where the sub component's renderer needs to be included
- * instead of the current renderer (see the componentSyntheticHost* instructions).
- */
- function loadComponentRenderer(currentDef, tNode, lView) {
- // TODO(FW-2043): the `currentDef` is null when host bindings are invoked while creating root
- // component (see packages/core/src/render3/component.ts). This is not consistent with the process
- // of creating inner components, when current directive index is available in the state. In order
- // to avoid relying on current def being `null` (thus special-casing root component creation), the
- // process of creating root component should be unified with the process of creating inner
- // components.
- if (currentDef === null || isComponentDef(currentDef)) {
- lView = unwrapLView(lView[tNode.index]);
- }
- return lView[RENDERER];
- }
- /** Handles an error thrown in an LView. */
- function handleError(lView, error) {
- const injector = lView[INJECTOR$1];
- const errorHandler = injector ? injector.get(ErrorHandler, null) : null;
- errorHandler && errorHandler.handleError(error);
- }
- /**
- * Set the inputs of directives at the current node to corresponding value.
- *
- * @param tView The current TView
- * @param lView the `LView` which contains the directives.
- * @param inputs mapping between the public "input" name and privately-known,
- * possibly minified, property names to write to.
- * @param value Value to set.
- */
- function setInputsForProperty(tView, lView, inputs, publicName, value) {
- for (let i = 0; i < inputs.length;) {
- const index = inputs[i++];
- const privateName = inputs[i++];
- const instance = lView[index];
- ngDevMode && assertIndexInRange(lView, index);
- const def = tView.data[index];
- if (def.setInput !== null) {
- def.setInput(instance, value, publicName, privateName);
- } else {
- instance[privateName] = value;
- }
- }
- }
- /**
- * Updates a text binding at a given index in a given LView.
- */
- function textBindingInternal(lView, index, value) {
- ngDevMode && assertString(value, 'Value should be a string');
- ngDevMode && assertNotSame(value, NO_CHANGE, 'value should not be NO_CHANGE');
- ngDevMode && assertIndexInRange(lView, index);
- const element = getNativeByIndex(index, lView);
- ngDevMode && assertDefined(element, 'native element should exist');
- updateTextNode(lView[RENDERER], element, value);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Compute the static styling (class/style) from `TAttributes`.
- *
- * This function should be called during `firstCreatePass` only.
- *
- * @param tNode The `TNode` into which the styling information should be loaded.
- * @param attrs `TAttributes` containing the styling information.
- * @param writeToHost Where should the resulting static styles be written?
- * - `false` Write to `TNode.stylesWithoutHost` / `TNode.classesWithoutHost`
- * - `true` Write to `TNode.styles` / `TNode.classes`
- */
- function computeStaticStyling(tNode, attrs, writeToHost) {
- ngDevMode && assertFirstCreatePass(getTView(), 'Expecting to be called in first template pass only');
- let styles = writeToHost ? tNode.styles : null;
- let classes = writeToHost ? tNode.classes : null;
- let mode = 0;
- if (attrs !== null) {
- for (let i = 0; i < attrs.length; i++) {
- const value = attrs[i];
- if (typeof value === 'number') {
- mode = value;
- } else if (mode == 1
- /* AttributeMarker.Classes */
- ) {
- classes = concatStringsWithSpace(classes, value);
- } else if (mode == 2
- /* AttributeMarker.Styles */
- ) {
- const style = value;
- const styleValue = attrs[++i];
- styles = concatStringsWithSpace(styles, style + ': ' + styleValue + ';');
- }
- }
- }
- writeToHost ? tNode.styles = styles : tNode.stylesWithoutHost = styles;
- writeToHost ? tNode.classes = classes : tNode.classesWithoutHost = classes;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
- while (tNode !== null) {
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- | 12
- /* TNodeType.AnyContainer */
- | 16
- /* TNodeType.Projection */
- | 32
- /* TNodeType.Icu */
- );
- const lNode = lView[tNode.index];
- if (lNode !== null) {
- result.push(unwrapRNode(lNode));
- } // A given lNode can represent either a native node or a LContainer (when it is a host of a
- // ViewContainerRef). When we find a LContainer we need to descend into it to collect root nodes
- // from the views in this container.
- if (isLContainer(lNode)) {
- for (let i = CONTAINER_HEADER_OFFSET; i < lNode.length; i++) {
- const lViewInAContainer = lNode[i];
- const lViewFirstChildTNode = lViewInAContainer[TVIEW].firstChild;
- if (lViewFirstChildTNode !== null) {
- collectNativeNodes(lViewInAContainer[TVIEW], lViewInAContainer, lViewFirstChildTNode, result);
- }
- }
- }
- const tNodeType = tNode.type;
- if (tNodeType & 8
- /* TNodeType.ElementContainer */
- ) {
- collectNativeNodes(tView, lView, tNode.child, result);
- } else if (tNodeType & 32
- /* TNodeType.Icu */
- ) {
- const nextRNode = icuContainerIterate(tNode, lView);
- let rNode;
- while (rNode = nextRNode()) {
- result.push(rNode);
- }
- } else if (tNodeType & 16
- /* TNodeType.Projection */
- ) {
- const nodesInSlot = getProjectionNodes(lView, tNode);
- if (Array.isArray(nodesInSlot)) {
- result.push(...nodesInSlot);
- } else {
- const parentView = getLViewParent(lView[DECLARATION_COMPONENT_VIEW]);
- ngDevMode && assertParentView(parentView);
- collectNativeNodes(parentView[TVIEW], parentView, nodesInSlot, result, true);
- }
- }
- tNode = isProjection ? tNode.projectionNext : tNode.next;
- }
- return result;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class ViewRef$1 {
- constructor(
- /**
- * This represents `LView` associated with the component when ViewRef is a ChangeDetectorRef.
- *
- * When ViewRef is created for a dynamic component, this also represents the `LView` for the
- * component.
- *
- * For a "regular" ViewRef created for an embedded view, this is the `LView` for the embedded
- * view.
- *
- * @internal
- */
- _lView,
- /**
- * This represents the `LView` associated with the point where `ChangeDetectorRef` was
- * requested.
- *
- * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
- */
- _cdRefInjectingView) {
- this._lView = _lView;
- this._cdRefInjectingView = _cdRefInjectingView;
- this._appRef = null;
- this._attachedToViewContainer = false;
- }
- get rootNodes() {
- const lView = this._lView;
- const tView = lView[TVIEW];
- return collectNativeNodes(tView, lView, tView.firstChild, []);
- }
- get context() {
- return this._lView[CONTEXT];
- }
- set context(value) {
- this._lView[CONTEXT] = value;
- }
- get destroyed() {
- return (this._lView[FLAGS] & 128
- /* LViewFlags.Destroyed */
- ) === 128
- /* LViewFlags.Destroyed */
- ;
- }
- destroy() {
- if (this._appRef) {
- this._appRef.detachView(this);
- } else if (this._attachedToViewContainer) {
- const parent = this._lView[PARENT];
- if (isLContainer(parent)) {
- const viewRefs = parent[VIEW_REFS];
- const index = viewRefs ? viewRefs.indexOf(this) : -1;
- if (index > -1) {
- 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.');
- detachView(parent, index);
- removeFromArray(viewRefs, index);
- }
- }
- this._attachedToViewContainer = false;
- }
- destroyLView(this._lView[TVIEW], this._lView);
- }
- onDestroy(callback) {
- storeCleanupWithContext(this._lView[TVIEW], this._lView, null, callback);
- }
- /**
- * Marks a view and all of its ancestors dirty.
- *
- * This can be used to ensure an {@link ChangeDetectionStrategy#OnPush OnPush} component is
- * checked when it needs to be re-rendered but the two normal triggers haven't marked it
- * dirty (i.e. inputs haven't changed and events haven't fired in the view).
- *
- * <!-- TODO: Add a link to a chapter on OnPush components -->
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * @Component({
- * selector: 'app-root',
- * template: `Number of ticks: {{numberOfTicks}}`
- * changeDetection: ChangeDetectionStrategy.OnPush,
- * })
- * class AppComponent {
- * numberOfTicks = 0;
- *
- * constructor(private ref: ChangeDetectorRef) {
- * setInterval(() => {
- * this.numberOfTicks++;
- * // the following is required, otherwise the view will not be updated
- * this.ref.markForCheck();
- * }, 1000);
- * }
- * }
- * ```
- */
- markForCheck() {
- markViewDirty(this._cdRefInjectingView || this._lView);
- }
- /**
- * Detaches the view from the change detection tree.
- *
- * Detached views will not be checked during change detection runs until they are
- * re-attached, even if they are dirty. `detach` can be used in combination with
- * {@link ChangeDetectorRef#detectChanges detectChanges} to implement local change
- * detection checks.
- *
- * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
- * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->
- *
- * @usageNotes
- * ### Example
- *
- * The following example defines a component with a large list of readonly data.
- * Imagine the data changes constantly, many times per second. For performance reasons,
- * we want to check and update the list every five seconds. We can do that by detaching
- * the component's change detector and doing a local check every five seconds.
- *
- * ```typescript
- * class DataProvider {
- * // in a real application the returned data will be different every time
- * get data() {
- * return [1,2,3,4,5];
- * }
- * }
- *
- * @Component({
- * selector: 'giant-list',
- * template: `
- * <li *ngFor="let d of dataProvider.data">Data {{d}}</li>
- * `,
- * })
- * class GiantList {
- * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {
- * ref.detach();
- * setInterval(() => {
- * this.ref.detectChanges();
- * }, 5000);
- * }
- * }
- *
- * @Component({
- * selector: 'app',
- * providers: [DataProvider],
- * template: `
- * <giant-list><giant-list>
- * `,
- * })
- * class App {
- * }
- * ```
- */
- detach() {
- this._lView[FLAGS] &= ~64
- /* LViewFlags.Attached */
- ;
- }
- /**
- * Re-attaches a view to the change detection tree.
- *
- * This can be used to re-attach views that were previously detached from the tree
- * using {@link ChangeDetectorRef#detach detach}. Views are attached to the tree by default.
- *
- * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
- *
- * @usageNotes
- * ### Example
- *
- * The following example creates a component displaying `live` data. The component will detach
- * its change detector from the main change detector tree when the component's live property
- * is set to false.
- *
- * ```typescript
- * class DataProvider {
- * data = 1;
- *
- * constructor() {
- * setInterval(() => {
- * this.data = this.data * 2;
- * }, 500);
- * }
- * }
- *
- * @Component({
- * selector: 'live-data',
- * inputs: ['live'],
- * template: 'Data: {{dataProvider.data}}'
- * })
- * class LiveData {
- * constructor(private ref: ChangeDetectorRef, private dataProvider: DataProvider) {}
- *
- * set live(value) {
- * if (value) {
- * this.ref.reattach();
- * } else {
- * this.ref.detach();
- * }
- * }
- * }
- *
- * @Component({
- * selector: 'app-root',
- * providers: [DataProvider],
- * template: `
- * Live Update: <input type="checkbox" [(ngModel)]="live">
- * <live-data [live]="live"><live-data>
- * `,
- * })
- * class AppComponent {
- * live = true;
- * }
- * ```
- */
- reattach() {
- this._lView[FLAGS] |= 64
- /* LViewFlags.Attached */
- ;
- }
- /**
- * Checks the view and its children.
- *
- * This can also be used in combination with {@link ChangeDetectorRef#detach detach} to implement
- * local change detection checks.
- *
- * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->
- * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->
- *
- * @usageNotes
- * ### Example
- *
- * The following example defines a component with a large list of readonly data.
- * Imagine, the data changes constantly, many times per second. For performance reasons,
- * we want to check and update the list every five seconds.
- *
- * We can do that by detaching the component's change detector and doing a local change detection
- * check every five seconds.
- *
- * See {@link ChangeDetectorRef#detach detach} for more information.
- */
- detectChanges() {
- detectChangesInternal(this._lView[TVIEW], this._lView, this.context);
- }
- /**
- * Checks the change detector and its children, and throws if any changes are detected.
- *
- * This is used in development mode to verify that running change detection doesn't
- * introduce other changes.
- */
- checkNoChanges() {
- if (ngDevMode) {
- checkNoChangesInternal(this._lView[TVIEW], this._lView, this.context);
- }
- }
- attachToViewContainerRef() {
- if (this._appRef) {
- throw new RuntimeError(902
- /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */
- , ngDevMode && 'This view is already attached directly to the ApplicationRef!');
- }
- this._attachedToViewContainer = true;
- }
- detachFromAppRef() {
- this._appRef = null;
- renderDetachView(this._lView[TVIEW], this._lView);
- }
- attachToAppRef(appRef) {
- if (this._attachedToViewContainer) {
- throw new RuntimeError(902
- /* RuntimeErrorCode.VIEW_ALREADY_ATTACHED */
- , ngDevMode && 'This view is already attached to a ViewContainer!');
- }
- this._appRef = appRef;
- }
- }
- /** @internal */
- class RootViewRef extends ViewRef$1 {
- constructor(_view) {
- super(_view);
- this._view = _view;
- }
- detectChanges() {
- const lView = this._view;
- const tView = lView[TVIEW];
- const context = lView[CONTEXT];
- detectChangesInternal(tView, lView, context, false);
- }
- checkNoChanges() {
- if (ngDevMode) {
- const lView = this._view;
- const tView = lView[TVIEW];
- const context = lView[CONTEXT];
- checkNoChangesInternal(tView, lView, context, false);
- }
- }
- get context() {
- return null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class ComponentFactoryResolver extends ComponentFactoryResolver$1 {
- /**
- * @param ngModule The NgModuleRef to which all resolved factories are bound.
- */
- constructor(ngModule) {
- super();
- this.ngModule = ngModule;
- }
- resolveComponentFactory(component) {
- ngDevMode && assertComponentType(component);
- const componentDef = getComponentDef(component);
- return new ComponentFactory(componentDef, this.ngModule);
- }
- }
- function toRefArray(map) {
- const array = [];
- for (let nonMinified in map) {
- if (map.hasOwnProperty(nonMinified)) {
- const minified = map[nonMinified];
- array.push({
- propName: minified,
- templateName: nonMinified
- });
- }
- }
- return array;
- }
- function getNamespace(elementName) {
- const name = elementName.toLowerCase();
- return name === 'svg' ? SVG_NAMESPACE : name === 'math' ? MATH_ML_NAMESPACE : null;
- }
- /**
- * Injector that looks up a value using a specific injector, before falling back to the module
- * injector. Used primarily when creating components or embedded views dynamically.
- */
- class ChainedInjector {
- constructor(injector, parentInjector) {
- this.injector = injector;
- this.parentInjector = parentInjector;
- }
- get(token, notFoundValue, flags) {
- const value = this.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, flags);
- if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) {
- // Return the value from the root element injector when
- // - it provides it
- // (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)
- // - the module injector should not be checked
- // (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR)
- return value;
- }
- return this.parentInjector.get(token, notFoundValue, flags);
- }
- }
- /**
- * ComponentFactory interface implementation.
- */
- class ComponentFactory extends ComponentFactory$1 {
- /**
- * @param componentDef The component definition.
- * @param ngModule The NgModuleRef to which the factory is bound.
- */
- constructor(componentDef, ngModule) {
- super();
- this.componentDef = componentDef;
- this.ngModule = ngModule;
- this.componentType = componentDef.type;
- this.selector = stringifyCSSSelectorList(componentDef.selectors);
- this.ngContentSelectors = componentDef.ngContentSelectors ? componentDef.ngContentSelectors : [];
- this.isBoundToModule = !!ngModule;
- }
- get inputs() {
- return toRefArray(this.componentDef.inputs);
- }
- get outputs() {
- return toRefArray(this.componentDef.outputs);
- }
- create(injector, projectableNodes, rootSelectorOrNode, environmentInjector) {
- environmentInjector = environmentInjector || this.ngModule;
- let realEnvironmentInjector = environmentInjector instanceof EnvironmentInjector ? environmentInjector : environmentInjector === null || environmentInjector === void 0 ? void 0 : environmentInjector.injector;
- if (realEnvironmentInjector && this.componentDef.getStandaloneInjector !== null) {
- realEnvironmentInjector = this.componentDef.getStandaloneInjector(realEnvironmentInjector) || realEnvironmentInjector;
- }
- const rootViewInjector = realEnvironmentInjector ? new ChainedInjector(injector, realEnvironmentInjector) : injector;
- const rendererFactory = rootViewInjector.get(RendererFactory2, null);
- if (rendererFactory === null) {
- throw new RuntimeError(407
- /* RuntimeErrorCode.RENDERER_NOT_FOUND */
- , 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.');
- }
- const sanitizer = rootViewInjector.get(Sanitizer, null);
- const hostRenderer = rendererFactory.createRenderer(null, this.componentDef); // Determine a tag name used for creating host elements when this component is created
- // dynamically. Default to 'div' if this component did not specify any tag name in its selector.
- const elementName = this.componentDef.selectors[0][0] || 'div';
- const hostRNode = rootSelectorOrNode ? locateHostElement(hostRenderer, rootSelectorOrNode, this.componentDef.encapsulation) : createElementNode(rendererFactory.createRenderer(null, this.componentDef), elementName, getNamespace(elementName));
- const rootFlags = this.componentDef.onPush ? 32
- /* LViewFlags.Dirty */
- | 256
- /* LViewFlags.IsRoot */
- : 16
- /* LViewFlags.CheckAlways */
- | 256
- /* LViewFlags.IsRoot */
- ; // Create the root view. Uses empty TView and ContentTemplate.
- const rootTView = createTView(0
- /* TViewType.Root */
- , null, null, 1, 0, null, null, null, null, null);
- const rootLView = createLView(null, rootTView, null, rootFlags, null, null, rendererFactory, hostRenderer, sanitizer, rootViewInjector, null); // rootView is the parent when bootstrapping
- // TODO(misko): it looks like we are entering view here but we don't really need to as
- // `renderView` does that. However as the code is written it is needed because
- // `createRootComponentView` and `createRootComponent` both read global state. Fixing those
- // issues would allow us to drop this.
- enterView(rootLView);
- let component;
- let tElementNode;
- try {
- const componentView = createRootComponentView(hostRNode, this.componentDef, rootLView, rendererFactory, hostRenderer);
- if (hostRNode) {
- if (rootSelectorOrNode) {
- setUpAttributes(hostRenderer, hostRNode, ['ng-version', VERSION.full]);
- } else {
- // If host element is created as a part of this function call (i.e. `rootSelectorOrNode`
- // is not defined), also apply attributes and classes extracted from component selector.
- // Extract attributes and classes from the first selector only to match VE behavior.
- const {
- attrs,
- classes
- } = extractAttrsAndClassesFromSelector(this.componentDef.selectors[0]);
- if (attrs) {
- setUpAttributes(hostRenderer, hostRNode, attrs);
- }
- if (classes && classes.length > 0) {
- writeDirectClass(hostRenderer, hostRNode, classes.join(' '));
- }
- }
- }
- tElementNode = getTNode(rootTView, HEADER_OFFSET);
- if (projectableNodes !== undefined) {
- const projection = tElementNode.projection = [];
- for (let i = 0; i < this.ngContentSelectors.length; i++) {
- const nodesforSlot = projectableNodes[i]; // Projectable nodes can be passed as array of arrays or an array of iterables (ngUpgrade
- // case). Here we do normalize passed data structure to be an array of arrays to avoid
- // complex checks down the line.
- // We also normalize the length of the passed in projectable nodes (to match the number of
- // <ng-container> slots defined by a component).
- projection.push(nodesforSlot != null ? Array.from(nodesforSlot) : null);
- }
- } // TODO: should LifecycleHooksFeature and other host features be generated by the compiler and
- // executed here?
- // Angular 5 reference: https://stackblitz.com/edit/lifecycle-hooks-vcref
- component = createRootComponent(componentView, this.componentDef, rootLView, [LifecycleHooksFeature]);
- renderView(rootTView, rootLView, null);
- } finally {
- leaveView();
- }
- return new ComponentRef(this.componentType, component, createElementRef(tElementNode, rootLView), rootLView, tElementNode);
- }
- }
- const componentFactoryResolver = new ComponentFactoryResolver();
- /**
- * Creates a ComponentFactoryResolver and stores it on the injector. Or, if the
- * ComponentFactoryResolver
- * already exists, retrieves the existing ComponentFactoryResolver.
- *
- * @returns The ComponentFactoryResolver instance to use
- */
- function injectComponentFactoryResolver() {
- return componentFactoryResolver;
- }
- /**
- * Represents an instance of a Component created via a {@link ComponentFactory}.
- *
- * `ComponentRef` provides access to the Component Instance as well other objects related to this
- * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}
- * method.
- *
- */
- class ComponentRef extends ComponentRef$1 {
- constructor(componentType, instance, location, _rootLView, _tNode) {
- super();
- this.location = location;
- this._rootLView = _rootLView;
- this._tNode = _tNode;
- this.instance = instance;
- this.hostView = this.changeDetectorRef = new RootViewRef(_rootLView);
- this.componentType = componentType;
- }
- setInput(name, value) {
- const inputData = this._tNode.inputs;
- let dataValue;
- if (inputData !== null && (dataValue = inputData[name])) {
- const lView = this._rootLView;
- setInputsForProperty(lView[TVIEW], lView, dataValue, name, value);
- markDirtyIfOnPush(lView, this._tNode.index);
- } else {
- if (ngDevMode) {
- const cmpNameForError = stringifyForError(this.componentType);
- let message = `Can't set value of the '${name}' input on the '${cmpNameForError}' component. `;
- message += `Make sure that the '${name}' property is annotated with @Input() or a mapped @Input('${name}') exists.`;
- reportUnknownPropertyError(message);
- }
- }
- }
- get injector() {
- return new NodeInjector(this._tNode, this._rootLView);
- }
- destroy() {
- this.hostView.destroy();
- }
- onDestroy(callback) {
- this.hostView.onDestroy(callback);
- }
- } // TODO: A hack to not pull in the NullInjector from @angular/core.
- const NULL_INJECTOR = {
- get: (token, notFoundValue) => {
- throwProviderNotFoundError(token, 'NullInjector');
- }
- };
- /**
- * Creates the root component view and the root component node.
- *
- * @param rNode Render host element.
- * @param def ComponentDef
- * @param rootView The parent view where the host node is stored
- * @param rendererFactory Factory to be used for creating child renderers.
- * @param hostRenderer The current renderer
- * @param sanitizer The sanitizer, if provided
- *
- * @returns Component view created
- */
- function createRootComponentView(rNode, def, rootView, rendererFactory, hostRenderer, sanitizer) {
- const tView = rootView[TVIEW];
- const index = HEADER_OFFSET;
- ngDevMode && assertIndexInRange(rootView, index);
- 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
- // the same time we want to communicate the debug `TNode` that this is a special `TNode`
- // representing a host element.
- const tNode = getOrCreateTNode(tView, index, 2
- /* TNodeType.Element */
- , '#host', null);
- const mergedAttrs = tNode.mergedAttrs = def.hostAttrs;
- if (mergedAttrs !== null) {
- computeStaticStyling(tNode, mergedAttrs, true);
- if (rNode !== null) {
- setUpAttributes(hostRenderer, rNode, mergedAttrs);
- if (tNode.classes !== null) {
- writeDirectClass(hostRenderer, rNode, tNode.classes);
- }
- if (tNode.styles !== null) {
- writeDirectStyle(hostRenderer, rNode, tNode.styles);
- }
- }
- }
- const viewRenderer = rendererFactory.createRenderer(rNode, def);
- const componentView = createLView(rootView, getOrCreateComponentTView(def), null, def.onPush ? 32
- /* LViewFlags.Dirty */
- : 16
- /* LViewFlags.CheckAlways */
- , rootView[index], tNode, rendererFactory, viewRenderer, sanitizer || null, null, null);
- if (tView.firstCreatePass) {
- diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, rootView), tView, def.type);
- markAsComponentHost(tView, tNode);
- initTNodeFlags(tNode, rootView.length, 1);
- }
- addToViewTree(rootView, componentView); // Store component view at node index, with node as the HOST
- return rootView[index] = componentView;
- }
- /**
- * Creates a root component and sets it up with features and host bindings.Shared by
- * renderComponent() and ViewContainerRef.createComponent().
- */
- function createRootComponent(componentView, componentDef, rootLView, hostFeatures) {
- const tView = rootLView[TVIEW]; // Create directive instance with factory() and store at next index in viewData
- const component = instantiateRootComponent(tView, rootLView, componentDef); // Root view only contains an instance of this component,
- // so we use a reference to that component instance as a context.
- componentView[CONTEXT] = rootLView[CONTEXT] = component;
- if (hostFeatures !== null) {
- for (const feature of hostFeatures) {
- feature(component, componentDef);
- }
- } // We want to generate an empty QueryList for root content queries for backwards
- // compatibility with ViewEngine.
- if (componentDef.contentQueries) {
- const tNode = getCurrentTNode();
- ngDevMode && assertDefined(tNode, 'TNode expected');
- componentDef.contentQueries(1
- /* RenderFlags.Create */
- , component, tNode.directiveStart);
- }
- const rootTNode = getCurrentTNode();
- ngDevMode && assertDefined(rootTNode, 'tNode should have been already created');
- if (tView.firstCreatePass && (componentDef.hostBindings !== null || componentDef.hostAttrs !== null)) {
- setSelectedIndex(rootTNode.index);
- const rootTView = rootLView[TVIEW];
- registerHostBindingOpCodes(rootTView, rootTNode, rootLView, rootTNode.directiveStart, rootTNode.directiveEnd, componentDef);
- invokeHostBindingsInCreationMode(componentDef, component);
- }
- return component;
- }
- /**
- * Used to enable lifecycle hooks on the root component.
- *
- * Include this feature when calling `renderComponent` if the root component
- * you are rendering has lifecycle hooks defined. Otherwise, the hooks won't
- * be called properly.
- *
- * Example:
- *
- * ```
- * renderComponent(AppComponent, {hostFeatures: [LifecycleHooksFeature]});
- * ```
- */
- function LifecycleHooksFeature() {
- const tNode = getCurrentTNode();
- ngDevMode && assertDefined(tNode, 'TNode is required');
- registerPostOrderHooks(getLView()[TVIEW], tNode);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function getSuperType(type) {
- return Object.getPrototypeOf(type.prototype).constructor;
- }
- /**
- * Merges the definition from a super class to a sub class.
- * @param definition The definition that is a SubClass of another directive of component
- *
- * @codeGenApi
- */
- function ɵɵInheritDefinitionFeature(definition) {
- let superType = getSuperType(definition.type);
- let shouldInheritFields = true;
- const inheritanceChain = [definition];
- while (superType) {
- let superDef = undefined;
- if (isComponentDef(definition)) {
- // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.
- superDef = superType.ɵcmp || superType.ɵdir;
- } else {
- if (superType.ɵcmp) {
- throw new RuntimeError(903
- /* RuntimeErrorCode.INVALID_INHERITANCE */
- , ngDevMode && `Directives cannot inherit Components. Directive ${stringifyForError(definition.type)} is attempting to extend component ${stringifyForError(superType)}`);
- } // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.
- superDef = superType.ɵdir;
- }
- if (superDef) {
- if (shouldInheritFields) {
- inheritanceChain.push(superDef); // Some fields in the definition may be empty, if there were no values to put in them that
- // would've justified object creation. Unwrap them if necessary.
- const writeableDef = definition;
- writeableDef.inputs = maybeUnwrapEmpty(definition.inputs);
- writeableDef.declaredInputs = maybeUnwrapEmpty(definition.declaredInputs);
- writeableDef.outputs = maybeUnwrapEmpty(definition.outputs); // Merge hostBindings
- const superHostBindings = superDef.hostBindings;
- superHostBindings && inheritHostBindings(definition, superHostBindings); // Merge queries
- const superViewQuery = superDef.viewQuery;
- const superContentQueries = superDef.contentQueries;
- superViewQuery && inheritViewQuery(definition, superViewQuery);
- superContentQueries && inheritContentQueries(definition, superContentQueries); // Merge inputs and outputs
- fillProperties(definition.inputs, superDef.inputs);
- fillProperties(definition.declaredInputs, superDef.declaredInputs);
- fillProperties(definition.outputs, superDef.outputs); // Merge animations metadata.
- // If `superDef` is a Component, the `data` field is present (defaults to an empty object).
- if (isComponentDef(superDef) && superDef.data.animation) {
- // If super def is a Component, the `definition` is also a Component, since Directives can
- // not inherit Components (we throw an error above and cannot reach this code).
- const defData = definition.data;
- defData.animation = (defData.animation || []).concat(superDef.data.animation);
- }
- } // Run parent features
- const features = superDef.features;
- if (features) {
- for (let i = 0; i < features.length; i++) {
- const feature = features[i];
- if (feature && feature.ngInherit) {
- feature(definition);
- } // If `InheritDefinitionFeature` is a part of the current `superDef`, it means that this
- // def already has all the necessary information inherited from its super class(es), so we
- // can stop merging fields from super classes. However we need to iterate through the
- // prototype chain to look for classes that might contain other "features" (like
- // NgOnChanges), which we should invoke for the original `definition`. We set the
- // `shouldInheritFields` flag to indicate that, essentially skipping fields inheritance
- // logic and only invoking functions from the "features" list.
- if (feature === ɵɵInheritDefinitionFeature) {
- shouldInheritFields = false;
- }
- }
- }
- }
- superType = Object.getPrototypeOf(superType);
- }
- mergeHostAttrsAcrossInheritance(inheritanceChain);
- }
- /**
- * Merge the `hostAttrs` and `hostVars` from the inherited parent to the base class.
- *
- * @param inheritanceChain A list of `WritableDefs` starting at the top most type and listing
- * sub-types in order. For each type take the `hostAttrs` and `hostVars` and merge it with the child
- * type.
- */
- function mergeHostAttrsAcrossInheritance(inheritanceChain) {
- let hostVars = 0;
- let hostAttrs = null; // We process the inheritance order from the base to the leaves here.
- for (let i = inheritanceChain.length - 1; i >= 0; i--) {
- const def = inheritanceChain[i]; // For each `hostVars`, we need to add the superclass amount.
- def.hostVars = hostVars += def.hostVars; // for each `hostAttrs` we need to merge it with superclass.
- def.hostAttrs = mergeHostAttrs(def.hostAttrs, hostAttrs = mergeHostAttrs(hostAttrs, def.hostAttrs));
- }
- }
- function maybeUnwrapEmpty(value) {
- if (value === EMPTY_OBJ) {
- return {};
- } else if (value === EMPTY_ARRAY) {
- return [];
- } else {
- return value;
- }
- }
- function inheritViewQuery(definition, superViewQuery) {
- const prevViewQuery = definition.viewQuery;
- if (prevViewQuery) {
- definition.viewQuery = (rf, ctx) => {
- superViewQuery(rf, ctx);
- prevViewQuery(rf, ctx);
- };
- } else {
- definition.viewQuery = superViewQuery;
- }
- }
- function inheritContentQueries(definition, superContentQueries) {
- const prevContentQueries = definition.contentQueries;
- if (prevContentQueries) {
- definition.contentQueries = (rf, ctx, directiveIndex) => {
- superContentQueries(rf, ctx, directiveIndex);
- prevContentQueries(rf, ctx, directiveIndex);
- };
- } else {
- definition.contentQueries = superContentQueries;
- }
- }
- function inheritHostBindings(definition, superHostBindings) {
- const prevHostBindings = definition.hostBindings;
- if (prevHostBindings) {
- definition.hostBindings = (rf, ctx) => {
- superHostBindings(rf, ctx);
- prevHostBindings(rf, ctx);
- };
- } else {
- definition.hostBindings = superHostBindings;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Fields which exist on either directive or component definitions, and need to be copied from
- * parent to child classes by the `ɵɵCopyDefinitionFeature`.
- */
- const COPY_DIRECTIVE_FIELDS = [// The child class should use the providers of its parent.
- 'providersResolver' // Not listed here are any fields which are handled by the `ɵɵInheritDefinitionFeature`, such
- // as inputs, outputs, and host binding functions.
- ];
- /**
- * Fields which exist only on component definitions, and need to be copied from parent to child
- * classes by the `ɵɵCopyDefinitionFeature`.
- *
- * The type here allows any field of `ComponentDef` which is not also a property of `DirectiveDef`,
- * since those should go in `COPY_DIRECTIVE_FIELDS` above.
- */
- const COPY_COMPONENT_FIELDS = [// The child class should use the template function of its parent, including all template
- // semantics.
- 'template', 'decls', 'consts', 'vars', 'onPush', 'ngContentSelectors', // The child class should use the CSS styles of its parent, including all styling semantics.
- 'styles', 'encapsulation', // The child class should be checked by the runtime in the same way as its parent.
- 'schemas'];
- /**
- * Copies the fields not handled by the `ɵɵInheritDefinitionFeature` from the supertype of a
- * definition.
- *
- * This exists primarily to support ngcc migration of an existing View Engine pattern, where an
- * entire decorator is inherited from a parent to a child class. When ngcc detects this case, it
- * generates a skeleton definition on the child class, and applies this feature.
- *
- * The `ɵɵCopyDefinitionFeature` then copies any needed fields from the parent class' definition,
- * including things like the component template function.
- *
- * @param definition The definition of a child class which inherits from a parent class with its
- * own definition.
- *
- * @codeGenApi
- */
- function ɵɵCopyDefinitionFeature(definition) {
- let superType = getSuperType(definition.type);
- let superDef = undefined;
- if (isComponentDef(definition)) {
- // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.
- superDef = superType.ɵcmp;
- } else {
- // Don't use getComponentDef/getDirectiveDef. This logic relies on inheritance.
- superDef = superType.ɵdir;
- } // Needed because `definition` fields are readonly.
- const defAny = definition; // Copy over any fields that apply to either directives or components.
- for (const field of COPY_DIRECTIVE_FIELDS) {
- defAny[field] = superDef[field];
- }
- if (isComponentDef(superDef)) {
- // Copy over any component-specific fields.
- for (const field of COPY_COMPONENT_FIELDS) {
- defAny[field] = superDef[field];
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- let _symbolIterator = null;
- function getSymbolIterator() {
- if (!_symbolIterator) {
- const Symbol = _global['Symbol'];
- if (Symbol && Symbol.iterator) {
- _symbolIterator = Symbol.iterator;
- } else {
- // es6-shim specific logic
- const keys = Object.getOwnPropertyNames(Map.prototype);
- for (let i = 0; i < keys.length; ++i) {
- const key = keys[i];
- if (key !== 'entries' && key !== 'size' && Map.prototype[key] === Map.prototype['entries']) {
- _symbolIterator = key;
- }
- }
- }
- }
- return _symbolIterator;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function isIterable(obj) {
- return obj !== null && typeof obj === 'object' && obj[getSymbolIterator()] !== undefined;
- }
- function isListLikeIterable(obj) {
- if (!isJsObject(obj)) return false;
- return Array.isArray(obj) || !(obj instanceof Map) && // JS Map are iterables but return entries as [k, v]
- getSymbolIterator() in obj; // JS Iterable have a Symbol.iterator prop
- }
- function areIterablesEqual(a, b, comparator) {
- const iterator1 = a[getSymbolIterator()]();
- const iterator2 = b[getSymbolIterator()]();
- while (true) {
- const item1 = iterator1.next();
- const item2 = iterator2.next();
- if (item1.done && item2.done) return true;
- if (item1.done || item2.done) return false;
- if (!comparator(item1.value, item2.value)) return false;
- }
- }
- function iterateListLike(obj, fn) {
- if (Array.isArray(obj)) {
- for (let i = 0; i < obj.length; i++) {
- fn(obj[i]);
- }
- } else {
- const iterator = obj[getSymbolIterator()]();
- let item;
- while (!(item = iterator.next()).done) {
- fn(item.value);
- }
- }
- }
- function isJsObject(o) {
- return o !== null && (typeof o === 'function' || typeof o === 'object');
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function devModeEqual(a, b) {
- const isListLikeIterableA = isListLikeIterable(a);
- const isListLikeIterableB = isListLikeIterable(b);
- if (isListLikeIterableA && isListLikeIterableB) {
- return areIterablesEqual(a, b, devModeEqual);
- } else {
- const isAObject = a && (typeof a === 'object' || typeof a === 'function');
- const isBObject = b && (typeof b === 'object' || typeof b === 'function');
- if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) {
- return true;
- } else {
- return Object.is(a, b);
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // TODO(misko): consider inlining
- /** Updates binding and returns the value. */
- function updateBinding(lView, bindingIndex, value) {
- return lView[bindingIndex] = value;
- }
- /** Gets the current binding value. */
- function getBinding(lView, bindingIndex) {
- ngDevMode && assertIndexInRange(lView, bindingIndex);
- ngDevMode && assertNotSame(lView[bindingIndex], NO_CHANGE, 'Stored value should never be NO_CHANGE.');
- return lView[bindingIndex];
- }
- /**
- * Updates binding if changed, then returns whether it was updated.
- *
- * This function also checks the `CheckNoChangesMode` and throws if changes are made.
- * Some changes (Objects/iterables) during `CheckNoChangesMode` are exempt to comply with VE
- * behavior.
- *
- * @param lView current `LView`
- * @param bindingIndex The binding in the `LView` to check
- * @param value New value to check against `lView[bindingIndex]`
- * @returns `true` if the bindings has changed. (Throws if binding has changed during
- * `CheckNoChangesMode`)
- */
- function bindingUpdated(lView, bindingIndex, value) {
- ngDevMode && assertNotSame(value, NO_CHANGE, 'Incoming value should never be NO_CHANGE.');
- ngDevMode && assertLessThan(bindingIndex, lView.length, `Slot should have been initialized to NO_CHANGE`);
- const oldValue = lView[bindingIndex];
- if (Object.is(oldValue, value)) {
- return false;
- } else {
- if (ngDevMode && isInCheckNoChangesMode()) {
- // View engine didn't report undefined values as changed on the first checkNoChanges pass
- // (before the change detection was run).
- const oldValueToCompare = oldValue !== NO_CHANGE ? oldValue : undefined;
- if (!devModeEqual(oldValueToCompare, value)) {
- const details = getExpressionChangedErrorDetails(lView, bindingIndex, oldValueToCompare, value);
- throwErrorIfNoChangesMode(oldValue === NO_CHANGE, details.oldValue, details.newValue, details.propName);
- } // There was a change, but the `devModeEqual` decided that the change is exempt from an error.
- // For this reason we exit as if no change. The early exit is needed to prevent the changed
- // value to be written into `LView` (If we would write the new value that we would not see it
- // as change on next CD.)
- return false;
- }
- lView[bindingIndex] = value;
- return true;
- }
- }
- /** Updates 2 bindings if changed, then returns whether either was updated. */
- function bindingUpdated2(lView, bindingIndex, exp1, exp2) {
- const different = bindingUpdated(lView, bindingIndex, exp1);
- return bindingUpdated(lView, bindingIndex + 1, exp2) || different;
- }
- /** Updates 3 bindings if changed, then returns whether any was updated. */
- function bindingUpdated3(lView, bindingIndex, exp1, exp2, exp3) {
- const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);
- return bindingUpdated(lView, bindingIndex + 2, exp3) || different;
- }
- /** Updates 4 bindings if changed, then returns whether any was updated. */
- function bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4) {
- const different = bindingUpdated2(lView, bindingIndex, exp1, exp2);
- return bindingUpdated2(lView, bindingIndex + 2, exp3, exp4) || different;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Updates the value of or removes a bound attribute on an Element.
- *
- * Used in the case of `[attr.title]="value"`
- *
- * @param name name The name of the attribute.
- * @param value value The attribute is removed when value is `null` or `undefined`.
- * Otherwise the attribute value is set to the stringified value.
- * @param sanitizer An optional function used to sanitize the value.
- * @param namespace Optional namespace to use when setting the attribute.
- *
- * @codeGenApi
- */
- function ɵɵattribute(name, value, sanitizer, namespace) {
- const lView = getLView();
- const bindingIndex = nextBindingIndex();
- if (bindingUpdated(lView, bindingIndex, value)) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, name, value, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, 'attr.' + name, bindingIndex);
- }
- return ɵɵattribute;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Create interpolation bindings with a variable number of expressions.
- *
- * If there are 1 to 8 expressions `interpolation1()` to `interpolation8()` should be used instead.
- * Those are faster because there is no need to create an array of expressions and iterate over it.
- *
- * `values`:
- * - has static text at even indexes,
- * - has evaluated expressions at odd indexes.
- *
- * Returns the concatenated string when any of the arguments changes, `NO_CHANGE` otherwise.
- */
- function interpolationV(lView, values) {
- ngDevMode && assertLessThan(2, values.length, 'should have at least 3 values');
- ngDevMode && assertEqual(values.length % 2, 1, 'should have an odd number of values');
- let isBindingUpdated = false;
- let bindingIndex = getBindingIndex();
- for (let i = 1; i < values.length; i += 2) {
- // Check if bindings (odd indexes) have changed
- isBindingUpdated = bindingUpdated(lView, bindingIndex++, values[i]) || isBindingUpdated;
- }
- setBindingIndex(bindingIndex);
- if (!isBindingUpdated) {
- return NO_CHANGE;
- } // Build the updated content
- let content = values[0];
- for (let i = 1; i < values.length; i += 2) {
- content += renderStringify(values[i]) + values[i + 1];
- }
- return content;
- }
- /**
- * Creates an interpolation binding with 1 expression.
- *
- * @param prefix static value used for concatenation only.
- * @param v0 value checked for change.
- * @param suffix static value used for concatenation only.
- */
- function interpolation1(lView, prefix, v0, suffix) {
- const different = bindingUpdated(lView, nextBindingIndex(), v0);
- return different ? prefix + renderStringify(v0) + suffix : NO_CHANGE;
- }
- /**
- * Creates an interpolation binding with 2 expressions.
- */
- function interpolation2(lView, prefix, v0, i0, v1, suffix) {
- const bindingIndex = getBindingIndex();
- const different = bindingUpdated2(lView, bindingIndex, v0, v1);
- incrementBindingIndex(2);
- return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + suffix : NO_CHANGE;
- }
- /**
- * Creates an interpolation binding with 3 expressions.
- */
- function interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix) {
- const bindingIndex = getBindingIndex();
- const different = bindingUpdated3(lView, bindingIndex, v0, v1, v2);
- incrementBindingIndex(3);
- return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + suffix : NO_CHANGE;
- }
- /**
- * Create an interpolation binding with 4 expressions.
- */
- function interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {
- const bindingIndex = getBindingIndex();
- const different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
- incrementBindingIndex(4);
- return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + suffix : NO_CHANGE;
- }
- /**
- * Creates an interpolation binding with 5 expressions.
- */
- function interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {
- const bindingIndex = getBindingIndex();
- let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
- different = bindingUpdated(lView, bindingIndex + 4, v4) || different;
- incrementBindingIndex(5);
- return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + suffix : NO_CHANGE;
- }
- /**
- * Creates an interpolation binding with 6 expressions.
- */
- function interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {
- const bindingIndex = getBindingIndex();
- let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
- different = bindingUpdated2(lView, bindingIndex + 4, v4, v5) || different;
- incrementBindingIndex(6);
- return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + i2 + renderStringify(v3) + i3 + renderStringify(v4) + i4 + renderStringify(v5) + suffix : NO_CHANGE;
- }
- /**
- * Creates an interpolation binding with 7 expressions.
- */
- function interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {
- const bindingIndex = getBindingIndex();
- let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
- different = bindingUpdated3(lView, bindingIndex + 4, v4, v5, v6) || different;
- incrementBindingIndex(7);
- 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;
- }
- /**
- * Creates an interpolation binding with 8 expressions.
- */
- function interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {
- const bindingIndex = getBindingIndex();
- let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
- different = bindingUpdated4(lView, bindingIndex + 4, v4, v5, v6, v7) || different;
- incrementBindingIndex(8);
- 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;
- }
- /**
- *
- * Update an interpolated attribute on an element with single bound value surrounded by text.
- *
- * Used when the value passed to a property has 1 interpolated value in it:
- *
- * ```html
- * <div attr.title="prefix{{v0}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolate1('title', 'prefix', v0, 'suffix');
- * ```
- *
- * @param attrName The name of the attribute to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolate1(attrName, prefix, v0, suffix, sanitizer, namespace) {
- const lView = getLView();
- const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 1, prefix, suffix);
- }
- return ɵɵattributeInterpolate1;
- }
- /**
- *
- * Update an interpolated attribute on an element with 2 bound values surrounded by text.
- *
- * Used when the value passed to a property has 2 interpolated values in it:
- *
- * ```html
- * <div attr.title="prefix{{v0}}-{{v1}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');
- * ```
- *
- * @param attrName The name of the attribute to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolate2(attrName, prefix, v0, i0, v1, suffix, sanitizer, namespace) {
- const lView = getLView();
- const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 2, prefix, i0, suffix);
- }
- return ɵɵattributeInterpolate2;
- }
- /**
- *
- * Update an interpolated attribute on an element with 3 bound values surrounded by text.
- *
- * Used when the value passed to a property has 3 interpolated values in it:
- *
- * ```html
- * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolate3(
- * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');
- * ```
- *
- * @param attrName The name of the attribute to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolate3(attrName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer, namespace) {
- const lView = getLView();
- const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 3, prefix, i0, i1, suffix);
- }
- return ɵɵattributeInterpolate3;
- }
- /**
- *
- * Update an interpolated attribute on an element with 4 bound values surrounded by text.
- *
- * Used when the value passed to a property has 4 interpolated values in it:
- *
- * ```html
- * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolate4(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
- * ```
- *
- * @param attrName The name of the attribute to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolate4(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer, namespace) {
- const lView = getLView();
- const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 4, prefix, i0, i1, i2, suffix);
- }
- return ɵɵattributeInterpolate4;
- }
- /**
- *
- * Update an interpolated attribute on an element with 5 bound values surrounded by text.
- *
- * Used when the value passed to a property has 5 interpolated values in it:
- *
- * ```html
- * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolate5(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
- * ```
- *
- * @param attrName The name of the attribute to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolate5(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer, namespace) {
- const lView = getLView();
- const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 5, prefix, i0, i1, i2, i3, suffix);
- }
- return ɵɵattributeInterpolate5;
- }
- /**
- *
- * Update an interpolated attribute on an element with 6 bound values surrounded by text.
- *
- * Used when the value passed to a property has 6 interpolated values in it:
- *
- * ```html
- * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolate6(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
- * ```
- *
- * @param attrName The name of the attribute to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolate6(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer, namespace) {
- const lView = getLView();
- const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 6, prefix, i0, i1, i2, i3, i4, suffix);
- }
- return ɵɵattributeInterpolate6;
- }
- /**
- *
- * Update an interpolated attribute on an element with 7 bound values surrounded by text.
- *
- * Used when the value passed to a property has 7 interpolated values in it:
- *
- * ```html
- * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolate7(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
- * ```
- *
- * @param attrName The name of the attribute to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolate7(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer, namespace) {
- const lView = getLView();
- const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 7, prefix, i0, i1, i2, i3, i4, i5, suffix);
- }
- return ɵɵattributeInterpolate7;
- }
- /**
- *
- * Update an interpolated attribute on an element with 8 bound values surrounded by text.
- *
- * Used when the value passed to a property has 8 interpolated values in it:
- *
- * ```html
- * <div attr.title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolate8(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');
- * ```
- *
- * @param attrName The name of the attribute to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param i6 Static value used for concatenation only.
- * @param v7 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolate8(attrName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer, namespace) {
- const lView = getLView();
- const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolatedValue, sanitizer, namespace);
- ngDevMode && storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - 8, prefix, i0, i1, i2, i3, i4, i5, i6, suffix);
- }
- return ɵɵattributeInterpolate8;
- }
- /**
- * Update an interpolated attribute on an element with 9 or more bound values surrounded by text.
- *
- * Used when the number of interpolated values exceeds 8.
- *
- * ```html
- * <div
- * title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵattributeInterpolateV(
- * 'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
- * 'suffix']);
- * ```
- *
- * @param attrName The name of the attribute to update.
- * @param values The collection of values and the strings in-between those values, beginning with
- * a string prefix and ending with a string suffix.
- * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵattributeInterpolateV(attrName, values, sanitizer, namespace) {
- const lView = getLView();
- const interpolated = interpolationV(lView, values);
- if (interpolated !== NO_CHANGE) {
- const tNode = getSelectedTNode();
- elementAttributeInternal(tNode, lView, attrName, interpolated, sanitizer, namespace);
- if (ngDevMode) {
- const interpolationInBetween = [values[0]]; // prefix
- for (let i = 2; i < values.length; i += 2) {
- interpolationInBetween.push(values[i]);
- }
- storePropertyBindingMetadata(getTView().data, tNode, 'attr.' + attrName, getBindingIndex() - interpolationInBetween.length + 1, ...interpolationInBetween);
- }
- }
- return ɵɵattributeInterpolateV;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Synchronously perform change detection on a component (and possibly its sub-components).
- *
- * This function triggers change detection in a synchronous way on a component.
- *
- * @param component The component which the change detection should be performed on.
- */
- function detectChanges(component) {
- const view = getComponentViewByInstance(component);
- detectChangesInternal(view[TVIEW], view, component);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function templateFirstCreatePass(index, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) {
- ngDevMode && assertFirstCreatePass(tView);
- ngDevMode && ngDevMode.firstCreatePass++;
- const tViewConsts = tView.consts; // TODO(pk): refactor getOrCreateTNode to have the "create" only version
- const tNode = getOrCreateTNode(tView, index, 4
- /* TNodeType.Container */
- , tagName || null, getConstant(tViewConsts, attrsIndex));
- resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));
- registerPostOrderHooks(tView, tNode);
- const embeddedTView = tNode.tViews = createTView(2
- /* TViewType.Embedded */
- , tNode, templateFn, decls, vars, tView.directiveRegistry, tView.pipeRegistry, null, tView.schemas, tViewConsts);
- if (tView.queries !== null) {
- tView.queries.template(tView, tNode);
- embeddedTView.queries = tView.queries.embeddedTView(tNode);
- }
- return tNode;
- }
- /**
- * Creates an LContainer for an ng-template (dynamically-inserted view), e.g.
- *
- * <ng-template #foo>
- * <div></div>
- * </ng-template>
- *
- * @param index The index of the container in the data array
- * @param templateFn Inline template
- * @param decls The number of nodes, local refs, and pipes for this template
- * @param vars The number of bindings for this template
- * @param tagName The name of the container element, if applicable
- * @param attrsIndex Index of template attributes in the `consts` array.
- * @param localRefs Index of the local references in the `consts` array.
- * @param localRefExtractor A function which extracts local-refs values from the template.
- * Defaults to the current element associated with the local-ref.
- *
- * @codeGenApi
- */
- function ɵɵtemplate(index, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex, localRefExtractor) {
- const lView = getLView();
- const tView = getTView();
- const adjustedIndex = index + HEADER_OFFSET;
- const tNode = tView.firstCreatePass ? templateFirstCreatePass(adjustedIndex, tView, lView, templateFn, decls, vars, tagName, attrsIndex, localRefsIndex) : tView.data[adjustedIndex];
- setCurrentTNode(tNode, false);
- const comment = lView[RENDERER].createComment(ngDevMode ? 'container' : '');
- appendChild(tView, lView, comment, tNode);
- attachPatchData(comment, lView);
- addToViewTree(lView, lView[adjustedIndex] = createLContainer(comment, lView, comment, tNode));
- if (isDirectiveHost(tNode)) {
- createDirectivesInstances(tView, lView, tNode);
- }
- if (localRefsIndex != null) {
- saveResolvedLocalsInData(lView, tNode, localRefExtractor);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /** Store a value in the `data` at a given `index`. */
- function store(tView, lView, index, value) {
- // We don't store any static data for local variables, so the first time
- // we see the template, we should store as null to avoid a sparse array
- if (index >= tView.data.length) {
- tView.data[index] = null;
- tView.blueprint[index] = null;
- }
- lView[index] = value;
- }
- /**
- * Retrieves a local reference from the current contextViewData.
- *
- * If the reference to retrieve is in a parent view, this instruction is used in conjunction
- * with a nextContext() call, which walks up the tree and updates the contextViewData instance.
- *
- * @param index The index of the local ref in contextViewData.
- *
- * @codeGenApi
- */
- function ɵɵreference(index) {
- const contextLView = getContextLView();
- return load(contextLView, HEADER_OFFSET + index);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Update a property on a selected element.
- *
- * Operates on the element selected by index via the {@link select} instruction.
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled
- *
- * @param propName Name of property. Because it is going to DOM, this is not subject to
- * renaming as part of minification.
- * @param value New value to write.
- * @param sanitizer An optional function used to sanitize the value.
- * @returns This function returns itself so that it may be chained
- * (e.g. `property('name', ctx.name)('title', ctx.title)`)
- *
- * @codeGenApi
- */
- function ɵɵproperty(propName, value, sanitizer) {
- const lView = getLView();
- const bindingIndex = nextBindingIndex();
- if (bindingUpdated(lView, bindingIndex, value)) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, value, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);
- }
- return ɵɵproperty;
- }
- /**
- * Given `<div style="..." my-dir>` and `MyDir` with `@Input('style')` we need to write to
- * directive input.
- */
- function setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isClassBased) {
- const inputs = tNode.inputs;
- const property = isClassBased ? 'class' : 'style'; // We support both 'class' and `className` hence the fallback.
- setInputsForProperty(tView, lView, inputs[property], property, value);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function elementStartFirstCreatePass(index, tView, lView, native, name, attrsIndex, localRefsIndex) {
- ngDevMode && assertFirstCreatePass(tView);
- ngDevMode && ngDevMode.firstCreatePass++;
- const tViewConsts = tView.consts;
- const attrs = getConstant(tViewConsts, attrsIndex);
- const tNode = getOrCreateTNode(tView, index, 2
- /* TNodeType.Element */
- , name, attrs);
- const hasDirectives = resolveDirectives(tView, lView, tNode, getConstant(tViewConsts, localRefsIndex));
- if (ngDevMode) {
- validateElementIsKnown(native, lView, tNode.value, tView.schemas, hasDirectives);
- }
- if (tNode.attrs !== null) {
- computeStaticStyling(tNode, tNode.attrs, false);
- }
- if (tNode.mergedAttrs !== null) {
- computeStaticStyling(tNode, tNode.mergedAttrs, true);
- }
- if (tView.queries !== null) {
- tView.queries.elementStart(tView, tNode);
- }
- return tNode;
- }
- /**
- * Create DOM element. The instruction must later be followed by `elementEnd()` call.
- *
- * @param index Index of the element in the LView array
- * @param name Name of the DOM Node
- * @param attrsIndex Index of the element's attributes in the `consts` array.
- * @param localRefsIndex Index of the element's local references in the `consts` array.
- * @returns This function returns itself so that it may be chained.
- *
- * Attributes and localRefs are passed as an array of strings where elements with an even index
- * hold an attribute name and elements with an odd index hold an attribute value, ex.:
- * ['id', 'warning5', 'class', 'alert']
- *
- * @codeGenApi
- */
- function ɵɵelementStart(index, name, attrsIndex, localRefsIndex) {
- const lView = getLView();
- const tView = getTView();
- const adjustedIndex = HEADER_OFFSET + index;
- ngDevMode && assertEqual(getBindingIndex(), tView.bindingStartIndex, 'elements should be created before any bindings');
- ngDevMode && assertIndexInRange(lView, adjustedIndex);
- const renderer = lView[RENDERER];
- const native = lView[adjustedIndex] = createElementNode(renderer, name, getNamespace$1());
- const tNode = tView.firstCreatePass ? elementStartFirstCreatePass(adjustedIndex, tView, lView, native, name, attrsIndex, localRefsIndex) : tView.data[adjustedIndex];
- setCurrentTNode(tNode, true);
- const mergedAttrs = tNode.mergedAttrs;
- if (mergedAttrs !== null) {
- setUpAttributes(renderer, native, mergedAttrs);
- }
- const classes = tNode.classes;
- if (classes !== null) {
- writeDirectClass(renderer, native, classes);
- }
- const styles = tNode.styles;
- if (styles !== null) {
- writeDirectStyle(renderer, native, styles);
- }
- if ((tNode.flags & 64
- /* TNodeFlags.isDetached */
- ) !== 64
- /* TNodeFlags.isDetached */
- ) {
- // In the i18n case, the translation may have removed this element, so only add it if it is not
- // detached. See `TNodeType.Placeholder` and `LFrame.inI18n` for more context.
- appendChild(tView, lView, native, tNode);
- } // any immediate children of a component or template container must be pre-emptively
- // monkey-patched with the component view data so that the element can be inspected
- // later on using any element discovery utility methods (see `element_discovery.ts`)
- if (getElementDepthCount() === 0) {
- attachPatchData(native, lView);
- }
- increaseElementDepthCount();
- if (isDirectiveHost(tNode)) {
- createDirectivesInstances(tView, lView, tNode);
- executeContentQueries(tView, tNode, lView);
- }
- if (localRefsIndex !== null) {
- saveResolvedLocalsInData(lView, tNode);
- }
- return ɵɵelementStart;
- }
- /**
- * Mark the end of the element.
- * @returns This function returns itself so that it may be chained.
- *
- * @codeGenApi
- */
- function ɵɵelementEnd() {
- let currentTNode = getCurrentTNode();
- ngDevMode && assertDefined(currentTNode, 'No parent node to close.');
- if (isCurrentTNodeParent()) {
- setCurrentTNodeAsNotParent();
- } else {
- ngDevMode && assertHasParent(getCurrentTNode());
- currentTNode = currentTNode.parent;
- setCurrentTNode(currentTNode, false);
- }
- const tNode = currentTNode;
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- );
- decreaseElementDepthCount();
- const tView = getTView();
- if (tView.firstCreatePass) {
- registerPostOrderHooks(tView, currentTNode);
- if (isContentQueryHost(currentTNode)) {
- tView.queries.elementEnd(currentTNode);
- }
- }
- if (tNode.classesWithoutHost != null && hasClassInput(tNode)) {
- setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.classesWithoutHost, true);
- }
- if (tNode.stylesWithoutHost != null && hasStyleInput(tNode)) {
- setDirectiveInputsWhichShadowsStyling(tView, tNode, getLView(), tNode.stylesWithoutHost, false);
- }
- return ɵɵelementEnd;
- }
- /**
- * Creates an empty element using {@link elementStart} and {@link elementEnd}
- *
- * @param index Index of the element in the data array
- * @param name Name of the DOM Node
- * @param attrsIndex Index of the element's attributes in the `consts` array.
- * @param localRefsIndex Index of the element's local references in the `consts` array.
- * @returns This function returns itself so that it may be chained.
- *
- * @codeGenApi
- */
- function ɵɵelement(index, name, attrsIndex, localRefsIndex) {
- ɵɵelementStart(index, name, attrsIndex, localRefsIndex);
- ɵɵelementEnd();
- return ɵɵelement;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function elementContainerStartFirstCreatePass(index, tView, lView, attrsIndex, localRefsIndex) {
- ngDevMode && ngDevMode.firstCreatePass++;
- const tViewConsts = tView.consts;
- const attrs = getConstant(tViewConsts, attrsIndex);
- const tNode = getOrCreateTNode(tView, index, 8
- /* TNodeType.ElementContainer */
- , 'ng-container', attrs); // While ng-container doesn't necessarily support styling, we use the style context to identify
- // and execute directives on the ng-container.
- if (attrs !== null) {
- computeStaticStyling(tNode, attrs, true);
- }
- const localRefs = getConstant(tViewConsts, localRefsIndex);
- resolveDirectives(tView, lView, tNode, localRefs);
- if (tView.queries !== null) {
- tView.queries.elementStart(tView, tNode);
- }
- return tNode;
- }
- /**
- * Creates a logical container for other nodes (<ng-container>) backed by a comment node in the DOM.
- * The instruction must later be followed by `elementContainerEnd()` call.
- *
- * @param index Index of the element in the LView array
- * @param attrsIndex Index of the container attributes in the `consts` array.
- * @param localRefsIndex Index of the container's local references in the `consts` array.
- * @returns This function returns itself so that it may be chained.
- *
- * Even if this instruction accepts a set of attributes no actual attribute values are propagated to
- * the DOM (as a comment node can't have attributes). Attributes are here only for directive
- * matching purposes and setting initial inputs of directives.
- *
- * @codeGenApi
- */
- function ɵɵelementContainerStart(index, attrsIndex, localRefsIndex) {
- const lView = getLView();
- const tView = getTView();
- const adjustedIndex = index + HEADER_OFFSET;
- ngDevMode && assertIndexInRange(lView, adjustedIndex);
- ngDevMode && assertEqual(getBindingIndex(), tView.bindingStartIndex, 'element containers should be created before any bindings');
- const tNode = tView.firstCreatePass ? elementContainerStartFirstCreatePass(adjustedIndex, tView, lView, attrsIndex, localRefsIndex) : tView.data[adjustedIndex];
- setCurrentTNode(tNode, true);
- ngDevMode && ngDevMode.rendererCreateComment++;
- const native = lView[adjustedIndex] = lView[RENDERER].createComment(ngDevMode ? 'ng-container' : '');
- appendChild(tView, lView, native, tNode);
- attachPatchData(native, lView);
- if (isDirectiveHost(tNode)) {
- createDirectivesInstances(tView, lView, tNode);
- executeContentQueries(tView, tNode, lView);
- }
- if (localRefsIndex != null) {
- saveResolvedLocalsInData(lView, tNode);
- }
- return ɵɵelementContainerStart;
- }
- /**
- * Mark the end of the <ng-container>.
- * @returns This function returns itself so that it may be chained.
- *
- * @codeGenApi
- */
- function ɵɵelementContainerEnd() {
- let currentTNode = getCurrentTNode();
- const tView = getTView();
- if (isCurrentTNodeParent()) {
- setCurrentTNodeAsNotParent();
- } else {
- ngDevMode && assertHasParent(currentTNode);
- currentTNode = currentTNode.parent;
- setCurrentTNode(currentTNode, false);
- }
- ngDevMode && assertTNodeType(currentTNode, 8
- /* TNodeType.ElementContainer */
- );
- if (tView.firstCreatePass) {
- registerPostOrderHooks(tView, currentTNode);
- if (isContentQueryHost(currentTNode)) {
- tView.queries.elementEnd(currentTNode);
- }
- }
- return ɵɵelementContainerEnd;
- }
- /**
- * Creates an empty logical container using {@link elementContainerStart}
- * and {@link elementContainerEnd}
- *
- * @param index Index of the element in the LView array
- * @param attrsIndex Index of the container attributes in the `consts` array.
- * @param localRefsIndex Index of the container's local references in the `consts` array.
- * @returns This function returns itself so that it may be chained.
- *
- * @codeGenApi
- */
- function ɵɵelementContainer(index, attrsIndex, localRefsIndex) {
- ɵɵelementContainerStart(index, attrsIndex, localRefsIndex);
- ɵɵelementContainerEnd();
- return ɵɵelementContainer;
- }
- /**
- * Returns the current OpaqueViewState instance.
- *
- * Used in conjunction with the restoreView() instruction to save a snapshot
- * of the current view and restore it when listeners are invoked. This allows
- * walking the declaration view tree in listeners to get vars from parent views.
- *
- * @codeGenApi
- */
- function ɵɵgetCurrentView() {
- return getLView();
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Determine if the argument is shaped like a Promise
- */
- function isPromise(obj) {
- // allow any Promise/A+ compliant thenable.
- // It's up to the caller to ensure that obj.then conforms to the spec
- return !!obj && typeof obj.then === 'function';
- }
- /**
- * Determine if the argument is a Subscribable
- */
- function isSubscribable(obj) {
- return !!obj && typeof obj.subscribe === 'function';
- }
- /**
- * Determine if the argument is an Observable
- *
- * Strictly this tests that the `obj` is `Subscribable`, since `Observable`
- * types need additional methods, such as `lift()`. But it is adequate for our
- * needs since within the Angular framework code we only ever need to use the
- * `subscribe()` method, and RxJS has mechanisms to wrap `Subscribable` objects
- * into `Observable` as needed.
- */
- const isObservable = isSubscribable;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Adds an event listener to the current node.
- *
- * If an output exists on one of the node's directives, it also subscribes to the output
- * and saves the subscription for later cleanup.
- *
- * @param eventName Name of the event
- * @param listenerFn The function to be called when event emits
- * @param useCapture Whether or not to use capture in event listener
- * @param eventTargetResolver Function that returns global target information in case this listener
- * should be attached to a global object like window, document or body
- *
- * @codeGenApi
- */
- function ɵɵlistener(eventName, listenerFn, useCapture, eventTargetResolver) {
- const lView = getLView();
- const tView = getTView();
- const tNode = getCurrentTNode();
- listenerInternal(tView, lView, lView[RENDERER], tNode, eventName, listenerFn, !!useCapture, eventTargetResolver);
- return ɵɵlistener;
- }
- /**
- * Registers a synthetic host listener (e.g. `(@foo.start)`) on a component or directive.
- *
- * This instruction is for compatibility purposes and is designed to ensure that a
- * synthetic host listener (e.g. `@HostListener('@foo.start')`) properly gets rendered
- * in the component's renderer. Normally all host listeners are evaluated with the
- * parent component's renderer, but, in the case of animation @triggers, they need
- * to be evaluated with the sub component's renderer (because that's where the
- * animation triggers are defined).
- *
- * Do not use this instruction as a replacement for `listener`. This instruction
- * only exists to ensure compatibility with the ViewEngine's host binding behavior.
- *
- * @param eventName Name of the event
- * @param listenerFn The function to be called when event emits
- * @param useCapture Whether or not to use capture in event listener
- * @param eventTargetResolver Function that returns global target information in case this listener
- * should be attached to a global object like window, document or body
- *
- * @codeGenApi
- */
- function ɵɵsyntheticHostListener(eventName, listenerFn) {
- const tNode = getCurrentTNode();
- const lView = getLView();
- const tView = getTView();
- const currentDef = getCurrentDirectiveDef(tView.data);
- const renderer = loadComponentRenderer(currentDef, tNode, lView);
- listenerInternal(tView, lView, renderer, tNode, eventName, listenerFn, false);
- return ɵɵsyntheticHostListener;
- }
- /**
- * A utility function that checks if a given element has already an event handler registered for an
- * event with a specified name. The TView.cleanup data structure is used to find out which events
- * are registered for a given element.
- */
- function findExistingListener(tView, lView, eventName, tNodeIdx) {
- const tCleanup = tView.cleanup;
- if (tCleanup != null) {
- for (let i = 0; i < tCleanup.length - 1; i += 2) {
- const cleanupEventName = tCleanup[i];
- if (cleanupEventName === eventName && tCleanup[i + 1] === tNodeIdx) {
- // We have found a matching event name on the same node but it might not have been
- // registered yet, so we must explicitly verify entries in the LView cleanup data
- // structures.
- const lCleanup = lView[CLEANUP];
- const listenerIdxInLCleanup = tCleanup[i + 2];
- return lCleanup.length > listenerIdxInLCleanup ? lCleanup[listenerIdxInLCleanup] : null;
- } // TView.cleanup can have a mix of 4-elements entries (for event handler cleanups) or
- // 2-element entries (for directive and queries destroy hooks). As such we can encounter
- // blocks of 4 or 2 items in the tView.cleanup and this is why we iterate over 2 elements
- // first and jump another 2 elements if we detect listeners cleanup (4 elements). Also check
- // documentation of TView.cleanup for more details of this data structure layout.
- if (typeof cleanupEventName === 'string') {
- i += 2;
- }
- }
- }
- return null;
- }
- function listenerInternal(tView, lView, renderer, tNode, eventName, listenerFn, useCapture, eventTargetResolver) {
- const isTNodeDirectiveHost = isDirectiveHost(tNode);
- const firstCreatePass = tView.firstCreatePass;
- const tCleanup = firstCreatePass && getOrCreateTViewCleanup(tView);
- const context = lView[CONTEXT]; // When the ɵɵlistener instruction was generated and is executed we know that there is either a
- // native listener or a directive output on this element. As such we we know that we will have to
- // register a listener and store its cleanup function on LView.
- const lCleanup = getOrCreateLViewCleanup(lView);
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- | 12
- /* TNodeType.AnyContainer */
- );
- let processOutputs = true; // Adding a native event listener is applicable when:
- // - The corresponding TNode represents a DOM element.
- // - The event target has a resolver (usually resulting in a global object,
- // such as `window` or `document`).
- if (tNode.type & 3
- /* TNodeType.AnyRNode */
- || eventTargetResolver) {
- const native = getNativeByTNode(tNode, lView);
- const target = eventTargetResolver ? eventTargetResolver(native) : native;
- const lCleanupIndex = lCleanup.length;
- 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
- // events (including outputs).
- // There might be cases where multiple directives on the same element try to register an event
- // handler function for the same event. In this situation we want to avoid registration of
- // several native listeners as each registration would be intercepted by NgZone and
- // trigger change detection. This would mean that a single user action would result in several
- // change detections being invoked. To avoid this situation we want to have only one call to
- // native handler registration (for the same element and same type of event).
- //
- // In order to have just one native event handler in presence of multiple handler functions,
- // we just register a first handler function as a native event listener and then chain
- // (coalesce) other handler functions on top of the first native handler function.
- let existingListener = null; // Please note that the coalescing described here doesn't happen for events specifying an
- // alternative target (ex. (document:click)) - this is to keep backward compatibility with the
- // view engine.
- // Also, we don't have to search for existing listeners is there are no directives
- // matching on a given node as we can't register multiple event handlers for the same event in
- // a template (this would mean having duplicate attributes).
- if (!eventTargetResolver && isTNodeDirectiveHost) {
- existingListener = findExistingListener(tView, lView, eventName, tNode.index);
- }
- if (existingListener !== null) {
- // Attach a new listener to coalesced listeners list, maintaining the order in which
- // listeners are registered. For performance reasons, we keep a reference to the last
- // listener in that list (in `__ngLastListenerFn__` field), so we can avoid going through
- // the entire set each time we need to add a new listener.
- const lastListenerFn = existingListener.__ngLastListenerFn__ || existingListener;
- lastListenerFn.__ngNextListenerFn__ = listenerFn;
- existingListener.__ngLastListenerFn__ = listenerFn;
- processOutputs = false;
- } else {
- listenerFn = wrapListener(tNode, lView, context, listenerFn, false
- /** preventDefault */
- );
- const cleanupFn = renderer.listen(target, eventName, listenerFn);
- ngDevMode && ngDevMode.rendererAddEventListener++;
- lCleanup.push(listenerFn, cleanupFn);
- tCleanup && tCleanup.push(eventName, idxOrTargetGetter, lCleanupIndex, lCleanupIndex + 1);
- }
- } else {
- // Even if there is no native listener to add, we still need to wrap the listener so that OnPush
- // ancestors are marked dirty when an event occurs.
- listenerFn = wrapListener(tNode, lView, context, listenerFn, false
- /** preventDefault */
- );
- } // subscribe to directive outputs
- const outputs = tNode.outputs;
- let props;
- if (processOutputs && outputs !== null && (props = outputs[eventName])) {
- const propsLength = props.length;
- if (propsLength) {
- for (let i = 0; i < propsLength; i += 2) {
- const index = props[i];
- ngDevMode && assertIndexInRange(lView, index);
- const minifiedName = props[i + 1];
- const directiveInstance = lView[index];
- const output = directiveInstance[minifiedName];
- if (ngDevMode && !isObservable(output)) {
- throw new Error(`@Output ${minifiedName} not initialized in '${directiveInstance.constructor.name}'.`);
- }
- const subscription = output.subscribe(listenerFn);
- const idx = lCleanup.length;
- lCleanup.push(listenerFn, subscription);
- tCleanup && tCleanup.push(eventName, tNode.index, idx, -(idx + 1));
- }
- }
- }
- }
- function executeListenerWithErrorHandling(lView, context, listenerFn, e) {
- try {
- profiler(6
- /* ProfilerEvent.OutputStart */
- , context, listenerFn); // Only explicitly returning false from a listener should preventDefault
- return listenerFn(e) !== false;
- } catch (error) {
- handleError(lView, error);
- return false;
- } finally {
- profiler(7
- /* ProfilerEvent.OutputEnd */
- , context, listenerFn);
- }
- }
- /**
- * Wraps an event listener with a function that marks ancestors dirty and prevents default behavior,
- * if applicable.
- *
- * @param tNode The TNode associated with this listener
- * @param lView The LView that contains this listener
- * @param listenerFn The listener function to call
- * @param wrapWithPreventDefault Whether or not to prevent default behavior
- * (the procedural renderer does this already, so in those cases, we should skip)
- */
- function wrapListener(tNode, lView, context, listenerFn, wrapWithPreventDefault) {
- // Note: we are performing most of the work in the listener function itself
- // to optimize listener registration.
- return function wrapListenerIn_markDirtyAndPreventDefault(e) {
- // Ivy uses `Function` as a special token that allows us to unwrap the function
- // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`.
- if (e === Function) {
- return listenerFn;
- } // In order to be backwards compatible with View Engine, events on component host nodes
- // must also mark the component view itself dirty (i.e. the view that it owns).
- const startView = tNode.flags & 2
- /* TNodeFlags.isComponentHost */
- ? getComponentLViewByIndex(tNode.index, lView) : lView;
- markViewDirty(startView);
- let result = executeListenerWithErrorHandling(lView, context, listenerFn, e); // A just-invoked listener function might have coalesced listeners so we need to check for
- // their presence and invoke as needed.
- let nextListenerFn = wrapListenerIn_markDirtyAndPreventDefault.__ngNextListenerFn__;
- while (nextListenerFn) {
- // We should prevent default if any of the listeners explicitly return false
- result = executeListenerWithErrorHandling(lView, context, nextListenerFn, e) && result;
- nextListenerFn = nextListenerFn.__ngNextListenerFn__;
- }
- if (wrapWithPreventDefault && result === false) {
- e.preventDefault(); // Necessary for legacy browsers that don't support preventDefault (e.g. IE)
- e.returnValue = false;
- }
- return result;
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Retrieves a context at the level specified and saves it as the global, contextViewData.
- * Will get the next level up if level is not specified.
- *
- * This is used to save contexts of parent views so they can be bound in embedded views, or
- * in conjunction with reference() to bind a ref from a parent view.
- *
- * @param level The relative level of the view from which to grab context compared to contextVewData
- * @returns context
- *
- * @codeGenApi
- */
- function ɵɵnextContext(level = 1) {
- return nextContextImpl(level);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Checks a given node against matching projection slots and returns the
- * determined slot index. Returns "null" if no slot matched the given node.
- *
- * This function takes into account the parsed ngProjectAs selector from the
- * node's attributes. If present, it will check whether the ngProjectAs selector
- * matches any of the projection slot selectors.
- */
- function matchingProjectionSlotIndex(tNode, projectionSlots) {
- let wildcardNgContentIndex = null;
- const ngProjectAsAttrVal = getProjectAsAttrValue(tNode);
- for (let i = 0; i < projectionSlots.length; i++) {
- const slotValue = projectionSlots[i]; // The last wildcard projection slot should match all nodes which aren't matching
- // any selector. This is necessary to be backwards compatible with view engine.
- if (slotValue === '*') {
- wildcardNgContentIndex = i;
- continue;
- } // If we ran into an `ngProjectAs` attribute, we should match its parsed selector
- // to the list of selectors, otherwise we fall back to matching against the node.
- if (ngProjectAsAttrVal === null ? isNodeMatchingSelectorList(tNode, slotValue,
- /* isProjectionMode */
- true) : isSelectorInSelectorList(ngProjectAsAttrVal, slotValue)) {
- return i; // first matching selector "captures" a given node
- }
- }
- return wildcardNgContentIndex;
- }
- /**
- * Instruction to distribute projectable nodes among <ng-content> occurrences in a given template.
- * It takes all the selectors from the entire component's template and decides where
- * each projected node belongs (it re-distributes nodes among "buckets" where each "bucket" is
- * backed by a selector).
- *
- * This function requires CSS selectors to be provided in 2 forms: parsed (by a compiler) and text,
- * un-parsed form.
- *
- * The parsed form is needed for efficient matching of a node against a given CSS selector.
- * The un-parsed, textual form is needed for support of the ngProjectAs attribute.
- *
- * Having a CSS selector in 2 different formats is not ideal, but alternatives have even more
- * drawbacks:
- * - having only a textual form would require runtime parsing of CSS selectors;
- * - we can't have only a parsed as we can't re-construct textual form from it (as entered by a
- * template author).
- *
- * @param projectionSlots? A collection of projection slots. A projection slot can be based
- * on a parsed CSS selectors or set to the wildcard selector ("*") in order to match
- * all nodes which do not match any selector. If not specified, a single wildcard
- * selector projection slot will be defined.
- *
- * @codeGenApi
- */
- function ɵɵprojectionDef(projectionSlots) {
- const componentNode = getLView()[DECLARATION_COMPONENT_VIEW][T_HOST];
- if (!componentNode.projection) {
- // If no explicit projection slots are defined, fall back to a single
- // projection slot with the wildcard selector.
- const numProjectionSlots = projectionSlots ? projectionSlots.length : 1;
- const projectionHeads = componentNode.projection = newArray(numProjectionSlots, null);
- const tails = projectionHeads.slice();
- let componentChild = componentNode.child;
- while (componentChild !== null) {
- const slotIndex = projectionSlots ? matchingProjectionSlotIndex(componentChild, projectionSlots) : 0;
- if (slotIndex !== null) {
- if (tails[slotIndex]) {
- tails[slotIndex].projectionNext = componentChild;
- } else {
- projectionHeads[slotIndex] = componentChild;
- }
- tails[slotIndex] = componentChild;
- }
- componentChild = componentChild.next;
- }
- }
- }
- /**
- * Inserts previously re-distributed projected nodes. This instruction must be preceded by a call
- * to the projectionDef instruction.
- *
- * @param nodeIndex
- * @param selectorIndex:
- * - 0 when the selector is `*` (or unspecified as this is the default value),
- * - 1 based index of the selector from the {@link projectionDef}
- *
- * @codeGenApi
- */
- function ɵɵprojection(nodeIndex, selectorIndex = 0, attrs) {
- const lView = getLView();
- const tView = getTView();
- const tProjectionNode = getOrCreateTNode(tView, HEADER_OFFSET + nodeIndex, 16
- /* TNodeType.Projection */
- , null, attrs || null); // We can't use viewData[HOST_NODE] because projection nodes can be nested in embedded views.
- if (tProjectionNode.projection === null) tProjectionNode.projection = selectorIndex; // `<ng-content>` has no content
- setCurrentTNodeAsNotParent();
- if ((tProjectionNode.flags & 64
- /* TNodeFlags.isDetached */
- ) !== 64
- /* TNodeFlags.isDetached */
- ) {
- // re-distribution of projectable nodes is stored on a component's view level
- applyProjection(tView, lView, tProjectionNode);
- }
- }
- /**
- *
- * Update an interpolated property on an element with a lone bound value
- *
- * Used when the value passed to a property has 1 interpolated value in it, an no additional text
- * surrounds that interpolated value:
- *
- * ```html
- * <div title="{{v0}}"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate('title', v0);
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate(propName, v0, sanitizer) {
- ɵɵpropertyInterpolate1(propName, '', v0, '', sanitizer);
- return ɵɵpropertyInterpolate;
- }
- /**
- *
- * Update an interpolated property on an element with single bound value surrounded by text.
- *
- * Used when the value passed to a property has 1 interpolated value in it:
- *
- * ```html
- * <div title="prefix{{v0}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate1('title', 'prefix', v0, 'suffix');
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate1(propName, prefix, v0, suffix, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 1, prefix, suffix);
- }
- return ɵɵpropertyInterpolate1;
- }
- /**
- *
- * Update an interpolated property on an element with 2 bound values surrounded by text.
- *
- * Used when the value passed to a property has 2 interpolated values in it:
- *
- * ```html
- * <div title="prefix{{v0}}-{{v1}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate2('title', 'prefix', v0, '-', v1, 'suffix');
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate2(propName, prefix, v0, i0, v1, suffix, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 2, prefix, i0, suffix);
- }
- return ɵɵpropertyInterpolate2;
- }
- /**
- *
- * Update an interpolated property on an element with 3 bound values surrounded by text.
- *
- * Used when the value passed to a property has 3 interpolated values in it:
- *
- * ```html
- * <div title="prefix{{v0}}-{{v1}}-{{v2}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate3(
- * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix');
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate3(propName, prefix, v0, i0, v1, i1, v2, suffix, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 3, prefix, i0, i1, suffix);
- }
- return ɵɵpropertyInterpolate3;
- }
- /**
- *
- * Update an interpolated property on an element with 4 bound values surrounded by text.
- *
- * Used when the value passed to a property has 4 interpolated values in it:
- *
- * ```html
- * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate4(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate4(propName, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 4, prefix, i0, i1, i2, suffix);
- }
- return ɵɵpropertyInterpolate4;
- }
- /**
- *
- * Update an interpolated property on an element with 5 bound values surrounded by text.
- *
- * Used when the value passed to a property has 5 interpolated values in it:
- *
- * ```html
- * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate5(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate5(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 5, prefix, i0, i1, i2, i3, suffix);
- }
- return ɵɵpropertyInterpolate5;
- }
- /**
- *
- * Update an interpolated property on an element with 6 bound values surrounded by text.
- *
- * Used when the value passed to a property has 6 interpolated values in it:
- *
- * ```html
- * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate6(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate6(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 6, prefix, i0, i1, i2, i3, i4, suffix);
- }
- return ɵɵpropertyInterpolate6;
- }
- /**
- *
- * Update an interpolated property on an element with 7 bound values surrounded by text.
- *
- * Used when the value passed to a property has 7 interpolated values in it:
- *
- * ```html
- * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate7(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate7(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 7, prefix, i0, i1, i2, i3, i4, i5, suffix);
- }
- return ɵɵpropertyInterpolate7;
- }
- /**
- *
- * Update an interpolated property on an element with 8 bound values surrounded by text.
- *
- * Used when the value passed to a property has 8 interpolated values in it:
- *
- * ```html
- * <div title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolate8(
- * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param i6 Static value used for concatenation only.
- * @param v7 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolate8(propName, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - 8, prefix, i0, i1, i2, i3, i4, i5, i6, suffix);
- }
- return ɵɵpropertyInterpolate8;
- }
- /**
- * Update an interpolated property on an element with 9 or more bound values surrounded by text.
- *
- * Used when the number of interpolated values exceeds 8.
- *
- * ```html
- * <div
- * title="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix"></div>
- * ```
- *
- * Its compiled representation is::
- *
- * ```ts
- * ɵɵpropertyInterpolateV(
- * 'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
- * 'suffix']);
- * ```
- *
- * If the property name also exists as an input property on one of the element's directives,
- * the component property will be set instead of the element property. This check must
- * be conducted at runtime so child components that add new `@Inputs` don't have to be re-compiled.
- *
- * @param propName The name of the property to update.
- * @param values The collection of values and the strings in between those values, beginning with a
- * string prefix and ending with a string suffix.
- * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
- * @param sanitizer An optional sanitizer function
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵpropertyInterpolateV(propName, values, sanitizer) {
- const lView = getLView();
- const interpolatedValue = interpolationV(lView, values);
- if (interpolatedValue !== NO_CHANGE) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, interpolatedValue, lView[RENDERER], sanitizer, false);
- if (ngDevMode) {
- const interpolationInBetween = [values[0]]; // prefix
- for (let i = 2; i < values.length; i += 2) {
- interpolationInBetween.push(values[i]);
- }
- storePropertyBindingMetadata(tView.data, tNode, propName, getBindingIndex() - interpolationInBetween.length + 1, ...interpolationInBetween);
- }
- }
- return ɵɵpropertyInterpolateV;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * NOTE: The word `styling` is used interchangeably as style or class styling.
- *
- * This file contains code to link styling instructions together so that they can be replayed in
- * priority order. The file exists because Ivy styling instruction execution order does not match
- * that of the priority order. The purpose of this code is to create a linked list so that the
- * instructions can be traversed in priority order when computing the styles.
- *
- * Assume we are dealing with the following code:
- * ```
- * @Component({
- * template: `
- * <my-cmp [style]=" {color: '#001'} "
- * [style.color]=" #002 "
- * dir-style-color-1
- * dir-style-color-2> `
- * })
- * class ExampleComponent {
- * static ngComp = ... {
- * ...
- * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`
- * ɵɵstyleMap({color: '#001'});
- * ɵɵstyleProp('color', '#002');
- * ...
- * }
- * }
- *
- * @Directive({
- * selector: `[dir-style-color-1]',
- * })
- * class Style1Directive {
- * @HostBinding('style') style = {color: '#005'};
- * @HostBinding('style.color') color = '#006';
- *
- * static ngDir = ... {
- * ...
- * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`
- * ɵɵstyleMap({color: '#005'});
- * ɵɵstyleProp('color', '#006');
- * ...
- * }
- * }
- *
- * @Directive({
- * selector: `[dir-style-color-2]',
- * })
- * class Style2Directive {
- * @HostBinding('style') style = {color: '#007'};
- * @HostBinding('style.color') color = '#008';
- *
- * static ngDir = ... {
- * ...
- * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`
- * ɵɵstyleMap({color: '#007'});
- * ɵɵstyleProp('color', '#008');
- * ...
- * }
- * }
- *
- * @Directive({
- * selector: `my-cmp',
- * })
- * class MyComponent {
- * @HostBinding('style') style = {color: '#003'};
- * @HostBinding('style.color') color = '#004';
- *
- * static ngComp = ... {
- * ...
- * // Compiler ensures that `ɵɵstyleProp` is after `ɵɵstyleMap`
- * ɵɵstyleMap({color: '#003'});
- * ɵɵstyleProp('color', '#004');
- * ...
- * }
- * }
- * ```
- *
- * The Order of instruction execution is:
- *
- * NOTE: the comment binding location is for illustrative purposes only.
- *
- * ```
- * // Template: (ExampleComponent)
- * ɵɵstyleMap({color: '#001'}); // Binding index: 10
- * ɵɵstyleProp('color', '#002'); // Binding index: 12
- * // MyComponent
- * ɵɵstyleMap({color: '#003'}); // Binding index: 20
- * ɵɵstyleProp('color', '#004'); // Binding index: 22
- * // Style1Directive
- * ɵɵstyleMap({color: '#005'}); // Binding index: 24
- * ɵɵstyleProp('color', '#006'); // Binding index: 26
- * // Style2Directive
- * ɵɵstyleMap({color: '#007'}); // Binding index: 28
- * ɵɵstyleProp('color', '#008'); // Binding index: 30
- * ```
- *
- * The correct priority order of concatenation is:
- *
- * ```
- * // MyComponent
- * ɵɵstyleMap({color: '#003'}); // Binding index: 20
- * ɵɵstyleProp('color', '#004'); // Binding index: 22
- * // Style1Directive
- * ɵɵstyleMap({color: '#005'}); // Binding index: 24
- * ɵɵstyleProp('color', '#006'); // Binding index: 26
- * // Style2Directive
- * ɵɵstyleMap({color: '#007'}); // Binding index: 28
- * ɵɵstyleProp('color', '#008'); // Binding index: 30
- * // Template: (ExampleComponent)
- * ɵɵstyleMap({color: '#001'}); // Binding index: 10
- * ɵɵstyleProp('color', '#002'); // Binding index: 12
- * ```
- *
- * What color should be rendered?
- *
- * Once the items are correctly sorted in the list, the answer is simply the last item in the
- * concatenation list which is `#002`.
- *
- * To do so we keep a linked list of all of the bindings which pertain to this element.
- * Notice that the bindings are inserted in the order of execution, but the `TView.data` allows
- * us to traverse them in the order of priority.
- *
- * |Idx|`TView.data`|`LView` | Notes
- * |---|------------|-----------------|--------------
- * |...| | |
- * |10 |`null` |`{color: '#001'}`| `ɵɵstyleMap('color', {color: '#001'})`
- * |11 |`30 | 12` | ... |
- * |12 |`color` |`'#002'` | `ɵɵstyleProp('color', '#002')`
- * |13 |`10 | 0` | ... |
- * |...| | |
- * |20 |`null` |`{color: '#003'}`| `ɵɵstyleMap('color', {color: '#003'})`
- * |21 |`0 | 22` | ... |
- * |22 |`color` |`'#004'` | `ɵɵstyleProp('color', '#004')`
- * |23 |`20 | 24` | ... |
- * |24 |`null` |`{color: '#005'}`| `ɵɵstyleMap('color', {color: '#005'})`
- * |25 |`22 | 26` | ... |
- * |26 |`color` |`'#006'` | `ɵɵstyleProp('color', '#006')`
- * |27 |`24 | 28` | ... |
- * |28 |`null` |`{color: '#007'}`| `ɵɵstyleMap('color', {color: '#007'})`
- * |29 |`26 | 30` | ... |
- * |30 |`color` |`'#008'` | `ɵɵstyleProp('color', '#008')`
- * |31 |`28 | 10` | ... |
- *
- * The above data structure allows us to re-concatenate the styling no matter which data binding
- * changes.
- *
- * NOTE: in addition to keeping track of next/previous index the `TView.data` also stores prev/next
- * duplicate bit. The duplicate bit if true says there either is a binding with the same name or
- * there is a map (which may contain the name). This information is useful in knowing if other
- * styles with higher priority need to be searched for overwrites.
- *
- * NOTE: See `should support example in 'tnode_linked_list.ts' documentation` in
- * `tnode_linked_list_spec.ts` for working example.
- */
- let __unused_const_as_closure_does_not_like_standalone_comment_blocks__;
- /**
- * Insert new `tStyleValue` at `TData` and link existing style bindings such that we maintain linked
- * list of styles and compute the duplicate flag.
- *
- * Note: this function is executed during `firstUpdatePass` only to populate the `TView.data`.
- *
- * The function works by keeping track of `tStylingRange` which contains two pointers pointing to
- * the head/tail of the template portion of the styles.
- * - if `isHost === false` (we are template) then insertion is at tail of `TStylingRange`
- * - if `isHost === true` (we are host binding) then insertion is at head of `TStylingRange`
- *
- * @param tData The `TData` to insert into.
- * @param tNode `TNode` associated with the styling element.
- * @param tStylingKey See `TStylingKey`.
- * @param index location of where `tStyleValue` should be stored (and linked into list.)
- * @param isHostBinding `true` if the insertion is for a `hostBinding`. (insertion is in front of
- * template.)
- * @param isClassBinding True if the associated `tStylingKey` as a `class` styling.
- * `tNode.classBindings` should be used (or `tNode.styleBindings` otherwise.)
- */
- function insertTStylingBinding(tData, tNode, tStylingKeyWithStatic, index, isHostBinding, isClassBinding) {
- ngDevMode && assertFirstUpdatePass(getTView());
- let tBindings = isClassBinding ? tNode.classBindings : tNode.styleBindings;
- let tmplHead = getTStylingRangePrev(tBindings);
- let tmplTail = getTStylingRangeNext(tBindings);
- tData[index] = tStylingKeyWithStatic;
- let isKeyDuplicateOfStatic = false;
- let tStylingKey;
- if (Array.isArray(tStylingKeyWithStatic)) {
- // We are case when the `TStylingKey` contains static fields as well.
- const staticKeyValueArray = tStylingKeyWithStatic;
- tStylingKey = staticKeyValueArray[1]; // unwrap.
- // We need to check if our key is present in the static so that we can mark it as duplicate.
- if (tStylingKey === null || keyValueArrayIndexOf(staticKeyValueArray, tStylingKey) > 0) {
- // tStylingKey is present in the statics, need to mark it as duplicate.
- isKeyDuplicateOfStatic = true;
- }
- } else {
- tStylingKey = tStylingKeyWithStatic;
- }
- if (isHostBinding) {
- // We are inserting host bindings
- // If we don't have template bindings then `tail` is 0.
- const hasTemplateBindings = tmplTail !== 0; // This is important to know because that means that the `head` can't point to the first
- // template bindings (there are none.) Instead the head points to the tail of the template.
- if (hasTemplateBindings) {
- // template head's "prev" will point to last host binding or to 0 if no host bindings yet
- const previousNode = getTStylingRangePrev(tData[tmplHead + 1]);
- tData[index + 1] = toTStylingRange(previousNode, tmplHead); // if a host binding has already been registered, we need to update the next of that host
- // binding to point to this one
- if (previousNode !== 0) {
- // We need to update the template-tail value to point to us.
- tData[previousNode + 1] = setTStylingRangeNext(tData[previousNode + 1], index);
- } // The "previous" of the template binding head should point to this host binding
- tData[tmplHead + 1] = setTStylingRangePrev(tData[tmplHead + 1], index);
- } else {
- tData[index + 1] = toTStylingRange(tmplHead, 0); // if a host binding has already been registered, we need to update the next of that host
- // binding to point to this one
- if (tmplHead !== 0) {
- // We need to update the template-tail value to point to us.
- tData[tmplHead + 1] = setTStylingRangeNext(tData[tmplHead + 1], index);
- } // if we don't have template, the head points to template-tail, and needs to be advanced.
- tmplHead = index;
- }
- } else {
- // We are inserting in template section.
- // We need to set this binding's "previous" to the current template tail
- tData[index + 1] = toTStylingRange(tmplTail, 0);
- ngDevMode && assertEqual(tmplHead !== 0 && tmplTail === 0, false, 'Adding template bindings after hostBindings is not allowed.');
- if (tmplHead === 0) {
- tmplHead = index;
- } else {
- // We need to update the previous value "next" to point to this binding
- tData[tmplTail + 1] = setTStylingRangeNext(tData[tmplTail + 1], index);
- }
- tmplTail = index;
- } // Now we need to update / compute the duplicates.
- // Starting with our location search towards head (least priority)
- if (isKeyDuplicateOfStatic) {
- tData[index + 1] = setTStylingRangePrevDuplicate(tData[index + 1]);
- }
- markDuplicates(tData, tStylingKey, index, true, isClassBinding);
- markDuplicates(tData, tStylingKey, index, false, isClassBinding);
- markDuplicateOfResidualStyling(tNode, tStylingKey, tData, index, isClassBinding);
- tBindings = toTStylingRange(tmplHead, tmplTail);
- if (isClassBinding) {
- tNode.classBindings = tBindings;
- } else {
- tNode.styleBindings = tBindings;
- }
- }
- /**
- * Look into the residual styling to see if the current `tStylingKey` is duplicate of residual.
- *
- * @param tNode `TNode` where the residual is stored.
- * @param tStylingKey `TStylingKey` to store.
- * @param tData `TData` associated with the current `LView`.
- * @param index location of where `tStyleValue` should be stored (and linked into list.)
- * @param isClassBinding True if the associated `tStylingKey` as a `class` styling.
- * `tNode.classBindings` should be used (or `tNode.styleBindings` otherwise.)
- */
- function markDuplicateOfResidualStyling(tNode, tStylingKey, tData, index, isClassBinding) {
- const residual = isClassBinding ? tNode.residualClasses : tNode.residualStyles;
- if (residual != null
- /* or undefined */
- && typeof tStylingKey == 'string' && keyValueArrayIndexOf(residual, tStylingKey) >= 0) {
- // We have duplicate in the residual so mark ourselves as duplicate.
- tData[index + 1] = setTStylingRangeNextDuplicate(tData[index + 1]);
- }
- }
- /**
- * Marks `TStyleValue`s as duplicates if another style binding in the list has the same
- * `TStyleValue`.
- *
- * NOTE: this function is intended to be called twice once with `isPrevDir` set to `true` and once
- * with it set to `false` to search both the previous as well as next items in the list.
- *
- * No duplicate case
- * ```
- * [style.color]
- * [style.width.px] <<- index
- * [style.height.px]
- * ```
- *
- * In the above case adding `[style.width.px]` to the existing `[style.color]` produces no
- * duplicates because `width` is not found in any other part of the linked list.
- *
- * Duplicate case
- * ```
- * [style.color]
- * [style.width.em]
- * [style.width.px] <<- index
- * ```
- * In the above case adding `[style.width.px]` will produce a duplicate with `[style.width.em]`
- * because `width` is found in the chain.
- *
- * Map case 1
- * ```
- * [style.width.px]
- * [style.color]
- * [style] <<- index
- * ```
- * In the above case adding `[style]` will produce a duplicate with any other bindings because
- * `[style]` is a Map and as such is fully dynamic and could produce `color` or `width`.
- *
- * Map case 2
- * ```
- * [style]
- * [style.width.px]
- * [style.color] <<- index
- * ```
- * In the above case adding `[style.color]` will produce a duplicate because there is already a
- * `[style]` binding which is a Map and as such is fully dynamic and could produce `color` or
- * `width`.
- *
- * NOTE: Once `[style]` (Map) is added into the system all things are mapped as duplicates.
- * NOTE: We use `style` as example, but same logic is applied to `class`es as well.
- *
- * @param tData `TData` where the linked list is stored.
- * @param tStylingKey `TStylingKeyPrimitive` which contains the value to compare to other keys in
- * the linked list.
- * @param index Starting location in the linked list to search from
- * @param isPrevDir Direction.
- * - `true` for previous (lower priority);
- * - `false` for next (higher priority).
- */
- function markDuplicates(tData, tStylingKey, index, isPrevDir, isClassBinding) {
- const tStylingAtIndex = tData[index + 1];
- const isMap = tStylingKey === null;
- let cursor = isPrevDir ? getTStylingRangePrev(tStylingAtIndex) : getTStylingRangeNext(tStylingAtIndex);
- let foundDuplicate = false; // We keep iterating as long as we have a cursor
- // AND either:
- // - we found what we are looking for, OR
- // - we are a map in which case we have to continue searching even after we find what we were
- // looking for since we are a wild card and everything needs to be flipped to duplicate.
- while (cursor !== 0 && (foundDuplicate === false || isMap)) {
- ngDevMode && assertIndexInRange(tData, cursor);
- const tStylingValueAtCursor = tData[cursor];
- const tStyleRangeAtCursor = tData[cursor + 1];
- if (isStylingMatch(tStylingValueAtCursor, tStylingKey)) {
- foundDuplicate = true;
- tData[cursor + 1] = isPrevDir ? setTStylingRangeNextDuplicate(tStyleRangeAtCursor) : setTStylingRangePrevDuplicate(tStyleRangeAtCursor);
- }
- cursor = isPrevDir ? getTStylingRangePrev(tStyleRangeAtCursor) : getTStylingRangeNext(tStyleRangeAtCursor);
- }
- if (foundDuplicate) {
- // if we found a duplicate, than mark ourselves.
- tData[index + 1] = isPrevDir ? setTStylingRangePrevDuplicate(tStylingAtIndex) : setTStylingRangeNextDuplicate(tStylingAtIndex);
- }
- }
- /**
- * Determines if two `TStylingKey`s are a match.
- *
- * When computing whether a binding contains a duplicate, we need to compare if the instruction
- * `TStylingKey` has a match.
- *
- * Here are examples of `TStylingKey`s which match given `tStylingKeyCursor` is:
- * - `color`
- * - `color` // Match another color
- * - `null` // That means that `tStylingKey` is a `classMap`/`styleMap` instruction
- * - `['', 'color', 'other', true]` // wrapped `color` so match
- * - `['', null, 'other', true]` // wrapped `null` so match
- * - `['', 'width', 'color', 'value']` // wrapped static value contains a match on `'color'`
- * - `null` // `tStylingKeyCursor` always match as it is `classMap`/`styleMap` instruction
- *
- * @param tStylingKeyCursor
- * @param tStylingKey
- */
- function isStylingMatch(tStylingKeyCursor, tStylingKey) {
- ngDevMode && assertNotEqual(Array.isArray(tStylingKey), true, 'Expected that \'tStylingKey\' has been unwrapped');
- if (tStylingKeyCursor === null || // If the cursor is `null` it means that we have map at that
- // location so we must assume that we have a match.
- tStylingKey == null || // If `tStylingKey` is `null` then it is a map therefor assume that it
- // contains a match.
- (Array.isArray(tStylingKeyCursor) ? tStylingKeyCursor[1] : tStylingKeyCursor) === tStylingKey // If the keys match explicitly than we are a match.
- ) {
- return true;
- } else if (Array.isArray(tStylingKeyCursor) && typeof tStylingKey === 'string') {
- // if we did not find a match, but `tStylingKeyCursor` is `KeyValueArray` that means cursor has
- // statics and we need to check those as well.
- return keyValueArrayIndexOf(tStylingKeyCursor, tStylingKey) >= 0; // see if we are matching the key
- }
- return false;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Global state of the parser. (This makes parser non-reentrant, but that is not an issue)
- const parserState = {
- textEnd: 0,
- key: 0,
- keyEnd: 0,
- value: 0,
- valueEnd: 0
- };
- /**
- * Retrieves the last parsed `key` of style.
- * @param text the text to substring the key from.
- */
- function getLastParsedKey(text) {
- return text.substring(parserState.key, parserState.keyEnd);
- }
- /**
- * Retrieves the last parsed `value` of style.
- * @param text the text to substring the key from.
- */
- function getLastParsedValue(text) {
- return text.substring(parserState.value, parserState.valueEnd);
- }
- /**
- * Initializes `className` string for parsing and parses the first token.
- *
- * This function is intended to be used in this format:
- * ```
- * for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {
- * const key = getLastParsedKey();
- * ...
- * }
- * ```
- * @param text `className` to parse
- * @returns index where the next invocation of `parseClassNameNext` should resume.
- */
- function parseClassName(text) {
- resetParserState(text);
- return parseClassNameNext(text, consumeWhitespace(text, 0, parserState.textEnd));
- }
- /**
- * Parses next `className` token.
- *
- * This function is intended to be used in this format:
- * ```
- * for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {
- * const key = getLastParsedKey();
- * ...
- * }
- * ```
- *
- * @param text `className` to parse
- * @param index where the parsing should resume.
- * @returns index where the next invocation of `parseClassNameNext` should resume.
- */
- function parseClassNameNext(text, index) {
- const end = parserState.textEnd;
- if (end === index) {
- return -1;
- }
- index = parserState.keyEnd = consumeClassToken(text, parserState.key = index, end);
- return consumeWhitespace(text, index, end);
- }
- /**
- * Initializes `cssText` string for parsing and parses the first key/values.
- *
- * This function is intended to be used in this format:
- * ```
- * for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i))) {
- * const key = getLastParsedKey();
- * const value = getLastParsedValue();
- * ...
- * }
- * ```
- * @param text `cssText` to parse
- * @returns index where the next invocation of `parseStyleNext` should resume.
- */
- function parseStyle(text) {
- resetParserState(text);
- return parseStyleNext(text, consumeWhitespace(text, 0, parserState.textEnd));
- }
- /**
- * Parses the next `cssText` key/values.
- *
- * This function is intended to be used in this format:
- * ```
- * for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i))) {
- * const key = getLastParsedKey();
- * const value = getLastParsedValue();
- * ...
- * }
- *
- * @param text `cssText` to parse
- * @param index where the parsing should resume.
- * @returns index where the next invocation of `parseStyleNext` should resume.
- */
- function parseStyleNext(text, startIndex) {
- const end = parserState.textEnd;
- let index = parserState.key = consumeWhitespace(text, startIndex, end);
- if (end === index) {
- // we reached an end so just quit
- return -1;
- }
- index = parserState.keyEnd = consumeStyleKey(text, index, end);
- index = consumeSeparator(text, index, end, 58
- /* CharCode.COLON */
- );
- index = parserState.value = consumeWhitespace(text, index, end);
- index = parserState.valueEnd = consumeStyleValue(text, index, end);
- return consumeSeparator(text, index, end, 59
- /* CharCode.SEMI_COLON */
- );
- }
- /**
- * Reset the global state of the styling parser.
- * @param text The styling text to parse.
- */
- function resetParserState(text) {
- parserState.key = 0;
- parserState.keyEnd = 0;
- parserState.value = 0;
- parserState.valueEnd = 0;
- parserState.textEnd = text.length;
- }
- /**
- * Returns index of next non-whitespace character.
- *
- * @param text Text to scan
- * @param startIndex Starting index of character where the scan should start.
- * @param endIndex Ending index of character where the scan should end.
- * @returns Index of next non-whitespace character (May be the same as `start` if no whitespace at
- * that location.)
- */
- function consumeWhitespace(text, startIndex, endIndex) {
- while (startIndex < endIndex && text.charCodeAt(startIndex) <= 32
- /* CharCode.SPACE */
- ) {
- startIndex++;
- }
- return startIndex;
- }
- /**
- * Returns index of last char in class token.
- *
- * @param text Text to scan
- * @param startIndex Starting index of character where the scan should start.
- * @param endIndex Ending index of character where the scan should end.
- * @returns Index after last char in class token.
- */
- function consumeClassToken(text, startIndex, endIndex) {
- while (startIndex < endIndex && text.charCodeAt(startIndex) > 32
- /* CharCode.SPACE */
- ) {
- startIndex++;
- }
- return startIndex;
- }
- /**
- * Consumes all of the characters belonging to style key and token.
- *
- * @param text Text to scan
- * @param startIndex Starting index of character where the scan should start.
- * @param endIndex Ending index of character where the scan should end.
- * @returns Index after last style key character.
- */
- function consumeStyleKey(text, startIndex, endIndex) {
- let ch;
- while (startIndex < endIndex && ((ch = text.charCodeAt(startIndex)) === 45
- /* CharCode.DASH */
- || ch === 95
- /* CharCode.UNDERSCORE */
- || (ch & -33
- /* CharCode.UPPER_CASE */
- ) >= 65
- /* CharCode.A */
- && (ch & -33
- /* CharCode.UPPER_CASE */
- ) <= 90
- /* CharCode.Z */
- || ch >= 48
- /* CharCode.ZERO */
- && ch <= 57
- /* CharCode.NINE */
- )) {
- startIndex++;
- }
- return startIndex;
- }
- /**
- * Consumes all whitespace and the separator `:` after the style key.
- *
- * @param text Text to scan
- * @param startIndex Starting index of character where the scan should start.
- * @param endIndex Ending index of character where the scan should end.
- * @returns Index after separator and surrounding whitespace.
- */
- function consumeSeparator(text, startIndex, endIndex, separator) {
- startIndex = consumeWhitespace(text, startIndex, endIndex);
- if (startIndex < endIndex) {
- if (ngDevMode && text.charCodeAt(startIndex) !== separator) {
- malformedStyleError(text, String.fromCharCode(separator), startIndex);
- }
- startIndex++;
- }
- return startIndex;
- }
- /**
- * Consumes style value honoring `url()` and `""` text.
- *
- * @param text Text to scan
- * @param startIndex Starting index of character where the scan should start.
- * @param endIndex Ending index of character where the scan should end.
- * @returns Index after last style value character.
- */
- function consumeStyleValue(text, startIndex, endIndex) {
- let ch1 = -1; // 1st previous character
- let ch2 = -1; // 2nd previous character
- let ch3 = -1; // 3rd previous character
- let i = startIndex;
- let lastChIndex = i;
- while (i < endIndex) {
- const ch = text.charCodeAt(i++);
- if (ch === 59
- /* CharCode.SEMI_COLON */
- ) {
- return lastChIndex;
- } else if (ch === 34
- /* CharCode.DOUBLE_QUOTE */
- || ch === 39
- /* CharCode.SINGLE_QUOTE */
- ) {
- lastChIndex = i = consumeQuotedText(text, ch, i, endIndex);
- } else if (startIndex === i - 4 && // We have seen only 4 characters so far "URL(" (Ignore "foo_URL()")
- ch3 === 85
- /* CharCode.U */
- && ch2 === 82
- /* CharCode.R */
- && ch1 === 76
- /* CharCode.L */
- && ch === 40
- /* CharCode.OPEN_PAREN */
- ) {
- lastChIndex = i = consumeQuotedText(text, 41
- /* CharCode.CLOSE_PAREN */
- , i, endIndex);
- } else if (ch > 32
- /* CharCode.SPACE */
- ) {
- // if we have a non-whitespace character then capture its location
- lastChIndex = i;
- }
- ch3 = ch2;
- ch2 = ch1;
- ch1 = ch & -33
- /* CharCode.UPPER_CASE */
- ;
- }
- return lastChIndex;
- }
- /**
- * Consumes all of the quoted characters.
- *
- * @param text Text to scan
- * @param quoteCharCode CharCode of either `"` or `'` quote or `)` for `url(...)`.
- * @param startIndex Starting index of character where the scan should start.
- * @param endIndex Ending index of character where the scan should end.
- * @returns Index after quoted characters.
- */
- function consumeQuotedText(text, quoteCharCode, startIndex, endIndex) {
- let ch1 = -1; // 1st previous character
- let index = startIndex;
- while (index < endIndex) {
- const ch = text.charCodeAt(index++);
- if (ch == quoteCharCode && ch1 !== 92
- /* CharCode.BACK_SLASH */
- ) {
- return index;
- }
- if (ch == 92
- /* CharCode.BACK_SLASH */
- && ch1 === 92
- /* CharCode.BACK_SLASH */
- ) {
- // two back slashes cancel each other out. For example `"\\"` should properly end the
- // quotation. (It should not assume that the last `"` is escaped.)
- ch1 = 0;
- } else {
- ch1 = ch;
- }
- }
- throw ngDevMode ? malformedStyleError(text, String.fromCharCode(quoteCharCode), endIndex) : new Error();
- }
- function malformedStyleError(text, expecting, index) {
- ngDevMode && assertEqual(typeof text === 'string', true, 'String expected here');
- throw throwError(`Malformed style at location ${index} in string '` + text.substring(0, index) + '[>>' + text.substring(index, index + 1) + '<<]' + text.slice(index + 1) + `'. Expecting '${expecting}'.`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Update a style binding on an element with the provided value.
- *
- * If the style value is falsy then it will be removed from the element
- * (or assigned a different value depending if there are any styles placed
- * on the element with `styleMap` or any static styles that are
- * present from when the element was created with `styling`).
- *
- * Note that the styling element is updated as part of `stylingApply`.
- *
- * @param prop A valid CSS property.
- * @param value New value to write (`null` or an empty string to remove).
- * @param suffix Optional suffix. Used with scalar values to add unit such as `px`.
- *
- * Note that this will apply the provided style value to the host element if this function is called
- * within a host binding function.
- *
- * @codeGenApi
- */
- function ɵɵstyleProp(prop, value, suffix) {
- checkStylingProperty(prop, value, suffix, false);
- return ɵɵstyleProp;
- }
- /**
- * Update a class binding on an element with the provided value.
- *
- * This instruction is meant to handle the `[class.foo]="exp"` case and,
- * therefore, the class binding itself must already be allocated using
- * `styling` within the creation block.
- *
- * @param prop A valid CSS class (only one).
- * @param value A true/false value which will turn the class on or off.
- *
- * Note that this will apply the provided class value to the host element if this function
- * is called within a host binding function.
- *
- * @codeGenApi
- */
- function ɵɵclassProp(className, value) {
- checkStylingProperty(className, value, null, true);
- return ɵɵclassProp;
- }
- /**
- * Update style bindings using an object literal on an element.
- *
- * This instruction is meant to apply styling via the `[style]="exp"` template bindings.
- * When styles are applied to the element they will then be updated with respect to
- * any styles/classes set via `styleProp`. If any styles are set to falsy
- * then they will be removed from the element.
- *
- * Note that the styling instruction will not be applied until `stylingApply` is called.
- *
- * @param styles A key/value style map of the styles that will be applied to the given element.
- * Any missing styles (that have already been applied to the element beforehand) will be
- * removed (unset) from the element's styling.
- *
- * Note that this will apply the provided styleMap value to the host element if this function
- * is called within a host binding.
- *
- * @codeGenApi
- */
- function ɵɵstyleMap(styles) {
- checkStylingMap(styleKeyValueArraySet, styleStringParser, styles, false);
- }
- /**
- * Parse text as style and add values to KeyValueArray.
- *
- * This code is pulled out to a separate function so that it can be tree shaken away if it is not
- * needed. It is only referenced from `ɵɵstyleMap`.
- *
- * @param keyValueArray KeyValueArray to add parsed values to.
- * @param text text to parse.
- */
- function styleStringParser(keyValueArray, text) {
- for (let i = parseStyle(text); i >= 0; i = parseStyleNext(text, i)) {
- styleKeyValueArraySet(keyValueArray, getLastParsedKey(text), getLastParsedValue(text));
- }
- }
- /**
- * Update class bindings using an object literal or class-string on an element.
- *
- * This instruction is meant to apply styling via the `[class]="exp"` template bindings.
- * When classes are applied to the element they will then be updated with
- * respect to any styles/classes set via `classProp`. If any
- * classes are set to falsy then they will be removed from the element.
- *
- * Note that the styling instruction will not be applied until `stylingApply` is called.
- * Note that this will the provided classMap value to the host element if this function is called
- * within a host binding.
- *
- * @param classes A key/value map or string of CSS classes that will be added to the
- * given element. Any missing classes (that have already been applied to the element
- * beforehand) will be removed (unset) from the element's list of CSS classes.
- *
- * @codeGenApi
- */
- function ɵɵclassMap(classes) {
- checkStylingMap(keyValueArraySet, classStringParser, classes, true);
- }
- /**
- * Parse text as class and add values to KeyValueArray.
- *
- * This code is pulled out to a separate function so that it can be tree shaken away if it is not
- * needed. It is only referenced from `ɵɵclassMap`.
- *
- * @param keyValueArray KeyValueArray to add parsed values to.
- * @param text text to parse.
- */
- function classStringParser(keyValueArray, text) {
- for (let i = parseClassName(text); i >= 0; i = parseClassNameNext(text, i)) {
- keyValueArraySet(keyValueArray, getLastParsedKey(text), true);
- }
- }
- /**
- * Common code between `ɵɵclassProp` and `ɵɵstyleProp`.
- *
- * @param prop property name.
- * @param value binding value.
- * @param suffix suffix for the property (e.g. `em` or `px`)
- * @param isClassBased `true` if `class` change (`false` if `style`)
- */
- function checkStylingProperty(prop, value, suffix, isClassBased) {
- const lView = getLView();
- const tView = getTView(); // Styling instructions use 2 slots per binding.
- // 1. one for the value / TStylingKey
- // 2. one for the intermittent-value / TStylingRange
- const bindingIndex = incrementBindingIndex(2);
- if (tView.firstUpdatePass) {
- stylingFirstUpdatePass(tView, prop, bindingIndex, isClassBased);
- }
- if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) {
- const tNode = tView.data[getSelectedIndex()];
- updateStyling(tView, tNode, lView, lView[RENDERER], prop, lView[bindingIndex + 1] = normalizeSuffix(value, suffix), isClassBased, bindingIndex);
- }
- }
- /**
- * Common code between `ɵɵclassMap` and `ɵɵstyleMap`.
- *
- * @param keyValueArraySet (See `keyValueArraySet` in "util/array_utils") Gets passed in as a
- * function so that `style` can be processed. This is done for tree shaking purposes.
- * @param stringParser Parser used to parse `value` if `string`. (Passed in as `style` and `class`
- * have different parsers.)
- * @param value bound value from application
- * @param isClassBased `true` if `class` change (`false` if `style`)
- */
- function checkStylingMap(keyValueArraySet, stringParser, value, isClassBased) {
- const tView = getTView();
- const bindingIndex = incrementBindingIndex(2);
- if (tView.firstUpdatePass) {
- stylingFirstUpdatePass(tView, null, bindingIndex, isClassBased);
- }
- const lView = getLView();
- if (value !== NO_CHANGE && bindingUpdated(lView, bindingIndex, value)) {
- // `getSelectedIndex()` should be here (rather than in instruction) so that it is guarded by the
- // if so as not to read unnecessarily.
- const tNode = tView.data[getSelectedIndex()];
- if (hasStylingInputShadow(tNode, isClassBased) && !isInHostBindings(tView, bindingIndex)) {
- if (ngDevMode) {
- // verify that if we are shadowing then `TData` is appropriately marked so that we skip
- // processing this binding in styling resolution.
- const tStylingKey = tView.data[bindingIndex];
- assertEqual(Array.isArray(tStylingKey) ? tStylingKey[1] : tStylingKey, false, 'Styling linked list shadow input should be marked as \'false\'');
- } // VE does not concatenate the static portion like we are doing here.
- // Instead VE just ignores the static completely if dynamic binding is present.
- // Because of locality we have already set the static portion because we don't know if there
- // is a dynamic portion until later. If we would ignore the static portion it would look like
- // the binding has removed it. This would confuse `[ngStyle]`/`[ngClass]` to do the wrong
- // thing as it would think that the static portion was removed. For this reason we
- // concatenate it so that `[ngStyle]`/`[ngClass]` can continue to work on changed.
- let staticPrefix = isClassBased ? tNode.classesWithoutHost : tNode.stylesWithoutHost;
- ngDevMode && isClassBased === false && staticPrefix !== null && assertEqual(staticPrefix.endsWith(';'), true, 'Expecting static portion to end with \';\'');
- if (staticPrefix !== null) {
- // We want to make sure that falsy values of `value` become empty strings.
- value = concatStringsWithSpace(staticPrefix, value ? value : '');
- } // Given `<div [style] my-dir>` such that `my-dir` has `@Input('style')`.
- // This takes over the `[style]` binding. (Same for `[class]`)
- setDirectiveInputsWhichShadowsStyling(tView, tNode, lView, value, isClassBased);
- } else {
- updateStylingMap(tView, tNode, lView, lView[RENDERER], lView[bindingIndex + 1], lView[bindingIndex + 1] = toStylingKeyValueArray(keyValueArraySet, stringParser, value), isClassBased, bindingIndex);
- }
- }
- }
- /**
- * Determines when the binding is in `hostBindings` section
- *
- * @param tView Current `TView`
- * @param bindingIndex index of binding which we would like if it is in `hostBindings`
- */
- function isInHostBindings(tView, bindingIndex) {
- // All host bindings are placed after the expando section.
- return bindingIndex >= tView.expandoStartIndex;
- }
- /**
- * Collects the necessary information to insert the binding into a linked list of style bindings
- * using `insertTStylingBinding`.
- *
- * @param tView `TView` where the binding linked list will be stored.
- * @param tStylingKey Property/key of the binding.
- * @param bindingIndex Index of binding associated with the `prop`
- * @param isClassBased `true` if `class` change (`false` if `style`)
- */
- function stylingFirstUpdatePass(tView, tStylingKey, bindingIndex, isClassBased) {
- ngDevMode && assertFirstUpdatePass(tView);
- const tData = tView.data;
- if (tData[bindingIndex + 1] === null) {
- // The above check is necessary because we don't clear first update pass until first successful
- // (no exception) template execution. This prevents the styling instruction from double adding
- // itself to the list.
- // `getSelectedIndex()` should be here (rather than in instruction) so that it is guarded by the
- // if so as not to read unnecessarily.
- const tNode = tData[getSelectedIndex()];
- ngDevMode && assertDefined(tNode, 'TNode expected');
- const isHostBindings = isInHostBindings(tView, bindingIndex);
- if (hasStylingInputShadow(tNode, isClassBased) && tStylingKey === null && !isHostBindings) {
- // `tStylingKey === null` implies that we are either `[style]` or `[class]` binding.
- // If there is a directive which uses `@Input('style')` or `@Input('class')` than
- // we need to neutralize this binding since that directive is shadowing it.
- // We turn this into a noop by setting the key to `false`
- tStylingKey = false;
- }
- tStylingKey = wrapInStaticStylingKey(tData, tNode, tStylingKey, isClassBased);
- insertTStylingBinding(tData, tNode, tStylingKey, bindingIndex, isHostBindings, isClassBased);
- }
- }
- /**
- * Adds static styling information to the binding if applicable.
- *
- * The linked list of styles not only stores the list and keys, but also stores static styling
- * information on some of the keys. This function determines if the key should contain the styling
- * information and computes it.
- *
- * See `TStylingStatic` for more details.
- *
- * @param tData `TData` where the linked list is stored.
- * @param tNode `TNode` for which the styling is being computed.
- * @param stylingKey `TStylingKeyPrimitive` which may need to be wrapped into `TStylingKey`
- * @param isClassBased `true` if `class` (`false` if `style`)
- */
- function wrapInStaticStylingKey(tData, tNode, stylingKey, isClassBased) {
- const hostDirectiveDef = getCurrentDirectiveDef(tData);
- let residual = isClassBased ? tNode.residualClasses : tNode.residualStyles;
- if (hostDirectiveDef === null) {
- // We are in template node.
- // If template node already had styling instruction then it has already collected the static
- // styling and there is no need to collect them again. We know that we are the first styling
- // instruction because the `TNode.*Bindings` points to 0 (nothing has been inserted yet).
- const isFirstStylingInstructionInTemplate = (isClassBased ? tNode.classBindings : tNode.styleBindings) === 0;
- if (isFirstStylingInstructionInTemplate) {
- // It would be nice to be able to get the statics from `mergeAttrs`, however, at this point
- // they are already merged and it would not be possible to figure which property belongs where
- // in the priority.
- stylingKey = collectStylingFromDirectives(null, tData, tNode, stylingKey, isClassBased);
- stylingKey = collectStylingFromTAttrs(stylingKey, tNode.attrs, isClassBased); // We know that if we have styling binding in template we can't have residual.
- residual = null;
- }
- } else {
- // We are in host binding node and there was no binding instruction in template node.
- // This means that we need to compute the residual.
- const directiveStylingLast = tNode.directiveStylingLast;
- const isFirstStylingInstructionInHostBinding = directiveStylingLast === -1 || tData[directiveStylingLast] !== hostDirectiveDef;
- if (isFirstStylingInstructionInHostBinding) {
- stylingKey = collectStylingFromDirectives(hostDirectiveDef, tData, tNode, stylingKey, isClassBased);
- if (residual === null) {
- // - If `null` than either:
- // - Template styling instruction already ran and it has consumed the static
- // styling into its `TStylingKey` and so there is no need to update residual. Instead
- // we need to update the `TStylingKey` associated with the first template node
- // instruction. OR
- // - Some other styling instruction ran and determined that there are no residuals
- let templateStylingKey = getTemplateHeadTStylingKey(tData, tNode, isClassBased);
- if (templateStylingKey !== undefined && Array.isArray(templateStylingKey)) {
- // Only recompute if `templateStylingKey` had static values. (If no static value found
- // then there is nothing to do since this operation can only produce less static keys, not
- // more.)
- templateStylingKey = collectStylingFromDirectives(null, tData, tNode, templateStylingKey[1]
- /* unwrap previous statics */
- , isClassBased);
- templateStylingKey = collectStylingFromTAttrs(templateStylingKey, tNode.attrs, isClassBased);
- setTemplateHeadTStylingKey(tData, tNode, isClassBased, templateStylingKey);
- }
- } else {
- // We only need to recompute residual if it is not `null`.
- // - If existing residual (implies there was no template styling). This means that some of
- // the statics may have moved from the residual to the `stylingKey` and so we have to
- // recompute.
- // - If `undefined` this is the first time we are running.
- residual = collectResidual(tData, tNode, isClassBased);
- }
- }
- }
- if (residual !== undefined) {
- isClassBased ? tNode.residualClasses = residual : tNode.residualStyles = residual;
- }
- return stylingKey;
- }
- /**
- * Retrieve the `TStylingKey` for the template styling instruction.
- *
- * This is needed since `hostBinding` styling instructions are inserted after the template
- * instruction. While the template instruction needs to update the residual in `TNode` the
- * `hostBinding` instructions need to update the `TStylingKey` of the template instruction because
- * the template instruction is downstream from the `hostBindings` instructions.
- *
- * @param tData `TData` where the linked list is stored.
- * @param tNode `TNode` for which the styling is being computed.
- * @param isClassBased `true` if `class` (`false` if `style`)
- * @return `TStylingKey` if found or `undefined` if not found.
- */
- function getTemplateHeadTStylingKey(tData, tNode, isClassBased) {
- const bindings = isClassBased ? tNode.classBindings : tNode.styleBindings;
- if (getTStylingRangeNext(bindings) === 0) {
- // There does not seem to be a styling instruction in the `template`.
- return undefined;
- }
- return tData[getTStylingRangePrev(bindings)];
- }
- /**
- * Update the `TStylingKey` of the first template instruction in `TNode`.
- *
- * Logically `hostBindings` styling instructions are of lower priority than that of the template.
- * However, they execute after the template styling instructions. This means that they get inserted
- * in front of the template styling instructions.
- *
- * If we have a template styling instruction and a new `hostBindings` styling instruction is
- * executed it means that it may need to steal static fields from the template instruction. This
- * method allows us to update the first template instruction `TStylingKey` with a new value.
- *
- * Assume:
- * ```
- * <div my-dir style="color: red" [style.color]="tmplExp"></div>
- *
- * @Directive({
- * host: {
- * 'style': 'width: 100px',
- * '[style.color]': 'dirExp',
- * }
- * })
- * class MyDir {}
- * ```
- *
- * when `[style.color]="tmplExp"` executes it creates this data structure.
- * ```
- * ['', 'color', 'color', 'red', 'width', '100px'],
- * ```
- *
- * The reason for this is that the template instruction does not know if there are styling
- * instructions and must assume that there are none and must collect all of the static styling.
- * (both
- * `color' and 'width`)
- *
- * When `'[style.color]': 'dirExp',` executes we need to insert a new data into the linked list.
- * ```
- * ['', 'color', 'width', '100px'], // newly inserted
- * ['', 'color', 'color', 'red', 'width', '100px'], // this is wrong
- * ```
- *
- * Notice that the template statics is now wrong as it incorrectly contains `width` so we need to
- * update it like so:
- * ```
- * ['', 'color', 'width', '100px'],
- * ['', 'color', 'color', 'red'], // UPDATE
- * ```
- *
- * @param tData `TData` where the linked list is stored.
- * @param tNode `TNode` for which the styling is being computed.
- * @param isClassBased `true` if `class` (`false` if `style`)
- * @param tStylingKey New `TStylingKey` which is replacing the old one.
- */
- function setTemplateHeadTStylingKey(tData, tNode, isClassBased, tStylingKey) {
- const bindings = isClassBased ? tNode.classBindings : tNode.styleBindings;
- ngDevMode && assertNotEqual(getTStylingRangeNext(bindings), 0, 'Expecting to have at least one template styling binding.');
- tData[getTStylingRangePrev(bindings)] = tStylingKey;
- }
- /**
- * Collect all static values after the current `TNode.directiveStylingLast` index.
- *
- * Collect the remaining styling information which has not yet been collected by an existing
- * styling instruction.
- *
- * @param tData `TData` where the `DirectiveDefs` are stored.
- * @param tNode `TNode` which contains the directive range.
- * @param isClassBased `true` if `class` (`false` if `style`)
- */
- function collectResidual(tData, tNode, isClassBased) {
- let residual = undefined;
- const directiveEnd = tNode.directiveEnd;
- 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
- // collecting things after the last `hostBindings` directive which had a styling instruction.)
- for (let i = 1 + tNode.directiveStylingLast; i < directiveEnd; i++) {
- const attrs = tData[i].hostAttrs;
- residual = collectStylingFromTAttrs(residual, attrs, isClassBased);
- }
- return collectStylingFromTAttrs(residual, tNode.attrs, isClassBased);
- }
- /**
- * Collect the static styling information with lower priority than `hostDirectiveDef`.
- *
- * (This is opposite of residual styling.)
- *
- * @param hostDirectiveDef `DirectiveDef` for which we want to collect lower priority static
- * styling. (Or `null` if template styling)
- * @param tData `TData` where the linked list is stored.
- * @param tNode `TNode` for which the styling is being computed.
- * @param stylingKey Existing `TStylingKey` to update or wrap.
- * @param isClassBased `true` if `class` (`false` if `style`)
- */
- function collectStylingFromDirectives(hostDirectiveDef, tData, tNode, stylingKey, isClassBased) {
- // We need to loop because there can be directives which have `hostAttrs` but don't have
- // `hostBindings` so this loop catches up to the current directive..
- let currentDirective = null;
- const directiveEnd = tNode.directiveEnd;
- let directiveStylingLast = tNode.directiveStylingLast;
- if (directiveStylingLast === -1) {
- directiveStylingLast = tNode.directiveStart;
- } else {
- directiveStylingLast++;
- }
- while (directiveStylingLast < directiveEnd) {
- currentDirective = tData[directiveStylingLast];
- ngDevMode && assertDefined(currentDirective, 'expected to be defined');
- stylingKey = collectStylingFromTAttrs(stylingKey, currentDirective.hostAttrs, isClassBased);
- if (currentDirective === hostDirectiveDef) break;
- directiveStylingLast++;
- }
- if (hostDirectiveDef !== null) {
- // we only advance the styling cursor if we are collecting data from host bindings.
- // Template executes before host bindings and so if we would update the index,
- // host bindings would not get their statics.
- tNode.directiveStylingLast = directiveStylingLast;
- }
- return stylingKey;
- }
- /**
- * Convert `TAttrs` into `TStylingStatic`.
- *
- * @param stylingKey existing `TStylingKey` to update or wrap.
- * @param attrs `TAttributes` to process.
- * @param isClassBased `true` if `class` (`false` if `style`)
- */
- function collectStylingFromTAttrs(stylingKey, attrs, isClassBased) {
- const desiredMarker = isClassBased ? 1
- /* AttributeMarker.Classes */
- : 2
- /* AttributeMarker.Styles */
- ;
- let currentMarker = -1
- /* AttributeMarker.ImplicitAttributes */
- ;
- if (attrs !== null) {
- for (let i = 0; i < attrs.length; i++) {
- const item = attrs[i];
- if (typeof item === 'number') {
- currentMarker = item;
- } else {
- if (currentMarker === desiredMarker) {
- if (!Array.isArray(stylingKey)) {
- stylingKey = stylingKey === undefined ? [] : ['', stylingKey];
- }
- keyValueArraySet(stylingKey, item, isClassBased ? true : attrs[++i]);
- }
- }
- }
- }
- return stylingKey === undefined ? null : stylingKey;
- }
- /**
- * Convert user input to `KeyValueArray`.
- *
- * This function takes user input which could be `string`, Object literal, or iterable and converts
- * it into a consistent representation. The output of this is `KeyValueArray` (which is an array
- * where
- * even indexes contain keys and odd indexes contain values for those keys).
- *
- * The advantage of converting to `KeyValueArray` is that we can perform diff in an input
- * independent
- * way.
- * (ie we can compare `foo bar` to `['bar', 'baz'] and determine a set of changes which need to be
- * applied)
- *
- * The fact that `KeyValueArray` is sorted is very important because it allows us to compute the
- * difference in linear fashion without the need to allocate any additional data.
- *
- * For example if we kept this as a `Map` we would have to iterate over previous `Map` to determine
- * which values need to be deleted, over the new `Map` to determine additions, and we would have to
- * keep additional `Map` to keep track of duplicates or items which have not yet been visited.
- *
- * @param keyValueArraySet (See `keyValueArraySet` in "util/array_utils") Gets passed in as a
- * function so that `style` can be processed. This is done
- * for tree shaking purposes.
- * @param stringParser The parser is passed in so that it will be tree shakable. See
- * `styleStringParser` and `classStringParser`
- * @param value The value to parse/convert to `KeyValueArray`
- */
- function toStylingKeyValueArray(keyValueArraySet, stringParser, value) {
- if (value == null
- /*|| value === undefined */
- || value === '') return EMPTY_ARRAY;
- const styleKeyValueArray = [];
- const unwrappedValue = unwrapSafeValue(value);
- if (Array.isArray(unwrappedValue)) {
- for (let i = 0; i < unwrappedValue.length; i++) {
- keyValueArraySet(styleKeyValueArray, unwrappedValue[i], true);
- }
- } else if (typeof unwrappedValue === 'object') {
- for (const key in unwrappedValue) {
- if (unwrappedValue.hasOwnProperty(key)) {
- keyValueArraySet(styleKeyValueArray, key, unwrappedValue[key]);
- }
- }
- } else if (typeof unwrappedValue === 'string') {
- stringParser(styleKeyValueArray, unwrappedValue);
- } else {
- ngDevMode && throwError('Unsupported styling type ' + typeof unwrappedValue + ': ' + unwrappedValue);
- }
- return styleKeyValueArray;
- }
- /**
- * Set a `value` for a `key`.
- *
- * See: `keyValueArraySet` for details
- *
- * @param keyValueArray KeyValueArray to add to.
- * @param key Style key to add.
- * @param value The value to set.
- */
- function styleKeyValueArraySet(keyValueArray, key, value) {
- keyValueArraySet(keyValueArray, key, unwrapSafeValue(value));
- }
- /**
- * Update map based styling.
- *
- * Map based styling could be anything which contains more than one binding. For example `string`,
- * or object literal. Dealing with all of these types would complicate the logic so
- * instead this function expects that the complex input is first converted into normalized
- * `KeyValueArray`. The advantage of normalization is that we get the values sorted, which makes it
- * very cheap to compute deltas between the previous and current value.
- *
- * @param tView Associated `TView.data` contains the linked list of binding priorities.
- * @param tNode `TNode` where the binding is located.
- * @param lView `LView` contains the values associated with other styling binding at this `TNode`.
- * @param renderer Renderer to use if any updates.
- * @param oldKeyValueArray Previous value represented as `KeyValueArray`
- * @param newKeyValueArray Current value represented as `KeyValueArray`
- * @param isClassBased `true` if `class` (`false` if `style`)
- * @param bindingIndex Binding index of the binding.
- */
- function updateStylingMap(tView, tNode, lView, renderer, oldKeyValueArray, newKeyValueArray, isClassBased, bindingIndex) {
- if (oldKeyValueArray === NO_CHANGE) {
- // On first execution the oldKeyValueArray is NO_CHANGE => treat it as empty KeyValueArray.
- oldKeyValueArray = EMPTY_ARRAY;
- }
- let oldIndex = 0;
- let newIndex = 0;
- let oldKey = 0 < oldKeyValueArray.length ? oldKeyValueArray[0] : null;
- let newKey = 0 < newKeyValueArray.length ? newKeyValueArray[0] : null;
- while (oldKey !== null || newKey !== null) {
- ngDevMode && assertLessThan(oldIndex, 999, 'Are we stuck in infinite loop?');
- ngDevMode && assertLessThan(newIndex, 999, 'Are we stuck in infinite loop?');
- const oldValue = oldIndex < oldKeyValueArray.length ? oldKeyValueArray[oldIndex + 1] : undefined;
- const newValue = newIndex < newKeyValueArray.length ? newKeyValueArray[newIndex + 1] : undefined;
- let setKey = null;
- let setValue = undefined;
- if (oldKey === newKey) {
- // UPDATE: Keys are equal => new value is overwriting old value.
- oldIndex += 2;
- newIndex += 2;
- if (oldValue !== newValue) {
- setKey = newKey;
- setValue = newValue;
- }
- } else if (newKey === null || oldKey !== null && oldKey < newKey) {
- // DELETE: oldKey key is missing or we did not find the oldKey in the newValue
- // (because the keyValueArray is sorted and `newKey` is found later alphabetically).
- // `"background" < "color"` so we need to delete `"background"` because it is not found in the
- // new array.
- oldIndex += 2;
- setKey = oldKey;
- } else {
- // CREATE: newKey's is earlier alphabetically than oldKey's (or no oldKey) => we have new key.
- // `"color" > "background"` so we need to add `color` because it is in new array but not in
- // old array.
- ngDevMode && assertDefined(newKey, 'Expecting to have a valid key');
- newIndex += 2;
- setKey = newKey;
- setValue = newValue;
- }
- if (setKey !== null) {
- updateStyling(tView, tNode, lView, renderer, setKey, setValue, isClassBased, bindingIndex);
- }
- oldKey = oldIndex < oldKeyValueArray.length ? oldKeyValueArray[oldIndex] : null;
- newKey = newIndex < newKeyValueArray.length ? newKeyValueArray[newIndex] : null;
- }
- }
- /**
- * Update a simple (property name) styling.
- *
- * This function takes `prop` and updates the DOM to that value. The function takes the binding
- * value as well as binding priority into consideration to determine which value should be written
- * to DOM. (For example it may be determined that there is a higher priority overwrite which blocks
- * the DOM write, or if the value goes to `undefined` a lower priority overwrite may be consulted.)
- *
- * @param tView Associated `TView.data` contains the linked list of binding priorities.
- * @param tNode `TNode` where the binding is located.
- * @param lView `LView` contains the values associated with other styling binding at this `TNode`.
- * @param renderer Renderer to use if any updates.
- * @param prop Either style property name or a class name.
- * @param value Either style value for `prop` or `true`/`false` if `prop` is class.
- * @param isClassBased `true` if `class` (`false` if `style`)
- * @param bindingIndex Binding index of the binding.
- */
- function updateStyling(tView, tNode, lView, renderer, prop, value, isClassBased, bindingIndex) {
- if (!(tNode.type & 3
- /* TNodeType.AnyRNode */
- )) {
- // It is possible to have styling on non-elements (such as ng-container).
- // This is rare, but it does happen. In such a case, just ignore the binding.
- return;
- }
- const tData = tView.data;
- const tRange = tData[bindingIndex + 1];
- const higherPriorityValue = getTStylingRangeNextDuplicate(tRange) ? findStylingValue(tData, tNode, lView, prop, getTStylingRangeNext(tRange), isClassBased) : undefined;
- if (!isStylingValuePresent(higherPriorityValue)) {
- // We don't have a next duplicate, or we did not find a duplicate value.
- if (!isStylingValuePresent(value)) {
- // We should delete current value or restore to lower priority value.
- if (getTStylingRangePrevDuplicate(tRange)) {
- // We have a possible prev duplicate, let's retrieve it.
- value = findStylingValue(tData, null, lView, prop, bindingIndex, isClassBased);
- }
- }
- const rNode = getNativeByIndex(getSelectedIndex(), lView);
- applyStyling(renderer, isClassBased, rNode, prop, value);
- }
- }
- /**
- * Search for styling value with higher priority which is overwriting current value, or a
- * value of lower priority to which we should fall back if the value is `undefined`.
- *
- * When value is being applied at a location, related values need to be consulted.
- * - If there is a higher priority binding, we should be using that one instead.
- * For example `<div [style]="{color:exp1}" [style.color]="exp2">` change to `exp1`
- * requires that we check `exp2` to see if it is set to value other than `undefined`.
- * - If there is a lower priority binding and we are changing to `undefined`
- * For example `<div [style]="{color:exp1}" [style.color]="exp2">` change to `exp2` to
- * `undefined` requires that we check `exp1` (and static values) and use that as new value.
- *
- * NOTE: The styling stores two values.
- * 1. The raw value which came from the application is stored at `index + 0` location. (This value
- * is used for dirty checking).
- * 2. The normalized value is stored at `index + 1`.
- *
- * @param tData `TData` used for traversing the priority.
- * @param tNode `TNode` to use for resolving static styling. Also controls search direction.
- * - `TNode` search next and quit as soon as `isStylingValuePresent(value)` is true.
- * If no value found consult `tNode.residualStyle`/`tNode.residualClass` for default value.
- * - `null` search prev and go all the way to end. Return last value where
- * `isStylingValuePresent(value)` is true.
- * @param lView `LView` used for retrieving the actual values.
- * @param prop Property which we are interested in.
- * @param index Starting index in the linked list of styling bindings where the search should start.
- * @param isClassBased `true` if `class` (`false` if `style`)
- */
- function findStylingValue(tData, tNode, lView, prop, index, isClassBased) {
- // `TNode` to use for resolving static styling. Also controls search direction.
- // - `TNode` search next and quit as soon as `isStylingValuePresent(value)` is true.
- // If no value found consult `tNode.residualStyle`/`tNode.residualClass` for default value.
- // - `null` search prev and go all the way to end. Return last value where
- // `isStylingValuePresent(value)` is true.
- const isPrevDirection = tNode === null;
- let value = undefined;
- while (index > 0) {
- const rawKey = tData[index];
- const containsStatics = Array.isArray(rawKey); // Unwrap the key if we contain static values.
- const key = containsStatics ? rawKey[1] : rawKey;
- const isStylingMap = key === null;
- let valueAtLViewIndex = lView[index + 1];
- if (valueAtLViewIndex === NO_CHANGE) {
- // In firstUpdatePass the styling instructions create a linked list of styling.
- // On subsequent passes it is possible for a styling instruction to try to read a binding
- // which
- // has not yet executed. In that case we will find `NO_CHANGE` and we should assume that
- // we have `undefined` (or empty array in case of styling-map instruction) instead. This
- // allows the resolution to apply the value (which may later be overwritten when the
- // binding actually executes.)
- valueAtLViewIndex = isStylingMap ? EMPTY_ARRAY : undefined;
- }
- let currentValue = isStylingMap ? keyValueArrayGet(valueAtLViewIndex, prop) : key === prop ? valueAtLViewIndex : undefined;
- if (containsStatics && !isStylingValuePresent(currentValue)) {
- currentValue = keyValueArrayGet(rawKey, prop);
- }
- if (isStylingValuePresent(currentValue)) {
- value = currentValue;
- if (isPrevDirection) {
- return value;
- }
- }
- const tRange = tData[index + 1];
- index = isPrevDirection ? getTStylingRangePrev(tRange) : getTStylingRangeNext(tRange);
- }
- if (tNode !== null) {
- // in case where we are going in next direction AND we did not find anything, we need to
- // consult residual styling
- let residual = isClassBased ? tNode.residualClasses : tNode.residualStyles;
- if (residual != null
- /** OR residual !=== undefined */
- ) {
- value = keyValueArrayGet(residual, prop);
- }
- }
- return value;
- }
- /**
- * Determines if the binding value should be used (or if the value is 'undefined' and hence priority
- * resolution should be used.)
- *
- * @param value Binding style value.
- */
- function isStylingValuePresent(value) {
- // Currently only `undefined` value is considered non-binding. That is `undefined` says I don't
- // have an opinion as to what this binding should be and you should consult other bindings by
- // priority to determine the valid value.
- // This is extracted into a single function so that we have a single place to control this.
- return value !== undefined;
- }
- /**
- * Normalizes and/or adds a suffix to the value.
- *
- * If value is `null`/`undefined` no suffix is added
- * @param value
- * @param suffix
- */
- function normalizeSuffix(value, suffix) {
- if (value == null
- /** || value === undefined */
- ) {// do nothing
- } else if (typeof suffix === 'string') {
- value = value + suffix;
- } else if (typeof value === 'object') {
- value = stringify(unwrapSafeValue(value));
- }
- return value;
- }
- /**
- * Tests if the `TNode` has input shadow.
- *
- * An input shadow is when a directive steals (shadows) the input by using `@Input('style')` or
- * `@Input('class')` as input.
- *
- * @param tNode `TNode` which we would like to see if it has shadow.
- * @param isClassBased `true` if `class` (`false` if `style`)
- */
- function hasStylingInputShadow(tNode, isClassBased) {
- return (tNode.flags & (isClassBased ? 16
- /* TNodeFlags.hasClassInput */
- : 32
- /* TNodeFlags.hasStyleInput */
- )) !== 0;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Create static text node
- *
- * @param index Index of the node in the data array
- * @param value Static string value to write.
- *
- * @codeGenApi
- */
- function ɵɵtext(index, value = '') {
- const lView = getLView();
- const tView = getTView();
- const adjustedIndex = index + HEADER_OFFSET;
- ngDevMode && assertEqual(getBindingIndex(), tView.bindingStartIndex, 'text nodes should be created before any bindings');
- ngDevMode && assertIndexInRange(lView, adjustedIndex);
- const tNode = tView.firstCreatePass ? getOrCreateTNode(tView, adjustedIndex, 1
- /* TNodeType.Text */
- , value, null) : tView.data[adjustedIndex];
- const textNative = lView[adjustedIndex] = createTextNode(lView[RENDERER], value);
- appendChild(tView, lView, textNative, tNode); // Text nodes are self closing.
- setCurrentTNode(tNode, false);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- *
- * Update text content with a lone bound value
- *
- * Used when a text node has 1 interpolated value in it, an no additional text
- * surrounds that interpolated value:
- *
- * ```html
- * <div>{{v0}}</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate(v0);
- * ```
- * @returns itself, so that it may be chained.
- * @see textInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate(v0) {
- ɵɵtextInterpolate1('', v0, '');
- return ɵɵtextInterpolate;
- }
- /**
- *
- * Update text content with single bound value surrounded by other text.
- *
- * Used when a text node has 1 interpolated value in it:
- *
- * ```html
- * <div>prefix{{v0}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate1('prefix', v0, 'suffix');
- * ```
- * @returns itself, so that it may be chained.
- * @see textInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate1(prefix, v0, suffix) {
- const lView = getLView();
- const interpolated = interpolation1(lView, prefix, v0, suffix);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolate1;
- }
- /**
- *
- * Update text content with 2 bound values surrounded by other text.
- *
- * Used when a text node has 2 interpolated values in it:
- *
- * ```html
- * <div>prefix{{v0}}-{{v1}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate2('prefix', v0, '-', v1, 'suffix');
- * ```
- * @returns itself, so that it may be chained.
- * @see textInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate2(prefix, v0, i0, v1, suffix) {
- const lView = getLView();
- const interpolated = interpolation2(lView, prefix, v0, i0, v1, suffix);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolate2;
- }
- /**
- *
- * Update text content with 3 bound values surrounded by other text.
- *
- * Used when a text node has 3 interpolated values in it:
- *
- * ```html
- * <div>prefix{{v0}}-{{v1}}-{{v2}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate3(
- * 'prefix', v0, '-', v1, '-', v2, 'suffix');
- * ```
- * @returns itself, so that it may be chained.
- * @see textInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {
- const lView = getLView();
- const interpolated = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolate3;
- }
- /**
- *
- * Update text content with 4 bound values surrounded by other text.
- *
- * Used when a text node has 4 interpolated values in it:
- *
- * ```html
- * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate4(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
- * ```
- * @returns itself, so that it may be chained.
- * @see ɵɵtextInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {
- const lView = getLView();
- const interpolated = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolate4;
- }
- /**
- *
- * Update text content with 5 bound values surrounded by other text.
- *
- * Used when a text node has 5 interpolated values in it:
- *
- * ```html
- * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate5(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
- * ```
- * @returns itself, so that it may be chained.
- * @see textInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {
- const lView = getLView();
- const interpolated = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolate5;
- }
- /**
- *
- * Update text content with 6 bound values surrounded by other text.
- *
- * Used when a text node has 6 interpolated values in it:
- *
- * ```html
- * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate6(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
- * ```
- *
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change. @returns itself, so that it may be chained.
- * @see textInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {
- const lView = getLView();
- const interpolated = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolate6;
- }
- /**
- *
- * Update text content with 7 bound values surrounded by other text.
- *
- * Used when a text node has 7 interpolated values in it:
- *
- * ```html
- * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate7(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
- * ```
- * @returns itself, so that it may be chained.
- * @see textInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {
- const lView = getLView();
- const interpolated = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolate7;
- }
- /**
- *
- * Update text content with 8 bound values surrounded by other text.
- *
- * Used when a text node has 8 interpolated values in it:
- *
- * ```html
- * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolate8(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');
- * ```
- * @returns itself, so that it may be chained.
- * @see textInterpolateV
- * @codeGenApi
- */
- function ɵɵtextInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {
- const lView = getLView();
- const interpolated = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolate8;
- }
- /**
- * Update text content with 9 or more bound values other surrounded by text.
- *
- * Used when the number of interpolated values exceeds 8.
- *
- * ```html
- * <div>prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix</div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵtextInterpolateV(
- * ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
- * 'suffix']);
- * ```
- *.
- * @param values The collection of values and the strings in between those values, beginning with
- * a string prefix and ending with a string suffix.
- * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
- *
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵtextInterpolateV(values) {
- const lView = getLView();
- const interpolated = interpolationV(lView, values);
- if (interpolated !== NO_CHANGE) {
- textBindingInternal(lView, getSelectedIndex(), interpolated);
- }
- return ɵɵtextInterpolateV;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- *
- * Update an interpolated class on an element with single bound value surrounded by text.
- *
- * Used when the value passed to a property has 1 interpolated value in it:
- *
- * ```html
- * <div class="prefix{{v0}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolate1('prefix', v0, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵclassMapInterpolate1(prefix, v0, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- *
- * Update an interpolated class on an element with 2 bound values surrounded by text.
- *
- * Used when the value passed to a property has 2 interpolated values in it:
- *
- * ```html
- * <div class="prefix{{v0}}-{{v1}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolate2('prefix', v0, '-', v1, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵclassMapInterpolate2(prefix, v0, i0, v1, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- *
- * Update an interpolated class on an element with 3 bound values surrounded by text.
- *
- * Used when the value passed to a property has 3 interpolated values in it:
- *
- * ```html
- * <div class="prefix{{v0}}-{{v1}}-{{v2}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolate3(
- * 'prefix', v0, '-', v1, '-', v2, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵclassMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- *
- * Update an interpolated class on an element with 4 bound values surrounded by text.
- *
- * Used when the value passed to a property has 4 interpolated values in it:
- *
- * ```html
- * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolate4(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵclassMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- *
- * Update an interpolated class on an element with 5 bound values surrounded by text.
- *
- * Used when the value passed to a property has 5 interpolated values in it:
- *
- * ```html
- * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolate5(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵclassMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- *
- * Update an interpolated class on an element with 6 bound values surrounded by text.
- *
- * Used when the value passed to a property has 6 interpolated values in it:
- *
- * ```html
- * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolate6(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵclassMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- *
- * Update an interpolated class on an element with 7 bound values surrounded by text.
- *
- * Used when the value passed to a property has 7 interpolated values in it:
- *
- * ```html
- * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolate7(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵclassMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- *
- * Update an interpolated class on an element with 8 bound values surrounded by text.
- *
- * Used when the value passed to a property has 8 interpolated values in it:
- *
- * ```html
- * <div class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolate8(
- * 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param i6 Static value used for concatenation only.
- * @param v7 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵclassMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- * Update an interpolated class on an element with 9 or more bound values surrounded by text.
- *
- * Used when the number of interpolated values exceeds 8.
- *
- * ```html
- * <div
- * class="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵclassMapInterpolateV(
- * ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
- * 'suffix']);
- * ```
- *.
- * @param values The collection of values and the strings in-between those values, beginning with
- * a string prefix and ending with a string suffix.
- * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
- * @codeGenApi
- */
- function ɵɵclassMapInterpolateV(values) {
- const lView = getLView();
- const interpolatedValue = interpolationV(lView, values);
- checkStylingMap(keyValueArraySet, classStringParser, interpolatedValue, true);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- *
- * Update an interpolated style on an element with single bound value surrounded by text.
- *
- * Used when the value passed to a property has 1 interpolated value in it:
- *
- * ```html
- * <div style="key: {{v0}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolate1('key: ', v0, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolate1(prefix, v0, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- *
- * Update an interpolated style on an element with 2 bound values surrounded by text.
- *
- * Used when the value passed to a property has 2 interpolated values in it:
- *
- * ```html
- * <div style="key: {{v0}}; key1: {{v1}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolate2('key: ', v0, '; key1: ', v1, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolate2(prefix, v0, i0, v1, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- *
- * Update an interpolated style on an element with 3 bound values surrounded by text.
- *
- * Used when the value passed to a property has 3 interpolated values in it:
- *
- * ```html
- * <div style="key: {{v0}}; key2: {{v1}}; key2: {{v2}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolate3(
- * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolate3(prefix, v0, i0, v1, i1, v2, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- *
- * Update an interpolated style on an element with 4 bound values surrounded by text.
- *
- * Used when the value passed to a property has 4 interpolated values in it:
- *
- * ```html
- * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolate4(
- * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolate4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- *
- * Update an interpolated style on an element with 5 bound values surrounded by text.
- *
- * Used when the value passed to a property has 5 interpolated values in it:
- *
- * ```html
- * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolate5(
- * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolate5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- *
- * Update an interpolated style on an element with 6 bound values surrounded by text.
- *
- * Used when the value passed to a property has 6 interpolated values in it:
- *
- * ```html
- * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}};
- * key5: {{v5}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolate6(
- * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,
- * 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolate6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- *
- * Update an interpolated style on an element with 7 bound values surrounded by text.
- *
- * Used when the value passed to a property has 7 interpolated values in it:
- *
- * ```html
- * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};
- * key6: {{v6}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolate7(
- * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,
- * '; key6: ', v6, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolate7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- *
- * Update an interpolated style on an element with 8 bound values surrounded by text.
- *
- * Used when the value passed to a property has 8 interpolated values in it:
- *
- * ```html
- * <div style="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};
- * key6: {{v6}}; key7: {{v7}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolate8(
- * 'key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,
- * '; key6: ', v6, '; key7: ', v7, 'suffix');
- * ```
- *
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param i6 Static value used for concatenation only.
- * @param v7 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolate8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix) {
- const lView = getLView();
- const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- * Update an interpolated style on an element with 9 or more bound values surrounded by text.
- *
- * Used when the number of interpolated values exceeds 8.
- *
- * ```html
- * <div
- * class="key: {{v0}}; key1: {{v1}}; key2: {{v2}}; key3: {{v3}}; key4: {{v4}}; key5: {{v5}};
- * key6: {{v6}}; key7: {{v7}}; key8: {{v8}}; key9: {{v9}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstyleMapInterpolateV(
- * ['key: ', v0, '; key1: ', v1, '; key2: ', v2, '; key3: ', v3, '; key4: ', v4, '; key5: ', v5,
- * '; key6: ', v6, '; key7: ', v7, '; key8: ', v8, '; key9: ', v9, 'suffix']);
- * ```
- *.
- * @param values The collection of values and the strings in-between those values, beginning with
- * a string prefix and ending with a string suffix.
- * (e.g. `['prefix', value0, '; key2: ', value1, '; key2: ', value2, ..., value99, 'suffix']`)
- * @codeGenApi
- */
- function ɵɵstyleMapInterpolateV(values) {
- const lView = getLView();
- const interpolatedValue = interpolationV(lView, values);
- ɵɵstyleMap(interpolatedValue);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- *
- * Update an interpolated style property on an element with single bound value surrounded by text.
- *
- * Used when the value passed to a property has 1 interpolated value in it:
- *
- * ```html
- * <div style.color="prefix{{v0}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolate1(0, 'prefix', v0, 'suffix');
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`.
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolate1(prop, prefix, v0, suffix, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolation1(lView, prefix, v0, suffix);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolate1;
- }
- /**
- *
- * Update an interpolated style property on an element with 2 bound values surrounded by text.
- *
- * Used when the value passed to a property has 2 interpolated values in it:
- *
- * ```html
- * <div style.color="prefix{{v0}}-{{v1}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolate2(0, 'prefix', v0, '-', v1, 'suffix');
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`.
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolate2(prop, prefix, v0, i0, v1, suffix, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolation2(lView, prefix, v0, i0, v1, suffix);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolate2;
- }
- /**
- *
- * Update an interpolated style property on an element with 3 bound values surrounded by text.
- *
- * Used when the value passed to a property has 3 interpolated values in it:
- *
- * ```html
- * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolate3(0, 'prefix', v0, '-', v1, '-', v2, 'suffix');
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`.
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolate3(prop, prefix, v0, i0, v1, i1, v2, suffix, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolation3(lView, prefix, v0, i0, v1, i1, v2, suffix);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolate3;
- }
- /**
- *
- * Update an interpolated style property on an element with 4 bound values surrounded by text.
- *
- * Used when the value passed to a property has 4 interpolated values in it:
- *
- * ```html
- * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolate4(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix');
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`.
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolate4(prop, prefix, v0, i0, v1, i1, v2, i2, v3, suffix, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolation4(lView, prefix, v0, i0, v1, i1, v2, i2, v3, suffix);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolate4;
- }
- /**
- *
- * Update an interpolated style property on an element with 5 bound values surrounded by text.
- *
- * Used when the value passed to a property has 5 interpolated values in it:
- *
- * ```html
- * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolate5(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix');
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`.
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolate5(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolation5(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolate5;
- }
- /**
- *
- * Update an interpolated style property on an element with 6 bound values surrounded by text.
- *
- * Used when the value passed to a property has 6 interpolated values in it:
- *
- * ```html
- * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolate6(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix');
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`.
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolate6(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolation6(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolate6;
- }
- /**
- *
- * Update an interpolated style property on an element with 7 bound values surrounded by text.
- *
- * Used when the value passed to a property has 7 interpolated values in it:
- *
- * ```html
- * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolate7(
- * 0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix');
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`.
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolate7(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolation7(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolate7;
- }
- /**
- *
- * Update an interpolated style property on an element with 8 bound values surrounded by text.
- *
- * Used when the value passed to a property has 8 interpolated values in it:
- *
- * ```html
- * <div style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}suffix"></div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolate8(0, 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6,
- * '-', v7, 'suffix');
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`.
- * @param prefix Static value used for concatenation only.
- * @param v0 Value checked for change.
- * @param i0 Static value used for concatenation only.
- * @param v1 Value checked for change.
- * @param i1 Static value used for concatenation only.
- * @param v2 Value checked for change.
- * @param i2 Static value used for concatenation only.
- * @param v3 Value checked for change.
- * @param i3 Static value used for concatenation only.
- * @param v4 Value checked for change.
- * @param i4 Static value used for concatenation only.
- * @param v5 Value checked for change.
- * @param i5 Static value used for concatenation only.
- * @param v6 Value checked for change.
- * @param i6 Static value used for concatenation only.
- * @param v7 Value checked for change.
- * @param suffix Static value used for concatenation only.
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolate8(prop, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolation8(lView, prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolate8;
- }
- /**
- * Update an interpolated style property on an element with 9 or more bound values surrounded by
- * text.
- *
- * Used when the number of interpolated values exceeds 8.
- *
- * ```html
- * <div
- * style.color="prefix{{v0}}-{{v1}}-{{v2}}-{{v3}}-{{v4}}-{{v5}}-{{v6}}-{{v7}}-{{v8}}-{{v9}}suffix">
- * </div>
- * ```
- *
- * Its compiled representation is:
- *
- * ```ts
- * ɵɵstylePropInterpolateV(
- * 0, ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9,
- * 'suffix']);
- * ```
- *
- * @param styleIndex Index of style to update. This index value refers to the
- * index of the style in the style bindings array that was passed into
- * `styling`..
- * @param values The collection of values and the strings in-between those values, beginning with
- * a string prefix and ending with a string suffix.
- * (e.g. `['prefix', value0, '-', value1, '-', value2, ..., value99, 'suffix']`)
- * @param valueSuffix Optional suffix. Used with scalar values to add unit such as `px`.
- * @returns itself, so that it may be chained.
- * @codeGenApi
- */
- function ɵɵstylePropInterpolateV(prop, values, valueSuffix) {
- const lView = getLView();
- const interpolatedValue = interpolationV(lView, values);
- checkStylingProperty(prop, interpolatedValue, valueSuffix, false);
- return ɵɵstylePropInterpolateV;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Update a property on a host element. Only applies to native node properties, not inputs.
- *
- * Operates on the element selected by index via the {@link select} instruction.
- *
- * @param propName Name of property. Because it is going to DOM, this is not subject to
- * renaming as part of minification.
- * @param value New value to write.
- * @param sanitizer An optional function used to sanitize the value.
- * @returns This function returns itself so that it may be chained
- * (e.g. `property('name', ctx.name)('title', ctx.title)`)
- *
- * @codeGenApi
- */
- function ɵɵhostProperty(propName, value, sanitizer) {
- const lView = getLView();
- const bindingIndex = nextBindingIndex();
- if (bindingUpdated(lView, bindingIndex, value)) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- elementPropertyInternal(tView, tNode, lView, propName, value, lView[RENDERER], sanitizer, true);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);
- }
- return ɵɵhostProperty;
- }
- /**
- * Updates a synthetic host binding (e.g. `[@foo]`) on a component or directive.
- *
- * This instruction is for compatibility purposes and is designed to ensure that a
- * synthetic host binding (e.g. `@HostBinding('@foo')`) properly gets rendered in
- * the component's renderer. Normally all host bindings are evaluated with the parent
- * component's renderer, but, in the case of animation @triggers, they need to be
- * evaluated with the sub component's renderer (because that's where the animation
- * triggers are defined).
- *
- * Do not use this instruction as a replacement for `elementProperty`. This instruction
- * only exists to ensure compatibility with the ViewEngine's host binding behavior.
- *
- * @param index The index of the element to update in the data array
- * @param propName Name of property. Because it is going to DOM, this is not subject to
- * renaming as part of minification.
- * @param value New value to write.
- * @param sanitizer An optional function used to sanitize the value.
- *
- * @codeGenApi
- */
- function ɵɵsyntheticHostProperty(propName, value, sanitizer) {
- const lView = getLView();
- const bindingIndex = nextBindingIndex();
- if (bindingUpdated(lView, bindingIndex, value)) {
- const tView = getTView();
- const tNode = getSelectedTNode();
- const currentDef = getCurrentDirectiveDef(tView.data);
- const renderer = loadComponentRenderer(currentDef, tNode, lView);
- elementPropertyInternal(tView, tNode, lView, propName, value, renderer, sanitizer, true);
- ngDevMode && storePropertyBindingMetadata(tView.data, tNode, propName, bindingIndex);
- }
- return ɵɵsyntheticHostProperty;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * NOTE: changes to the `ngI18nClosureMode` name must be synced with `compiler-cli/src/tooling.ts`.
- */
- if (typeof ngI18nClosureMode === 'undefined') {
- // These property accesses can be ignored because ngI18nClosureMode will be set to false
- // when optimizing code and the whole if statement will be dropped.
- // Make sure to refer to ngI18nClosureMode as ['ngI18nClosureMode'] for closure.
- // NOTE: we need to have it in IIFE so that the tree-shaker is happy.
- (function () {
- // tslint:disable-next-line:no-toplevel-property-access
- _global['ngI18nClosureMode'] = // TODO(FW-1250): validate that this actually, you know, works.
- // tslint:disable-next-line:no-toplevel-property-access
- typeof goog !== 'undefined' && typeof goog.getMsg === 'function';
- })();
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // THIS CODE IS GENERATED - DO NOT MODIFY.
- const u = undefined;
- function plural(val) {
- const n = val,
- i = Math.floor(Math.abs(val)),
- v = val.toString().replace(/^[^.]*\.?/, '').length;
- if (i === 1 && v === 0) return 1;
- return 5;
- }
- 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];
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This const is used to store the locale data registered with `registerLocaleData`
- */
- let LOCALE_DATA = {};
- /**
- * Register locale data to be used internally by Angular. See the
- * ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
- * data.
- *
- * The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1
- */
- function registerLocaleData(data, localeId, extraData) {
- if (typeof localeId !== 'string') {
- extraData = localeId;
- localeId = data[LocaleDataIndex.LocaleId];
- }
- localeId = localeId.toLowerCase().replace(/_/g, '-');
- LOCALE_DATA[localeId] = data;
- if (extraData) {
- LOCALE_DATA[localeId][LocaleDataIndex.ExtraData] = extraData;
- }
- }
- /**
- * Finds the locale data for a given locale.
- *
- * @param locale The locale code.
- * @returns The locale data.
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- */
- function findLocaleData(locale) {
- const normalizedLocale = normalizeLocale(locale);
- let match = getLocaleData(normalizedLocale);
- if (match) {
- return match;
- } // let's try to find a parent locale
- const parentLocale = normalizedLocale.split('-')[0];
- match = getLocaleData(parentLocale);
- if (match) {
- return match;
- }
- if (parentLocale === 'en') {
- return localeEn;
- }
- throw new RuntimeError(701
- /* RuntimeErrorCode.MISSING_LOCALE_DATA */
- , ngDevMode && `Missing locale data for the locale "${locale}".`);
- }
- /**
- * Retrieves the default currency code for the given locale.
- *
- * The default is defined as the first currency which is still in use.
- *
- * @param locale The code of the locale whose currency code we want.
- * @returns The code of the default currency for the given locale.
- *
- */
- function getLocaleCurrencyCode(locale) {
- const data = findLocaleData(locale);
- return data[LocaleDataIndex.CurrencyCode] || null;
- }
- /**
- * Retrieves the plural function used by ICU expressions to determine the plural case to use
- * for a given locale.
- * @param locale A locale code for the locale format rules to use.
- * @returns The plural function for the locale.
- * @see `NgPlural`
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
- */
- function getLocalePluralCase(locale) {
- const data = findLocaleData(locale);
- return data[LocaleDataIndex.PluralCase];
- }
- /**
- * Helper function to get the given `normalizedLocale` from `LOCALE_DATA`
- * or from the global `ng.common.locale`.
- */
- function getLocaleData(normalizedLocale) {
- if (!(normalizedLocale in LOCALE_DATA)) {
- LOCALE_DATA[normalizedLocale] = _global.ng && _global.ng.common && _global.ng.common.locales && _global.ng.common.locales[normalizedLocale];
- }
- return LOCALE_DATA[normalizedLocale];
- }
- /**
- * Helper function to remove all the locale data from `LOCALE_DATA`.
- */
- function unregisterAllLocaleData() {
- LOCALE_DATA = {};
- }
- /**
- * Index of each type of locale data from the locale data array
- */
- var LocaleDataIndex;
- (function (LocaleDataIndex) {
- LocaleDataIndex[LocaleDataIndex["LocaleId"] = 0] = "LocaleId";
- LocaleDataIndex[LocaleDataIndex["DayPeriodsFormat"] = 1] = "DayPeriodsFormat";
- LocaleDataIndex[LocaleDataIndex["DayPeriodsStandalone"] = 2] = "DayPeriodsStandalone";
- LocaleDataIndex[LocaleDataIndex["DaysFormat"] = 3] = "DaysFormat";
- LocaleDataIndex[LocaleDataIndex["DaysStandalone"] = 4] = "DaysStandalone";
- LocaleDataIndex[LocaleDataIndex["MonthsFormat"] = 5] = "MonthsFormat";
- LocaleDataIndex[LocaleDataIndex["MonthsStandalone"] = 6] = "MonthsStandalone";
- LocaleDataIndex[LocaleDataIndex["Eras"] = 7] = "Eras";
- LocaleDataIndex[LocaleDataIndex["FirstDayOfWeek"] = 8] = "FirstDayOfWeek";
- LocaleDataIndex[LocaleDataIndex["WeekendRange"] = 9] = "WeekendRange";
- LocaleDataIndex[LocaleDataIndex["DateFormat"] = 10] = "DateFormat";
- LocaleDataIndex[LocaleDataIndex["TimeFormat"] = 11] = "TimeFormat";
- LocaleDataIndex[LocaleDataIndex["DateTimeFormat"] = 12] = "DateTimeFormat";
- LocaleDataIndex[LocaleDataIndex["NumberSymbols"] = 13] = "NumberSymbols";
- LocaleDataIndex[LocaleDataIndex["NumberFormats"] = 14] = "NumberFormats";
- LocaleDataIndex[LocaleDataIndex["CurrencyCode"] = 15] = "CurrencyCode";
- LocaleDataIndex[LocaleDataIndex["CurrencySymbol"] = 16] = "CurrencySymbol";
- LocaleDataIndex[LocaleDataIndex["CurrencyName"] = 17] = "CurrencyName";
- LocaleDataIndex[LocaleDataIndex["Currencies"] = 18] = "Currencies";
- LocaleDataIndex[LocaleDataIndex["Directionality"] = 19] = "Directionality";
- LocaleDataIndex[LocaleDataIndex["PluralCase"] = 20] = "PluralCase";
- LocaleDataIndex[LocaleDataIndex["ExtraData"] = 21] = "ExtraData";
- })(LocaleDataIndex || (LocaleDataIndex = {}));
- /**
- * Returns the canonical form of a locale name - lowercase with `_` replaced with `-`.
- */
- function normalizeLocale(locale) {
- return locale.toLowerCase().replace(/_/g, '-');
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const pluralMapping = ['zero', 'one', 'two', 'few', 'many'];
- /**
- * Returns the plural case based on the locale
- */
- function getPluralCase(value, locale) {
- const plural = getLocalePluralCase(locale)(parseInt(value, 10));
- const result = pluralMapping[plural];
- return result !== undefined ? result : 'other';
- }
- /**
- * The locale id that the application is using by default (for translations and ICU expressions).
- */
- const DEFAULT_LOCALE_ID = 'en-US';
- /**
- * USD currency code that the application uses by default for CurrencyPipe when no
- * DEFAULT_CURRENCY_CODE is provided.
- */
- const USD_CURRENCY_CODE = 'USD';
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Marks that the next string is an element name.
- *
- * See `I18nMutateOpCodes` documentation.
- */
- const ELEMENT_MARKER = {
- marker: 'element'
- };
- /**
- * Marks that the next string is comment text need for ICU.
- *
- * See `I18nMutateOpCodes` documentation.
- */
- const ICU_MARKER = {
- marker: 'ICU'
- };
- /**
- * See `I18nCreateOpCodes`
- */
- var I18nCreateOpCode;
- (function (I18nCreateOpCode) {
- /**
- * Number of bits to shift index so that it can be combined with the `APPEND_EAGERLY` and
- * `COMMENT`.
- */
- I18nCreateOpCode[I18nCreateOpCode["SHIFT"] = 2] = "SHIFT";
- /**
- * Should the node be appended to parent immediately after creation.
- */
- I18nCreateOpCode[I18nCreateOpCode["APPEND_EAGERLY"] = 1] = "APPEND_EAGERLY";
- /**
- * If set the node should be comment (rather than a text) node.
- */
- I18nCreateOpCode[I18nCreateOpCode["COMMENT"] = 2] = "COMMENT";
- })(I18nCreateOpCode || (I18nCreateOpCode = {})); // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd$2 = 1;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The locale id that the application is currently using (for translations and ICU expressions).
- * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
- * but is now defined as a global value.
- */
- let LOCALE_ID$1 = DEFAULT_LOCALE_ID;
- /**
- * Sets the locale id that will be used for translations and ICU expressions.
- * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
- * but is now defined as a global value.
- *
- * @param localeId
- */
- function setLocaleId(localeId) {
- assertDefined(localeId, `Expected localeId to be defined`);
- if (typeof localeId === 'string') {
- LOCALE_ID$1 = localeId.toLowerCase().replace(/_/g, '-');
- }
- }
- /**
- * Gets the locale id that will be used for translations and ICU expressions.
- * This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
- * but is now defined as a global value.
- */
- function getLocaleId() {
- return LOCALE_ID$1;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Find a node in front of which `currentTNode` should be inserted (takes i18n into account).
- *
- * This method determines the `RNode` in front of which we should insert the `currentRNode`. This
- * takes `TNode.insertBeforeIndex` into account.
- *
- * @param parentTNode parent `TNode`
- * @param currentTNode current `TNode` (The node which we would like to insert into the DOM)
- * @param lView current `LView`
- */
- function getInsertInFrontOfRNodeWithI18n(parentTNode, currentTNode, lView) {
- const tNodeInsertBeforeIndex = currentTNode.insertBeforeIndex;
- const insertBeforeIndex = Array.isArray(tNodeInsertBeforeIndex) ? tNodeInsertBeforeIndex[0] : tNodeInsertBeforeIndex;
- if (insertBeforeIndex === null) {
- return getInsertInFrontOfRNodeWithNoI18n(parentTNode, currentTNode, lView);
- } else {
- ngDevMode && assertIndexInRange(lView, insertBeforeIndex);
- return unwrapRNode(lView[insertBeforeIndex]);
- }
- }
- /**
- * Process `TNode.insertBeforeIndex` by adding i18n text nodes.
- *
- * See `TNode.insertBeforeIndex`
- */
- function processI18nInsertBefore(renderer, childTNode, lView, childRNode, parentRElement) {
- const tNodeInsertBeforeIndex = childTNode.insertBeforeIndex;
- if (Array.isArray(tNodeInsertBeforeIndex)) {
- // An array indicates that there are i18n nodes that need to be added as children of this
- // `childRNode`. These i18n nodes were created before this `childRNode` was available and so
- // only now can be added. The first element of the array is the normal index where we should
- // insert the `childRNode`. Additional elements are the extra nodes to be added as children of
- // `childRNode`.
- ngDevMode && assertDomNode(childRNode);
- let i18nParent = childRNode;
- let anchorRNode = null;
- if (!(childTNode.type & 3
- /* TNodeType.AnyRNode */
- )) {
- anchorRNode = i18nParent;
- i18nParent = parentRElement;
- }
- if (i18nParent !== null && (childTNode.flags & 2
- /* TNodeFlags.isComponentHost */
- ) === 0) {
- for (let i = 1; i < tNodeInsertBeforeIndex.length; i++) {
- // No need to `unwrapRNode` because all of the indexes point to i18n text nodes.
- // see `assertDomNode` below.
- const i18nChild = lView[tNodeInsertBeforeIndex[i]];
- nativeInsertBefore(renderer, i18nParent, i18nChild, anchorRNode, false);
- }
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Add `tNode` to `previousTNodes` list and update relevant `TNode`s in `previousTNodes` list
- * `tNode.insertBeforeIndex`.
- *
- * Things to keep in mind:
- * 1. All i18n text nodes are encoded as `TNodeType.Element` and are created eagerly by the
- * `ɵɵi18nStart` instruction.
- * 2. All `TNodeType.Placeholder` `TNodes` are elements which will be created later by
- * `ɵɵelementStart` instruction.
- * 3. `ɵɵelementStart` instruction will create `TNode`s in the ascending `TNode.index` order. (So a
- * smaller index `TNode` is guaranteed to be created before a larger one)
- *
- * We use the above three invariants to determine `TNode.insertBeforeIndex`.
- *
- * In an ideal world `TNode.insertBeforeIndex` would always be `TNode.next.index`. However,
- * this will not work because `TNode.next.index` may be larger than `TNode.index` which means that
- * the next node is not yet created and therefore we can't insert in front of it.
- *
- * Rule1: `TNode.insertBeforeIndex = null` if `TNode.next === null` (Initial condition, as we don't
- * know if there will be further `TNode`s inserted after.)
- * Rule2: If `previousTNode` is created after the `tNode` being inserted, then
- * `previousTNode.insertBeforeNode = tNode.index` (So when a new `tNode` is added we check
- * previous to see if we can update its `insertBeforeTNode`)
- *
- * See `TNode.insertBeforeIndex` for more context.
- *
- * @param previousTNodes A list of previous TNodes so that we can easily traverse `TNode`s in
- * reverse order. (If `TNode` would have `previous` this would not be necessary.)
- * @param newTNode A TNode to add to the `previousTNodes` list.
- */
- function addTNodeAndUpdateInsertBeforeIndex(previousTNodes, newTNode) {
- // Start with Rule1
- ngDevMode && assertEqual(newTNode.insertBeforeIndex, null, 'We expect that insertBeforeIndex is not set');
- previousTNodes.push(newTNode);
- if (previousTNodes.length > 1) {
- for (let i = previousTNodes.length - 2; i >= 0; i--) {
- const existingTNode = previousTNodes[i]; // Text nodes are created eagerly and so they don't need their `indexBeforeIndex` updated.
- // It is safe to ignore them.
- if (!isI18nText(existingTNode)) {
- if (isNewTNodeCreatedBefore(existingTNode, newTNode) && getInsertBeforeIndex(existingTNode) === null) {
- // If it was created before us in time, (and it does not yet have `insertBeforeIndex`)
- // then add the `insertBeforeIndex`.
- setInsertBeforeIndex(existingTNode, newTNode.index);
- }
- }
- }
- }
- }
- function isI18nText(tNode) {
- return !(tNode.type & 64
- /* TNodeType.Placeholder */
- );
- }
- function isNewTNodeCreatedBefore(existingTNode, newTNode) {
- return isI18nText(newTNode) || existingTNode.index > newTNode.index;
- }
- function getInsertBeforeIndex(tNode) {
- const index = tNode.insertBeforeIndex;
- return Array.isArray(index) ? index[0] : index;
- }
- function setInsertBeforeIndex(tNode, value) {
- const index = tNode.insertBeforeIndex;
- if (Array.isArray(index)) {
- // Array is stored if we have to insert child nodes. See `TNode.insertBeforeIndex`
- index[0] = value;
- } else {
- setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore);
- tNode.insertBeforeIndex = value;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Retrieve `TIcu` at a given `index`.
- *
- * The `TIcu` can be stored either directly (if it is nested ICU) OR
- * it is stored inside tho `TIcuContainer` if it is top level ICU.
- *
- * The reason for this is that the top level ICU need a `TNode` so that they are part of the render
- * tree, but nested ICU's have no TNode, because we don't know ahead of time if the nested ICU is
- * expressed (parent ICU may have selected a case which does not contain it.)
- *
- * @param tView Current `TView`.
- * @param index Index where the value should be read from.
- */
- function getTIcu(tView, index) {
- const value = tView.data[index];
- if (value === null || typeof value === 'string') return null;
- if (ngDevMode && !(value.hasOwnProperty('tViews') || value.hasOwnProperty('currentCaseLViewIndex'))) {
- throwError('We expect to get \'null\'|\'TIcu\'|\'TIcuContainer\', but got: ' + value);
- } // Here the `value.hasOwnProperty('currentCaseLViewIndex')` is a polymorphic read as it can be
- // either TIcu or TIcuContainerNode. This is not ideal, but we still think it is OK because it
- // will be just two cases which fits into the browser inline cache (inline cache can take up to
- // 4)
- const tIcu = value.hasOwnProperty('currentCaseLViewIndex') ? value : value.value;
- ngDevMode && assertTIcu(tIcu);
- return tIcu;
- }
- /**
- * Store `TIcu` at a give `index`.
- *
- * The `TIcu` can be stored either directly (if it is nested ICU) OR
- * it is stored inside tho `TIcuContainer` if it is top level ICU.
- *
- * The reason for this is that the top level ICU need a `TNode` so that they are part of the render
- * tree, but nested ICU's have no TNode, because we don't know ahead of time if the nested ICU is
- * expressed (parent ICU may have selected a case which does not contain it.)
- *
- * @param tView Current `TView`.
- * @param index Index where the value should be stored at in `Tview.data`
- * @param tIcu The TIcu to store.
- */
- function setTIcu(tView, index, tIcu) {
- const tNode = tView.data[index];
- ngDevMode && assertEqual(tNode === null || tNode.hasOwnProperty('tViews'), true, 'We expect to get \'null\'|\'TIcuContainer\'');
- if (tNode === null) {
- tView.data[index] = tIcu;
- } else {
- ngDevMode && assertTNodeType(tNode, 32
- /* TNodeType.Icu */
- );
- tNode.value = tIcu;
- }
- }
- /**
- * Set `TNode.insertBeforeIndex` taking the `Array` into account.
- *
- * See `TNode.insertBeforeIndex`
- */
- function setTNodeInsertBeforeIndex(tNode, index) {
- ngDevMode && assertTNode(tNode);
- let insertBeforeIndex = tNode.insertBeforeIndex;
- if (insertBeforeIndex === null) {
- setI18nHandling(getInsertInFrontOfRNodeWithI18n, processI18nInsertBefore);
- insertBeforeIndex = tNode.insertBeforeIndex = [null
- /* may be updated to number later */
- , index];
- } else {
- assertEqual(Array.isArray(insertBeforeIndex), true, 'Expecting array here');
- insertBeforeIndex.push(index);
- }
- }
- /**
- * Create `TNode.type=TNodeType.Placeholder` node.
- *
- * See `TNodeType.Placeholder` for more information.
- */
- function createTNodePlaceholder(tView, previousTNodes, index) {
- const tNode = createTNodeAtIndex(tView, index, 64
- /* TNodeType.Placeholder */
- , null, null);
- addTNodeAndUpdateInsertBeforeIndex(previousTNodes, tNode);
- return tNode;
- }
- /**
- * Returns current ICU case.
- *
- * ICU cases are stored as index into the `TIcu.cases`.
- * At times it is necessary to communicate that the ICU case just switched and that next ICU update
- * should update all bindings regardless of the mask. In such a case the we store negative numbers
- * for cases which have just been switched. This function removes the negative flag.
- */
- function getCurrentICUCaseIndex(tIcu, lView) {
- const currentCase = lView[tIcu.currentCaseLViewIndex];
- return currentCase === null ? currentCase : currentCase < 0 ? ~currentCase : currentCase;
- }
- function getParentFromIcuCreateOpCode(mergedCode) {
- return mergedCode >>> 17
- /* IcuCreateOpCode.SHIFT_PARENT */
- ;
- }
- function getRefFromIcuCreateOpCode(mergedCode) {
- return (mergedCode & 131070
- /* IcuCreateOpCode.MASK_REF */
- ) >>> 1
- /* IcuCreateOpCode.SHIFT_REF */
- ;
- }
- function getInstructionFromIcuCreateOpCode(mergedCode) {
- return mergedCode & 1
- /* IcuCreateOpCode.MASK_INSTRUCTION */
- ;
- }
- function icuCreateOpCode(opCode, parentIdx, refIdx) {
- ngDevMode && assertGreaterThanOrEqual(parentIdx, 0, 'Missing parent index');
- ngDevMode && assertGreaterThan(refIdx, 0, 'Missing ref index');
- return opCode | parentIdx << 17
- /* IcuCreateOpCode.SHIFT_PARENT */
- | refIdx << 1
- /* IcuCreateOpCode.SHIFT_REF */
- ;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Keep track of which input bindings in `ɵɵi18nExp` have changed.
- *
- * This is used to efficiently update expressions in i18n only when the corresponding input has
- * changed.
- *
- * 1) Each bit represents which of the `ɵɵi18nExp` has changed.
- * 2) There are 32 bits allowed in JS.
- * 3) Bit 32 is special as it is shared for all changes past 32. (In other words if you have more
- * than 32 `ɵɵi18nExp` then all changes past 32nd `ɵɵi18nExp` will be mapped to same bit. This means
- * that we may end up changing more than we need to. But i18n expressions with 32 bindings is rare
- * so in practice it should not be an issue.)
- */
- let changeMask = 0b0;
- /**
- * Keeps track of which bit needs to be updated in `changeMask`
- *
- * This value gets incremented on every call to `ɵɵi18nExp`
- */
- let changeMaskCounter = 0;
- /**
- * Keep track of which input bindings in `ɵɵi18nExp` have changed.
- *
- * `setMaskBit` gets invoked by each call to `ɵɵi18nExp`.
- *
- * @param hasChange did `ɵɵi18nExp` detect a change.
- */
- function setMaskBit(hasChange) {
- if (hasChange) {
- changeMask = changeMask | 1 << Math.min(changeMaskCounter, 31);
- }
- changeMaskCounter++;
- }
- function applyI18n(tView, lView, index) {
- if (changeMaskCounter > 0) {
- ngDevMode && assertDefined(tView, `tView should be defined`);
- const tI18n = tView.data[index]; // When `index` points to an `ɵɵi18nAttributes` then we have an array otherwise `TI18n`
- const updateOpCodes = Array.isArray(tI18n) ? tI18n : tI18n.update;
- const bindingsStartIndex = getBindingIndex() - changeMaskCounter - 1;
- applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, changeMask);
- } // Reset changeMask & maskBit to default for the next update cycle
- changeMask = 0b0;
- changeMaskCounter = 0;
- }
- /**
- * Apply `I18nCreateOpCodes` op-codes as stored in `TI18n.create`.
- *
- * Creates text (and comment) nodes which are internationalized.
- *
- * @param lView Current lView
- * @param createOpCodes Set of op-codes to apply
- * @param parentRNode Parent node (so that direct children can be added eagerly) or `null` if it is
- * a root node.
- * @param insertInFrontOf DOM node that should be used as an anchor.
- */
- function applyCreateOpCodes(lView, createOpCodes, parentRNode, insertInFrontOf) {
- const renderer = lView[RENDERER];
- for (let i = 0; i < createOpCodes.length; i++) {
- const opCode = createOpCodes[i++];
- const text = createOpCodes[i];
- const isComment = (opCode & I18nCreateOpCode.COMMENT) === I18nCreateOpCode.COMMENT;
- const appendNow = (opCode & I18nCreateOpCode.APPEND_EAGERLY) === I18nCreateOpCode.APPEND_EAGERLY;
- const index = opCode >>> I18nCreateOpCode.SHIFT;
- let rNode = lView[index];
- if (rNode === null) {
- // We only create new DOM nodes if they don't already exist: If ICU switches case back to a
- // case which was already instantiated, no need to create new DOM nodes.
- rNode = lView[index] = isComment ? renderer.createComment(text) : createTextNode(renderer, text);
- }
- if (appendNow && parentRNode !== null) {
- nativeInsertBefore(renderer, parentRNode, rNode, insertInFrontOf, false);
- }
- }
- }
- /**
- * Apply `I18nMutateOpCodes` OpCodes.
- *
- * @param tView Current `TView`
- * @param mutableOpCodes Mutable OpCodes to process
- * @param lView Current `LView`
- * @param anchorRNode place where the i18n node should be inserted.
- */
- function applyMutableOpCodes(tView, mutableOpCodes, lView, anchorRNode) {
- ngDevMode && assertDomNode(anchorRNode);
- const renderer = lView[RENDERER]; // `rootIdx` represents the node into which all inserts happen.
- let rootIdx = null; // `rootRNode` represents the real node into which we insert. This can be different from
- // `lView[rootIdx]` if we have projection.
- // - null we don't have a parent (as can be the case in when we are inserting into a root of
- // LView which has no parent.)
- // - `RElement` The element representing the root after taking projection into account.
- let rootRNode;
- for (let i = 0; i < mutableOpCodes.length; i++) {
- const opCode = mutableOpCodes[i];
- if (typeof opCode == 'string') {
- const textNodeIndex = mutableOpCodes[++i];
- if (lView[textNodeIndex] === null) {
- ngDevMode && ngDevMode.rendererCreateTextNode++;
- ngDevMode && assertIndexInRange(lView, textNodeIndex);
- lView[textNodeIndex] = createTextNode(renderer, opCode);
- }
- } else if (typeof opCode == 'number') {
- switch (opCode & 1
- /* IcuCreateOpCode.MASK_INSTRUCTION */
- ) {
- case 0
- /* IcuCreateOpCode.AppendChild */
- :
- const parentIdx = getParentFromIcuCreateOpCode(opCode);
- if (rootIdx === null) {
- // The first operation should save the `rootIdx` because the first operation
- // must insert into the root. (Only subsequent operations can insert into a dynamic
- // parent)
- rootIdx = parentIdx;
- rootRNode = nativeParentNode(renderer, anchorRNode);
- }
- let insertInFrontOf;
- let parentRNode;
- if (parentIdx === rootIdx) {
- insertInFrontOf = anchorRNode;
- parentRNode = rootRNode;
- } else {
- insertInFrontOf = null;
- parentRNode = unwrapRNode(lView[parentIdx]);
- } // FIXME(misko): Refactor with `processI18nText`
- if (parentRNode !== null) {
- // This can happen if the `LView` we are adding to is not attached to a parent `LView`.
- // In such a case there is no "root" we can attach to. This is fine, as we still need to
- // create the elements. When the `LView` gets later added to a parent these "root" nodes
- // get picked up and added.
- ngDevMode && assertDomNode(parentRNode);
- const refIdx = getRefFromIcuCreateOpCode(opCode);
- ngDevMode && assertGreaterThan(refIdx, HEADER_OFFSET, 'Missing ref'); // `unwrapRNode` is not needed here as all of these point to RNodes as part of the i18n
- // which can't have components.
- const child = lView[refIdx];
- ngDevMode && assertDomNode(child);
- nativeInsertBefore(renderer, parentRNode, child, insertInFrontOf, false);
- const tIcu = getTIcu(tView, refIdx);
- if (tIcu !== null && typeof tIcu === 'object') {
- // If we just added a comment node which has ICU then that ICU may have already been
- // rendered and therefore we need to re-add it here.
- ngDevMode && assertTIcu(tIcu);
- const caseIndex = getCurrentICUCaseIndex(tIcu, lView);
- if (caseIndex !== null) {
- applyMutableOpCodes(tView, tIcu.create[caseIndex], lView, lView[tIcu.anchorIdx]);
- }
- }
- }
- break;
- case 1
- /* IcuCreateOpCode.Attr */
- :
- const elementNodeIndex = opCode >>> 1
- /* IcuCreateOpCode.SHIFT_REF */
- ;
- const attrName = mutableOpCodes[++i];
- const attrValue = mutableOpCodes[++i]; // This code is used for ICU expressions only, since we don't support
- // directives/components in ICUs, we don't need to worry about inputs here
- setElementAttribute(renderer, getNativeByIndex(elementNodeIndex, lView), null, null, attrName, attrValue, null);
- break;
- default:
- if (ngDevMode) {
- throw new RuntimeError(700
- /* RuntimeErrorCode.INVALID_I18N_STRUCTURE */
- , `Unable to determine the type of mutate operation for "${opCode}"`);
- }
- }
- } else {
- switch (opCode) {
- case ICU_MARKER:
- const commentValue = mutableOpCodes[++i];
- const commentNodeIndex = mutableOpCodes[++i];
- if (lView[commentNodeIndex] === null) {
- ngDevMode && assertEqual(typeof commentValue, 'string', `Expected "${commentValue}" to be a comment node value`);
- ngDevMode && ngDevMode.rendererCreateComment++;
- ngDevMode && assertIndexInExpandoRange(lView, commentNodeIndex);
- const commentRNode = lView[commentNodeIndex] = createCommentNode(renderer, commentValue); // FIXME(misko): Attaching patch data is only needed for the root (Also add tests)
- attachPatchData(commentRNode, lView);
- }
- break;
- case ELEMENT_MARKER:
- const tagName = mutableOpCodes[++i];
- const elementNodeIndex = mutableOpCodes[++i];
- if (lView[elementNodeIndex] === null) {
- ngDevMode && assertEqual(typeof tagName, 'string', `Expected "${tagName}" to be an element node tag name`);
- ngDevMode && ngDevMode.rendererCreateElement++;
- ngDevMode && assertIndexInExpandoRange(lView, elementNodeIndex);
- const elementRNode = lView[elementNodeIndex] = createElementNode(renderer, tagName, null); // FIXME(misko): Attaching patch data is only needed for the root (Also add tests)
- attachPatchData(elementRNode, lView);
- }
- break;
- default:
- ngDevMode && throwError(`Unable to determine the type of mutate operation for "${opCode}"`);
- }
- }
- }
- }
- /**
- * Apply `I18nUpdateOpCodes` OpCodes
- *
- * @param tView Current `TView`
- * @param lView Current `LView`
- * @param updateOpCodes OpCodes to process
- * @param bindingsStartIndex Location of the first `ɵɵi18nApply`
- * @param changeMask Each bit corresponds to a `ɵɵi18nExp` (Counting backwards from
- * `bindingsStartIndex`)
- */
- function applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, changeMask) {
- for (let i = 0; i < updateOpCodes.length; i++) {
- // bit code to check if we should apply the next update
- const checkBit = updateOpCodes[i]; // Number of opCodes to skip until next set of update codes
- const skipCodes = updateOpCodes[++i];
- if (checkBit & changeMask) {
- // The value has been updated since last checked
- let value = '';
- for (let j = i + 1; j <= i + skipCodes; j++) {
- const opCode = updateOpCodes[j];
- if (typeof opCode == 'string') {
- value += opCode;
- } else if (typeof opCode == 'number') {
- if (opCode < 0) {
- // Negative opCode represent `i18nExp` values offset.
- value += renderStringify(lView[bindingsStartIndex - opCode]);
- } else {
- const nodeIndex = opCode >>> 2
- /* I18nUpdateOpCode.SHIFT_REF */
- ;
- switch (opCode & 3
- /* I18nUpdateOpCode.MASK_OPCODE */
- ) {
- case 1
- /* I18nUpdateOpCode.Attr */
- :
- const propName = updateOpCodes[++j];
- const sanitizeFn = updateOpCodes[++j];
- const tNodeOrTagName = tView.data[nodeIndex];
- ngDevMode && assertDefined(tNodeOrTagName, 'Experting TNode or string');
- if (typeof tNodeOrTagName === 'string') {
- // IF we don't have a `TNode`, then we are an element in ICU (as ICU content does
- // not have TNode), in which case we know that there are no directives, and hence
- // we use attribute setting.
- setElementAttribute(lView[RENDERER], lView[nodeIndex], null, tNodeOrTagName, propName, value, sanitizeFn);
- } else {
- elementPropertyInternal(tView, tNodeOrTagName, lView, propName, value, lView[RENDERER], sanitizeFn, false);
- }
- break;
- case 0
- /* I18nUpdateOpCode.Text */
- :
- const rText = lView[nodeIndex];
- rText !== null && updateTextNode(lView[RENDERER], rText, value);
- break;
- case 2
- /* I18nUpdateOpCode.IcuSwitch */
- :
- applyIcuSwitchCase(tView, getTIcu(tView, nodeIndex), lView, value);
- break;
- case 3
- /* I18nUpdateOpCode.IcuUpdate */
- :
- applyIcuUpdateCase(tView, getTIcu(tView, nodeIndex), bindingsStartIndex, lView);
- break;
- }
- }
- }
- }
- } else {
- const opCode = updateOpCodes[i + 1];
- if (opCode > 0 && (opCode & 3
- /* I18nUpdateOpCode.MASK_OPCODE */
- ) === 3
- /* I18nUpdateOpCode.IcuUpdate */
- ) {
- // Special case for the `icuUpdateCase`. It could be that the mask did not match, but
- // we still need to execute `icuUpdateCase` because the case has changed recently due to
- // previous `icuSwitchCase` instruction. (`icuSwitchCase` and `icuUpdateCase` always come in
- // pairs.)
- const nodeIndex = opCode >>> 2
- /* I18nUpdateOpCode.SHIFT_REF */
- ;
- const tIcu = getTIcu(tView, nodeIndex);
- const currentIndex = lView[tIcu.currentCaseLViewIndex];
- if (currentIndex < 0) {
- applyIcuUpdateCase(tView, tIcu, bindingsStartIndex, lView);
- }
- }
- }
- i += skipCodes;
- }
- }
- /**
- * Apply OpCodes associated with updating an existing ICU.
- *
- * @param tView Current `TView`
- * @param tIcu Current `TIcu`
- * @param bindingsStartIndex Location of the first `ɵɵi18nApply`
- * @param lView Current `LView`
- */
- function applyIcuUpdateCase(tView, tIcu, bindingsStartIndex, lView) {
- ngDevMode && assertIndexInRange(lView, tIcu.currentCaseLViewIndex);
- let activeCaseIndex = lView[tIcu.currentCaseLViewIndex];
- if (activeCaseIndex !== null) {
- let mask = changeMask;
- if (activeCaseIndex < 0) {
- // Clear the flag.
- // Negative number means that the ICU was freshly created and we need to force the update.
- activeCaseIndex = lView[tIcu.currentCaseLViewIndex] = ~activeCaseIndex; // -1 is same as all bits on, which simulates creation since it marks all bits dirty
- mask = -1;
- }
- applyUpdateOpCodes(tView, lView, tIcu.update[activeCaseIndex], bindingsStartIndex, mask);
- }
- }
- /**
- * Apply OpCodes associated with switching a case on ICU.
- *
- * This involves tearing down existing case and than building up a new case.
- *
- * @param tView Current `TView`
- * @param tIcu Current `TIcu`
- * @param lView Current `LView`
- * @param value Value of the case to update to.
- */
- function applyIcuSwitchCase(tView, tIcu, lView, value) {
- // Rebuild a new case for this ICU
- const caseIndex = getCaseIndex(tIcu, value);
- let activeCaseIndex = getCurrentICUCaseIndex(tIcu, lView);
- if (activeCaseIndex !== caseIndex) {
- applyIcuSwitchCaseRemove(tView, tIcu, lView);
- lView[tIcu.currentCaseLViewIndex] = caseIndex === null ? null : ~caseIndex;
- if (caseIndex !== null) {
- // Add the nodes for the new case
- const anchorRNode = lView[tIcu.anchorIdx];
- if (anchorRNode) {
- ngDevMode && assertDomNode(anchorRNode);
- applyMutableOpCodes(tView, tIcu.create[caseIndex], lView, anchorRNode);
- }
- }
- }
- }
- /**
- * Apply OpCodes associated with tearing ICU case.
- *
- * This involves tearing down existing case and than building up a new case.
- *
- * @param tView Current `TView`
- * @param tIcu Current `TIcu`
- * @param lView Current `LView`
- */
- function applyIcuSwitchCaseRemove(tView, tIcu, lView) {
- let activeCaseIndex = getCurrentICUCaseIndex(tIcu, lView);
- if (activeCaseIndex !== null) {
- const removeCodes = tIcu.remove[activeCaseIndex];
- for (let i = 0; i < removeCodes.length; i++) {
- const nodeOrIcuIndex = removeCodes[i];
- if (nodeOrIcuIndex > 0) {
- // Positive numbers are `RNode`s.
- const rNode = getNativeByIndex(nodeOrIcuIndex, lView);
- rNode !== null && nativeRemoveNode(lView[RENDERER], rNode);
- } else {
- // Negative numbers are ICUs
- applyIcuSwitchCaseRemove(tView, getTIcu(tView, ~nodeOrIcuIndex), lView);
- }
- }
- }
- }
- /**
- * Returns the index of the current case of an ICU expression depending on the main binding value
- *
- * @param icuExpression
- * @param bindingValue The value of the main binding used by this ICU expression
- */
- function getCaseIndex(icuExpression, bindingValue) {
- let index = icuExpression.cases.indexOf(bindingValue);
- if (index === -1) {
- switch (icuExpression.type) {
- case 1
- /* IcuType.plural */
- :
- {
- const resolvedCase = getPluralCase(bindingValue, getLocaleId());
- index = icuExpression.cases.indexOf(resolvedCase);
- if (index === -1 && resolvedCase !== 'other') {
- index = icuExpression.cases.indexOf('other');
- }
- break;
- }
- case 0
- /* IcuType.select */
- :
- {
- index = icuExpression.cases.indexOf('other');
- break;
- }
- }
- }
- return index === -1 ? null : index;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function loadIcuContainerVisitor() {
- const _stack = [];
- let _index = -1;
- let _lView;
- let _removes;
- /**
- * Retrieves a set of root nodes from `TIcu.remove`. Used by `TNodeType.ICUContainer`
- * to determine which root belong to the ICU.
- *
- * Example of usage.
- * ```
- * const nextRNode = icuContainerIteratorStart(tIcuContainerNode, lView);
- * let rNode: RNode|null;
- * while(rNode = nextRNode()) {
- * console.log(rNode);
- * }
- * ```
- *
- * @param tIcuContainerNode Current `TIcuContainerNode`
- * @param lView `LView` where the `RNode`s should be looked up.
- */
- function icuContainerIteratorStart(tIcuContainerNode, lView) {
- _lView = lView;
- while (_stack.length) _stack.pop();
- ngDevMode && assertTNodeForLView(tIcuContainerNode, lView);
- enterIcu(tIcuContainerNode.value, lView);
- return icuContainerIteratorNext;
- }
- function enterIcu(tIcu, lView) {
- _index = 0;
- const currentCase = getCurrentICUCaseIndex(tIcu, lView);
- if (currentCase !== null) {
- ngDevMode && assertNumberInRange(currentCase, 0, tIcu.cases.length - 1);
- _removes = tIcu.remove[currentCase];
- } else {
- _removes = EMPTY_ARRAY;
- }
- }
- function icuContainerIteratorNext() {
- if (_index < _removes.length) {
- const removeOpCode = _removes[_index++];
- ngDevMode && assertNumber(removeOpCode, 'Expecting OpCode number');
- if (removeOpCode > 0) {
- const rNode = _lView[removeOpCode];
- ngDevMode && assertDomNode(rNode);
- return rNode;
- } else {
- _stack.push(_index, _removes); // ICUs are represented by negative indices
- const tIcuIndex = ~removeOpCode;
- const tIcu = _lView[TVIEW].data[tIcuIndex];
- ngDevMode && assertTIcu(tIcu);
- enterIcu(tIcu, _lView);
- return icuContainerIteratorNext();
- }
- } else {
- if (_stack.length === 0) {
- return null;
- } else {
- _removes = _stack.pop();
- _index = _stack.pop();
- return icuContainerIteratorNext();
- }
- }
- }
- return icuContainerIteratorStart;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Converts `I18nCreateOpCodes` array into a human readable format.
- *
- * This function is attached to the `I18nCreateOpCodes.debug` property if `ngDevMode` is enabled.
- * This function provides a human readable view of the opcodes. This is useful when debugging the
- * application as well as writing more readable tests.
- *
- * @param this `I18nCreateOpCodes` if attached as a method.
- * @param opcodes `I18nCreateOpCodes` if invoked as a function.
- */
- function i18nCreateOpCodesToString(opcodes) {
- const createOpCodes = opcodes || (Array.isArray(this) ? this : []);
- let lines = [];
- for (let i = 0; i < createOpCodes.length; i++) {
- const opCode = createOpCodes[i++];
- const text = createOpCodes[i];
- const isComment = (opCode & I18nCreateOpCode.COMMENT) === I18nCreateOpCode.COMMENT;
- const appendNow = (opCode & I18nCreateOpCode.APPEND_EAGERLY) === I18nCreateOpCode.APPEND_EAGERLY;
- const index = opCode >>> I18nCreateOpCode.SHIFT;
- lines.push(`lView[${index}] = document.${isComment ? 'createComment' : 'createText'}(${JSON.stringify(text)});`);
- if (appendNow) {
- lines.push(`parent.appendChild(lView[${index}]);`);
- }
- }
- return lines;
- }
- /**
- * Converts `I18nUpdateOpCodes` array into a human readable format.
- *
- * This function is attached to the `I18nUpdateOpCodes.debug` property if `ngDevMode` is enabled.
- * This function provides a human readable view of the opcodes. This is useful when debugging the
- * application as well as writing more readable tests.
- *
- * @param this `I18nUpdateOpCodes` if attached as a method.
- * @param opcodes `I18nUpdateOpCodes` if invoked as a function.
- */
- function i18nUpdateOpCodesToString(opcodes) {
- const parser = new OpCodeParser(opcodes || (Array.isArray(this) ? this : []));
- let lines = [];
- function consumeOpCode(value) {
- const ref = value >>> 2
- /* I18nUpdateOpCode.SHIFT_REF */
- ;
- const opCode = value & 3
- /* I18nUpdateOpCode.MASK_OPCODE */
- ;
- switch (opCode) {
- case 0
- /* I18nUpdateOpCode.Text */
- :
- return `(lView[${ref}] as Text).textContent = $$$`;
- case 1
- /* I18nUpdateOpCode.Attr */
- :
- const attrName = parser.consumeString();
- const sanitizationFn = parser.consumeFunction();
- const value = sanitizationFn ? `(${sanitizationFn})($$$)` : '$$$';
- return `(lView[${ref}] as Element).setAttribute('${attrName}', ${value})`;
- case 2
- /* I18nUpdateOpCode.IcuSwitch */
- :
- return `icuSwitchCase(${ref}, $$$)`;
- case 3
- /* I18nUpdateOpCode.IcuUpdate */
- :
- return `icuUpdateCase(${ref})`;
- }
- throw new Error('unexpected OpCode');
- }
- while (parser.hasMore()) {
- let mask = parser.consumeNumber();
- let size = parser.consumeNumber();
- const end = parser.i + size;
- const statements = [];
- let statement = '';
- while (parser.i < end) {
- let value = parser.consumeNumberOrString();
- if (typeof value === 'string') {
- statement += value;
- } else if (value < 0) {
- // Negative numbers are ref indexes
- // Here `i` refers to current binding index. It is to signify that the value is relative,
- // rather than absolute.
- statement += '${lView[i' + value + ']}';
- } else {
- // Positive numbers are operations.
- const opCodeText = consumeOpCode(value);
- statements.push(opCodeText.replace('$$$', '`' + statement + '`') + ';');
- statement = '';
- }
- }
- lines.push(`if (mask & 0b${mask.toString(2)}) { ${statements.join(' ')} }`);
- }
- return lines;
- }
- /**
- * Converts `I18nCreateOpCodes` array into a human readable format.
- *
- * This function is attached to the `I18nCreateOpCodes.debug` if `ngDevMode` is enabled. This
- * function provides a human readable view of the opcodes. This is useful when debugging the
- * application as well as writing more readable tests.
- *
- * @param this `I18nCreateOpCodes` if attached as a method.
- * @param opcodes `I18nCreateOpCodes` if invoked as a function.
- */
- function icuCreateOpCodesToString(opcodes) {
- const parser = new OpCodeParser(opcodes || (Array.isArray(this) ? this : []));
- let lines = [];
- function consumeOpCode(opCode) {
- const parent = getParentFromIcuCreateOpCode(opCode);
- const ref = getRefFromIcuCreateOpCode(opCode);
- switch (getInstructionFromIcuCreateOpCode(opCode)) {
- case 0
- /* IcuCreateOpCode.AppendChild */
- :
- return `(lView[${parent}] as Element).appendChild(lView[${lastRef}])`;
- case 1
- /* IcuCreateOpCode.Attr */
- :
- return `(lView[${ref}] as Element).setAttribute("${parser.consumeString()}", "${parser.consumeString()}")`;
- }
- throw new Error('Unexpected OpCode: ' + getInstructionFromIcuCreateOpCode(opCode));
- }
- let lastRef = -1;
- while (parser.hasMore()) {
- let value = parser.consumeNumberStringOrMarker();
- if (value === ICU_MARKER) {
- const text = parser.consumeString();
- lastRef = parser.consumeNumber();
- lines.push(`lView[${lastRef}] = document.createComment("${text}")`);
- } else if (value === ELEMENT_MARKER) {
- const text = parser.consumeString();
- lastRef = parser.consumeNumber();
- lines.push(`lView[${lastRef}] = document.createElement("${text}")`);
- } else if (typeof value === 'string') {
- lastRef = parser.consumeNumber();
- lines.push(`lView[${lastRef}] = document.createTextNode("${value}")`);
- } else if (typeof value === 'number') {
- const line = consumeOpCode(value);
- line && lines.push(line);
- } else {
- throw new Error('Unexpected value');
- }
- }
- return lines;
- }
- /**
- * Converts `I18nRemoveOpCodes` array into a human readable format.
- *
- * This function is attached to the `I18nRemoveOpCodes.debug` if `ngDevMode` is enabled. This
- * function provides a human readable view of the opcodes. This is useful when debugging the
- * application as well as writing more readable tests.
- *
- * @param this `I18nRemoveOpCodes` if attached as a method.
- * @param opcodes `I18nRemoveOpCodes` if invoked as a function.
- */
- function i18nRemoveOpCodesToString(opcodes) {
- const removeCodes = opcodes || (Array.isArray(this) ? this : []);
- let lines = [];
- for (let i = 0; i < removeCodes.length; i++) {
- const nodeOrIcuIndex = removeCodes[i];
- if (nodeOrIcuIndex > 0) {
- // Positive numbers are `RNode`s.
- lines.push(`remove(lView[${nodeOrIcuIndex}])`);
- } else {
- // Negative numbers are ICUs
- lines.push(`removeNestedICU(${~nodeOrIcuIndex})`);
- }
- }
- return lines;
- }
- class OpCodeParser {
- constructor(codes) {
- this.i = 0;
- this.codes = codes;
- }
- hasMore() {
- return this.i < this.codes.length;
- }
- consumeNumber() {
- let value = this.codes[this.i++];
- assertNumber(value, 'expecting number in OpCode');
- return value;
- }
- consumeString() {
- let value = this.codes[this.i++];
- assertString(value, 'expecting string in OpCode');
- return value;
- }
- consumeFunction() {
- let value = this.codes[this.i++];
- if (value === null || typeof value === 'function') {
- return value;
- }
- throw new Error('expecting function in OpCode');
- }
- consumeNumberOrString() {
- let value = this.codes[this.i++];
- if (typeof value === 'string') {
- return value;
- }
- assertNumber(value, 'expecting number or string in OpCode');
- return value;
- }
- consumeNumberStringOrMarker() {
- let value = this.codes[this.i++];
- if (typeof value === 'string' || typeof value === 'number' || value == ICU_MARKER || value == ELEMENT_MARKER) {
- return value;
- }
- assertNumber(value, 'expecting number, string, ICU_MARKER or ELEMENT_MARKER in OpCode');
- return value;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const BINDING_REGEXP = /�(\d+):?\d*�/gi;
- const ICU_REGEXP = /({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi;
- const NESTED_ICU = /�(\d+)�/;
- const ICU_BLOCK_REGEXP = /^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/;
- const MARKER = `�`;
- const SUBTEMPLATE_REGEXP = /�\/?\*(\d+:\d+)�/gi;
- const PH_REGEXP = /�(\/?[#*]\d+):?\d*�/gi;
- /**
- * Angular Dart introduced &ngsp; as a placeholder for non-removable space, see:
- * https://github.com/dart-lang/angular/blob/0bb611387d29d65b5af7f9d2515ab571fd3fbee4/_tests/test/compiler/preserve_whitespace_test.dart#L25-L32
- * In Angular Dart &ngsp; is converted to the 0xE500 PUA (Private Use Areas) unicode character
- * and later on replaced by a space. We are re-implementing the same idea here, since translations
- * might contain this special character.
- */
- const NGSP_UNICODE_REGEXP = /\uE500/g;
- function replaceNgsp(value) {
- return value.replace(NGSP_UNICODE_REGEXP, ' ');
- }
- /**
- * Create dynamic nodes from i18n translation block.
- *
- * - Text nodes are created synchronously
- * - TNodes are linked into tree lazily
- *
- * @param tView Current `TView`
- * @parentTNodeIndex index to the parent TNode of this i18n block
- * @param lView Current `LView`
- * @param index Index of `ɵɵi18nStart` instruction.
- * @param message Message to translate.
- * @param subTemplateIndex Index into the sub template of message translation. (ie in case of
- * `ngIf`) (-1 otherwise)
- */
- function i18nStartFirstCreatePass(tView, parentTNodeIndex, lView, index, message, subTemplateIndex) {
- const rootTNode = getCurrentParentTNode();
- const createOpCodes = [];
- const updateOpCodes = [];
- const existingTNodeStack = [[]];
- if (ngDevMode) {
- attachDebugGetter(createOpCodes, i18nCreateOpCodesToString);
- attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);
- }
- message = getTranslationForTemplate(message, subTemplateIndex);
- const msgParts = replaceNgsp(message).split(PH_REGEXP);
- for (let i = 0; i < msgParts.length; i++) {
- let value = msgParts[i];
- if ((i & 1) === 0) {
- // Even indexes are text (including bindings & ICU expressions)
- const parts = i18nParseTextIntoPartsAndICU(value);
- for (let j = 0; j < parts.length; j++) {
- let part = parts[j];
- if ((j & 1) === 0) {
- // `j` is odd therefore `part` is string
- const text = part;
- ngDevMode && assertString(text, 'Parsed ICU part should be string');
- if (text !== '') {
- i18nStartFirstCreatePassProcessTextNode(tView, rootTNode, existingTNodeStack[0], createOpCodes, updateOpCodes, lView, text);
- }
- } else {
- // `j` is Even therefor `part` is an `ICUExpression`
- const icuExpression = part; // Verify that ICU expression has the right shape. Translations might contain invalid
- // constructions (while original messages were correct), so ICU parsing at runtime may
- // not succeed (thus `icuExpression` remains a string).
- // Note: we intentionally retain the error here by not using `ngDevMode`, because
- // the value can change based on the locale and users aren't guaranteed to hit
- // an invalid string while they're developing.
- if (typeof icuExpression !== 'object') {
- throw new Error(`Unable to parse ICU expression in "${message}" message.`);
- }
- const icuContainerTNode = createTNodeAndAddOpCode(tView, rootTNode, existingTNodeStack[0], lView, createOpCodes, ngDevMode ? `ICU ${index}:${icuExpression.mainBinding}` : '', true);
- const icuNodeIndex = icuContainerTNode.index;
- ngDevMode && assertGreaterThanOrEqual(icuNodeIndex, HEADER_OFFSET, 'Index must be in absolute LView offset');
- icuStart(tView, lView, updateOpCodes, parentTNodeIndex, icuExpression, icuNodeIndex);
- }
- }
- } else {
- // Odd indexes are placeholders (elements and sub-templates)
- // At this point value is something like: '/#1:2' (originally coming from '�/#1:2�')
- const isClosing = value.charCodeAt(0) === 47
- /* CharCode.SLASH */
- ;
- const type = value.charCodeAt(isClosing ? 1 : 0);
- ngDevMode && assertOneOf(type, 42
- /* CharCode.STAR */
- , 35
- /* CharCode.HASH */
- );
- const index = HEADER_OFFSET + Number.parseInt(value.substring(isClosing ? 2 : 1));
- if (isClosing) {
- existingTNodeStack.shift();
- setCurrentTNode(getCurrentParentTNode(), false);
- } else {
- const tNode = createTNodePlaceholder(tView, existingTNodeStack[0], index);
- existingTNodeStack.unshift([]);
- setCurrentTNode(tNode, true);
- }
- }
- }
- tView.data[index] = {
- create: createOpCodes,
- update: updateOpCodes
- };
- }
- /**
- * Allocate space in i18n Range add create OpCode instruction to create a text or comment node.
- *
- * @param tView Current `TView` needed to allocate space in i18n range.
- * @param rootTNode Root `TNode` of the i18n block. This node determines if the new TNode will be
- * added as part of the `i18nStart` instruction or as part of the `TNode.insertBeforeIndex`.
- * @param existingTNodes internal state for `addTNodeAndUpdateInsertBeforeIndex`.
- * @param lView Current `LView` needed to allocate space in i18n range.
- * @param createOpCodes Array storing `I18nCreateOpCodes` where new opCodes will be added.
- * @param text Text to be added when the `Text` or `Comment` node will be created.
- * @param isICU true if a `Comment` node for ICU (instead of `Text`) node should be created.
- */
- function createTNodeAndAddOpCode(tView, rootTNode, existingTNodes, lView, createOpCodes, text, isICU) {
- const i18nNodeIdx = allocExpando(tView, lView, 1, null);
- let opCode = i18nNodeIdx << I18nCreateOpCode.SHIFT;
- let parentTNode = getCurrentParentTNode();
- if (rootTNode === parentTNode) {
- // FIXME(misko): A null `parentTNode` should represent when we fall of the `LView` boundary.
- // (there is no parent), but in some circumstances (because we are inconsistent about how we set
- // `previousOrParentTNode`) it could point to `rootTNode` So this is a work around.
- parentTNode = null;
- }
- if (parentTNode === null) {
- // If we don't have a parent that means that we can eagerly add nodes.
- // If we have a parent than these nodes can't be added now (as the parent has not been created
- // yet) and instead the `parentTNode` is responsible for adding it. See
- // `TNode.insertBeforeIndex`
- opCode |= I18nCreateOpCode.APPEND_EAGERLY;
- }
- if (isICU) {
- opCode |= I18nCreateOpCode.COMMENT;
- ensureIcuContainerVisitorLoaded(loadIcuContainerVisitor);
- }
- createOpCodes.push(opCode, text === null ? '' : text); // We store `{{?}}` so that when looking at debug `TNodeType.template` we can see where the
- // bindings are.
- const tNode = createTNodeAtIndex(tView, i18nNodeIdx, isICU ? 32
- /* TNodeType.Icu */
- : 1
- /* TNodeType.Text */
- , text === null ? ngDevMode ? '{{?}}' : '' : text, null);
- addTNodeAndUpdateInsertBeforeIndex(existingTNodes, tNode);
- const tNodeIdx = tNode.index;
- setCurrentTNode(tNode, false
- /* Text nodes are self closing */
- );
- if (parentTNode !== null && rootTNode !== parentTNode) {
- // We are a child of deeper node (rather than a direct child of `i18nStart` instruction.)
- // We have to make sure to add ourselves to the parent.
- setTNodeInsertBeforeIndex(parentTNode, tNodeIdx);
- }
- return tNode;
- }
- /**
- * Processes text node in i18n block.
- *
- * Text nodes can have:
- * - Create instruction in `createOpCodes` for creating the text node.
- * - Allocate spec for text node in i18n range of `LView`
- * - If contains binding:
- * - bindings => allocate space in i18n range of `LView` to store the binding value.
- * - populate `updateOpCodes` with update instructions.
- *
- * @param tView Current `TView`
- * @param rootTNode Root `TNode` of the i18n block. This node determines if the new TNode will
- * be added as part of the `i18nStart` instruction or as part of the
- * `TNode.insertBeforeIndex`.
- * @param existingTNodes internal state for `addTNodeAndUpdateInsertBeforeIndex`.
- * @param createOpCodes Location where the creation OpCodes will be stored.
- * @param lView Current `LView`
- * @param text The translated text (which may contain binding)
- */
- function i18nStartFirstCreatePassProcessTextNode(tView, rootTNode, existingTNodes, createOpCodes, updateOpCodes, lView, text) {
- const hasBinding = text.match(BINDING_REGEXP);
- const tNode = createTNodeAndAddOpCode(tView, rootTNode, existingTNodes, lView, createOpCodes, hasBinding ? null : text, false);
- if (hasBinding) {
- generateBindingUpdateOpCodes(updateOpCodes, text, tNode.index, null, 0, null);
- }
- }
- /**
- * See `i18nAttributes` above.
- */
- function i18nAttributesFirstPass(tView, index, values) {
- const previousElement = getCurrentTNode();
- const previousElementIndex = previousElement.index;
- const updateOpCodes = [];
- if (ngDevMode) {
- attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);
- }
- if (tView.firstCreatePass && tView.data[index] === null) {
- for (let i = 0; i < values.length; i += 2) {
- const attrName = values[i];
- const message = values[i + 1];
- if (message !== '') {
- // Check if attribute value contains an ICU and throw an error if that's the case.
- // ICUs in element attributes are not supported.
- // Note: we intentionally retain the error here by not using `ngDevMode`, because
- // the `value` can change based on the locale and users aren't guaranteed to hit
- // an invalid string while they're developing.
- if (ICU_REGEXP.test(message)) {
- throw new Error(`ICU expressions are not supported in attributes. Message: "${message}".`);
- } // i18n attributes that hit this code path are guaranteed to have bindings, because
- // the compiler treats static i18n attributes as regular attribute bindings.
- // Since this may not be the first i18n attribute on this element we need to pass in how
- // many previous bindings there have already been.
- generateBindingUpdateOpCodes(updateOpCodes, message, previousElementIndex, attrName, countBindings(updateOpCodes), null);
- }
- }
- tView.data[index] = updateOpCodes;
- }
- }
- /**
- * Generate the OpCodes to update the bindings of a string.
- *
- * @param updateOpCodes Place where the update opcodes will be stored.
- * @param str The string containing the bindings.
- * @param destinationNode Index of the destination node which will receive the binding.
- * @param attrName Name of the attribute, if the string belongs to an attribute.
- * @param sanitizeFn Sanitization function used to sanitize the string after update, if necessary.
- * @param bindingStart The lView index of the next expression that can be bound via an opCode.
- * @returns The mask value for these bindings
- */
- function generateBindingUpdateOpCodes(updateOpCodes, str, destinationNode, attrName, bindingStart, sanitizeFn) {
- ngDevMode && assertGreaterThanOrEqual(destinationNode, HEADER_OFFSET, 'Index must be in absolute LView offset');
- const maskIndex = updateOpCodes.length; // Location of mask
- const sizeIndex = maskIndex + 1; // location of size for skipping
- updateOpCodes.push(null, null); // Alloc space for mask and size
- const startIndex = maskIndex + 2; // location of first allocation.
- if (ngDevMode) {
- attachDebugGetter(updateOpCodes, i18nUpdateOpCodesToString);
- }
- const textParts = str.split(BINDING_REGEXP);
- let mask = 0;
- for (let j = 0; j < textParts.length; j++) {
- const textValue = textParts[j];
- if (j & 1) {
- // Odd indexes are bindings
- const bindingIndex = bindingStart + parseInt(textValue, 10);
- updateOpCodes.push(-1 - bindingIndex);
- mask = mask | toMaskBit(bindingIndex);
- } else if (textValue !== '') {
- // Even indexes are text
- updateOpCodes.push(textValue);
- }
- }
- updateOpCodes.push(destinationNode << 2
- /* I18nUpdateOpCode.SHIFT_REF */
- | (attrName ? 1
- /* I18nUpdateOpCode.Attr */
- : 0
- /* I18nUpdateOpCode.Text */
- ));
- if (attrName) {
- updateOpCodes.push(attrName, sanitizeFn);
- }
- updateOpCodes[maskIndex] = mask;
- updateOpCodes[sizeIndex] = updateOpCodes.length - startIndex;
- return mask;
- }
- /**
- * Count the number of bindings in the given `opCodes`.
- *
- * It could be possible to speed this up, by passing the number of bindings found back from
- * `generateBindingUpdateOpCodes()` to `i18nAttributesFirstPass()` but this would then require more
- * complexity in the code and/or transient objects to be created.
- *
- * Since this function is only called once when the template is instantiated, is trivial in the
- * first instance (since `opCodes` will be an empty array), and it is not common for elements to
- * contain multiple i18n bound attributes, it seems like this is a reasonable compromise.
- */
- function countBindings(opCodes) {
- let count = 0;
- for (let i = 0; i < opCodes.length; i++) {
- const opCode = opCodes[i]; // Bindings are negative numbers.
- if (typeof opCode === 'number' && opCode < 0) {
- count++;
- }
- }
- return count;
- }
- /**
- * Convert binding index to mask bit.
- *
- * Each index represents a single bit on the bit-mask. Because bit-mask only has 32 bits, we make
- * the 32nd bit share all masks for all bindings higher than 32. Since it is extremely rare to
- * have more than 32 bindings this will be hit very rarely. The downside of hitting this corner
- * case is that we will execute binding code more often than necessary. (penalty of performance)
- */
- function toMaskBit(bindingIndex) {
- return 1 << Math.min(bindingIndex, 31);
- }
- function isRootTemplateMessage(subTemplateIndex) {
- return subTemplateIndex === -1;
- }
- /**
- * Removes everything inside the sub-templates of a message.
- */
- function removeInnerTemplateTranslation(message) {
- let match;
- let res = '';
- let index = 0;
- let inTemplate = false;
- let tagMatched;
- while ((match = SUBTEMPLATE_REGEXP.exec(message)) !== null) {
- if (!inTemplate) {
- res += message.substring(index, match.index + match[0].length);
- tagMatched = match[1];
- inTemplate = true;
- } else {
- if (match[0] === `${MARKER}/*${tagMatched}${MARKER}`) {
- index = match.index;
- inTemplate = false;
- }
- }
- }
- ngDevMode && assertEqual(inTemplate, false, `Tag mismatch: unable to find the end of the sub-template in the translation "${message}"`);
- res += message.slice(index);
- return res;
- }
- /**
- * Extracts a part of a message and removes the rest.
- *
- * This method is used for extracting a part of the message associated with a template. A
- * translated message can span multiple templates.
- *
- * Example:
- * ```
- * <div i18n>Translate <span *ngIf>me</span>!</div>
- * ```
- *
- * @param message The message to crop
- * @param subTemplateIndex Index of the sub-template to extract. If undefined it returns the
- * external template and removes all sub-templates.
- */
- function getTranslationForTemplate(message, subTemplateIndex) {
- if (isRootTemplateMessage(subTemplateIndex)) {
- // We want the root template message, ignore all sub-templates
- return removeInnerTemplateTranslation(message);
- } else {
- // We want a specific sub-template
- const start = message.indexOf(`:${subTemplateIndex}${MARKER}`) + 2 + subTemplateIndex.toString().length;
- const end = message.search(new RegExp(`${MARKER}\\/\\*\\d+:${subTemplateIndex}${MARKER}`));
- return removeInnerTemplateTranslation(message.substring(start, end));
- }
- }
- /**
- * Generate the OpCodes for ICU expressions.
- *
- * @param icuExpression
- * @param index Index where the anchor is stored and an optional `TIcuContainerNode`
- * - `lView[anchorIdx]` points to a `Comment` node representing the anchor for the ICU.
- * - `tView.data[anchorIdx]` points to the `TIcuContainerNode` if ICU is root (`null` otherwise)
- */
- function icuStart(tView, lView, updateOpCodes, parentIdx, icuExpression, anchorIdx) {
- ngDevMode && assertDefined(icuExpression, 'ICU expression must be defined');
- let bindingMask = 0;
- const tIcu = {
- type: icuExpression.type,
- currentCaseLViewIndex: allocExpando(tView, lView, 1, null),
- anchorIdx,
- cases: [],
- create: [],
- remove: [],
- update: []
- };
- addUpdateIcuSwitch(updateOpCodes, icuExpression, anchorIdx);
- setTIcu(tView, anchorIdx, tIcu);
- const values = icuExpression.values;
- for (let i = 0; i < values.length; i++) {
- // Each value is an array of strings & other ICU expressions
- const valueArr = values[i];
- const nestedIcus = [];
- for (let j = 0; j < valueArr.length; j++) {
- const value = valueArr[j];
- if (typeof value !== 'string') {
- // It is an nested ICU expression
- const icuIndex = nestedIcus.push(value) - 1; // Replace nested ICU expression by a comment node
- valueArr[j] = `<!--�${icuIndex}�-->`;
- }
- }
- bindingMask = parseIcuCase(tView, tIcu, lView, updateOpCodes, parentIdx, icuExpression.cases[i], valueArr.join(''), nestedIcus) | bindingMask;
- }
- if (bindingMask) {
- addUpdateIcuUpdate(updateOpCodes, bindingMask, anchorIdx);
- }
- }
- /**
- * Parses text containing an ICU expression and produces a JSON object for it.
- * Original code from closure library, modified for Angular.
- *
- * @param pattern Text containing an ICU expression that needs to be parsed.
- *
- */
- function parseICUBlock(pattern) {
- const cases = [];
- const values = [];
- let icuType = 1
- /* IcuType.plural */
- ;
- let mainBinding = 0;
- pattern = pattern.replace(ICU_BLOCK_REGEXP, function (str, binding, type) {
- if (type === 'select') {
- icuType = 0
- /* IcuType.select */
- ;
- } else {
- icuType = 1
- /* IcuType.plural */
- ;
- }
- mainBinding = parseInt(binding.slice(1), 10);
- return '';
- });
- const parts = i18nParseTextIntoPartsAndICU(pattern); // Looking for (key block)+ sequence. One of the keys has to be "other".
- for (let pos = 0; pos < parts.length;) {
- let key = parts[pos++].trim();
- if (icuType === 1
- /* IcuType.plural */
- ) {
- // Key can be "=x", we just want "x"
- key = key.replace(/\s*(?:=)?(\w+)\s*/, '$1');
- }
- if (key.length) {
- cases.push(key);
- }
- const blocks = i18nParseTextIntoPartsAndICU(parts[pos++]);
- if (cases.length > values.length) {
- values.push(blocks);
- }
- } // TODO(ocombe): support ICU expressions in attributes, see #21615
- return {
- type: icuType,
- mainBinding: mainBinding,
- cases,
- values
- };
- }
- /**
- * Breaks pattern into strings and top level {...} blocks.
- * Can be used to break a message into text and ICU expressions, or to break an ICU expression
- * into keys and cases. Original code from closure library, modified for Angular.
- *
- * @param pattern (sub)Pattern to be broken.
- * @returns An `Array<string|IcuExpression>` where:
- * - odd positions: `string` => text between ICU expressions
- * - even positions: `ICUExpression` => ICU expression parsed into `ICUExpression` record.
- */
- function i18nParseTextIntoPartsAndICU(pattern) {
- if (!pattern) {
- return [];
- }
- let prevPos = 0;
- const braceStack = [];
- const results = [];
- const braces = /[{}]/g; // lastIndex doesn't get set to 0 so we have to.
- braces.lastIndex = 0;
- let match;
- while (match = braces.exec(pattern)) {
- const pos = match.index;
- if (match[0] == '}') {
- braceStack.pop();
- if (braceStack.length == 0) {
- // End of the block.
- const block = pattern.substring(prevPos, pos);
- if (ICU_BLOCK_REGEXP.test(block)) {
- results.push(parseICUBlock(block));
- } else {
- results.push(block);
- }
- prevPos = pos + 1;
- }
- } else {
- if (braceStack.length == 0) {
- const substring = pattern.substring(prevPos, pos);
- results.push(substring);
- prevPos = pos + 1;
- }
- braceStack.push('{');
- }
- }
- const substring = pattern.substring(prevPos);
- results.push(substring);
- return results;
- }
- /**
- * Parses a node, its children and its siblings, and generates the mutate & update OpCodes.
- *
- */
- function parseIcuCase(tView, tIcu, lView, updateOpCodes, parentIdx, caseName, unsafeCaseHtml, nestedIcus) {
- const create = [];
- const remove = [];
- const update = [];
- if (ngDevMode) {
- attachDebugGetter(create, icuCreateOpCodesToString);
- attachDebugGetter(remove, i18nRemoveOpCodesToString);
- attachDebugGetter(update, i18nUpdateOpCodesToString);
- }
- tIcu.cases.push(caseName);
- tIcu.create.push(create);
- tIcu.remove.push(remove);
- tIcu.update.push(update);
- const inertBodyHelper = getInertBodyHelper(getDocument());
- const inertBodyElement = inertBodyHelper.getInertBodyElement(unsafeCaseHtml);
- ngDevMode && assertDefined(inertBodyElement, 'Unable to generate inert body element');
- const inertRootNode = getTemplateContent(inertBodyElement) || inertBodyElement;
- if (inertRootNode) {
- return walkIcuTree(tView, tIcu, lView, updateOpCodes, create, remove, update, inertRootNode, parentIdx, nestedIcus, 0);
- } else {
- return 0;
- }
- }
- function walkIcuTree(tView, tIcu, lView, sharedUpdateOpCodes, create, remove, update, parentNode, parentIdx, nestedIcus, depth) {
- let bindingMask = 0;
- let currentNode = parentNode.firstChild;
- while (currentNode) {
- const newIndex = allocExpando(tView, lView, 1, null);
- switch (currentNode.nodeType) {
- case Node.ELEMENT_NODE:
- const element = currentNode;
- const tagName = element.tagName.toLowerCase();
- if (VALID_ELEMENTS.hasOwnProperty(tagName)) {
- addCreateNodeAndAppend(create, ELEMENT_MARKER, tagName, parentIdx, newIndex);
- tView.data[newIndex] = tagName;
- const elAttrs = element.attributes;
- for (let i = 0; i < elAttrs.length; i++) {
- const attr = elAttrs.item(i);
- const lowerAttrName = attr.name.toLowerCase();
- const hasBinding = !!attr.value.match(BINDING_REGEXP); // we assume the input string is safe, unless it's using a binding
- if (hasBinding) {
- if (VALID_ATTRS.hasOwnProperty(lowerAttrName)) {
- if (URI_ATTRS[lowerAttrName]) {
- generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, _sanitizeUrl);
- } else {
- generateBindingUpdateOpCodes(update, attr.value, newIndex, attr.name, 0, null);
- }
- } else {
- ngDevMode && console.warn(`WARNING: ignoring unsafe attribute value ` + `${lowerAttrName} on element ${tagName} ` + `(see https://g.co/ng/security#xss)`);
- }
- } else {
- addCreateAttribute(create, newIndex, attr);
- }
- } // Parse the children of this node (if any)
- bindingMask = walkIcuTree(tView, tIcu, lView, sharedUpdateOpCodes, create, remove, update, currentNode, newIndex, nestedIcus, depth + 1) | bindingMask;
- addRemoveNode(remove, newIndex, depth);
- }
- break;
- case Node.TEXT_NODE:
- const value = currentNode.textContent || '';
- const hasBinding = value.match(BINDING_REGEXP);
- addCreateNodeAndAppend(create, null, hasBinding ? '' : value, parentIdx, newIndex);
- addRemoveNode(remove, newIndex, depth);
- if (hasBinding) {
- bindingMask = generateBindingUpdateOpCodes(update, value, newIndex, null, 0, null) | bindingMask;
- }
- break;
- case Node.COMMENT_NODE:
- // Check if the comment node is a placeholder for a nested ICU
- const isNestedIcu = NESTED_ICU.exec(currentNode.textContent || '');
- if (isNestedIcu) {
- const nestedIcuIndex = parseInt(isNestedIcu[1], 10);
- const icuExpression = nestedIcus[nestedIcuIndex]; // Create the comment node that will anchor the ICU expression
- addCreateNodeAndAppend(create, ICU_MARKER, ngDevMode ? `nested ICU ${nestedIcuIndex}` : '', parentIdx, newIndex);
- icuStart(tView, lView, sharedUpdateOpCodes, parentIdx, icuExpression, newIndex);
- addRemoveNestedIcu(remove, newIndex, depth);
- }
- break;
- }
- currentNode = currentNode.nextSibling;
- }
- return bindingMask;
- }
- function addRemoveNode(remove, index, depth) {
- if (depth === 0) {
- remove.push(index);
- }
- }
- function addRemoveNestedIcu(remove, index, depth) {
- if (depth === 0) {
- remove.push(~index); // remove ICU at `index`
- remove.push(index); // remove ICU comment at `index`
- }
- }
- function addUpdateIcuSwitch(update, icuExpression, index) {
- update.push(toMaskBit(icuExpression.mainBinding), 2, -1 - icuExpression.mainBinding, index << 2
- /* I18nUpdateOpCode.SHIFT_REF */
- | 2
- /* I18nUpdateOpCode.IcuSwitch */
- );
- }
- function addUpdateIcuUpdate(update, bindingMask, index) {
- update.push(bindingMask, 1, index << 2
- /* I18nUpdateOpCode.SHIFT_REF */
- | 3
- /* I18nUpdateOpCode.IcuUpdate */
- );
- }
- function addCreateNodeAndAppend(create, marker, text, appendToParentIdx, createAtIdx) {
- if (marker !== null) {
- create.push(marker);
- }
- create.push(text, createAtIdx, icuCreateOpCode(0
- /* IcuCreateOpCode.AppendChild */
- , appendToParentIdx, createAtIdx));
- }
- function addCreateAttribute(create, newIndex, attr) {
- create.push(newIndex << 1
- /* IcuCreateOpCode.SHIFT_REF */
- | 1
- /* IcuCreateOpCode.Attr */
- , attr.name, attr.value);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // i18nPostprocess consts
- const ROOT_TEMPLATE_ID = 0;
- const PP_MULTI_VALUE_PLACEHOLDERS_REGEXP = /\[(�.+?�?)\]/;
- const PP_PLACEHOLDERS_REGEXP = /\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g;
- const PP_ICU_VARS_REGEXP = /({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g;
- const PP_ICU_PLACEHOLDERS_REGEXP = /{([A-Z0-9_]+)}/g;
- const PP_ICUS_REGEXP = /�I18N_EXP_(ICU(_\d+)?)�/g;
- const PP_CLOSE_TEMPLATE_REGEXP = /\/\*/;
- const PP_TEMPLATE_ID_REGEXP = /\d+\:(\d+)/;
- /**
- * Handles message string post-processing for internationalization.
- *
- * Handles message string post-processing by transforming it from intermediate
- * format (that might contain some markers that we need to replace) to the final
- * form, consumable by i18nStart instruction. Post processing steps include:
- *
- * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])
- * 2. Replace all ICU vars (like "VAR_PLURAL")
- * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}
- * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)
- * in case multiple ICUs have the same placeholder name
- *
- * @param message Raw translation string for post processing
- * @param replacements Set of replacements that should be applied
- *
- * @returns Transformed string that can be consumed by i18nStart instruction
- *
- * @codeGenApi
- */
- function i18nPostprocess(message, replacements = {}) {
- /**
- * Step 1: resolve all multi-value placeholders like [�#5�|�*1:1��#2:1�|�#4:1�]
- *
- * Note: due to the way we process nested templates (BFS), multi-value placeholders are typically
- * grouped by templates, for example: [�#5�|�#6�|�#1:1�|�#3:2�] where �#5� and �#6� belong to root
- * template, �#1:1� belong to nested template with index 1 and �#1:2� - nested template with index
- * 3. However in real templates the order might be different: i.e. �#1:1� and/or �#3:2� may go in
- * front of �#6�. The post processing step restores the right order by keeping track of the
- * template id stack and looks for placeholders that belong to the currently active template.
- */
- let result = message;
- if (PP_MULTI_VALUE_PLACEHOLDERS_REGEXP.test(message)) {
- const matches = {};
- const templateIdsStack = [ROOT_TEMPLATE_ID];
- result = result.replace(PP_PLACEHOLDERS_REGEXP, (m, phs, tmpl) => {
- const content = phs || tmpl;
- const placeholders = matches[content] || [];
- if (!placeholders.length) {
- content.split('|').forEach(placeholder => {
- const match = placeholder.match(PP_TEMPLATE_ID_REGEXP);
- const templateId = match ? parseInt(match[1], 10) : ROOT_TEMPLATE_ID;
- const isCloseTemplateTag = PP_CLOSE_TEMPLATE_REGEXP.test(placeholder);
- placeholders.push([templateId, isCloseTemplateTag, placeholder]);
- });
- matches[content] = placeholders;
- }
- if (!placeholders.length) {
- throw new Error(`i18n postprocess: unmatched placeholder - ${content}`);
- }
- const currentTemplateId = templateIdsStack[templateIdsStack.length - 1];
- let idx = 0; // find placeholder index that matches current template id
- for (let i = 0; i < placeholders.length; i++) {
- if (placeholders[i][0] === currentTemplateId) {
- idx = i;
- break;
- }
- } // update template id stack based on the current tag extracted
- const [templateId, isCloseTemplateTag, placeholder] = placeholders[idx];
- if (isCloseTemplateTag) {
- templateIdsStack.pop();
- } else if (currentTemplateId !== templateId) {
- templateIdsStack.push(templateId);
- } // remove processed tag from the list
- placeholders.splice(idx, 1);
- return placeholder;
- });
- } // return current result if no replacements specified
- if (!Object.keys(replacements).length) {
- return result;
- }
- /**
- * Step 2: replace all ICU vars (like "VAR_PLURAL")
- */
- result = result.replace(PP_ICU_VARS_REGEXP, (match, start, key, _type, _idx, end) => {
- return replacements.hasOwnProperty(key) ? `${start}${replacements[key]}${end}` : match;
- });
- /**
- * Step 3: replace all placeholders used inside ICUs in a form of {PLACEHOLDER}
- */
- result = result.replace(PP_ICU_PLACEHOLDERS_REGEXP, (match, key) => {
- return replacements.hasOwnProperty(key) ? replacements[key] : match;
- });
- /**
- * Step 4: replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�) in case
- * multiple ICUs have the same placeholder name
- */
- result = result.replace(PP_ICUS_REGEXP, (match, key) => {
- if (replacements.hasOwnProperty(key)) {
- const list = replacements[key];
- if (!list.length) {
- throw new Error(`i18n postprocess: unmatched ICU - ${match} with key: ${key}`);
- }
- return list.shift();
- }
- return match;
- });
- return result;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Marks a block of text as translatable.
- *
- * The instructions `i18nStart` and `i18nEnd` mark the translation block in the template.
- * The translation `message` is the value which is locale specific. The translation string may
- * contain placeholders which associate inner elements and sub-templates within the translation.
- *
- * The translation `message` placeholders are:
- * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be
- * interpolated into. The placeholder `index` points to the expression binding index. An optional
- * `block` that matches the sub-template in which it was declared.
- * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*: Marks the beginning
- * and end of DOM element that were embedded in the original translation block. The placeholder
- * `index` points to the element index in the template instructions set. An optional `block` that
- * matches the sub-template in which it was declared.
- * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be
- * split up and translated separately in each angular template function. The `index` points to the
- * `template` instruction index. A `block` that matches the sub-template in which it was declared.
- *
- * @param index A unique index of the translation in the static block.
- * @param messageIndex An index of the translation message from the `def.consts` array.
- * @param subTemplateIndex Optional sub-template index in the `message`.
- *
- * @codeGenApi
- */
- function ɵɵi18nStart(index, messageIndex, subTemplateIndex = -1) {
- const tView = getTView();
- const lView = getLView();
- const adjustedIndex = HEADER_OFFSET + index;
- ngDevMode && assertDefined(tView, `tView should be defined`);
- const message = getConstant(tView.consts, messageIndex);
- const parentTNode = getCurrentParentTNode();
- if (tView.firstCreatePass) {
- i18nStartFirstCreatePass(tView, parentTNode === null ? 0 : parentTNode.index, lView, adjustedIndex, message, subTemplateIndex);
- }
- const tI18n = tView.data[adjustedIndex];
- const sameViewParentTNode = parentTNode === lView[T_HOST] ? null : parentTNode;
- const parentRNode = getClosestRElement(tView, sameViewParentTNode, lView); // If `parentTNode` is an `ElementContainer` than it has `<!--ng-container--->`.
- // When we do inserts we have to make sure to insert in front of `<!--ng-container--->`.
- const insertInFrontOf = parentTNode && parentTNode.type & 8
- /* TNodeType.ElementContainer */
- ? lView[parentTNode.index] : null;
- applyCreateOpCodes(lView, tI18n.create, parentRNode, insertInFrontOf);
- setInI18nBlock(true);
- }
- /**
- * Translates a translation block marked by `i18nStart` and `i18nEnd`. It inserts the text/ICU nodes
- * into the render tree, moves the placeholder nodes and removes the deleted nodes.
- *
- * @codeGenApi
- */
- function ɵɵi18nEnd() {
- setInI18nBlock(false);
- }
- /**
- *
- * Use this instruction to create a translation block that doesn't contain any placeholder.
- * It calls both {@link i18nStart} and {@link i18nEnd} in one instruction.
- *
- * The translation `message` is the value which is locale specific. The translation string may
- * contain placeholders which associate inner elements and sub-templates within the translation.
- *
- * The translation `message` placeholders are:
- * - `�{index}(:{block})�`: *Binding Placeholder*: Marks a location where an expression will be
- * interpolated into. The placeholder `index` points to the expression binding index. An optional
- * `block` that matches the sub-template in which it was declared.
- * - `�#{index}(:{block})�`/`�/#{index}(:{block})�`: *Element Placeholder*: Marks the beginning
- * and end of DOM element that were embedded in the original translation block. The placeholder
- * `index` points to the element index in the template instructions set. An optional `block` that
- * matches the sub-template in which it was declared.
- * - `�*{index}:{block}�`/`�/*{index}:{block}�`: *Sub-template Placeholder*: Sub-templates must be
- * split up and translated separately in each angular template function. The `index` points to the
- * `template` instruction index. A `block` that matches the sub-template in which it was declared.
- *
- * @param index A unique index of the translation in the static block.
- * @param messageIndex An index of the translation message from the `def.consts` array.
- * @param subTemplateIndex Optional sub-template index in the `message`.
- *
- * @codeGenApi
- */
- function ɵɵi18n(index, messageIndex, subTemplateIndex) {
- ɵɵi18nStart(index, messageIndex, subTemplateIndex);
- ɵɵi18nEnd();
- }
- /**
- * Marks a list of attributes as translatable.
- *
- * @param index A unique index in the static block
- * @param values
- *
- * @codeGenApi
- */
- function ɵɵi18nAttributes(index, attrsIndex) {
- const tView = getTView();
- ngDevMode && assertDefined(tView, `tView should be defined`);
- const attrs = getConstant(tView.consts, attrsIndex);
- i18nAttributesFirstPass(tView, index + HEADER_OFFSET, attrs);
- }
- /**
- * Stores the values of the bindings during each update cycle in order to determine if we need to
- * update the translated nodes.
- *
- * @param value The binding's value
- * @returns This function returns itself so that it may be chained
- * (e.g. `i18nExp(ctx.name)(ctx.title)`)
- *
- * @codeGenApi
- */
- function ɵɵi18nExp(value) {
- const lView = getLView();
- setMaskBit(bindingUpdated(lView, nextBindingIndex(), value));
- return ɵɵi18nExp;
- }
- /**
- * Updates a translation block or an i18n attribute when the bindings have changed.
- *
- * @param index Index of either {@link i18nStart} (translation block) or {@link i18nAttributes}
- * (i18n attribute) on which it should update the content.
- *
- * @codeGenApi
- */
- function ɵɵi18nApply(index) {
- applyI18n(getTView(), getLView(), index + HEADER_OFFSET);
- }
- /**
- * Handles message string post-processing for internationalization.
- *
- * Handles message string post-processing by transforming it from intermediate
- * format (that might contain some markers that we need to replace) to the final
- * form, consumable by i18nStart instruction. Post processing steps include:
- *
- * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])
- * 2. Replace all ICU vars (like "VAR_PLURAL")
- * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}
- * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)
- * in case multiple ICUs have the same placeholder name
- *
- * @param message Raw translation string for post processing
- * @param replacements Set of replacements that should be applied
- *
- * @returns Transformed string that can be consumed by i18nStart instruction
- *
- * @codeGenApi
- */
- function ɵɵi18nPostprocess(message, replacements = {}) {
- return i18nPostprocess(message, replacements);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Resolves the providers which are defined in the DirectiveDef.
- *
- * When inserting the tokens and the factories in their respective arrays, we can assume that
- * this method is called first for the component (if any), and then for other directives on the same
- * node.
- * As a consequence,the providers are always processed in that order:
- * 1) The view providers of the component
- * 2) The providers of the component
- * 3) The providers of the other directives
- * This matches the structure of the injectables arrays of a view (for each node).
- * So the tokens and the factories can be pushed at the end of the arrays, except
- * in one case for multi providers.
- *
- * @param def the directive definition
- * @param providers: Array of `providers`.
- * @param viewProviders: Array of `viewProviders`.
- */
- function providersResolver(def, providers, viewProviders) {
- const tView = getTView();
- if (tView.firstCreatePass) {
- const isComponent = isComponentDef(def); // The list of view providers is processed first, and the flags are updated
- resolveProvider(viewProviders, tView.data, tView.blueprint, isComponent, true); // Then, the list of providers is processed, and the flags are updated
- resolveProvider(providers, tView.data, tView.blueprint, isComponent, false);
- }
- }
- /**
- * Resolves a provider and publishes it to the DI system.
- */
- function resolveProvider(provider, tInjectables, lInjectablesBlueprint, isComponent, isViewProvider) {
- provider = resolveForwardRef(provider);
- if (Array.isArray(provider)) {
- // Recursively call `resolveProvider`
- // Recursion is OK in this case because this code will not be in hot-path once we implement
- // cloning of the initial state.
- for (let i = 0; i < provider.length; i++) {
- resolveProvider(provider[i], tInjectables, lInjectablesBlueprint, isComponent, isViewProvider);
- }
- } else {
- const tView = getTView();
- const lView = getLView();
- let token = isTypeProvider(provider) ? provider : resolveForwardRef(provider.provide);
- let providerFactory = providerToFactory(provider);
- const tNode = getCurrentTNode();
- const beginIndex = tNode.providerIndexes & 1048575
- /* TNodeProviderIndexes.ProvidersStartIndexMask */
- ;
- const endIndex = tNode.directiveStart;
- const cptViewProvidersCount = tNode.providerIndexes >> 20
- /* TNodeProviderIndexes.CptViewProvidersCountShift */
- ;
- if (isTypeProvider(provider) || !provider.multi) {
- // Single provider case: the factory is created and pushed immediately
- const factory = new NodeInjectorFactory(providerFactory, isViewProvider, ɵɵdirectiveInject);
- const existingFactoryIndex = indexOf(token, tInjectables, isViewProvider ? beginIndex : beginIndex + cptViewProvidersCount, endIndex);
- if (existingFactoryIndex === -1) {
- diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, token);
- registerDestroyHooksIfSupported(tView, provider, tInjectables.length);
- tInjectables.push(token);
- tNode.directiveStart++;
- tNode.directiveEnd++;
- if (isViewProvider) {
- tNode.providerIndexes += 1048576
- /* TNodeProviderIndexes.CptViewProvidersCountShifter */
- ;
- }
- lInjectablesBlueprint.push(factory);
- lView.push(factory);
- } else {
- lInjectablesBlueprint[existingFactoryIndex] = factory;
- lView[existingFactoryIndex] = factory;
- }
- } else {
- // Multi provider case:
- // We create a multi factory which is going to aggregate all the values.
- // Since the output of such a factory depends on content or view injection,
- // we create two of them, which are linked together.
- //
- // The first one (for view providers) is always in the first block of the injectables array,
- // and the second one (for providers) is always in the second block.
- // This is important because view providers have higher priority. When a multi token
- // is being looked up, the view providers should be found first.
- // Note that it is not possible to have a multi factory in the third block (directive block).
- //
- // The algorithm to process multi providers is as follows:
- // 1) If the multi provider comes from the `viewProviders` of the component:
- // a) If the special view providers factory doesn't exist, it is created and pushed.
- // b) Else, the multi provider is added to the existing multi factory.
- // 2) If the multi provider comes from the `providers` of the component or of another
- // directive:
- // a) If the multi factory doesn't exist, it is created and provider pushed into it.
- // It is also linked to the multi factory for view providers, if it exists.
- // b) Else, the multi provider is added to the existing multi factory.
- const existingProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex + cptViewProvidersCount, endIndex);
- const existingViewProvidersFactoryIndex = indexOf(token, tInjectables, beginIndex, beginIndex + cptViewProvidersCount);
- const doesProvidersFactoryExist = existingProvidersFactoryIndex >= 0 && lInjectablesBlueprint[existingProvidersFactoryIndex];
- const doesViewProvidersFactoryExist = existingViewProvidersFactoryIndex >= 0 && lInjectablesBlueprint[existingViewProvidersFactoryIndex];
- if (isViewProvider && !doesViewProvidersFactoryExist || !isViewProvider && !doesProvidersFactoryExist) {
- // Cases 1.a and 2.a
- diPublicInInjector(getOrCreateNodeInjectorForNode(tNode, lView), tView, token);
- const factory = multiFactory(isViewProvider ? multiViewProvidersFactoryResolver : multiProvidersFactoryResolver, lInjectablesBlueprint.length, isViewProvider, isComponent, providerFactory);
- if (!isViewProvider && doesViewProvidersFactoryExist) {
- lInjectablesBlueprint[existingViewProvidersFactoryIndex].providerFactory = factory;
- }
- registerDestroyHooksIfSupported(tView, provider, tInjectables.length, 0);
- tInjectables.push(token);
- tNode.directiveStart++;
- tNode.directiveEnd++;
- if (isViewProvider) {
- tNode.providerIndexes += 1048576
- /* TNodeProviderIndexes.CptViewProvidersCountShifter */
- ;
- }
- lInjectablesBlueprint.push(factory);
- lView.push(factory);
- } else {
- // Cases 1.b and 2.b
- const indexInFactory = multiFactoryAdd(lInjectablesBlueprint[isViewProvider ? existingViewProvidersFactoryIndex : existingProvidersFactoryIndex], providerFactory, !isViewProvider && isComponent);
- registerDestroyHooksIfSupported(tView, provider, existingProvidersFactoryIndex > -1 ? existingProvidersFactoryIndex : existingViewProvidersFactoryIndex, indexInFactory);
- }
- if (!isViewProvider && isComponent && doesViewProvidersFactoryExist) {
- lInjectablesBlueprint[existingViewProvidersFactoryIndex].componentProviders++;
- }
- }
- }
- }
- /**
- * Registers the `ngOnDestroy` hook of a provider, if the provider supports destroy hooks.
- * @param tView `TView` in which to register the hook.
- * @param provider Provider whose hook should be registered.
- * @param contextIndex Index under which to find the context for the hook when it's being invoked.
- * @param indexInFactory Only required for `multi` providers. Index of the provider in the multi
- * provider factory.
- */
- function registerDestroyHooksIfSupported(tView, provider, contextIndex, indexInFactory) {
- const providerIsTypeProvider = isTypeProvider(provider);
- const providerIsClassProvider = isClassProvider(provider);
- if (providerIsTypeProvider || providerIsClassProvider) {
- // Resolve forward references as `useClass` can hold a forward reference.
- const classToken = providerIsClassProvider ? resolveForwardRef(provider.useClass) : provider;
- const prototype = classToken.prototype;
- const ngOnDestroy = prototype.ngOnDestroy;
- if (ngOnDestroy) {
- const hooks = tView.destroyHooks || (tView.destroyHooks = []);
- if (!providerIsTypeProvider && provider.multi) {
- ngDevMode && assertDefined(indexInFactory, 'indexInFactory when registering multi factory destroy hook');
- const existingCallbacksIndex = hooks.indexOf(contextIndex);
- if (existingCallbacksIndex === -1) {
- hooks.push(contextIndex, [indexInFactory, ngOnDestroy]);
- } else {
- hooks[existingCallbacksIndex + 1].push(indexInFactory, ngOnDestroy);
- }
- } else {
- hooks.push(contextIndex, ngOnDestroy);
- }
- }
- }
- }
- /**
- * Add a factory in a multi factory.
- * @returns Index at which the factory was inserted.
- */
- function multiFactoryAdd(multiFactory, factory, isComponentProvider) {
- if (isComponentProvider) {
- multiFactory.componentProviders++;
- }
- return multiFactory.multi.push(factory) - 1;
- }
- /**
- * Returns the index of item in the array, but only in the begin to end range.
- */
- function indexOf(item, arr, begin, end) {
- for (let i = begin; i < end; i++) {
- if (arr[i] === item) return i;
- }
- return -1;
- }
- /**
- * Use this with `multi` `providers`.
- */
- function multiProvidersFactoryResolver(_, tData, lData, tNode) {
- return multiResolve(this.multi, []);
- }
- /**
- * Use this with `multi` `viewProviders`.
- *
- * This factory knows how to concatenate itself with the existing `multi` `providers`.
- */
- function multiViewProvidersFactoryResolver(_, tData, lView, tNode) {
- const factories = this.multi;
- let result;
- if (this.providerFactory) {
- const componentCount = this.providerFactory.componentProviders;
- const multiProviders = getNodeInjectable(lView, lView[TVIEW], this.providerFactory.index, tNode); // Copy the section of the array which contains `multi` `providers` from the component
- result = multiProviders.slice(0, componentCount); // Insert the `viewProvider` instances.
- multiResolve(factories, result); // Copy the section of the array which contains `multi` `providers` from other directives
- for (let i = componentCount; i < multiProviders.length; i++) {
- result.push(multiProviders[i]);
- }
- } else {
- result = []; // Insert the `viewProvider` instances.
- multiResolve(factories, result);
- }
- return result;
- }
- /**
- * Maps an array of factories into an array of values.
- */
- function multiResolve(factories, result) {
- for (let i = 0; i < factories.length; i++) {
- const factory = factories[i];
- result.push(factory());
- }
- return result;
- }
- /**
- * Creates a multi factory.
- */
- function multiFactory(factoryFn, index, isViewProvider, isComponent, f) {
- const factory = new NodeInjectorFactory(factoryFn, isViewProvider, ɵɵdirectiveInject);
- factory.multi = [];
- factory.index = index;
- factory.componentProviders = 0;
- multiFactoryAdd(factory, f, isComponent && !isViewProvider);
- return factory;
- }
- /**
- * This feature resolves the providers of a directive (or component),
- * and publish them into the DI system, making it visible to others for injection.
- *
- * For example:
- * ```ts
- * class ComponentWithProviders {
- * constructor(private greeter: GreeterDE) {}
- *
- * static ɵcmp = defineComponent({
- * type: ComponentWithProviders,
- * selectors: [['component-with-providers']],
- * factory: () => new ComponentWithProviders(directiveInject(GreeterDE as any)),
- * decls: 1,
- * vars: 1,
- * template: function(fs: RenderFlags, ctx: ComponentWithProviders) {
- * if (fs & RenderFlags.Create) {
- * ɵɵtext(0);
- * }
- * if (fs & RenderFlags.Update) {
- * ɵɵtextInterpolate(ctx.greeter.greet());
- * }
- * },
- * features: [ɵɵProvidersFeature([GreeterDE])]
- * });
- * }
- * ```
- *
- * @param definition
- *
- * @codeGenApi
- */
- function ɵɵProvidersFeature(providers, viewProviders = []) {
- return definition => {
- definition.providersResolver = (def, processProvidersFn) => {
- return providersResolver(def, //
- processProvidersFn ? processProvidersFn(providers) : providers, //
- viewProviders);
- };
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents an instance of an `NgModule` created by an `NgModuleFactory`.
- * Provides access to the `NgModule` instance and related objects.
- *
- * @publicApi
- */
- class NgModuleRef$1 {}
- /**
- * @publicApi
- *
- * @deprecated
- * This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy
- * JIT mode. See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes)
- * for additional context. Angular provides APIs that accept NgModule classes directly (such as
- * [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and
- * [createNgModule](api/core/createNgModule)), consider switching to those APIs instead of
- * using factory-based ones.
- */
- class NgModuleFactory$1 {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
- *
- * @param ngModule NgModule class.
- * @param parentInjector Optional injector instance to use as a parent for the module injector. If
- * not provided, `NullInjector` will be used instead.
- * @returns NgModuleRef that represents an NgModule instance.
- *
- * @publicApi
- */
- function createNgModule(ngModule, parentInjector) {
- return new NgModuleRef(ngModule, parentInjector !== null && parentInjector !== void 0 ? parentInjector : null);
- }
- /**
- * The `createNgModule` function alias for backwards-compatibility.
- * Please avoid using it directly and use `createNgModule` instead.
- *
- * @deprecated Use `createNgModule` instead.
- */
- const createNgModuleRef = createNgModule;
- class NgModuleRef extends NgModuleRef$1 {
- constructor(ngModuleType, _parent) {
- super();
- this._parent = _parent; // tslint:disable-next-line:require-internal-with-underscore
- this._bootstrapComponents = [];
- this.destroyCbs = []; // When bootstrapping a module we have a dependency graph that looks like this:
- // ApplicationRef -> ComponentFactoryResolver -> NgModuleRef. The problem is that if the
- // module being resolved tries to inject the ComponentFactoryResolver, it'll create a
- // circular dependency which will result in a runtime error, because the injector doesn't
- // exist yet. We work around the issue by creating the ComponentFactoryResolver ourselves
- // and providing it, rather than letting the injector resolve it.
- this.componentFactoryResolver = new ComponentFactoryResolver(this);
- const ngModuleDef = getNgModuleDef(ngModuleType);
- ngDevMode && assertDefined(ngModuleDef, `NgModule '${stringify(ngModuleType)}' is not a subtype of 'NgModuleType'.`);
- this._bootstrapComponents = maybeUnwrapFn(ngModuleDef.bootstrap);
- this._r3Injector = createInjectorWithoutInjectorInstances(ngModuleType, _parent, [{
- provide: NgModuleRef$1,
- useValue: this
- }, {
- provide: ComponentFactoryResolver$1,
- useValue: this.componentFactoryResolver
- }], stringify(ngModuleType), new Set(['environment'])); // We need to resolve the injector types separately from the injector creation, because
- // the module might be trying to use this ref in its constructor for DI which will cause a
- // circular error that will eventually error out, because the injector isn't created yet.
- this._r3Injector.resolveInjectorInitializers();
- this.instance = this._r3Injector.get(ngModuleType);
- }
- get injector() {
- return this._r3Injector;
- }
- destroy() {
- ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');
- const injector = this._r3Injector;
- !injector.destroyed && injector.destroy();
- this.destroyCbs.forEach(fn => fn());
- this.destroyCbs = null;
- }
- onDestroy(callback) {
- ngDevMode && assertDefined(this.destroyCbs, 'NgModule already destroyed');
- this.destroyCbs.push(callback);
- }
- }
- class NgModuleFactory extends NgModuleFactory$1 {
- constructor(moduleType) {
- super();
- this.moduleType = moduleType;
- }
- create(parentInjector) {
- return new NgModuleRef(this.moduleType, parentInjector);
- }
- }
- class EnvironmentNgModuleRefAdapter extends NgModuleRef$1 {
- constructor(providers, parent, source) {
- super();
- this.componentFactoryResolver = new ComponentFactoryResolver(this);
- this.instance = null;
- const injector = new R3Injector([...providers, {
- provide: NgModuleRef$1,
- useValue: this
- }, {
- provide: ComponentFactoryResolver$1,
- useValue: this.componentFactoryResolver
- }], parent || getNullInjector(), source, new Set(['environment']));
- this.injector = injector;
- injector.resolveInjectorInitializers();
- }
- destroy() {
- this.injector.destroy();
- }
- onDestroy(callback) {
- this.injector.onDestroy(callback);
- }
- }
- /**
- * Create a new environment injector.
- *
- * Learn more about environment injectors in
- * [this guide](guide/standalone-components#environment-injectors).
- *
- * @param providers An array of providers.
- * @param parent A parent environment injector.
- * @param debugName An optional name for this injector instance, which will be used in error
- * messages.
- *
- * @publicApi
- * @developerPreview
- */
- function createEnvironmentInjector(providers, parent, debugName = null) {
- const adapter = new EnvironmentNgModuleRefAdapter(providers, parent, debugName);
- return adapter.injector;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A service used by the framework to create instances of standalone injectors. Those injectors are
- * created on demand in case of dynamic component instantiation and contain ambient providers
- * collected from the imports graph rooted at a given standalone component.
- */
- class StandaloneService {
- constructor(_injector) {
- this._injector = _injector;
- this.cachedInjectors = new Map();
- }
- getOrCreateStandaloneInjector(componentDef) {
- if (!componentDef.standalone) {
- return null;
- }
- if (!this.cachedInjectors.has(componentDef.id)) {
- const providers = internalImportProvidersFrom(false, componentDef.type);
- const standaloneInjector = providers.length > 0 ? createEnvironmentInjector([providers], this._injector, `Standalone[${componentDef.type.name}]`) : null;
- this.cachedInjectors.set(componentDef.id, standaloneInjector);
- }
- return this.cachedInjectors.get(componentDef.id);
- }
- ngOnDestroy() {
- try {
- for (const injector of this.cachedInjectors.values()) {
- if (injector !== null) {
- injector.destroy();
- }
- }
- } finally {
- this.cachedInjectors.clear();
- }
- }
- }
- /** @nocollapse */
- StandaloneService.ɵprov = ɵɵdefineInjectable({
- token: StandaloneService,
- providedIn: 'environment',
- factory: () => new StandaloneService(ɵɵinject(EnvironmentInjector))
- });
- /**
- * A feature that acts as a setup code for the {@link StandaloneService}.
- *
- * The most important responsibility of this feature is to expose the "getStandaloneInjector"
- * function (an entry points to a standalone injector creation) on a component definition object. We
- * go through the features infrastructure to make sure that the standalone injector creation logic
- * is tree-shakable and not included in applications that don't use standalone components.
- *
- * @codeGenApi
- */
- function ɵɵStandaloneFeature(definition) {
- definition.getStandaloneInjector = parentInjector => {
- return parentInjector.get(StandaloneService).getOrCreateStandaloneInjector(definition);
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Retrieves the component instance associated with a given DOM element.
- *
- * @usageNotes
- * Given the following DOM structure:
- *
- * ```html
- * <app-root>
- * <div>
- * <child-comp></child-comp>
- * </div>
- * </app-root>
- * ```
- *
- * Calling `getComponent` on `<child-comp>` will return the instance of `ChildComponent`
- * associated with this DOM element.
- *
- * Calling the function on `<app-root>` will return the `MyApp` instance.
- *
- *
- * @param element DOM element from which the component should be retrieved.
- * @returns Component instance associated with the element or `null` if there
- * is no component associated with it.
- *
- * @publicApi
- * @globalApi ng
- */
- function getComponent(element) {
- ngDevMode && assertDomElement(element);
- const context = getLContext(element);
- if (context === null) return null;
- if (context.component === undefined) {
- const lView = context.lView;
- if (lView === null) {
- return null;
- }
- context.component = getComponentAtNodeIndex(context.nodeIndex, lView);
- }
- return context.component;
- }
- /**
- * If inside an embedded view (e.g. `*ngIf` or `*ngFor`), retrieves the context of the embedded
- * view that the element is part of. Otherwise retrieves the instance of the component whose view
- * owns the element (in this case, the result is the same as calling `getOwningComponent`).
- *
- * @param element Element for which to get the surrounding component instance.
- * @returns Instance of the component that is around the element or null if the element isn't
- * inside any component.
- *
- * @publicApi
- * @globalApi ng
- */
- function getContext(element) {
- assertDomElement(element);
- const context = getLContext(element);
- const lView = context ? context.lView : null;
- return lView === null ? null : lView[CONTEXT];
- }
- /**
- * Retrieves the component instance whose view contains the DOM element.
- *
- * For example, if `<child-comp>` is used in the template of `<app-comp>`
- * (i.e. a `ViewChild` of `<app-comp>`), calling `getOwningComponent` on `<child-comp>`
- * would return `<app-comp>`.
- *
- * @param elementOrDir DOM element, component or directive instance
- * for which to retrieve the root components.
- * @returns Component instance whose view owns the DOM element or null if the element is not
- * part of a component view.
- *
- * @publicApi
- * @globalApi ng
- */
- function getOwningComponent(elementOrDir) {
- const context = getLContext(elementOrDir);
- let lView = context ? context.lView : null;
- if (lView === null) return null;
- let parent;
- while (lView[TVIEW].type === 2
- /* TViewType.Embedded */
- && (parent = getLViewParent(lView))) {
- lView = parent;
- }
- return lView[FLAGS] & 256
- /* LViewFlags.IsRoot */
- ? null : lView[CONTEXT];
- }
- /**
- * Retrieves all root components associated with a DOM element, directive or component instance.
- * Root components are those which have been bootstrapped by Angular.
- *
- * @param elementOrDir DOM element, component or directive instance
- * for which to retrieve the root components.
- * @returns Root components associated with the target object.
- *
- * @publicApi
- * @globalApi ng
- */
- function getRootComponents(elementOrDir) {
- const lView = readPatchedLView(elementOrDir);
- return lView !== null ? [getRootContext(lView)] : [];
- }
- /**
- * Retrieves an `Injector` associated with an element, component or directive instance.
- *
- * @param elementOrDir DOM element, component or directive instance for which to
- * retrieve the injector.
- * @returns Injector associated with the element, component or directive instance.
- *
- * @publicApi
- * @globalApi ng
- */
- function getInjector(elementOrDir) {
- const context = getLContext(elementOrDir);
- const lView = context ? context.lView : null;
- if (lView === null) return Injector.NULL;
- const tNode = lView[TVIEW].data[context.nodeIndex];
- return new NodeInjector(tNode, lView);
- }
- /**
- * Retrieve a set of injection tokens at a given DOM node.
- *
- * @param element Element for which the injection tokens should be retrieved.
- */
- function getInjectionTokens(element) {
- const context = getLContext(element);
- const lView = context ? context.lView : null;
- if (lView === null) return [];
- const tView = lView[TVIEW];
- const tNode = tView.data[context.nodeIndex];
- const providerTokens = [];
- const startIndex = tNode.providerIndexes & 1048575
- /* TNodeProviderIndexes.ProvidersStartIndexMask */
- ;
- const endIndex = tNode.directiveEnd;
- for (let i = startIndex; i < endIndex; i++) {
- let value = tView.data[i];
- if (isDirectiveDefHack(value)) {
- // The fact that we sometimes store Type and sometimes DirectiveDef in this location is a
- // design flaw. We should always store same type so that we can be monomorphic. The issue
- // is that for Components/Directives we store the def instead the type. The correct behavior
- // is that we should always be storing injectable type in this location.
- value = value.type;
- }
- providerTokens.push(value);
- }
- return providerTokens;
- }
- /**
- * Retrieves directive instances associated with a given DOM node. Does not include
- * component instances.
- *
- * @usageNotes
- * Given the following DOM structure:
- *
- * ```html
- * <app-root>
- * <button my-button></button>
- * <my-comp></my-comp>
- * </app-root>
- * ```
- *
- * Calling `getDirectives` on `<button>` will return an array with an instance of the `MyButton`
- * directive that is associated with the DOM node.
- *
- * Calling `getDirectives` on `<my-comp>` will return an empty array.
- *
- * @param node DOM node for which to get the directives.
- * @returns Array of directives associated with the node.
- *
- * @publicApi
- * @globalApi ng
- */
- function getDirectives(node) {
- // Skip text nodes because we can't have directives associated with them.
- if (node instanceof Text) {
- return [];
- }
- const context = getLContext(node);
- const lView = context ? context.lView : null;
- if (lView === null) {
- return [];
- }
- const tView = lView[TVIEW];
- const nodeIndex = context.nodeIndex;
- if (!(tView === null || tView === void 0 ? void 0 : tView.data[nodeIndex])) {
- return [];
- }
- if (context.directives === undefined) {
- context.directives = getDirectivesAtNodeIndex(nodeIndex, lView, false);
- } // The `directives` in this case are a named array called `LComponentView`. Clone the
- // result so we don't expose an internal data structure in the user's console.
- return context.directives === null ? [] : [...context.directives];
- }
- /**
- * Returns the debug (partial) metadata for a particular directive or component instance.
- * The function accepts an instance of a directive or component and returns the corresponding
- * metadata.
- *
- * @param directiveOrComponentInstance Instance of a directive or component
- * @returns metadata of the passed directive or component
- *
- * @publicApi
- * @globalApi ng
- */
- function getDirectiveMetadata$1(directiveOrComponentInstance) {
- const {
- constructor
- } = directiveOrComponentInstance;
- if (!constructor) {
- throw new Error('Unable to find the instance constructor');
- } // In case a component inherits from a directive, we may have component and directive metadata
- // To ensure we don't get the metadata of the directive, we want to call `getComponentDef` first.
- const componentDef = getComponentDef(constructor);
- if (componentDef) {
- return {
- inputs: componentDef.inputs,
- outputs: componentDef.outputs,
- encapsulation: componentDef.encapsulation,
- changeDetection: componentDef.onPush ? ChangeDetectionStrategy.OnPush : ChangeDetectionStrategy.Default
- };
- }
- const directiveDef = getDirectiveDef(constructor);
- if (directiveDef) {
- return {
- inputs: directiveDef.inputs,
- outputs: directiveDef.outputs
- };
- }
- return null;
- }
- /**
- * Retrieve map of local references.
- *
- * The references are retrieved as a map of local reference name to element or directive instance.
- *
- * @param target DOM element, component or directive instance for which to retrieve
- * the local references.
- */
- function getLocalRefs(target) {
- const context = getLContext(target);
- if (context === null) return {};
- if (context.localRefs === undefined) {
- const lView = context.lView;
- if (lView === null) {
- return {};
- }
- context.localRefs = discoverLocalRefs(lView, context.nodeIndex);
- }
- return context.localRefs || {};
- }
- /**
- * Retrieves the host element of a component or directive instance.
- * The host element is the DOM element that matched the selector of the directive.
- *
- * @param componentOrDirective Component or directive instance for which the host
- * element should be retrieved.
- * @returns Host element of the target.
- *
- * @publicApi
- * @globalApi ng
- */
- function getHostElement(componentOrDirective) {
- return getLContext(componentOrDirective).native;
- }
- /**
- * Retrieves the rendered text for a given component.
- *
- * This function retrieves the host element of a component and
- * and then returns the `textContent` for that element. This implies
- * that the text returned will include re-projected content of
- * the component as well.
- *
- * @param component The component to return the content text for.
- */
- function getRenderedText(component) {
- const hostElement = getHostElement(component);
- return hostElement.textContent || '';
- }
- /**
- * Retrieves a list of event listeners associated with a DOM element. The list does include host
- * listeners, but it does not include event listeners defined outside of the Angular context
- * (e.g. through `addEventListener`).
- *
- * @usageNotes
- * Given the following DOM structure:
- *
- * ```html
- * <app-root>
- * <div (click)="doSomething()"></div>
- * </app-root>
- * ```
- *
- * Calling `getListeners` on `<div>` will return an object that looks as follows:
- *
- * ```ts
- * {
- * name: 'click',
- * element: <div>,
- * callback: () => doSomething(),
- * useCapture: false
- * }
- * ```
- *
- * @param element Element for which the DOM listeners should be retrieved.
- * @returns Array of event listeners on the DOM element.
- *
- * @publicApi
- * @globalApi ng
- */
- function getListeners(element) {
- ngDevMode && assertDomElement(element);
- const lContext = getLContext(element);
- const lView = lContext === null ? null : lContext.lView;
- if (lView === null) return [];
- const tView = lView[TVIEW];
- const lCleanup = lView[CLEANUP];
- const tCleanup = tView.cleanup;
- const listeners = [];
- if (tCleanup && lCleanup) {
- for (let i = 0; i < tCleanup.length;) {
- const firstParam = tCleanup[i++];
- const secondParam = tCleanup[i++];
- if (typeof firstParam === 'string') {
- const name = firstParam;
- const listenerElement = unwrapRNode(lView[secondParam]);
- const callback = lCleanup[tCleanup[i++]];
- const useCaptureOrIndx = tCleanup[i++]; // if useCaptureOrIndx is boolean then report it as is.
- // if useCaptureOrIndx is positive number then it in unsubscribe method
- // if useCaptureOrIndx is negative number then it is a Subscription
- const type = typeof useCaptureOrIndx === 'boolean' || useCaptureOrIndx >= 0 ? 'dom' : 'output';
- const useCapture = typeof useCaptureOrIndx === 'boolean' ? useCaptureOrIndx : false;
- if (element == listenerElement) {
- listeners.push({
- element,
- name,
- callback,
- useCapture,
- type
- });
- }
- }
- }
- }
- listeners.sort(sortListeners);
- return listeners;
- }
- function sortListeners(a, b) {
- if (a.name == b.name) return 0;
- return a.name < b.name ? -1 : 1;
- }
- /**
- * This function should not exist because it is megamorphic and only mostly correct.
- *
- * See call site for more info.
- */
- function isDirectiveDefHack(obj) {
- return obj.type !== undefined && obj.template !== undefined && obj.declaredInputs !== undefined;
- }
- /**
- * Returns the attached `DebugNode` instance for an element in the DOM.
- *
- * @param element DOM element which is owned by an existing component's view.
- */
- function getDebugNode$1(element) {
- if (ngDevMode && !(element instanceof Node)) {
- throw new Error('Expecting instance of DOM Element');
- }
- const lContext = getLContext(element);
- const lView = lContext ? lContext.lView : null;
- if (lView === null) {
- return null;
- }
- const nodeIndex = lContext.nodeIndex;
- if (nodeIndex !== -1) {
- const valueInLView = lView[nodeIndex]; // this means that value in the lView is a component with its own
- // data. In this situation the TNode is not accessed at the same spot.
- const tNode = isLView(valueInLView) ? valueInLView[T_HOST] : getTNode(lView[TVIEW], nodeIndex);
- ngDevMode && assertEqual(tNode.index, nodeIndex, 'Expecting that TNode at index is same as index');
- return buildDebugNode(tNode, lView);
- }
- return null;
- }
- /**
- * Retrieve the component `LView` from component/element.
- *
- * NOTE: `LView` is a private and should not be leaked outside.
- * Don't export this method to `ng.*` on window.
- *
- * @param target DOM element or component instance for which to retrieve the LView.
- */
- function getComponentLView(target) {
- const lContext = getLContext(target);
- const nodeIndx = lContext.nodeIndex;
- const lView = lContext.lView;
- ngDevMode && assertLView(lView);
- const componentLView = lView[nodeIndx];
- ngDevMode && assertLView(componentLView);
- return componentLView;
- }
- /** Asserts that a value is a DOM Element. */
- function assertDomElement(value) {
- if (typeof Element !== 'undefined' && !(value instanceof Element)) {
- throw new Error('Expecting instance of DOM Element');
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Adds decorator, constructor, and property metadata to a given type via static metadata fields
- * on the type.
- *
- * These metadata fields can later be read with Angular's `ReflectionCapabilities` API.
- *
- * Calls to `setClassMetadata` can be guarded by ngDevMode, resulting in the metadata assignments
- * being tree-shaken away during production builds.
- */
- function setClassMetadata(type, decorators, ctorParameters, propDecorators) {
- return noSideEffects(() => {
- const clazz = type;
- if (decorators !== null) {
- if (clazz.hasOwnProperty('decorators') && clazz.decorators !== undefined) {
- clazz.decorators.push(...decorators);
- } else {
- clazz.decorators = decorators;
- }
- }
- if (ctorParameters !== null) {
- // Rather than merging, clobber the existing parameters. If other projects exist which
- // use tsickle-style annotations and reflect over them in the same way, this could
- // cause issues, but that is vanishingly unlikely.
- clazz.ctorParameters = ctorParameters;
- }
- if (propDecorators !== null) {
- // The property decorator objects are merged as it is possible different fields have
- // different decorator types. Decorators on individual fields are not merged, as it's
- // also incredibly unlikely that a field will be decorated both with an Angular
- // decorator and a non-Angular decorator that's also been downleveled.
- if (clazz.hasOwnProperty('propDecorators') && clazz.propDecorators !== undefined) {
- clazz.propDecorators = Object.assign(Object.assign({}, clazz.propDecorators), propDecorators);
- } else {
- clazz.propDecorators = propDecorators;
- }
- }
- });
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Bindings for pure functions are stored after regular bindings.
- *
- * |-------decls------|---------vars---------| |----- hostVars (dir1) ------|
- * ------------------------------------------------------------------------------------------
- * | nodes/refs/pipes | bindings | fn slots | injector | dir1 | host bindings | host slots |
- * ------------------------------------------------------------------------------------------
- * ^ ^
- * TView.bindingStartIndex TView.expandoStartIndex
- *
- * Pure function instructions are given an offset from the binding root. Adding the offset to the
- * binding root gives the first index where the bindings are stored. In component views, the binding
- * root is the bindingStartIndex. In host bindings, the binding root is the expandoStartIndex +
- * any directive instances + any hostVars in directives evaluated before it.
- *
- * See VIEW_DATA.md for more information about host binding resolution.
- */
- /**
- * If the value hasn't been saved, calls the pure function to store and return the
- * value. If it has been saved, returns the saved value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn Function that returns a value
- * @param thisArg Optional calling context of pureFn
- * @returns value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction0(slotOffset, pureFn, thisArg) {
- const bindingIndex = getBindingRoot() + slotOffset;
- const lView = getLView();
- return lView[bindingIndex] === NO_CHANGE ? updateBinding(lView, bindingIndex, thisArg ? pureFn.call(thisArg) : pureFn()) : getBinding(lView, bindingIndex);
- }
- /**
- * If the value of the provided exp has changed, calls the pure function to return
- * an updated value. Or if the value has not changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn Function that returns an updated value
- * @param exp Updated expression value
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction1(slotOffset, pureFn, exp, thisArg) {
- return pureFunction1Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp, thisArg);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction2(slotOffset, pureFn, exp1, exp2, thisArg) {
- return pureFunction2Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, thisArg);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param exp3
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction3(slotOffset, pureFn, exp1, exp2, exp3, thisArg) {
- return pureFunction3Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, exp3, thisArg);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param exp3
- * @param exp4
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction4(slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {
- return pureFunction4Internal(getLView(), getBindingRoot(), slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param exp3
- * @param exp4
- * @param exp5
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction5(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, thisArg) {
- const bindingIndex = getBindingRoot() + slotOffset;
- const lView = getLView();
- const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
- 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);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param exp3
- * @param exp4
- * @param exp5
- * @param exp6
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction6(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, thisArg) {
- const bindingIndex = getBindingRoot() + slotOffset;
- const lView = getLView();
- const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
- 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);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param exp3
- * @param exp4
- * @param exp5
- * @param exp6
- * @param exp7
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction7(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, thisArg) {
- const bindingIndex = getBindingRoot() + slotOffset;
- const lView = getLView();
- let different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
- 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);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param exp3
- * @param exp4
- * @param exp5
- * @param exp6
- * @param exp7
- * @param exp8
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunction8(slotOffset, pureFn, exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8, thisArg) {
- const bindingIndex = getBindingRoot() + slotOffset;
- const lView = getLView();
- const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
- 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);
- }
- /**
- * pureFunction instruction that can support any number of bindings.
- *
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn A pure function that takes binding values and builds an object or array
- * containing those values.
- * @param exps An array of binding values
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- * @codeGenApi
- */
- function ɵɵpureFunctionV(slotOffset, pureFn, exps, thisArg) {
- return pureFunctionVInternal(getLView(), getBindingRoot(), slotOffset, pureFn, exps, thisArg);
- }
- /**
- * Results of a pure function invocation are stored in LView in a dedicated slot that is initialized
- * to NO_CHANGE. In rare situations a pure pipe might throw an exception on the very first
- * invocation and not produce any valid results. In this case LView would keep holding the NO_CHANGE
- * value. The NO_CHANGE is not something that we can use in expressions / bindings thus we convert
- * it to `undefined`.
- */
- function getPureFunctionReturnValue(lView, returnValueIndex) {
- ngDevMode && assertIndexInRange(lView, returnValueIndex);
- const lastReturnValue = lView[returnValueIndex];
- return lastReturnValue === NO_CHANGE ? undefined : lastReturnValue;
- }
- /**
- * If the value of the provided exp has changed, calls the pure function to return
- * an updated value. Or if the value has not changed, returns cached value.
- *
- * @param lView LView in which the function is being executed.
- * @param bindingRoot Binding root index.
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn Function that returns an updated value
- * @param exp Updated expression value
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- */
- function pureFunction1Internal(lView, bindingRoot, slotOffset, pureFn, exp, thisArg) {
- const bindingIndex = bindingRoot + slotOffset;
- return bindingUpdated(lView, bindingIndex, exp) ? updateBinding(lView, bindingIndex + 1, thisArg ? pureFn.call(thisArg, exp) : pureFn(exp)) : getPureFunctionReturnValue(lView, bindingIndex + 1);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param lView LView in which the function is being executed.
- * @param bindingRoot Binding root index.
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- */
- function pureFunction2Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, thisArg) {
- const bindingIndex = bindingRoot + slotOffset;
- return bindingUpdated2(lView, bindingIndex, exp1, exp2) ? updateBinding(lView, bindingIndex + 2, thisArg ? pureFn.call(thisArg, exp1, exp2) : pureFn(exp1, exp2)) : getPureFunctionReturnValue(lView, bindingIndex + 2);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param lView LView in which the function is being executed.
- * @param bindingRoot Binding root index.
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param exp3
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- */
- function pureFunction3Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, exp3, thisArg) {
- const bindingIndex = bindingRoot + slotOffset;
- 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);
- }
- /**
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param lView LView in which the function is being executed.
- * @param bindingRoot Binding root index.
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn
- * @param exp1
- * @param exp2
- * @param exp3
- * @param exp4
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- *
- */
- function pureFunction4Internal(lView, bindingRoot, slotOffset, pureFn, exp1, exp2, exp3, exp4, thisArg) {
- const bindingIndex = bindingRoot + slotOffset;
- 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);
- }
- /**
- * pureFunction instruction that can support any number of bindings.
- *
- * If the value of any provided exp has changed, calls the pure function to return
- * an updated value. Or if no values have changed, returns cached value.
- *
- * @param lView LView in which the function is being executed.
- * @param bindingRoot Binding root index.
- * @param slotOffset the offset from binding root to the reserved slot
- * @param pureFn A pure function that takes binding values and builds an object or array
- * containing those values.
- * @param exps An array of binding values
- * @param thisArg Optional calling context of pureFn
- * @returns Updated or cached value
- */
- function pureFunctionVInternal(lView, bindingRoot, slotOffset, pureFn, exps, thisArg) {
- let bindingIndex = bindingRoot + slotOffset;
- let different = false;
- for (let i = 0; i < exps.length; i++) {
- bindingUpdated(lView, bindingIndex++, exps[i]) && (different = true);
- }
- return different ? updateBinding(lView, bindingIndex, pureFn.apply(thisArg, exps)) : getPureFunctionReturnValue(lView, bindingIndex);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Create a pipe.
- *
- * @param index Pipe index where the pipe will be stored.
- * @param pipeName The name of the pipe
- * @returns T the instance of the pipe.
- *
- * @codeGenApi
- */
- function ɵɵpipe(index, pipeName) {
- const tView = getTView();
- let pipeDef;
- const adjustedIndex = index + HEADER_OFFSET;
- if (tView.firstCreatePass) {
- // The `getPipeDef` throws if a pipe with a given name is not found
- // (so we use non-null assertion below).
- pipeDef = getPipeDef(pipeName, tView.pipeRegistry);
- tView.data[adjustedIndex] = pipeDef;
- if (pipeDef.onDestroy) {
- (tView.destroyHooks || (tView.destroyHooks = [])).push(adjustedIndex, pipeDef.onDestroy);
- }
- } else {
- pipeDef = tView.data[adjustedIndex];
- }
- const pipeFactory = pipeDef.factory || (pipeDef.factory = getFactoryDef(pipeDef.type, true));
- const previousInjectImplementation = setInjectImplementation(ɵɵdirectiveInject);
- try {
- // DI for pipes is supposed to behave like directives when placed on a component
- // host node, which means that we have to disable access to `viewProviders`.
- const previousIncludeViewProviders = setIncludeViewProviders(false);
- const pipeInstance = pipeFactory();
- setIncludeViewProviders(previousIncludeViewProviders);
- store(tView, getLView(), adjustedIndex, pipeInstance);
- return pipeInstance;
- } finally {
- // we have to restore the injector implementation in finally, just in case the creation of the
- // pipe throws an error.
- setInjectImplementation(previousInjectImplementation);
- }
- }
- /**
- * Searches the pipe registry for a pipe with the given name. If one is found,
- * returns the pipe. Otherwise, an error is thrown because the pipe cannot be resolved.
- *
- * @param name Name of pipe to resolve
- * @param registry Full list of available pipes
- * @returns Matching PipeDef
- */
- function getPipeDef(name, registry) {
- if (registry) {
- for (let i = registry.length - 1; i >= 0; i--) {
- const pipeDef = registry[i];
- if (name === pipeDef.name) {
- return pipeDef;
- }
- }
- }
- if (ngDevMode) {
- throw new RuntimeError(-302
- /* RuntimeErrorCode.PIPE_NOT_FOUND */
- , getPipeNotFoundErrorMessage(name));
- }
- }
- /**
- * Generates a helpful error message for the user when a pipe is not found.
- *
- * @param name Name of the missing pipe
- * @returns The error message
- */
- function getPipeNotFoundErrorMessage(name) {
- const lView = getLView();
- const declarationLView = lView[DECLARATION_COMPONENT_VIEW];
- const context = declarationLView[CONTEXT];
- const hostIsStandalone = isHostComponentStandalone(lView);
- const componentInfoMessage = context ? ` in the '${context.constructor.name}' component` : '';
- const verifyMessage = `Verify that it is ${hostIsStandalone ? 'included in the \'@Component.imports\' of this component' : 'declared or imported in this module'}`;
- const errorMessage = `The pipe '${name}' could not be found${componentInfoMessage}. ${verifyMessage}`;
- return errorMessage;
- }
- /**
- * Invokes a pipe with 1 arguments.
- *
- * This instruction acts as a guard to {@link PipeTransform#transform} invoking
- * the pipe only when an input to the pipe changes.
- *
- * @param index Pipe index where the pipe was stored on creation.
- * @param slotOffset the offset in the reserved slot space
- * @param v1 1st argument to {@link PipeTransform#transform}.
- *
- * @codeGenApi
- */
- function ɵɵpipeBind1(index, slotOffset, v1) {
- const adjustedIndex = index + HEADER_OFFSET;
- const lView = getLView();
- const pipeInstance = load(lView, adjustedIndex);
- return isPure(lView, adjustedIndex) ? pureFunction1Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, pipeInstance) : pipeInstance.transform(v1);
- }
- /**
- * Invokes a pipe with 2 arguments.
- *
- * This instruction acts as a guard to {@link PipeTransform#transform} invoking
- * the pipe only when an input to the pipe changes.
- *
- * @param index Pipe index where the pipe was stored on creation.
- * @param slotOffset the offset in the reserved slot space
- * @param v1 1st argument to {@link PipeTransform#transform}.
- * @param v2 2nd argument to {@link PipeTransform#transform}.
- *
- * @codeGenApi
- */
- function ɵɵpipeBind2(index, slotOffset, v1, v2) {
- const adjustedIndex = index + HEADER_OFFSET;
- const lView = getLView();
- const pipeInstance = load(lView, adjustedIndex);
- return isPure(lView, adjustedIndex) ? pureFunction2Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, pipeInstance) : pipeInstance.transform(v1, v2);
- }
- /**
- * Invokes a pipe with 3 arguments.
- *
- * This instruction acts as a guard to {@link PipeTransform#transform} invoking
- * the pipe only when an input to the pipe changes.
- *
- * @param index Pipe index where the pipe was stored on creation.
- * @param slotOffset the offset in the reserved slot space
- * @param v1 1st argument to {@link PipeTransform#transform}.
- * @param v2 2nd argument to {@link PipeTransform#transform}.
- * @param v3 4rd argument to {@link PipeTransform#transform}.
- *
- * @codeGenApi
- */
- function ɵɵpipeBind3(index, slotOffset, v1, v2, v3) {
- const adjustedIndex = index + HEADER_OFFSET;
- const lView = getLView();
- const pipeInstance = load(lView, adjustedIndex);
- return isPure(lView, adjustedIndex) ? pureFunction3Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, pipeInstance) : pipeInstance.transform(v1, v2, v3);
- }
- /**
- * Invokes a pipe with 4 arguments.
- *
- * This instruction acts as a guard to {@link PipeTransform#transform} invoking
- * the pipe only when an input to the pipe changes.
- *
- * @param index Pipe index where the pipe was stored on creation.
- * @param slotOffset the offset in the reserved slot space
- * @param v1 1st argument to {@link PipeTransform#transform}.
- * @param v2 2nd argument to {@link PipeTransform#transform}.
- * @param v3 3rd argument to {@link PipeTransform#transform}.
- * @param v4 4th argument to {@link PipeTransform#transform}.
- *
- * @codeGenApi
- */
- function ɵɵpipeBind4(index, slotOffset, v1, v2, v3, v4) {
- const adjustedIndex = index + HEADER_OFFSET;
- const lView = getLView();
- const pipeInstance = load(lView, adjustedIndex);
- return isPure(lView, adjustedIndex) ? pureFunction4Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, v4, pipeInstance) : pipeInstance.transform(v1, v2, v3, v4);
- }
- /**
- * Invokes a pipe with variable number of arguments.
- *
- * This instruction acts as a guard to {@link PipeTransform#transform} invoking
- * the pipe only when an input to the pipe changes.
- *
- * @param index Pipe index where the pipe was stored on creation.
- * @param slotOffset the offset in the reserved slot space
- * @param values Array of arguments to pass to {@link PipeTransform#transform} method.
- *
- * @codeGenApi
- */
- function ɵɵpipeBindV(index, slotOffset, values) {
- const adjustedIndex = index + HEADER_OFFSET;
- const lView = getLView();
- const pipeInstance = load(lView, adjustedIndex);
- return isPure(lView, adjustedIndex) ? pureFunctionVInternal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, values, pipeInstance) : pipeInstance.transform.apply(pipeInstance, values);
- }
- function isPure(lView, index) {
- return lView[TVIEW].data[index].pure;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class EventEmitter_ extends rxjs__WEBPACK_IMPORTED_MODULE_0__.Subject {
- constructor(isAsync = false) {
- super();
- this.__isAsync = isAsync;
- }
- emit(value) {
- super.next(value);
- }
- subscribe(observerOrNext, error, complete) {
- var _a, _b, _c;
- let nextFn = observerOrNext;
- let errorFn = error || (() => null);
- let completeFn = complete;
- if (observerOrNext && typeof observerOrNext === 'object') {
- const observer = observerOrNext;
- nextFn = (_a = observer.next) === null || _a === void 0 ? void 0 : _a.bind(observer);
- errorFn = (_b = observer.error) === null || _b === void 0 ? void 0 : _b.bind(observer);
- completeFn = (_c = observer.complete) === null || _c === void 0 ? void 0 : _c.bind(observer);
- }
- if (this.__isAsync) {
- errorFn = _wrapInTimeout(errorFn);
- if (nextFn) {
- nextFn = _wrapInTimeout(nextFn);
- }
- if (completeFn) {
- completeFn = _wrapInTimeout(completeFn);
- }
- }
- const sink = super.subscribe({
- next: nextFn,
- error: errorFn,
- complete: completeFn
- });
- if (observerOrNext instanceof rxjs__WEBPACK_IMPORTED_MODULE_1__.Subscription) {
- observerOrNext.add(sink);
- }
- return sink;
- }
- }
- function _wrapInTimeout(fn) {
- return value => {
- setTimeout(fn, undefined, value);
- };
- }
- /**
- * @publicApi
- */
- const EventEmitter = EventEmitter_;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function symbolIterator() {
- return this._results[getSymbolIterator()]();
- }
- /**
- * An unmodifiable list of items that Angular keeps up to date when the state
- * of the application changes.
- *
- * The type of object that {@link ViewChildren}, {@link ContentChildren}, and {@link QueryList}
- * provide.
- *
- * Implements an iterable interface, therefore it can be used in both ES6
- * javascript `for (var i of items)` loops as well as in Angular templates with
- * `*ngFor="let i of myList"`.
- *
- * Changes can be observed by subscribing to the changes `Observable`.
- *
- * NOTE: In the future this class will implement an `Observable` interface.
- *
- * @usageNotes
- * ### Example
- * ```typescript
- * @Component({...})
- * class Container {
- * @ViewChildren(Item) items:QueryList<Item>;
- * }
- * ```
- *
- * @publicApi
- */
- class QueryList {
- /**
- * @param emitDistinctChangesOnly Whether `QueryList.changes` should fire only when actual change
- * has occurred. Or if it should fire when query is recomputed. (recomputing could resolve in
- * the same result)
- */
- constructor(_emitDistinctChangesOnly = false) {
- this._emitDistinctChangesOnly = _emitDistinctChangesOnly;
- this.dirty = true;
- this._results = [];
- this._changesDetected = false;
- this._changes = null;
- this.length = 0;
- this.first = undefined;
- this.last = undefined; // This function should be declared on the prototype, but doing so there will cause the class
- // declaration to have side-effects and become not tree-shakable. For this reason we do it in
- // the constructor.
- // [getSymbolIterator()](): Iterator<T> { ... }
- const symbol = getSymbolIterator();
- const proto = QueryList.prototype;
- if (!proto[symbol]) proto[symbol] = symbolIterator;
- }
- /**
- * Returns `Observable` of `QueryList` notifying the subscriber of changes.
- */
- get changes() {
- return this._changes || (this._changes = new EventEmitter());
- }
- /**
- * Returns the QueryList entry at `index`.
- */
- get(index) {
- return this._results[index];
- }
- /**
- * See
- * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)
- */
- map(fn) {
- return this._results.map(fn);
- }
- /**
- * See
- * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)
- */
- filter(fn) {
- return this._results.filter(fn);
- }
- /**
- * See
- * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)
- */
- find(fn) {
- return this._results.find(fn);
- }
- /**
- * See
- * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)
- */
- reduce(fn, init) {
- return this._results.reduce(fn, init);
- }
- /**
- * See
- * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)
- */
- forEach(fn) {
- this._results.forEach(fn);
- }
- /**
- * See
- * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)
- */
- some(fn) {
- return this._results.some(fn);
- }
- /**
- * Returns a copy of the internal results list as an Array.
- */
- toArray() {
- return this._results.slice();
- }
- toString() {
- return this._results.toString();
- }
- /**
- * Updates the stored data of the query list, and resets the `dirty` flag to `false`, so that
- * on change detection, it will not notify of changes to the queries, unless a new change
- * occurs.
- *
- * @param resultsTree The query results to store
- * @param identityAccessor Optional function for extracting stable object identity from a value
- * in the array. This function is executed for each element of the query result list while
- * comparing current query list with the new one (provided as a first argument of the `reset`
- * function) to detect if the lists are different. If the function is not provided, elements
- * are compared as is (without any pre-processing).
- */
- reset(resultsTree, identityAccessor) {
- // Cast to `QueryListInternal` so that we can mutate fields which are readonly for the usage of
- // QueryList (but not for QueryList itself.)
- const self = this;
- self.dirty = false;
- const newResultFlat = flatten(resultsTree);
- if (this._changesDetected = !arrayEquals(self._results, newResultFlat, identityAccessor)) {
- self._results = newResultFlat;
- self.length = newResultFlat.length;
- self.last = newResultFlat[this.length - 1];
- self.first = newResultFlat[0];
- }
- }
- /**
- * Triggers a change event by emitting on the `changes` {@link EventEmitter}.
- */
- notifyOnChanges() {
- if (this._changes && (this._changesDetected || !this._emitDistinctChangesOnly)) this._changes.emit(this);
- }
- /** internal */
- setDirty() {
- this.dirty = true;
- }
- /** internal */
- destroy() {
- this.changes.complete();
- this.changes.unsubscribe();
- }
- }
- Symbol.iterator;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents an embedded template that can be used to instantiate embedded views.
- * To instantiate embedded views based on a template, use the `ViewContainerRef`
- * method `createEmbeddedView()`.
- *
- * Access a `TemplateRef` instance by placing a directive on an `<ng-template>`
- * element (or directive prefixed with `*`). The `TemplateRef` for the embedded view
- * is injected into the constructor of the directive,
- * using the `TemplateRef` token.
- *
- * You can also use a `Query` to find a `TemplateRef` associated with
- * a component or a directive.
- *
- * @see `ViewContainerRef`
- * @see [Navigate the Component Tree with DI](guide/dependency-injection-navtree)
- *
- * @publicApi
- */
- class TemplateRef {}
- /**
- * @internal
- * @nocollapse
- */
- TemplateRef.__NG_ELEMENT_ID__ = injectTemplateRef;
- const ViewEngineTemplateRef = TemplateRef; // TODO(alxhub): combine interface and implementation. Currently this is challenging since something
- // in g3 depends on them being separate.
- const R3TemplateRef = class TemplateRef extends ViewEngineTemplateRef {
- constructor(_declarationLView, _declarationTContainer, elementRef) {
- super();
- this._declarationLView = _declarationLView;
- this._declarationTContainer = _declarationTContainer;
- this.elementRef = elementRef;
- }
- createEmbeddedView(context, injector) {
- const embeddedTView = this._declarationTContainer.tViews;
- const embeddedLView = createLView(this._declarationLView, embeddedTView, context, 16
- /* LViewFlags.CheckAlways */
- , null, embeddedTView.declTNode, null, null, null, null, injector || null);
- const declarationLContainer = this._declarationLView[this._declarationTContainer.index];
- ngDevMode && assertLContainer(declarationLContainer);
- embeddedLView[DECLARATION_LCONTAINER] = declarationLContainer;
- const declarationViewLQueries = this._declarationLView[QUERIES];
- if (declarationViewLQueries !== null) {
- embeddedLView[QUERIES] = declarationViewLQueries.createEmbeddedView(embeddedTView);
- }
- renderView(embeddedTView, embeddedLView, context);
- return new ViewRef$1(embeddedLView);
- }
- };
- /**
- * Creates a TemplateRef given a node.
- *
- * @returns The TemplateRef instance to use
- */
- function injectTemplateRef() {
- return createTemplateRef(getCurrentTNode(), getLView());
- }
- /**
- * Creates a TemplateRef and stores it on the injector.
- *
- * @param hostTNode The node on which a TemplateRef is requested
- * @param hostLView The `LView` to which the node belongs
- * @returns The TemplateRef instance or null if we can't create a TemplateRef on a given node type
- */
- function createTemplateRef(hostTNode, hostLView) {
- if (hostTNode.type & 4
- /* TNodeType.Container */
- ) {
- ngDevMode && assertDefined(hostTNode.tViews, 'TView must be allocated');
- return new R3TemplateRef(hostLView, hostTNode, createElementRef(hostTNode, hostLView));
- }
- return null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents a container where one or more views can be attached to a component.
- *
- * Can contain *host views* (created by instantiating a
- * component with the `createComponent()` method), and *embedded views*
- * (created by instantiating a `TemplateRef` with the `createEmbeddedView()` method).
- *
- * A view container instance can contain other view containers,
- * creating a [view hierarchy](guide/glossary#view-tree).
- *
- * @see `ComponentRef`
- * @see `EmbeddedViewRef`
- *
- * @publicApi
- */
- class ViewContainerRef {}
- /**
- * @internal
- * @nocollapse
- */
- ViewContainerRef.__NG_ELEMENT_ID__ = injectViewContainerRef;
- /**
- * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef
- * already exists, retrieves the existing ViewContainerRef.
- *
- * @returns The ViewContainerRef instance to use
- */
- function injectViewContainerRef() {
- const previousTNode = getCurrentTNode();
- return createContainerRef(previousTNode, getLView());
- }
- const VE_ViewContainerRef = ViewContainerRef; // TODO(alxhub): cleaning up this indirection triggers a subtle bug in Closure in g3. Once the fix
- // for that lands, this can be cleaned up.
- const R3ViewContainerRef = class ViewContainerRef extends VE_ViewContainerRef {
- constructor(_lContainer, _hostTNode, _hostLView) {
- super();
- this._lContainer = _lContainer;
- this._hostTNode = _hostTNode;
- this._hostLView = _hostLView;
- }
- get element() {
- return createElementRef(this._hostTNode, this._hostLView);
- }
- get injector() {
- return new NodeInjector(this._hostTNode, this._hostLView);
- }
- /** @deprecated No replacement */
- get parentInjector() {
- const parentLocation = getParentInjectorLocation(this._hostTNode, this._hostLView);
- if (hasParentInjector(parentLocation)) {
- const parentView = getParentInjectorView(parentLocation, this._hostLView);
- const injectorIndex = getParentInjectorIndex(parentLocation);
- ngDevMode && assertNodeInjector(parentView, injectorIndex);
- const parentTNode = parentView[TVIEW].data[injectorIndex + 8
- /* NodeInjectorOffset.TNODE */
- ];
- return new NodeInjector(parentTNode, parentView);
- } else {
- return new NodeInjector(null, this._hostLView);
- }
- }
- clear() {
- while (this.length > 0) {
- this.remove(this.length - 1);
- }
- }
- get(index) {
- const viewRefs = getViewRefs(this._lContainer);
- return viewRefs !== null && viewRefs[index] || null;
- }
- get length() {
- return this._lContainer.length - CONTAINER_HEADER_OFFSET;
- }
- createEmbeddedView(templateRef, context, indexOrOptions) {
- let index;
- let injector;
- if (typeof indexOrOptions === 'number') {
- index = indexOrOptions;
- } else if (indexOrOptions != null) {
- index = indexOrOptions.index;
- injector = indexOrOptions.injector;
- }
- const viewRef = templateRef.createEmbeddedView(context || {}, injector);
- this.insert(viewRef, index);
- return viewRef;
- }
- createComponent(componentFactoryOrType, indexOrOptions, injector, projectableNodes, environmentInjector) {
- const isComponentFactory = componentFactoryOrType && !isType(componentFactoryOrType);
- let index; // This function supports 2 signatures and we need to handle options correctly for both:
- // 1. When first argument is a Component type. This signature also requires extra
- // options to be provided as as object (more ergonomic option).
- // 2. First argument is a Component factory. In this case extra options are represented as
- // positional arguments. This signature is less ergonomic and will be deprecated.
- if (isComponentFactory) {
- if (ngDevMode) {
- 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)');
- }
- index = indexOrOptions;
- } else {
- if (ngDevMode) {
- assertDefined(getComponentDef(componentFactoryOrType), `Provided Component class doesn't contain Component definition. ` + `Please check whether provided class has @Component decorator.`);
- 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.');
- }
- const options = indexOrOptions || {};
- if (ngDevMode && options.environmentInjector && options.ngModuleRef) {
- throwError(`Cannot pass both environmentInjector and ngModuleRef options to createComponent().`);
- }
- index = options.index;
- injector = options.injector;
- projectableNodes = options.projectableNodes;
- environmentInjector = options.environmentInjector || options.ngModuleRef;
- }
- const componentFactory = isComponentFactory ? componentFactoryOrType : new ComponentFactory(getComponentDef(componentFactoryOrType));
- const contextInjector = injector || this.parentInjector; // If an `NgModuleRef` is not provided explicitly, try retrieving it from the DI tree.
- if (!environmentInjector && componentFactory.ngModule == null) {
- // For the `ComponentFactory` case, entering this logic is very unlikely, since we expect that
- // an instance of a `ComponentFactory`, resolved via `ComponentFactoryResolver` would have an
- // `ngModule` field. This is possible in some test scenarios and potentially in some JIT-based
- // use-cases. For the `ComponentFactory` case we preserve backwards-compatibility and try
- // using a provided injector first, then fall back to the parent injector of this
- // `ViewContainerRef` instance.
- //
- // For the factory-less case, it's critical to establish a connection with the module
- // injector tree (by retrieving an instance of an `NgModuleRef` and accessing its injector),
- // so that a component can use DI tokens provided in MgModules. For this reason, we can not
- // rely on the provided injector, since it might be detached from the DI tree (for example, if
- // it was created via `Injector.create` without specifying a parent injector, or if an
- // injector is retrieved from an `NgModuleRef` created via `createNgModule` using an
- // NgModule outside of a module tree). Instead, we always use `ViewContainerRef`'s parent
- // injector, which is normally connected to the DI tree, which includes module injector
- // subtree.
- const _injector = isComponentFactory ? contextInjector : this.parentInjector; // DO NOT REFACTOR. The code here used to have a `injector.get(NgModuleRef, null) ||
- // undefined` expression which seems to cause internal google apps to fail. This is documented
- // in the following internal bug issue: go/b/142967802
- const result = _injector.get(EnvironmentInjector, null);
- if (result) {
- environmentInjector = result;
- }
- }
- const componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, environmentInjector);
- this.insert(componentRef.hostView, index);
- return componentRef;
- }
- insert(viewRef, index) {
- const lView = viewRef._lView;
- const tView = lView[TVIEW];
- if (ngDevMode && viewRef.destroyed) {
- throw new Error('Cannot insert a destroyed View in a ViewContainer!');
- }
- if (viewAttachedToContainer(lView)) {
- // If view is already attached, detach it first so we clean up references appropriately.
- const prevIdx = this.indexOf(viewRef); // A view might be attached either to this or a different container. The `prevIdx` for
- // those cases will be:
- // equal to -1 for views attached to this ViewContainerRef
- // >= 0 for views attached to a different ViewContainerRef
- if (prevIdx !== -1) {
- this.detach(prevIdx);
- } else {
- const prevLContainer = lView[PARENT];
- 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
- // LView (nor anywhere else).
- const prevVCRef = new R3ViewContainerRef(prevLContainer, prevLContainer[T_HOST], prevLContainer[PARENT]);
- prevVCRef.detach(prevVCRef.indexOf(viewRef));
- }
- } // Logical operation of adding `LView` to `LContainer`
- const adjustedIdx = this._adjustIndex(index);
- const lContainer = this._lContainer;
- insertView(tView, lView, lContainer, adjustedIdx); // Physical operation of adding the DOM nodes.
- const beforeNode = getBeforeNodeForView(adjustedIdx, lContainer);
- const renderer = lView[RENDERER];
- const parentRNode = nativeParentNode(renderer, lContainer[NATIVE]);
- if (parentRNode !== null) {
- addViewToContainer(tView, lContainer[T_HOST], renderer, lView, parentRNode, beforeNode);
- }
- viewRef.attachToViewContainerRef();
- addToArray(getOrCreateViewRefs(lContainer), adjustedIdx, viewRef);
- return viewRef;
- }
- move(viewRef, newIndex) {
- if (ngDevMode && viewRef.destroyed) {
- throw new Error('Cannot move a destroyed View in a ViewContainer!');
- }
- return this.insert(viewRef, newIndex);
- }
- indexOf(viewRef) {
- const viewRefsArr = getViewRefs(this._lContainer);
- return viewRefsArr !== null ? viewRefsArr.indexOf(viewRef) : -1;
- }
- remove(index) {
- const adjustedIdx = this._adjustIndex(index, -1);
- const detachedView = detachView(this._lContainer, adjustedIdx);
- if (detachedView) {
- // Before destroying the view, remove it from the container's array of `ViewRef`s.
- // This ensures the view container length is updated before calling
- // `destroyLView`, which could recursively call view container methods that
- // rely on an accurate container length.
- // (e.g. a method on this view container being called by a child directive's OnDestroy
- // lifecycle hook)
- removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx);
- destroyLView(detachedView[TVIEW], detachedView);
- }
- }
- detach(index) {
- const adjustedIdx = this._adjustIndex(index, -1);
- const view = detachView(this._lContainer, adjustedIdx);
- const wasDetached = view && removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx) != null;
- return wasDetached ? new ViewRef$1(view) : null;
- }
- _adjustIndex(index, shift = 0) {
- if (index == null) {
- return this.length + shift;
- }
- if (ngDevMode) {
- assertGreaterThan(index, -1, `ViewRef index must be positive, got ${index}`); // +1 because it's legal to insert at the end.
- assertLessThan(index, this.length + 1 + shift, 'index');
- }
- return index;
- }
- };
- function getViewRefs(lContainer) {
- return lContainer[VIEW_REFS];
- }
- function getOrCreateViewRefs(lContainer) {
- return lContainer[VIEW_REFS] || (lContainer[VIEW_REFS] = []);
- }
- /**
- * Creates a ViewContainerRef and stores it on the injector.
- *
- * @param ViewContainerRefToken The ViewContainerRef type
- * @param ElementRefToken The ElementRef type
- * @param hostTNode The node that is requesting a ViewContainerRef
- * @param hostLView The view to which the node belongs
- * @returns The ViewContainerRef instance to use
- */
- function createContainerRef(hostTNode, hostLView) {
- ngDevMode && assertTNodeType(hostTNode, 12
- /* TNodeType.AnyContainer */
- | 3
- /* TNodeType.AnyRNode */
- );
- let lContainer;
- const slotValue = hostLView[hostTNode.index];
- if (isLContainer(slotValue)) {
- // If the host is a container, we don't need to create a new LContainer
- lContainer = slotValue;
- } else {
- let commentNode; // If the host is an element container, the native host element is guaranteed to be a
- // comment and we can reuse that comment as anchor element for the new LContainer.
- // The comment node in question is already part of the DOM structure so we don't need to append
- // it again.
- if (hostTNode.type & 8
- /* TNodeType.ElementContainer */
- ) {
- commentNode = unwrapRNode(slotValue);
- } else {
- // If the host is a regular element, we have to insert a comment node manually which will
- // be used as an anchor when inserting elements. In this specific case we use low-level DOM
- // manipulation to insert it.
- const renderer = hostLView[RENDERER];
- ngDevMode && ngDevMode.rendererCreateComment++;
- commentNode = renderer.createComment(ngDevMode ? 'container' : '');
- const hostNative = getNativeByTNode(hostTNode, hostLView);
- const parentOfHostNative = nativeParentNode(renderer, hostNative);
- nativeInsertBefore(renderer, parentOfHostNative, commentNode, nativeNextSibling(renderer, hostNative), false);
- }
- hostLView[hostTNode.index] = lContainer = createLContainer(slotValue, hostLView, commentNode, hostTNode);
- addToViewTree(hostLView, lContainer);
- }
- return new R3ViewContainerRef(lContainer, hostTNode, hostLView);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd$1 = 1;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // Note: This hack is necessary so we don't erroneously get a circular dependency
- // failure based on types.
- const unusedValueExportToPlacateAjd = 1;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const unusedValueToPlacateAjd = unusedValueExportToPlacateAjd$1 + unusedValueExportToPlacateAjd$6 + unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd;
- class LQuery_ {
- constructor(queryList) {
- this.queryList = queryList;
- this.matches = null;
- }
- clone() {
- return new LQuery_(this.queryList);
- }
- setDirty() {
- this.queryList.setDirty();
- }
- }
- class LQueries_ {
- constructor(queries = []) {
- this.queries = queries;
- }
- createEmbeddedView(tView) {
- const tQueries = tView.queries;
- if (tQueries !== null) {
- const noOfInheritedQueries = tView.contentQueries !== null ? tView.contentQueries[0] : tQueries.length;
- const viewLQueries = []; // An embedded view has queries propagated from a declaration view at the beginning of the
- // TQueries collection and up until a first content query declared in the embedded view. Only
- // propagated LQueries are created at this point (LQuery corresponding to declared content
- // queries will be instantiated from the content query instructions for each directive).
- for (let i = 0; i < noOfInheritedQueries; i++) {
- const tQuery = tQueries.getByIndex(i);
- const parentLQuery = this.queries[tQuery.indexInDeclarationView];
- viewLQueries.push(parentLQuery.clone());
- }
- return new LQueries_(viewLQueries);
- }
- return null;
- }
- insertView(tView) {
- this.dirtyQueriesWithMatches(tView);
- }
- detachView(tView) {
- this.dirtyQueriesWithMatches(tView);
- }
- dirtyQueriesWithMatches(tView) {
- for (let i = 0; i < this.queries.length; i++) {
- if (getTQuery(tView, i).matches !== null) {
- this.queries[i].setDirty();
- }
- }
- }
- }
- class TQueryMetadata_ {
- constructor(predicate, flags, read = null) {
- this.predicate = predicate;
- this.flags = flags;
- this.read = read;
- }
- }
- class TQueries_ {
- constructor(queries = []) {
- this.queries = queries;
- }
- elementStart(tView, tNode) {
- ngDevMode && assertFirstCreatePass(tView, 'Queries should collect results on the first template pass only');
- for (let i = 0; i < this.queries.length; i++) {
- this.queries[i].elementStart(tView, tNode);
- }
- }
- elementEnd(tNode) {
- for (let i = 0; i < this.queries.length; i++) {
- this.queries[i].elementEnd(tNode);
- }
- }
- embeddedTView(tNode) {
- let queriesForTemplateRef = null;
- for (let i = 0; i < this.length; i++) {
- const childQueryIndex = queriesForTemplateRef !== null ? queriesForTemplateRef.length : 0;
- const tqueryClone = this.getByIndex(i).embeddedTView(tNode, childQueryIndex);
- if (tqueryClone) {
- tqueryClone.indexInDeclarationView = i;
- if (queriesForTemplateRef !== null) {
- queriesForTemplateRef.push(tqueryClone);
- } else {
- queriesForTemplateRef = [tqueryClone];
- }
- }
- }
- return queriesForTemplateRef !== null ? new TQueries_(queriesForTemplateRef) : null;
- }
- template(tView, tNode) {
- ngDevMode && assertFirstCreatePass(tView, 'Queries should collect results on the first template pass only');
- for (let i = 0; i < this.queries.length; i++) {
- this.queries[i].template(tView, tNode);
- }
- }
- getByIndex(index) {
- ngDevMode && assertIndexInRange(this.queries, index);
- return this.queries[index];
- }
- get length() {
- return this.queries.length;
- }
- track(tquery) {
- this.queries.push(tquery);
- }
- }
- class TQuery_ {
- constructor(metadata, nodeIndex = -1) {
- this.metadata = metadata;
- this.matches = null;
- this.indexInDeclarationView = -1;
- this.crossesNgTemplate = false;
- /**
- * A flag indicating if a given query still applies to nodes it is crossing. We use this flag
- * (alongside with _declarationNodeIndex) to know when to stop applying content queries to
- * elements in a template.
- */
- this._appliesToNextNode = true;
- this._declarationNodeIndex = nodeIndex;
- }
- elementStart(tView, tNode) {
- if (this.isApplyingToNode(tNode)) {
- this.matchTNode(tView, tNode);
- }
- }
- elementEnd(tNode) {
- if (this._declarationNodeIndex === tNode.index) {
- this._appliesToNextNode = false;
- }
- }
- template(tView, tNode) {
- this.elementStart(tView, tNode);
- }
- embeddedTView(tNode, childQueryIndex) {
- if (this.isApplyingToNode(tNode)) {
- this.crossesNgTemplate = true; // A marker indicating a `<ng-template>` element (a placeholder for query results from
- // embedded views created based on this `<ng-template>`).
- this.addMatch(-tNode.index, childQueryIndex);
- return new TQuery_(this.metadata);
- }
- return null;
- }
- isApplyingToNode(tNode) {
- if (this._appliesToNextNode && (this.metadata.flags & 1
- /* QueryFlags.descendants */
- ) !== 1
- /* QueryFlags.descendants */
- ) {
- const declarationNodeIdx = this._declarationNodeIndex;
- let parent = tNode.parent; // Determine if a given TNode is a "direct" child of a node on which a content query was
- // declared (only direct children of query's host node can match with the descendants: false
- // option). There are 3 main use-case / conditions to consider here:
- // - <needs-target><i #target></i></needs-target>: here <i #target> parent node is a query
- // host node;
- // - <needs-target><ng-template [ngIf]="true"><i #target></i></ng-template></needs-target>:
- // here <i #target> parent node is null;
- // - <needs-target><ng-container><i #target></i></ng-container></needs-target>: here we need
- // to go past `<ng-container>` to determine <i #target> parent node (but we shouldn't traverse
- // up past the query's host node!).
- while (parent !== null && parent.type & 8
- /* TNodeType.ElementContainer */
- && parent.index !== declarationNodeIdx) {
- parent = parent.parent;
- }
- return declarationNodeIdx === (parent !== null ? parent.index : -1);
- }
- return this._appliesToNextNode;
- }
- matchTNode(tView, tNode) {
- const predicate = this.metadata.predicate;
- if (Array.isArray(predicate)) {
- for (let i = 0; i < predicate.length; i++) {
- const name = predicate[i];
- this.matchTNodeWithReadOption(tView, tNode, getIdxOfMatchingSelector(tNode, name)); // Also try matching the name to a provider since strings can be used as DI tokens too.
- this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, name, false, false));
- }
- } else {
- if (predicate === TemplateRef) {
- if (tNode.type & 4
- /* TNodeType.Container */
- ) {
- this.matchTNodeWithReadOption(tView, tNode, -1);
- }
- } else {
- this.matchTNodeWithReadOption(tView, tNode, locateDirectiveOrProvider(tNode, tView, predicate, false, false));
- }
- }
- }
- matchTNodeWithReadOption(tView, tNode, nodeMatchIdx) {
- if (nodeMatchIdx !== null) {
- const read = this.metadata.read;
- if (read !== null) {
- if (read === ElementRef || read === ViewContainerRef || read === TemplateRef && tNode.type & 4
- /* TNodeType.Container */
- ) {
- this.addMatch(tNode.index, -2);
- } else {
- const directiveOrProviderIdx = locateDirectiveOrProvider(tNode, tView, read, false, false);
- if (directiveOrProviderIdx !== null) {
- this.addMatch(tNode.index, directiveOrProviderIdx);
- }
- }
- } else {
- this.addMatch(tNode.index, nodeMatchIdx);
- }
- }
- }
- addMatch(tNodeIdx, matchIdx) {
- if (this.matches === null) {
- this.matches = [tNodeIdx, matchIdx];
- } else {
- this.matches.push(tNodeIdx, matchIdx);
- }
- }
- }
- /**
- * Iterates over local names for a given node and returns directive index
- * (or -1 if a local name points to an element).
- *
- * @param tNode static data of a node to check
- * @param selector selector to match
- * @returns directive index, -1 or null if a selector didn't match any of the local names
- */
- function getIdxOfMatchingSelector(tNode, selector) {
- const localNames = tNode.localNames;
- if (localNames !== null) {
- for (let i = 0; i < localNames.length; i += 2) {
- if (localNames[i] === selector) {
- return localNames[i + 1];
- }
- }
- }
- return null;
- }
- function createResultByTNodeType(tNode, currentView) {
- if (tNode.type & (3
- /* TNodeType.AnyRNode */
- | 8
- /* TNodeType.ElementContainer */
- )) {
- return createElementRef(tNode, currentView);
- } else if (tNode.type & 4
- /* TNodeType.Container */
- ) {
- return createTemplateRef(tNode, currentView);
- }
- return null;
- }
- function createResultForNode(lView, tNode, matchingIdx, read) {
- if (matchingIdx === -1) {
- // if read token and / or strategy is not specified, detect it using appropriate tNode type
- return createResultByTNodeType(tNode, lView);
- } else if (matchingIdx === -2) {
- // read a special token from a node injector
- return createSpecialToken(lView, tNode, read);
- } else {
- // read a token
- return getNodeInjectable(lView, lView[TVIEW], matchingIdx, tNode);
- }
- }
- function createSpecialToken(lView, tNode, read) {
- if (read === ElementRef) {
- return createElementRef(tNode, lView);
- } else if (read === TemplateRef) {
- return createTemplateRef(tNode, lView);
- } else if (read === ViewContainerRef) {
- ngDevMode && assertTNodeType(tNode, 3
- /* TNodeType.AnyRNode */
- | 12
- /* TNodeType.AnyContainer */
- );
- return createContainerRef(tNode, lView);
- } else {
- ngDevMode && throwError(`Special token to read should be one of ElementRef, TemplateRef or ViewContainerRef but got ${stringify(read)}.`);
- }
- }
- /**
- * A helper function that creates query results for a given view. This function is meant to do the
- * processing once and only once for a given view instance (a set of results for a given view
- * doesn't change).
- */
- function materializeViewResults(tView, lView, tQuery, queryIndex) {
- const lQuery = lView[QUERIES].queries[queryIndex];
- if (lQuery.matches === null) {
- const tViewData = tView.data;
- const tQueryMatches = tQuery.matches;
- const result = [];
- for (let i = 0; i < tQueryMatches.length; i += 2) {
- const matchedNodeIdx = tQueryMatches[i];
- if (matchedNodeIdx < 0) {
- // we at the <ng-template> marker which might have results in views created based on this
- // <ng-template> - those results will be in separate views though, so here we just leave
- // null as a placeholder
- result.push(null);
- } else {
- ngDevMode && assertIndexInRange(tViewData, matchedNodeIdx);
- const tNode = tViewData[matchedNodeIdx];
- result.push(createResultForNode(lView, tNode, tQueryMatches[i + 1], tQuery.metadata.read));
- }
- }
- lQuery.matches = result;
- }
- return lQuery.matches;
- }
- /**
- * A helper function that collects (already materialized) query results from a tree of views,
- * starting with a provided LView.
- */
- function collectQueryResults(tView, lView, queryIndex, result) {
- const tQuery = tView.queries.getByIndex(queryIndex);
- const tQueryMatches = tQuery.matches;
- if (tQueryMatches !== null) {
- const lViewResults = materializeViewResults(tView, lView, tQuery, queryIndex);
- for (let i = 0; i < tQueryMatches.length; i += 2) {
- const tNodeIdx = tQueryMatches[i];
- if (tNodeIdx > 0) {
- result.push(lViewResults[i / 2]);
- } else {
- const childQueryIndex = tQueryMatches[i + 1];
- const declarationLContainer = lView[-tNodeIdx];
- ngDevMode && assertLContainer(declarationLContainer); // collect matches for views inserted in this container
- for (let i = CONTAINER_HEADER_OFFSET; i < declarationLContainer.length; i++) {
- const embeddedLView = declarationLContainer[i];
- if (embeddedLView[DECLARATION_LCONTAINER] === embeddedLView[PARENT]) {
- collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result);
- }
- } // collect matches for views created from this declaration container and inserted into
- // different containers
- if (declarationLContainer[MOVED_VIEWS] !== null) {
- const embeddedLViews = declarationLContainer[MOVED_VIEWS];
- for (let i = 0; i < embeddedLViews.length; i++) {
- const embeddedLView = embeddedLViews[i];
- collectQueryResults(embeddedLView[TVIEW], embeddedLView, childQueryIndex, result);
- }
- }
- }
- }
- }
- return result;
- }
- /**
- * Refreshes a query by combining matches from all active views and removing matches from deleted
- * views.
- *
- * @returns `true` if a query got dirty during change detection or if this is a static query
- * resolving in creation mode, `false` otherwise.
- *
- * @codeGenApi
- */
- function ɵɵqueryRefresh(queryList) {
- const lView = getLView();
- const tView = getTView();
- const queryIndex = getCurrentQueryIndex();
- setCurrentQueryIndex(queryIndex + 1);
- const tQuery = getTQuery(tView, queryIndex);
- if (queryList.dirty && isCreationMode(lView) === ((tQuery.metadata.flags & 2
- /* QueryFlags.isStatic */
- ) === 2
- /* QueryFlags.isStatic */
- )) {
- if (tQuery.matches === null) {
- queryList.reset([]);
- } else {
- const result = tQuery.crossesNgTemplate ? collectQueryResults(tView, lView, queryIndex, []) : materializeViewResults(tView, lView, tQuery, queryIndex);
- queryList.reset(result, unwrapElementRef);
- queryList.notifyOnChanges();
- }
- return true;
- }
- return false;
- }
- /**
- * Creates new QueryList, stores the reference in LView and returns QueryList.
- *
- * @param predicate The type for which the query will search
- * @param flags Flags associated with the query
- * @param read What to save in the query
- *
- * @codeGenApi
- */
- function ɵɵviewQuery(predicate, flags, read) {
- ngDevMode && assertNumber(flags, 'Expecting flags');
- const tView = getTView();
- if (tView.firstCreatePass) {
- createTQuery(tView, new TQueryMetadata_(predicate, flags, read), -1);
- if ((flags & 2
- /* QueryFlags.isStatic */
- ) === 2
- /* QueryFlags.isStatic */
- ) {
- tView.staticViewQueries = true;
- }
- }
- createLQuery(tView, getLView(), flags);
- }
- /**
- * Registers a QueryList, associated with a content query, for later refresh (part of a view
- * refresh).
- *
- * @param directiveIndex Current directive index
- * @param predicate The type for which the query will search
- * @param flags Flags associated with the query
- * @param read What to save in the query
- * @returns QueryList<T>
- *
- * @codeGenApi
- */
- function ɵɵcontentQuery(directiveIndex, predicate, flags, read) {
- ngDevMode && assertNumber(flags, 'Expecting flags');
- const tView = getTView();
- if (tView.firstCreatePass) {
- const tNode = getCurrentTNode();
- createTQuery(tView, new TQueryMetadata_(predicate, flags, read), tNode.index);
- saveContentQueryAndDirectiveIndex(tView, directiveIndex);
- if ((flags & 2
- /* QueryFlags.isStatic */
- ) === 2
- /* QueryFlags.isStatic */
- ) {
- tView.staticContentQueries = true;
- }
- }
- createLQuery(tView, getLView(), flags);
- }
- /**
- * Loads a QueryList corresponding to the current view or content query.
- *
- * @codeGenApi
- */
- function ɵɵloadQuery() {
- return loadQueryInternal(getLView(), getCurrentQueryIndex());
- }
- function loadQueryInternal(lView, queryIndex) {
- ngDevMode && assertDefined(lView[QUERIES], 'LQueries should be defined when trying to load a query');
- ngDevMode && assertIndexInRange(lView[QUERIES].queries, queryIndex);
- return lView[QUERIES].queries[queryIndex].queryList;
- }
- function createLQuery(tView, lView, flags) {
- const queryList = new QueryList((flags & 4
- /* QueryFlags.emitDistinctChangesOnly */
- ) === 4
- /* QueryFlags.emitDistinctChangesOnly */
- );
- storeCleanupWithContext(tView, lView, queryList, queryList.destroy);
- if (lView[QUERIES] === null) lView[QUERIES] = new LQueries_();
- lView[QUERIES].queries.push(new LQuery_(queryList));
- }
- function createTQuery(tView, metadata, nodeIndex) {
- if (tView.queries === null) tView.queries = new TQueries_();
- tView.queries.track(new TQuery_(metadata, nodeIndex));
- }
- function saveContentQueryAndDirectiveIndex(tView, directiveIndex) {
- const tViewContentQueries = tView.contentQueries || (tView.contentQueries = []);
- const lastSavedDirectiveIndex = tViewContentQueries.length ? tViewContentQueries[tViewContentQueries.length - 1] : -1;
- if (directiveIndex !== lastSavedDirectiveIndex) {
- tViewContentQueries.push(tView.queries.length - 1, directiveIndex);
- }
- }
- function getTQuery(tView, index) {
- ngDevMode && assertDefined(tView.queries, 'TQueries must be defined to retrieve a TQuery');
- return tView.queries.getByIndex(index);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Retrieves `TemplateRef` instance from `Injector` when a local reference is placed on the
- * `<ng-template>` element.
- *
- * @codeGenApi
- */
- function ɵɵtemplateRefExtractor(tNode, lView) {
- return createTemplateRef(tNode, lView);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
- *
- * This should be kept up to date with the public exports of @angular/core.
- */
- const angularCoreEnv = (() => ({
- 'ɵɵattribute': ɵɵattribute,
- 'ɵɵattributeInterpolate1': ɵɵattributeInterpolate1,
- 'ɵɵattributeInterpolate2': ɵɵattributeInterpolate2,
- 'ɵɵattributeInterpolate3': ɵɵattributeInterpolate3,
- 'ɵɵattributeInterpolate4': ɵɵattributeInterpolate4,
- 'ɵɵattributeInterpolate5': ɵɵattributeInterpolate5,
- 'ɵɵattributeInterpolate6': ɵɵattributeInterpolate6,
- 'ɵɵattributeInterpolate7': ɵɵattributeInterpolate7,
- 'ɵɵattributeInterpolate8': ɵɵattributeInterpolate8,
- 'ɵɵattributeInterpolateV': ɵɵattributeInterpolateV,
- 'ɵɵdefineComponent': ɵɵdefineComponent,
- 'ɵɵdefineDirective': ɵɵdefineDirective,
- 'ɵɵdefineInjectable': ɵɵdefineInjectable,
- 'ɵɵdefineInjector': ɵɵdefineInjector,
- 'ɵɵdefineNgModule': ɵɵdefineNgModule,
- 'ɵɵdefinePipe': ɵɵdefinePipe,
- 'ɵɵdirectiveInject': ɵɵdirectiveInject,
- 'ɵɵgetInheritedFactory': ɵɵgetInheritedFactory,
- 'ɵɵinject': ɵɵinject,
- 'ɵɵinjectAttribute': ɵɵinjectAttribute,
- 'ɵɵinvalidFactory': ɵɵinvalidFactory,
- 'ɵɵinvalidFactoryDep': ɵɵinvalidFactoryDep,
- 'ɵɵtemplateRefExtractor': ɵɵtemplateRefExtractor,
- 'ɵɵresetView': ɵɵresetView,
- 'ɵɵNgOnChangesFeature': ɵɵNgOnChangesFeature,
- 'ɵɵProvidersFeature': ɵɵProvidersFeature,
- 'ɵɵCopyDefinitionFeature': ɵɵCopyDefinitionFeature,
- 'ɵɵInheritDefinitionFeature': ɵɵInheritDefinitionFeature,
- 'ɵɵStandaloneFeature': ɵɵStandaloneFeature,
- 'ɵɵnextContext': ɵɵnextContext,
- 'ɵɵnamespaceHTML': ɵɵnamespaceHTML,
- 'ɵɵnamespaceMathML': ɵɵnamespaceMathML,
- 'ɵɵnamespaceSVG': ɵɵnamespaceSVG,
- 'ɵɵenableBindings': ɵɵenableBindings,
- 'ɵɵdisableBindings': ɵɵdisableBindings,
- 'ɵɵelementStart': ɵɵelementStart,
- 'ɵɵelementEnd': ɵɵelementEnd,
- 'ɵɵelement': ɵɵelement,
- 'ɵɵelementContainerStart': ɵɵelementContainerStart,
- 'ɵɵelementContainerEnd': ɵɵelementContainerEnd,
- 'ɵɵelementContainer': ɵɵelementContainer,
- 'ɵɵpureFunction0': ɵɵpureFunction0,
- 'ɵɵpureFunction1': ɵɵpureFunction1,
- 'ɵɵpureFunction2': ɵɵpureFunction2,
- 'ɵɵpureFunction3': ɵɵpureFunction3,
- 'ɵɵpureFunction4': ɵɵpureFunction4,
- 'ɵɵpureFunction5': ɵɵpureFunction5,
- 'ɵɵpureFunction6': ɵɵpureFunction6,
- 'ɵɵpureFunction7': ɵɵpureFunction7,
- 'ɵɵpureFunction8': ɵɵpureFunction8,
- 'ɵɵpureFunctionV': ɵɵpureFunctionV,
- 'ɵɵgetCurrentView': ɵɵgetCurrentView,
- 'ɵɵrestoreView': ɵɵrestoreView,
- 'ɵɵlistener': ɵɵlistener,
- 'ɵɵprojection': ɵɵprojection,
- 'ɵɵsyntheticHostProperty': ɵɵsyntheticHostProperty,
- 'ɵɵsyntheticHostListener': ɵɵsyntheticHostListener,
- 'ɵɵpipeBind1': ɵɵpipeBind1,
- 'ɵɵpipeBind2': ɵɵpipeBind2,
- 'ɵɵpipeBind3': ɵɵpipeBind3,
- 'ɵɵpipeBind4': ɵɵpipeBind4,
- 'ɵɵpipeBindV': ɵɵpipeBindV,
- 'ɵɵprojectionDef': ɵɵprojectionDef,
- 'ɵɵhostProperty': ɵɵhostProperty,
- 'ɵɵproperty': ɵɵproperty,
- 'ɵɵpropertyInterpolate': ɵɵpropertyInterpolate,
- 'ɵɵpropertyInterpolate1': ɵɵpropertyInterpolate1,
- 'ɵɵpropertyInterpolate2': ɵɵpropertyInterpolate2,
- 'ɵɵpropertyInterpolate3': ɵɵpropertyInterpolate3,
- 'ɵɵpropertyInterpolate4': ɵɵpropertyInterpolate4,
- 'ɵɵpropertyInterpolate5': ɵɵpropertyInterpolate5,
- 'ɵɵpropertyInterpolate6': ɵɵpropertyInterpolate6,
- 'ɵɵpropertyInterpolate7': ɵɵpropertyInterpolate7,
- 'ɵɵpropertyInterpolate8': ɵɵpropertyInterpolate8,
- 'ɵɵpropertyInterpolateV': ɵɵpropertyInterpolateV,
- 'ɵɵpipe': ɵɵpipe,
- 'ɵɵqueryRefresh': ɵɵqueryRefresh,
- 'ɵɵviewQuery': ɵɵviewQuery,
- 'ɵɵloadQuery': ɵɵloadQuery,
- 'ɵɵcontentQuery': ɵɵcontentQuery,
- 'ɵɵreference': ɵɵreference,
- 'ɵɵclassMap': ɵɵclassMap,
- 'ɵɵclassMapInterpolate1': ɵɵclassMapInterpolate1,
- 'ɵɵclassMapInterpolate2': ɵɵclassMapInterpolate2,
- 'ɵɵclassMapInterpolate3': ɵɵclassMapInterpolate3,
- 'ɵɵclassMapInterpolate4': ɵɵclassMapInterpolate4,
- 'ɵɵclassMapInterpolate5': ɵɵclassMapInterpolate5,
- 'ɵɵclassMapInterpolate6': ɵɵclassMapInterpolate6,
- 'ɵɵclassMapInterpolate7': ɵɵclassMapInterpolate7,
- 'ɵɵclassMapInterpolate8': ɵɵclassMapInterpolate8,
- 'ɵɵclassMapInterpolateV': ɵɵclassMapInterpolateV,
- 'ɵɵstyleMap': ɵɵstyleMap,
- 'ɵɵstyleMapInterpolate1': ɵɵstyleMapInterpolate1,
- 'ɵɵstyleMapInterpolate2': ɵɵstyleMapInterpolate2,
- 'ɵɵstyleMapInterpolate3': ɵɵstyleMapInterpolate3,
- 'ɵɵstyleMapInterpolate4': ɵɵstyleMapInterpolate4,
- 'ɵɵstyleMapInterpolate5': ɵɵstyleMapInterpolate5,
- 'ɵɵstyleMapInterpolate6': ɵɵstyleMapInterpolate6,
- 'ɵɵstyleMapInterpolate7': ɵɵstyleMapInterpolate7,
- 'ɵɵstyleMapInterpolate8': ɵɵstyleMapInterpolate8,
- 'ɵɵstyleMapInterpolateV': ɵɵstyleMapInterpolateV,
- 'ɵɵstyleProp': ɵɵstyleProp,
- 'ɵɵstylePropInterpolate1': ɵɵstylePropInterpolate1,
- 'ɵɵstylePropInterpolate2': ɵɵstylePropInterpolate2,
- 'ɵɵstylePropInterpolate3': ɵɵstylePropInterpolate3,
- 'ɵɵstylePropInterpolate4': ɵɵstylePropInterpolate4,
- 'ɵɵstylePropInterpolate5': ɵɵstylePropInterpolate5,
- 'ɵɵstylePropInterpolate6': ɵɵstylePropInterpolate6,
- 'ɵɵstylePropInterpolate7': ɵɵstylePropInterpolate7,
- 'ɵɵstylePropInterpolate8': ɵɵstylePropInterpolate8,
- 'ɵɵstylePropInterpolateV': ɵɵstylePropInterpolateV,
- 'ɵɵclassProp': ɵɵclassProp,
- 'ɵɵadvance': ɵɵadvance,
- 'ɵɵtemplate': ɵɵtemplate,
- 'ɵɵtext': ɵɵtext,
- 'ɵɵtextInterpolate': ɵɵtextInterpolate,
- 'ɵɵtextInterpolate1': ɵɵtextInterpolate1,
- 'ɵɵtextInterpolate2': ɵɵtextInterpolate2,
- 'ɵɵtextInterpolate3': ɵɵtextInterpolate3,
- 'ɵɵtextInterpolate4': ɵɵtextInterpolate4,
- 'ɵɵtextInterpolate5': ɵɵtextInterpolate5,
- 'ɵɵtextInterpolate6': ɵɵtextInterpolate6,
- 'ɵɵtextInterpolate7': ɵɵtextInterpolate7,
- 'ɵɵtextInterpolate8': ɵɵtextInterpolate8,
- 'ɵɵtextInterpolateV': ɵɵtextInterpolateV,
- 'ɵɵi18n': ɵɵi18n,
- 'ɵɵi18nAttributes': ɵɵi18nAttributes,
- 'ɵɵi18nExp': ɵɵi18nExp,
- 'ɵɵi18nStart': ɵɵi18nStart,
- 'ɵɵi18nEnd': ɵɵi18nEnd,
- 'ɵɵi18nApply': ɵɵi18nApply,
- 'ɵɵi18nPostprocess': ɵɵi18nPostprocess,
- 'ɵɵresolveWindow': ɵɵresolveWindow,
- 'ɵɵresolveDocument': ɵɵresolveDocument,
- 'ɵɵresolveBody': ɵɵresolveBody,
- 'ɵɵsetComponentScope': ɵɵsetComponentScope,
- 'ɵɵsetNgModuleScope': ɵɵsetNgModuleScope,
- 'ɵɵregisterNgModuleType': registerNgModuleType,
- 'ɵɵsanitizeHtml': ɵɵsanitizeHtml,
- 'ɵɵsanitizeStyle': ɵɵsanitizeStyle,
- 'ɵɵsanitizeResourceUrl': ɵɵsanitizeResourceUrl,
- 'ɵɵsanitizeScript': ɵɵsanitizeScript,
- 'ɵɵsanitizeUrl': ɵɵsanitizeUrl,
- 'ɵɵsanitizeUrlOrResourceUrl': ɵɵsanitizeUrlOrResourceUrl,
- 'ɵɵtrustConstantHtml': ɵɵtrustConstantHtml,
- 'ɵɵtrustConstantResourceUrl': ɵɵtrustConstantResourceUrl,
- 'forwardRef': forwardRef,
- 'resolveForwardRef': resolveForwardRef
- }))();
- let jitOptions = null;
- function setJitOptions(options) {
- if (jitOptions !== null) {
- if (options.defaultEncapsulation !== jitOptions.defaultEncapsulation) {
- ngDevMode && console.error('Provided value for `defaultEncapsulation` can not be changed once it has been set.');
- return;
- }
- if (options.preserveWhitespaces !== jitOptions.preserveWhitespaces) {
- ngDevMode && console.error('Provided value for `preserveWhitespaces` can not be changed once it has been set.');
- return;
- }
- }
- jitOptions = options;
- }
- function getJitOptions() {
- return jitOptions;
- }
- function resetJitOptions() {
- jitOptions = null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function patchModuleCompilation() {// Does nothing, but exists as a target for patching.
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function isModuleWithProviders(value) {
- return value.ngModule !== undefined;
- }
- function isNgModule(value) {
- return !!getNgModuleDef(value);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const moduleQueue = [];
- /**
- * Enqueues moduleDef to be checked later to see if scope can be set on its
- * component declarations.
- */
- function enqueueModuleForDelayedScoping(moduleType, ngModule) {
- moduleQueue.push({
- moduleType,
- ngModule
- });
- }
- let flushingModuleQueue = false;
- /**
- * Loops over queued module definitions, if a given module definition has all of its
- * declarations resolved, it dequeues that module definition and sets the scope on
- * its declarations.
- */
- function flushModuleScopingQueueAsMuchAsPossible() {
- if (!flushingModuleQueue) {
- flushingModuleQueue = true;
- try {
- for (let i = moduleQueue.length - 1; i >= 0; i--) {
- const {
- moduleType,
- ngModule
- } = moduleQueue[i];
- if (ngModule.declarations && ngModule.declarations.every(isResolvedDeclaration)) {
- // dequeue
- moduleQueue.splice(i, 1);
- setScopeOnDeclaredComponents(moduleType, ngModule);
- }
- }
- } finally {
- flushingModuleQueue = false;
- }
- }
- }
- /**
- * Returns truthy if a declaration has resolved. If the declaration happens to be
- * an array of declarations, it will recurse to check each declaration in that array
- * (which may also be arrays).
- */
- function isResolvedDeclaration(declaration) {
- if (Array.isArray(declaration)) {
- return declaration.every(isResolvedDeclaration);
- }
- return !!resolveForwardRef(declaration);
- }
- /**
- * Compiles a module in JIT mode.
- *
- * This function automatically gets called when a class has a `@NgModule` decorator.
- */
- function compileNgModule(moduleType, ngModule = {}) {
- patchModuleCompilation();
- compileNgModuleDefs(moduleType, ngModule);
- if (ngModule.id !== undefined) {
- registerNgModuleType(moduleType, ngModule.id);
- } // Because we don't know if all declarations have resolved yet at the moment the
- // NgModule decorator is executing, we're enqueueing the setting of module scope
- // on its declarations to be run at a later time when all declarations for the module,
- // including forward refs, have resolved.
- enqueueModuleForDelayedScoping(moduleType, ngModule);
- }
- /**
- * Compiles and adds the `ɵmod`, `ɵfac` and `ɵinj` properties to the module class.
- *
- * It's possible to compile a module via this API which will allow duplicate declarations in its
- * root.
- */
- function compileNgModuleDefs(moduleType, ngModule, allowDuplicateDeclarationsInRoot = false) {
- ngDevMode && assertDefined(moduleType, 'Required value moduleType');
- ngDevMode && assertDefined(ngModule, 'Required value ngModule');
- const declarations = flatten(ngModule.declarations || EMPTY_ARRAY);
- let ngModuleDef = null;
- Object.defineProperty(moduleType, NG_MOD_DEF, {
- configurable: true,
- get: () => {
- if (ngModuleDef === null) {
- if (ngDevMode && ngModule.imports && ngModule.imports.indexOf(moduleType) > -1) {
- // We need to assert this immediately, because allowing it to continue will cause it to
- // go into an infinite loop before we've reached the point where we throw all the errors.
- throw new Error(`'${stringifyForError(moduleType)}' module can't import itself`);
- }
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'NgModule',
- type: moduleType
- });
- ngModuleDef = compiler.compileNgModule(angularCoreEnv, `ng:///${moduleType.name}/ɵmod.js`, {
- type: moduleType,
- bootstrap: flatten(ngModule.bootstrap || EMPTY_ARRAY).map(resolveForwardRef),
- declarations: declarations.map(resolveForwardRef),
- imports: flatten(ngModule.imports || EMPTY_ARRAY).map(resolveForwardRef).map(expandModuleWithProviders),
- exports: flatten(ngModule.exports || EMPTY_ARRAY).map(resolveForwardRef).map(expandModuleWithProviders),
- schemas: ngModule.schemas ? flatten(ngModule.schemas) : null,
- id: ngModule.id || null
- }); // Set `schemas` on ngModuleDef to an empty array in JIT mode to indicate that runtime
- // should verify that there are no unknown elements in a template. In AOT mode, that check
- // happens at compile time and `schemas` information is not present on Component and Module
- // defs after compilation (so the check doesn't happen the second time at runtime).
- if (!ngModuleDef.schemas) {
- ngModuleDef.schemas = [];
- }
- }
- return ngModuleDef;
- }
- });
- let ngFactoryDef = null;
- Object.defineProperty(moduleType, NG_FACTORY_DEF, {
- get: () => {
- if (ngFactoryDef === null) {
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'NgModule',
- type: moduleType
- });
- ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${moduleType.name}/ɵfac.js`, {
- name: moduleType.name,
- type: moduleType,
- deps: reflectDependencies(moduleType),
- target: compiler.FactoryTarget.NgModule,
- typeArgumentCount: 0
- });
- }
- return ngFactoryDef;
- },
- // Make the property configurable in dev mode to allow overriding in tests
- configurable: !!ngDevMode
- });
- let ngInjectorDef = null;
- Object.defineProperty(moduleType, NG_INJ_DEF, {
- get: () => {
- if (ngInjectorDef === null) {
- ngDevMode && verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot);
- const meta = {
- name: moduleType.name,
- type: moduleType,
- providers: ngModule.providers || EMPTY_ARRAY,
- imports: [(ngModule.imports || EMPTY_ARRAY).map(resolveForwardRef), (ngModule.exports || EMPTY_ARRAY).map(resolveForwardRef)]
- };
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'NgModule',
- type: moduleType
- });
- ngInjectorDef = compiler.compileInjector(angularCoreEnv, `ng:///${moduleType.name}/ɵinj.js`, meta);
- }
- return ngInjectorDef;
- },
- // Make the property configurable in dev mode to allow overriding in tests
- configurable: !!ngDevMode
- });
- }
- function generateStandaloneInDeclarationsError(type, location) {
- const prefix = `Unexpected "${stringifyForError(type)}" found in the "declarations" array of the`;
- 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)?';
- return `${prefix} ${location}, ${suffix}`;
- }
- function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRoot, importingModule) {
- if (verifiedNgModule.get(moduleType)) return; // skip verifications of standalone components, directives, and pipes
- if (isStandalone(moduleType)) return;
- verifiedNgModule.set(moduleType, true);
- moduleType = resolveForwardRef(moduleType);
- let ngModuleDef;
- if (importingModule) {
- ngModuleDef = getNgModuleDef(moduleType);
- if (!ngModuleDef) {
- throw new Error(`Unexpected value '${moduleType.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);
- }
- } else {
- ngModuleDef = getNgModuleDef(moduleType, true);
- }
- const errors = [];
- const declarations = maybeUnwrapFn(ngModuleDef.declarations);
- const imports = maybeUnwrapFn(ngModuleDef.imports);
- flatten(imports).map(unwrapModuleWithProvidersImports).forEach(modOrStandaloneCmpt => {
- verifySemanticsOfNgModuleImport(modOrStandaloneCmpt, moduleType);
- verifySemanticsOfNgModuleDef(modOrStandaloneCmpt, false, moduleType);
- });
- const exports = maybeUnwrapFn(ngModuleDef.exports);
- declarations.forEach(verifyDeclarationsHaveDefinitions);
- declarations.forEach(verifyDirectivesHaveSelector);
- declarations.forEach(declarationType => verifyNotStandalone(declarationType, moduleType));
- const combinedDeclarations = [...declarations.map(resolveForwardRef), ...flatten(imports.map(computeCombinedExports)).map(resolveForwardRef)];
- exports.forEach(verifyExportsAreDeclaredOrReExported);
- declarations.forEach(decl => verifyDeclarationIsUnique(decl, allowDuplicateDeclarationsInRoot));
- declarations.forEach(verifyComponentEntryComponentsIsPartOfNgModule);
- const ngModule = getAnnotation(moduleType, 'NgModule');
- if (ngModule) {
- ngModule.imports && flatten(ngModule.imports).map(unwrapModuleWithProvidersImports).forEach(mod => {
- verifySemanticsOfNgModuleImport(mod, moduleType);
- verifySemanticsOfNgModuleDef(mod, false, moduleType);
- });
- ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyCorrectBootstrapType);
- ngModule.bootstrap && deepForEach(ngModule.bootstrap, verifyComponentIsPartOfNgModule);
- ngModule.entryComponents && deepForEach(ngModule.entryComponents, verifyComponentIsPartOfNgModule);
- } // Throw Error if any errors were detected.
- if (errors.length) {
- throw new Error(errors.join('\n'));
- } ////////////////////////////////////////////////////////////////////////////////////////////////
- function verifyDeclarationsHaveDefinitions(type) {
- type = resolveForwardRef(type);
- const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);
- if (!def) {
- errors.push(`Unexpected value '${stringifyForError(type)}' declared by the module '${stringifyForError(moduleType)}'. Please add a @Pipe/@Directive/@Component annotation.`);
- }
- }
- function verifyDirectivesHaveSelector(type) {
- type = resolveForwardRef(type);
- const def = getDirectiveDef(type);
- if (!getComponentDef(type) && def && def.selectors.length == 0) {
- errors.push(`Directive ${stringifyForError(type)} has no selector, please add it!`);
- }
- }
- function verifyNotStandalone(type, moduleType) {
- type = resolveForwardRef(type);
- const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);
- if (def === null || def === void 0 ? void 0 : def.standalone) {
- const location = `"${stringifyForError(moduleType)}" NgModule`;
- errors.push(generateStandaloneInDeclarationsError(type, location));
- }
- }
- function verifyExportsAreDeclaredOrReExported(type) {
- type = resolveForwardRef(type);
- const kind = getComponentDef(type) && 'component' || getDirectiveDef(type) && 'directive' || getPipeDef$1(type) && 'pipe';
- if (kind) {
- // only checked if we are declared as Component, Directive, or Pipe
- // Modules don't need to be declared or imported.
- if (combinedDeclarations.lastIndexOf(type) === -1) {
- // We are exporting something which we don't explicitly declare or import.
- errors.push(`Can't export ${kind} ${stringifyForError(type)} from ${stringifyForError(moduleType)} as it was neither declared nor imported!`);
- }
- }
- }
- function verifyDeclarationIsUnique(type, suppressErrors) {
- type = resolveForwardRef(type);
- const existingModule = ownerNgModule.get(type);
- if (existingModule && existingModule !== moduleType) {
- if (!suppressErrors) {
- const modules = [existingModule, moduleType].map(stringifyForError).sort();
- 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]}.`);
- }
- } else {
- // Mark type as having owner.
- ownerNgModule.set(type, moduleType);
- }
- }
- function verifyComponentIsPartOfNgModule(type) {
- type = resolveForwardRef(type);
- const existingModule = ownerNgModule.get(type);
- if (!existingModule && !isStandalone(type)) {
- errors.push(`Component ${stringifyForError(type)} is not part of any NgModule or the module has not been imported into your module.`);
- }
- }
- function verifyCorrectBootstrapType(type) {
- type = resolveForwardRef(type);
- if (!getComponentDef(type)) {
- errors.push(`${stringifyForError(type)} cannot be used as an entry component.`);
- }
- if (isStandalone(type)) {
- // Note: this error should be the same as the
- // `NGMODULE_BOOTSTRAP_IS_STANDALONE` one in AOT compiler.
- 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.`);
- }
- }
- function verifyComponentEntryComponentsIsPartOfNgModule(type) {
- type = resolveForwardRef(type);
- if (getComponentDef(type)) {
- // We know we are component
- const component = getAnnotation(type, 'Component');
- if (component && component.entryComponents) {
- deepForEach(component.entryComponents, verifyComponentIsPartOfNgModule);
- }
- }
- }
- function verifySemanticsOfNgModuleImport(type, importingModule) {
- type = resolveForwardRef(type);
- const directiveDef = getComponentDef(type) || getDirectiveDef(type);
- if (directiveDef !== null && !directiveDef.standalone) {
- throw new Error(`Unexpected directive '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);
- }
- const pipeDef = getPipeDef$1(type);
- if (pipeDef !== null && !pipeDef.standalone) {
- throw new Error(`Unexpected pipe '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);
- }
- }
- }
- function unwrapModuleWithProvidersImports(typeOrWithProviders) {
- typeOrWithProviders = resolveForwardRef(typeOrWithProviders);
- return typeOrWithProviders.ngModule || typeOrWithProviders;
- }
- function getAnnotation(type, name) {
- let annotation = null;
- collect(type.__annotations__);
- collect(type.decorators);
- return annotation;
- function collect(annotations) {
- if (annotations) {
- annotations.forEach(readAnnotation);
- }
- }
- function readAnnotation(decorator) {
- if (!annotation) {
- const proto = Object.getPrototypeOf(decorator);
- if (proto.ngMetadataName == name) {
- annotation = decorator;
- } else if (decorator.type) {
- const proto = Object.getPrototypeOf(decorator.type);
- if (proto.ngMetadataName == name) {
- annotation = decorator.args[0];
- }
- }
- }
- }
- }
- /**
- * Keep track of compiled components. This is needed because in tests we often want to compile the
- * same component with more than one NgModule. This would cause an error unless we reset which
- * NgModule the component belongs to. We keep the list of compiled components here so that the
- * TestBed can reset it later.
- */
- let ownerNgModule = new WeakMap();
- let verifiedNgModule = new WeakMap();
- function resetCompiledComponents() {
- ownerNgModule = new WeakMap();
- verifiedNgModule = new WeakMap();
- moduleQueue.length = 0;
- }
- /**
- * Computes the combined declarations of explicit declarations, as well as declarations inherited by
- * traversing the exports of imported modules.
- * @param type
- */
- function computeCombinedExports(type) {
- type = resolveForwardRef(type);
- const ngModuleDef = getNgModuleDef(type); // a standalone component, directive or pipe
- if (ngModuleDef === null) {
- return [type];
- }
- return [...flatten(maybeUnwrapFn(ngModuleDef.exports).map(type => {
- const ngModuleDef = getNgModuleDef(type);
- if (ngModuleDef) {
- verifySemanticsOfNgModuleDef(type, false);
- return computeCombinedExports(type);
- } else {
- return type;
- }
- }))];
- }
- /**
- * Some declared components may be compiled asynchronously, and thus may not have their
- * ɵcmp set yet. If this is the case, then a reference to the module is written into
- * the `ngSelectorScope` property of the declared type.
- */
- function setScopeOnDeclaredComponents(moduleType, ngModule) {
- const declarations = flatten(ngModule.declarations || EMPTY_ARRAY);
- const transitiveScopes = transitiveScopesFor(moduleType);
- declarations.forEach(declaration => {
- declaration = resolveForwardRef(declaration);
- if (declaration.hasOwnProperty(NG_COMP_DEF)) {
- // A `ɵcmp` field exists - go ahead and patch the component directly.
- const component = declaration;
- const componentDef = getComponentDef(component);
- patchComponentDefWithScope(componentDef, transitiveScopes);
- } else if (!declaration.hasOwnProperty(NG_DIR_DEF) && !declaration.hasOwnProperty(NG_PIPE_DEF)) {
- // Set `ngSelectorScope` for future reference when the component compilation finishes.
- declaration.ngSelectorScope = moduleType;
- }
- });
- }
- /**
- * Patch the definition of a component with directives and pipes from the compilation scope of
- * a given module.
- */
- function patchComponentDefWithScope(componentDef, transitiveScopes) {
- componentDef.directiveDefs = () => Array.from(transitiveScopes.compilation.directives).map(dir => dir.hasOwnProperty(NG_COMP_DEF) ? getComponentDef(dir) : getDirectiveDef(dir)).filter(def => !!def);
- componentDef.pipeDefs = () => Array.from(transitiveScopes.compilation.pipes).map(pipe => getPipeDef$1(pipe));
- componentDef.schemas = transitiveScopes.schemas; // Since we avoid Components/Directives/Pipes recompiling in case there are no overrides, we
- // may face a problem where previously compiled defs available to a given Component/Directive
- // are cached in TView and may become stale (in case any of these defs gets recompiled). In
- // order to avoid this problem, we force fresh TView to be created.
- componentDef.tView = null;
- }
- /**
- * Compute the pair of transitive scopes (compilation scope and exported scope) for a given type
- * (either a NgModule or a standalone component / directive / pipe).
- */
- function transitiveScopesFor(type) {
- if (isNgModule(type)) {
- return transitiveScopesForNgModule(type);
- } else if (isStandalone(type)) {
- const directiveDef = getComponentDef(type) || getDirectiveDef(type);
- if (directiveDef !== null) {
- return {
- schemas: null,
- compilation: {
- directives: new Set(),
- pipes: new Set()
- },
- exported: {
- directives: new Set([type]),
- pipes: new Set()
- }
- };
- }
- const pipeDef = getPipeDef$1(type);
- if (pipeDef !== null) {
- return {
- schemas: null,
- compilation: {
- directives: new Set(),
- pipes: new Set()
- },
- exported: {
- directives: new Set(),
- pipes: new Set([type])
- }
- };
- }
- } // TODO: change the error message to be more user-facing and take standalone into account
- throw new Error(`${type.name} does not have a module def (ɵmod property)`);
- }
- /**
- * Compute the pair of transitive scopes (compilation scope and exported scope) for a given module.
- *
- * This operation is memoized and the result is cached on the module's definition. This function can
- * be called on modules with components that have not fully compiled yet, but the result should not
- * be used until they have.
- *
- * @param moduleType module that transitive scope should be calculated for.
- */
- function transitiveScopesForNgModule(moduleType) {
- const def = getNgModuleDef(moduleType, true);
- if (def.transitiveCompileScopes !== null) {
- return def.transitiveCompileScopes;
- }
- const scopes = {
- schemas: def.schemas || null,
- compilation: {
- directives: new Set(),
- pipes: new Set()
- },
- exported: {
- directives: new Set(),
- pipes: new Set()
- }
- };
- maybeUnwrapFn(def.imports).forEach(imported => {
- // When this module imports another, the imported module's exported directives and pipes are
- // added to the compilation scope of this module.
- const importedScope = transitiveScopesFor(imported);
- importedScope.exported.directives.forEach(entry => scopes.compilation.directives.add(entry));
- importedScope.exported.pipes.forEach(entry => scopes.compilation.pipes.add(entry));
- });
- maybeUnwrapFn(def.declarations).forEach(declared => {
- const declaredWithDefs = declared;
- if (getPipeDef$1(declaredWithDefs)) {
- scopes.compilation.pipes.add(declared);
- } else {
- // Either declared has a ɵcmp or ɵdir, or it's a component which hasn't
- // had its template compiled yet. In either case, it gets added to the compilation's
- // directives.
- scopes.compilation.directives.add(declared);
- }
- });
- maybeUnwrapFn(def.exports).forEach(exported => {
- const exportedType = exported; // Either the type is a module, a pipe, or a component/directive (which may not have a
- // ɵcmp as it might be compiled asynchronously).
- if (isNgModule(exportedType)) {
- // When this module exports another, the exported module's exported directives and pipes are
- // added to both the compilation and exported scopes of this module.
- const exportedScope = transitiveScopesFor(exportedType);
- exportedScope.exported.directives.forEach(entry => {
- scopes.compilation.directives.add(entry);
- scopes.exported.directives.add(entry);
- });
- exportedScope.exported.pipes.forEach(entry => {
- scopes.compilation.pipes.add(entry);
- scopes.exported.pipes.add(entry);
- });
- } else if (getPipeDef$1(exportedType)) {
- scopes.exported.pipes.add(exportedType);
- } else {
- scopes.exported.directives.add(exportedType);
- }
- });
- def.transitiveCompileScopes = scopes;
- return scopes;
- }
- function expandModuleWithProviders(value) {
- if (isModuleWithProviders(value)) {
- return value.ngModule;
- }
- return value;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Keep track of the compilation depth to avoid reentrancy issues during JIT compilation. This
- * matters in the following scenario:
- *
- * Consider a component 'A' that extends component 'B', both declared in module 'M'. During
- * the compilation of 'A' the definition of 'B' is requested to capture the inheritance chain,
- * potentially triggering compilation of 'B'. If this nested compilation were to trigger
- * `flushModuleScopingQueueAsMuchAsPossible` it may happen that module 'M' is still pending in the
- * queue, resulting in 'A' and 'B' to be patched with the NgModule scope. As the compilation of
- * 'A' is still in progress, this would introduce a circular dependency on its compilation. To avoid
- * this issue, the module scope queue is only flushed for compilations at the depth 0, to ensure
- * all compilations have finished.
- */
- let compilationDepth = 0;
- /**
- * Compile an Angular component according to its decorator metadata, and patch the resulting
- * component def (ɵcmp) onto the component type.
- *
- * Compilation may be asynchronous (due to the need to resolve URLs for the component template or
- * other resources, for example). In the event that compilation is not immediate, `compileComponent`
- * will enqueue resource resolution into a global queue and will fail to return the `ɵcmp`
- * until the global queue has been resolved with a call to `resolveComponentResources`.
- */
- function compileComponent(type, metadata) {
- // Initialize ngDevMode. This must be the first statement in compileComponent.
- // See the `initNgDevMode` docstring for more information.
- (typeof ngDevMode === 'undefined' || ngDevMode) && initNgDevMode();
- let ngComponentDef = null; // Metadata may have resources which need to be resolved.
- maybeQueueResolutionOfComponentResources(type, metadata); // Note that we're using the same function as `Directive`, because that's only subset of metadata
- // that we need to create the ngFactoryDef. We're avoiding using the component metadata
- // because we'd have to resolve the asynchronous templates.
- addDirectiveFactoryDef(type, metadata);
- Object.defineProperty(type, NG_COMP_DEF, {
- get: () => {
- if (ngComponentDef === null) {
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'component',
- type: type
- });
- if (componentNeedsResolution(metadata)) {
- const error = [`Component '${type.name}' is not resolved:`];
- if (metadata.templateUrl) {
- error.push(` - templateUrl: ${metadata.templateUrl}`);
- }
- if (metadata.styleUrls && metadata.styleUrls.length) {
- error.push(` - styleUrls: ${JSON.stringify(metadata.styleUrls)}`);
- }
- error.push(`Did you run and wait for 'resolveComponentResources()'?`);
- throw new Error(error.join('\n'));
- } // This const was called `jitOptions` previously but had to be renamed to `options` because
- // of a bug with Terser that caused optimized JIT builds to throw a `ReferenceError`.
- // This bug was investigated in https://github.com/angular/angular-cli/issues/17264.
- // We should not rename it back until https://github.com/terser/terser/issues/615 is fixed.
- const options = getJitOptions();
- let preserveWhitespaces = metadata.preserveWhitespaces;
- if (preserveWhitespaces === undefined) {
- if (options !== null && options.preserveWhitespaces !== undefined) {
- preserveWhitespaces = options.preserveWhitespaces;
- } else {
- preserveWhitespaces = false;
- }
- }
- let encapsulation = metadata.encapsulation;
- if (encapsulation === undefined) {
- if (options !== null && options.defaultEncapsulation !== undefined) {
- encapsulation = options.defaultEncapsulation;
- } else {
- encapsulation = ViewEncapsulation$1.Emulated;
- }
- }
- const templateUrl = metadata.templateUrl || `ng:///${type.name}/template.html`;
- const meta = Object.assign(Object.assign({}, directiveMetadata(type, metadata)), {
- typeSourceSpan: compiler.createParseSourceSpan('Component', type.name, templateUrl),
- template: metadata.template || '',
- preserveWhitespaces,
- styles: metadata.styles || EMPTY_ARRAY,
- animations: metadata.animations,
- // JIT components are always compiled against an empty set of `declarations`. Instead, the
- // `directiveDefs` and `pipeDefs` are updated at a later point:
- // * for NgModule-based components, they're set when the NgModule which declares the
- // component resolves in the module scoping queue
- // * for standalone components, they're set just below, after `compileComponent`.
- declarations: [],
- changeDetection: metadata.changeDetection,
- encapsulation,
- interpolation: metadata.interpolation,
- viewProviders: metadata.viewProviders || null,
- isStandalone: !!metadata.standalone
- });
- compilationDepth++;
- try {
- if (meta.usesInheritance) {
- addDirectiveDefToUndecoratedParents(type);
- }
- ngComponentDef = compiler.compileComponent(angularCoreEnv, templateUrl, meta);
- if (metadata.standalone) {
- // Patch the component definition for standalone components with `directiveDefs` and
- // `pipeDefs` functions which lazily compute the directives/pipes available in the
- // standalone component. Also set `dependencies` to the lazily resolved list of imports.
- const imports = flatten(metadata.imports || EMPTY_ARRAY);
- const {
- directiveDefs,
- pipeDefs
- } = getStandaloneDefFunctions(type, imports);
- ngComponentDef.directiveDefs = directiveDefs;
- ngComponentDef.pipeDefs = pipeDefs;
- ngComponentDef.dependencies = () => imports.map(resolveForwardRef);
- }
- } finally {
- // Ensure that the compilation depth is decremented even when the compilation failed.
- compilationDepth--;
- }
- if (compilationDepth === 0) {
- // When NgModule decorator executed, we enqueued the module definition such that
- // it would only dequeue and add itself as module scope to all of its declarations,
- // but only if if all of its declarations had resolved. This call runs the check
- // to see if any modules that are in the queue can be dequeued and add scope to
- // their declarations.
- flushModuleScopingQueueAsMuchAsPossible();
- } // If component compilation is async, then the @NgModule annotation which declares the
- // component may execute and set an ngSelectorScope property on the component type. This
- // allows the component to patch itself with directiveDefs from the module after it
- // finishes compiling.
- if (hasSelectorScope(type)) {
- const scopes = transitiveScopesFor(type.ngSelectorScope);
- patchComponentDefWithScope(ngComponentDef, scopes);
- }
- if (metadata.schemas) {
- if (metadata.standalone) {
- ngComponentDef.schemas = metadata.schemas;
- } else {
- throw new Error(`The 'schemas' was specified for the ${stringifyForError(type)} but is only valid on a component that is standalone.`);
- }
- } else if (metadata.standalone) {
- ngComponentDef.schemas = [];
- }
- }
- return ngComponentDef;
- },
- // Make the property configurable in dev mode to allow overriding in tests
- configurable: !!ngDevMode
- });
- }
- function getDependencyTypeForError(type) {
- if (getComponentDef(type)) return 'component';
- if (getDirectiveDef(type)) return 'directive';
- if (getPipeDef$1(type)) return 'pipe';
- return 'type';
- }
- function verifyStandaloneImport(depType, importingType) {
- if (isForwardRef(depType)) {
- depType = resolveForwardRef(depType);
- if (!depType) {
- throw new Error(`Expected forwardRef function, imported from "${stringifyForError(importingType)}", to return a standalone entity or NgModule but got "${stringifyForError(depType) || depType}".`);
- }
- }
- if (getNgModuleDef(depType) == null) {
- const def = getComponentDef(depType) || getDirectiveDef(depType) || getPipeDef$1(depType);
- if (def != null) {
- // if a component, directive or pipe is imported make sure that it is standalone
- if (!def.standalone) {
- throw new Error(`The "${stringifyForError(depType)}" ${getDependencyTypeForError(depType)}, imported from "${stringifyForError(importingType)}", is not standalone. Did you forget to add the standalone: true flag?`);
- }
- } else {
- // it can be either a module with provider or an unknown (not annotated) type
- if (isModuleWithProviders(depType)) {
- throw new Error(`A module with providers was imported from "${stringifyForError(importingType)}". Modules with providers are not supported in standalone components imports.`);
- } else {
- 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?`);
- }
- }
- }
- }
- /**
- * Build memoized `directiveDefs` and `pipeDefs` functions for the component definition of a
- * standalone component, which process `imports` and filter out directives and pipes. The use of
- * memoized functions here allows for the delayed resolution of any `forwardRef`s present in the
- * component's `imports`.
- */
- function getStandaloneDefFunctions(type, imports) {
- let cachedDirectiveDefs = null;
- let cachedPipeDefs = null;
- const directiveDefs = () => {
- if (cachedDirectiveDefs === null) {
- // Standalone components are always able to self-reference, so include the component's own
- // definition in its `directiveDefs`.
- cachedDirectiveDefs = [getComponentDef(type)];
- const seen = new Set();
- for (const rawDep of imports) {
- ngDevMode && verifyStandaloneImport(rawDep, type);
- const dep = resolveForwardRef(rawDep);
- if (seen.has(dep)) {
- continue;
- }
- seen.add(dep);
- if (!!getNgModuleDef(dep)) {
- const scope = transitiveScopesFor(dep);
- for (const dir of scope.exported.directives) {
- const def = getComponentDef(dir) || getDirectiveDef(dir);
- if (def && !seen.has(dir)) {
- seen.add(dir);
- cachedDirectiveDefs.push(def);
- }
- }
- } else {
- const def = getComponentDef(dep) || getDirectiveDef(dep);
- if (def) {
- cachedDirectiveDefs.push(def);
- }
- }
- }
- }
- return cachedDirectiveDefs;
- };
- const pipeDefs = () => {
- if (cachedPipeDefs === null) {
- cachedPipeDefs = [];
- const seen = new Set();
- for (const rawDep of imports) {
- const dep = resolveForwardRef(rawDep);
- if (seen.has(dep)) {
- continue;
- }
- seen.add(dep);
- if (!!getNgModuleDef(dep)) {
- const scope = transitiveScopesFor(dep);
- for (const pipe of scope.exported.pipes) {
- const def = getPipeDef$1(pipe);
- if (def && !seen.has(pipe)) {
- seen.add(pipe);
- cachedPipeDefs.push(def);
- }
- }
- } else {
- const def = getPipeDef$1(dep);
- if (def) {
- cachedPipeDefs.push(def);
- }
- }
- }
- }
- return cachedPipeDefs;
- };
- return {
- directiveDefs,
- pipeDefs
- };
- }
- function hasSelectorScope(component) {
- return component.ngSelectorScope !== undefined;
- }
- /**
- * Compile an Angular directive according to its decorator metadata, and patch the resulting
- * directive def onto the component type.
- *
- * In the event that compilation is not immediate, `compileDirective` will return a `Promise` which
- * will resolve when compilation completes and the directive becomes usable.
- */
- function compileDirective(type, directive) {
- let ngDirectiveDef = null;
- addDirectiveFactoryDef(type, directive || {});
- Object.defineProperty(type, NG_DIR_DEF, {
- get: () => {
- if (ngDirectiveDef === null) {
- // `directive` can be null in the case of abstract directives as a base class
- // that use `@Directive()` with no selector. In that case, pass empty object to the
- // `directiveMetadata` function instead of null.
- const meta = getDirectiveMetadata(type, directive || {});
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'directive',
- type
- });
- ngDirectiveDef = compiler.compileDirective(angularCoreEnv, meta.sourceMapUrl, meta.metadata);
- }
- return ngDirectiveDef;
- },
- // Make the property configurable in dev mode to allow overriding in tests
- configurable: !!ngDevMode
- });
- }
- function getDirectiveMetadata(type, metadata) {
- const name = type && type.name;
- const sourceMapUrl = `ng:///${name}/ɵdir.js`;
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'directive',
- type
- });
- const facade = directiveMetadata(type, metadata);
- facade.typeSourceSpan = compiler.createParseSourceSpan('Directive', name, sourceMapUrl);
- if (facade.usesInheritance) {
- addDirectiveDefToUndecoratedParents(type);
- }
- return {
- metadata: facade,
- sourceMapUrl
- };
- }
- function addDirectiveFactoryDef(type, metadata) {
- let ngFactoryDef = null;
- Object.defineProperty(type, NG_FACTORY_DEF, {
- get: () => {
- if (ngFactoryDef === null) {
- const meta = getDirectiveMetadata(type, metadata);
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'directive',
- type
- });
- ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${type.name}/ɵfac.js`, {
- name: meta.metadata.name,
- type: meta.metadata.type,
- typeArgumentCount: 0,
- deps: reflectDependencies(type),
- target: compiler.FactoryTarget.Directive
- });
- }
- return ngFactoryDef;
- },
- // Make the property configurable in dev mode to allow overriding in tests
- configurable: !!ngDevMode
- });
- }
- function extendsDirectlyFromObject(type) {
- return Object.getPrototypeOf(type.prototype) === Object.prototype;
- }
- /**
- * Extract the `R3DirectiveMetadata` for a particular directive (either a `Directive` or a
- * `Component`).
- */
- function directiveMetadata(type, metadata) {
- // Reflect inputs and outputs.
- const reflect = getReflect();
- const propMetadata = reflect.ownPropMetadata(type);
- return {
- name: type.name,
- type: type,
- selector: metadata.selector !== undefined ? metadata.selector : null,
- host: metadata.host || EMPTY_OBJ,
- propMetadata: propMetadata,
- inputs: metadata.inputs || EMPTY_ARRAY,
- outputs: metadata.outputs || EMPTY_ARRAY,
- queries: extractQueriesMetadata(type, propMetadata, isContentQuery),
- lifecycle: {
- usesOnChanges: reflect.hasLifecycleHook(type, 'ngOnChanges')
- },
- typeSourceSpan: null,
- usesInheritance: !extendsDirectlyFromObject(type),
- exportAs: extractExportAs(metadata.exportAs),
- providers: metadata.providers || null,
- viewQueries: extractQueriesMetadata(type, propMetadata, isViewQuery),
- isStandalone: !!metadata.standalone
- };
- }
- /**
- * Adds a directive definition to all parent classes of a type that don't have an Angular decorator.
- */
- function addDirectiveDefToUndecoratedParents(type) {
- const objPrototype = Object.prototype;
- let parent = Object.getPrototypeOf(type.prototype).constructor; // Go up the prototype until we hit `Object`.
- while (parent && parent !== objPrototype) {
- // Since inheritance works if the class was annotated already, we only need to add
- // the def if there are no annotations and the def hasn't been created already.
- if (!getDirectiveDef(parent) && !getComponentDef(parent) && shouldAddAbstractDirective(parent)) {
- compileDirective(parent, null);
- }
- parent = Object.getPrototypeOf(parent);
- }
- }
- function convertToR3QueryPredicate(selector) {
- return typeof selector === 'string' ? splitByComma(selector) : resolveForwardRef(selector);
- }
- function convertToR3QueryMetadata(propertyName, ann) {
- return {
- propertyName: propertyName,
- predicate: convertToR3QueryPredicate(ann.selector),
- descendants: ann.descendants,
- first: ann.first,
- read: ann.read ? ann.read : null,
- static: !!ann.static,
- emitDistinctChangesOnly: !!ann.emitDistinctChangesOnly
- };
- }
- function extractQueriesMetadata(type, propMetadata, isQueryAnn) {
- const queriesMeta = [];
- for (const field in propMetadata) {
- if (propMetadata.hasOwnProperty(field)) {
- const annotations = propMetadata[field];
- annotations.forEach(ann => {
- if (isQueryAnn(ann)) {
- if (!ann.selector) {
- throw new Error(`Can't construct a query for the property "${field}" of ` + `"${stringifyForError(type)}" since the query selector wasn't defined.`);
- }
- if (annotations.some(isInputAnnotation)) {
- throw new Error(`Cannot combine @Input decorators with query decorators`);
- }
- queriesMeta.push(convertToR3QueryMetadata(field, ann));
- }
- });
- }
- }
- return queriesMeta;
- }
- function extractExportAs(exportAs) {
- return exportAs === undefined ? null : splitByComma(exportAs);
- }
- function isContentQuery(value) {
- const name = value.ngMetadataName;
- return name === 'ContentChild' || name === 'ContentChildren';
- }
- function isViewQuery(value) {
- const name = value.ngMetadataName;
- return name === 'ViewChild' || name === 'ViewChildren';
- }
- function isInputAnnotation(value) {
- return value.ngMetadataName === 'Input';
- }
- function splitByComma(value) {
- return value.split(',').map(piece => piece.trim());
- }
- const LIFECYCLE_HOOKS = ['ngOnChanges', 'ngOnInit', 'ngOnDestroy', 'ngDoCheck', 'ngAfterViewInit', 'ngAfterViewChecked', 'ngAfterContentInit', 'ngAfterContentChecked'];
- function shouldAddAbstractDirective(type) {
- const reflect = getReflect();
- if (LIFECYCLE_HOOKS.some(hookName => reflect.hasLifecycleHook(type, hookName))) {
- return true;
- }
- const propMetadata = reflect.propMetadata(type);
- for (const field in propMetadata) {
- const annotations = propMetadata[field];
- for (let i = 0; i < annotations.length; i++) {
- const current = annotations[i];
- const metadataName = current.ngMetadataName;
- if (isInputAnnotation(current) || isContentQuery(current) || isViewQuery(current) || metadataName === 'Output' || metadataName === 'HostBinding' || metadataName === 'HostListener') {
- return true;
- }
- }
- }
- return false;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function compilePipe(type, meta) {
- let ngPipeDef = null;
- let ngFactoryDef = null;
- Object.defineProperty(type, NG_FACTORY_DEF, {
- get: () => {
- if (ngFactoryDef === null) {
- const metadata = getPipeMetadata(type, meta);
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'pipe',
- type: metadata.type
- });
- ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${metadata.name}/ɵfac.js`, {
- name: metadata.name,
- type: metadata.type,
- typeArgumentCount: 0,
- deps: reflectDependencies(type),
- target: compiler.FactoryTarget.Pipe
- });
- }
- return ngFactoryDef;
- },
- // Make the property configurable in dev mode to allow overriding in tests
- configurable: !!ngDevMode
- });
- Object.defineProperty(type, NG_PIPE_DEF, {
- get: () => {
- if (ngPipeDef === null) {
- const metadata = getPipeMetadata(type, meta);
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'pipe',
- type: metadata.type
- });
- ngPipeDef = compiler.compilePipe(angularCoreEnv, `ng:///${metadata.name}/ɵpipe.js`, metadata);
- }
- return ngPipeDef;
- },
- // Make the property configurable in dev mode to allow overriding in tests
- configurable: !!ngDevMode
- });
- }
- function getPipeMetadata(type, meta) {
- return {
- type: type,
- name: type.name,
- pipeName: meta.name,
- pure: meta.pure !== undefined ? meta.pure : true,
- isStandalone: !!meta.standalone
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Type of the Directive metadata.
- *
- * @publicApi
- */
- const Directive = makeDecorator('Directive', (dir = {}) => dir, undefined, undefined, (type, meta) => compileDirective(type, meta));
- /**
- * Component decorator and metadata.
- *
- * @Annotation
- * @publicApi
- */
- const Component = makeDecorator('Component', (c = {}) => Object.assign({
- changeDetection: ChangeDetectionStrategy.Default
- }, c), Directive, undefined, (type, meta) => compileComponent(type, meta));
- /**
- * @Annotation
- * @publicApi
- */
- const Pipe = makeDecorator('Pipe', p => Object.assign({
- pure: true
- }, p), undefined, undefined, (type, meta) => compilePipe(type, meta));
- /**
- * @Annotation
- * @publicApi
- */
- const Input = makePropDecorator('Input', bindingPropertyName => ({
- bindingPropertyName
- }));
- /**
- * @Annotation
- * @publicApi
- */
- const Output = makePropDecorator('Output', bindingPropertyName => ({
- bindingPropertyName
- }));
- /**
- * @Annotation
- * @publicApi
- */
- const HostBinding = makePropDecorator('HostBinding', hostPropertyName => ({
- hostPropertyName
- }));
- /**
- * Decorator that binds a DOM event to a host listener and supplies configuration metadata.
- * Angular invokes the supplied handler method when the host element emits the specified event,
- * and updates the bound element with the result.
- *
- * If the handler method returns false, applies `preventDefault` on the bound element.
- *
- * @usageNotes
- *
- * The following example declares a directive
- * that attaches a click listener to a button and counts clicks.
- *
- * ```ts
- * @Directive({selector: 'button[counting]'})
- * class CountClicks {
- * numberOfClicks = 0;
- *
- * @HostListener('click', ['$event.target'])
- * onClick(btn) {
- * console.log('button', btn, 'number of clicks:', this.numberOfClicks++);
- * }
- * }
- *
- * @Component({
- * selector: 'app',
- * template: '<button counting>Increment</button>',
- * })
- * class App {}
- *
- * ```
- *
- * The following example registers another DOM event handler that listens for `Enter` key-press
- * events on the global `window`.
- * ``` ts
- * import { HostListener, Component } from "@angular/core";
- *
- * @Component({
- * selector: 'app',
- * template: `<h1>Hello, you have pressed enter {{counter}} number of times!</h1> Press enter key
- * to increment the counter.
- * <button (click)="resetCounter()">Reset Counter</button>`
- * })
- * class AppComponent {
- * counter = 0;
- * @HostListener('window:keydown.enter', ['$event'])
- * handleKeyDown(event: KeyboardEvent) {
- * this.counter++;
- * }
- * resetCounter() {
- * this.counter = 0;
- * }
- * }
- * ```
- * The list of valid key names for `keydown` and `keyup` events
- * can be found here:
- * https://www.w3.org/TR/DOM-Level-3-Events-key/#named-key-attribute-values
- *
- * Note that keys can also be combined, e.g. `@HostListener('keydown.shift.a')`.
- *
- * The global target names that can be used to prefix an event name are
- * `document:`, `window:` and `body:`.
- *
- * @Annotation
- * @publicApi
- */
- const HostListener = makePropDecorator('HostListener', (eventName, args) => ({
- eventName,
- args
- }));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @Annotation
- * @publicApi
- */
- const NgModule = makeDecorator('NgModule', ngModule => ngModule, undefined, undefined,
- /**
- * Decorator that marks the following class as an NgModule, and supplies
- * configuration metadata for it.
- *
- * * The `declarations` and `entryComponents` options configure the compiler
- * with information about what belongs to the NgModule.
- * * The `providers` options configures the NgModule's injector to provide
- * dependencies the NgModule members.
- * * The `imports` and `exports` options bring in members from other modules, and make
- * this module's members available to others.
- */
- (type, meta) => compileNgModule(type, meta));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function noop(...args) {// Do nothing.
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The existence of this constant (in this particular file) informs the Angular compiler that the
- * current program is actually @angular/core, which needs to be compiled specially.
- */
- const ITS_JUST_ANGULAR = true;
- /**
- * A [DI token](guide/glossary#di-token "DI token definition") that you can use to provide
- * one or more initialization functions.
- *
- * The provided functions are injected at application startup and executed during
- * app initialization. If any of these functions returns a Promise or an Observable, initialization
- * does not complete until the Promise is resolved or the Observable is completed.
- *
- * You can, for example, create a factory function that loads language data
- * or an external configuration, and provide that function to the `APP_INITIALIZER` token.
- * The function is executed during the application bootstrap process,
- * and the needed data is available on startup.
- *
- * @see `ApplicationInitStatus`
- *
- * @usageNotes
- *
- * The following example illustrates how to configure a multi-provider using `APP_INITIALIZER` token
- * and a function returning a promise.
- *
- * ```
- * function initializeApp(): Promise<any> {
- * return new Promise((resolve, reject) => {
- * // Do some asynchronous stuff
- * resolve();
- * });
- * }
- *
- * @NgModule({
- * imports: [BrowserModule],
- * declarations: [AppComponent],
- * bootstrap: [AppComponent],
- * providers: [{
- * provide: APP_INITIALIZER,
- * useFactory: () => initializeApp,
- * multi: true
- * }]
- * })
- * export class AppModule {}
- * ```
- *
- * It's also possible to configure a multi-provider using `APP_INITIALIZER` token and a function
- * returning an observable, see an example below. Note: the `HttpClient` in this example is used for
- * demo purposes to illustrate how the factory function can work with other providers available
- * through DI.
- *
- * ```
- * function initializeAppFactory(httpClient: HttpClient): () => Observable<any> {
- * return () => httpClient.get("https://someUrl.com/api/user")
- * .pipe(
- * tap(user => { ... })
- * );
- * }
- *
- * @NgModule({
- * imports: [BrowserModule, HttpClientModule],
- * declarations: [AppComponent],
- * bootstrap: [AppComponent],
- * providers: [{
- * provide: APP_INITIALIZER,
- * useFactory: initializeAppFactory,
- * deps: [HttpClient],
- * multi: true
- * }]
- * })
- * export class AppModule {}
- * ```
- *
- * @publicApi
- */
- const APP_INITIALIZER = new InjectionToken('Application Initializer');
- /**
- * A class that reflects the state of running {@link APP_INITIALIZER} functions.
- *
- * @publicApi
- */
- class ApplicationInitStatus {
- constructor(appInits) {
- this.appInits = appInits;
- this.resolve = noop;
- this.reject = noop;
- this.initialized = false;
- this.done = false;
- this.donePromise = new Promise((res, rej) => {
- this.resolve = res;
- this.reject = rej;
- });
- }
- /** @internal */
- runInitializers() {
- if (this.initialized) {
- return;
- }
- const asyncInitPromises = [];
- const complete = () => {
- this.done = true;
- this.resolve();
- };
- if (this.appInits) {
- for (let i = 0; i < this.appInits.length; i++) {
- const initResult = this.appInits[i]();
- if (isPromise(initResult)) {
- asyncInitPromises.push(initResult);
- } else if (isObservable(initResult)) {
- const observableAsPromise = new Promise((resolve, reject) => {
- initResult.subscribe({
- complete: resolve,
- error: reject
- });
- });
- asyncInitPromises.push(observableAsPromise);
- }
- }
- }
- Promise.all(asyncInitPromises).then(() => {
- complete();
- }).catch(e => {
- this.reject(e);
- });
- if (asyncInitPromises.length === 0) {
- complete();
- }
- this.initialized = true;
- }
- }
- ApplicationInitStatus.ɵfac = function ApplicationInitStatus_Factory(t) {
- return new (t || ApplicationInitStatus)(ɵɵinject(APP_INITIALIZER, 8));
- };
- ApplicationInitStatus.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
- token: ApplicationInitStatus,
- factory: ApplicationInitStatus.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationInitStatus, [{
- type: Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: Inject,
- args: [APP_INITIALIZER]
- }, {
- type: Optional
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A [DI token](guide/glossary#di-token "DI token definition") representing a unique string ID, used
- * primarily for prefixing application attributes and CSS styles when
- * {@link ViewEncapsulation#Emulated ViewEncapsulation.Emulated} is being used.
- *
- * BY default, the value is randomly generated and assigned to the application by Angular.
- * To provide a custom ID value, use a DI provider <!-- TODO: provider --> to configure
- * the root {@link Injector} that uses this token.
- *
- * @publicApi
- */
- const APP_ID = new InjectionToken('AppId', {
- providedIn: 'root',
- factory: _appIdRandomProviderFactory
- });
- function _appIdRandomProviderFactory() {
- return `${_randomChar()}${_randomChar()}${_randomChar()}`;
- }
- /**
- * Providers that generate a random `APP_ID_TOKEN`.
- * @publicApi
- */
- const APP_ID_RANDOM_PROVIDER = {
- provide: APP_ID,
- useFactory: _appIdRandomProviderFactory,
- deps: []
- };
- function _randomChar() {
- return String.fromCharCode(97 + Math.floor(Math.random() * 25));
- }
- /**
- * A function that is executed when a platform is initialized.
- * @publicApi
- */
- const PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer');
- /**
- * A token that indicates an opaque platform ID.
- * @publicApi
- */
- const PLATFORM_ID = new InjectionToken('Platform ID', {
- providedIn: 'platform',
- factory: () => 'unknown' // set a default platform name, when none set explicitly
- });
- /**
- * A [DI token](guide/glossary#di-token "DI token definition") that provides a set of callbacks to
- * be called for every component that is bootstrapped.
- *
- * Each callback must take a `ComponentRef` instance and return nothing.
- *
- * `(componentRef: ComponentRef) => void`
- *
- * @publicApi
- */
- const APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener');
- /**
- * A [DI token](guide/glossary#di-token "DI token definition") that indicates the root directory of
- * the application
- * @publicApi
- */
- 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
- // about which animations module is loaded (e.g. the CDK) can retrieve it without having to
- // include extra dependencies. See #44970 for more context.
- /**
- * A [DI token](guide/glossary#di-token "DI token definition") that indicates which animations
- * module has been loaded.
- * @publicApi
- */
- const ANIMATION_MODULE_TYPE = new InjectionToken('AnimationModuleType');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class Console {
- log(message) {
- // tslint:disable-next-line:no-console
- console.log(message);
- } // Note: for reporting errors use `DOM.logError()` as it is platform specific
- warn(message) {
- // tslint:disable-next-line:no-console
- console.warn(message);
- }
- }
- Console.ɵfac = function Console_Factory(t) {
- return new (t || Console)();
- };
- Console.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
- token: Console,
- factory: Console.ɵfac,
- providedIn: 'platform'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Console, [{
- type: Injectable,
- args: [{
- providedIn: 'platform'
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Work out the locale from the potential global properties.
- *
- * * Closure Compiler: use `goog.LOCALE`.
- * * Ivy enabled: use `$localize.locale`
- */
- function getGlobalLocale() {
- if (typeof ngI18nClosureMode !== 'undefined' && ngI18nClosureMode && typeof goog !== 'undefined' && goog.LOCALE !== 'en') {
- // * The default `goog.LOCALE` value is `en`, while Angular used `en-US`.
- // * In order to preserve backwards compatibility, we use Angular default value over
- // Closure Compiler's one.
- return goog.LOCALE;
- } else {
- // KEEP `typeof $localize !== 'undefined' && $localize.locale` IN SYNC WITH THE LOCALIZE
- // COMPILE-TIME INLINER.
- //
- // * During compile time inlining of translations the expression will be replaced
- // with a string literal that is the current locale. Other forms of this expression are not
- // guaranteed to be replaced.
- //
- // * During runtime translation evaluation, the developer is required to set `$localize.locale`
- // if required, or just to provide their own `LOCALE_ID` provider.
- return typeof $localize !== 'undefined' && $localize.locale || DEFAULT_LOCALE_ID;
- }
- }
- /**
- * Provide this token to set the locale of your application.
- * It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,
- * DecimalPipe and PercentPipe) and by ICU expressions.
- *
- * See the [i18n guide](guide/i18n-common-locale-id) for more information.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * import { LOCALE_ID } from '@angular/core';
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
- * import { AppModule } from './app/app.module';
- *
- * platformBrowserDynamic().bootstrapModule(AppModule, {
- * providers: [{provide: LOCALE_ID, useValue: 'en-US' }]
- * });
- * ```
- *
- * @publicApi
- */
- const LOCALE_ID = new InjectionToken('LocaleId', {
- providedIn: 'root',
- factory: () => inject(LOCALE_ID, InjectFlags.Optional | InjectFlags.SkipSelf) || getGlobalLocale()
- });
- /**
- * Provide this token to set the default currency code your application uses for
- * CurrencyPipe when there is no currency code passed into it. This is only used by
- * CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.
- *
- * See the [i18n guide](guide/i18n-common-locale-id) for more information.
- *
- * <div class="alert is-helpful">
- *
- * **Deprecation notice:**
- *
- * The default currency code is currently always `USD` but this is deprecated from v9.
- *
- * **In v10 the default currency code will be taken from the current locale.**
- *
- * If you need the previous behavior then set it by creating a `DEFAULT_CURRENCY_CODE` provider in
- * your application `NgModule`:
- *
- * ```ts
- * {provide: DEFAULT_CURRENCY_CODE, useValue: 'USD'}
- * ```
- *
- * </div>
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
- * import { AppModule } from './app/app.module';
- *
- * platformBrowserDynamic().bootstrapModule(AppModule, {
- * providers: [{provide: DEFAULT_CURRENCY_CODE, useValue: 'EUR' }]
- * });
- * ```
- *
- * @publicApi
- */
- const DEFAULT_CURRENCY_CODE = new InjectionToken('DefaultCurrencyCode', {
- providedIn: 'root',
- factory: () => USD_CURRENCY_CODE
- });
- /**
- * Use this token at bootstrap to provide the content of your translation file (`xtb`,
- * `xlf` or `xlf2`) when you want to translate your application in another language.
- *
- * See the [i18n guide](guide/i18n-common-merge) for more information.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * import { TRANSLATIONS } from '@angular/core';
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
- * import { AppModule } from './app/app.module';
- *
- * // content of your translation file
- * const translations = '....';
- *
- * platformBrowserDynamic().bootstrapModule(AppModule, {
- * providers: [{provide: TRANSLATIONS, useValue: translations }]
- * });
- * ```
- *
- * @publicApi
- */
- const TRANSLATIONS = new InjectionToken('Translations');
- /**
- * Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,
- * `xlf` or `xlf2`.
- *
- * See the [i18n guide](guide/i18n-common-merge) for more information.
- *
- * @usageNotes
- * ### Example
- *
- * ```typescript
- * import { TRANSLATIONS_FORMAT } from '@angular/core';
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
- * import { AppModule } from './app/app.module';
- *
- * platformBrowserDynamic().bootstrapModule(AppModule, {
- * providers: [{provide: TRANSLATIONS_FORMAT, useValue: 'xlf' }]
- * });
- * ```
- *
- * @publicApi
- */
- const TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat');
- /**
- * Use this enum at bootstrap as an option of `bootstrapModule` to define the strategy
- * that the compiler should use in case of missing translations:
- * - Error: throw if you have missing translations.
- * - Warning (default): show a warning in the console and/or shell.
- * - Ignore: do nothing.
- *
- * See the [i18n guide](guide/i18n-common-merge#report-missing-translations) for more information.
- *
- * @usageNotes
- * ### Example
- * ```typescript
- * import { MissingTranslationStrategy } from '@angular/core';
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
- * import { AppModule } from './app/app.module';
- *
- * platformBrowserDynamic().bootstrapModule(AppModule, {
- * missingTranslation: MissingTranslationStrategy.Error
- * });
- * ```
- *
- * @publicApi
- */
- var MissingTranslationStrategy;
- (function (MissingTranslationStrategy) {
- MissingTranslationStrategy[MissingTranslationStrategy["Error"] = 0] = "Error";
- MissingTranslationStrategy[MissingTranslationStrategy["Warning"] = 1] = "Warning";
- MissingTranslationStrategy[MissingTranslationStrategy["Ignore"] = 2] = "Ignore";
- })(MissingTranslationStrategy || (MissingTranslationStrategy = {}));
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Combination of NgModuleFactory and ComponentFactories.
- *
- * @publicApi
- *
- * @deprecated
- * Ivy JIT mode doesn't require accessing this symbol.
- * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
- * additional context.
- */
- class ModuleWithComponentFactories {
- constructor(ngModuleFactory, componentFactories) {
- this.ngModuleFactory = ngModuleFactory;
- this.componentFactories = componentFactories;
- }
- }
- /**
- * Low-level service for running the angular compiler during runtime
- * to create {@link ComponentFactory}s, which
- * can later be used to create and render a Component instance.
- *
- * Each `@NgModule` provides an own `Compiler` to its injector,
- * that will use the directives/pipes of the ng module for compilation
- * of components.
- *
- * @publicApi
- *
- * @deprecated
- * Ivy JIT mode doesn't require accessing this symbol.
- * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
- * additional context.
- */
- class Compiler {
- /**
- * Compiles the given NgModule and all of its components. All templates of the components listed
- * in `entryComponents` have to be inlined.
- */
- compileModuleSync(moduleType) {
- return new NgModuleFactory(moduleType);
- }
- /**
- * Compiles the given NgModule and all of its components
- */
- compileModuleAsync(moduleType) {
- return Promise.resolve(this.compileModuleSync(moduleType));
- }
- /**
- * Same as {@link #compileModuleSync} but also creates ComponentFactories for all components.
- */
- compileModuleAndAllComponentsSync(moduleType) {
- const ngModuleFactory = this.compileModuleSync(moduleType);
- const moduleDef = getNgModuleDef(moduleType);
- const componentFactories = maybeUnwrapFn(moduleDef.declarations).reduce((factories, declaration) => {
- const componentDef = getComponentDef(declaration);
- componentDef && factories.push(new ComponentFactory(componentDef));
- return factories;
- }, []);
- return new ModuleWithComponentFactories(ngModuleFactory, componentFactories);
- }
- /**
- * Same as {@link #compileModuleAsync} but also creates ComponentFactories for all components.
- */
- compileModuleAndAllComponentsAsync(moduleType) {
- return Promise.resolve(this.compileModuleAndAllComponentsSync(moduleType));
- }
- /**
- * Clears all caches.
- */
- clearCache() {}
- /**
- * Clears the cache for the given component/ngModule.
- */
- clearCacheFor(type) {}
- /**
- * Returns the id for a given NgModule, if one is defined and known to the compiler.
- */
- getModuleId(moduleType) {
- return undefined;
- }
- }
- Compiler.ɵfac = function Compiler_Factory(t) {
- return new (t || Compiler)();
- };
- Compiler.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
- token: Compiler,
- factory: Compiler.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Compiler, [{
- type: Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /**
- * Token to provide CompilerOptions in the platform injector.
- *
- * @publicApi
- */
- const COMPILER_OPTIONS = new InjectionToken('compilerOptions');
- /**
- * A factory for creating a Compiler
- *
- * @publicApi
- *
- * @deprecated
- * Ivy JIT mode doesn't require accessing this symbol.
- * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
- * additional context.
- */
- class CompilerFactory {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Marks a component for check (in case of OnPush components) and synchronously
- * performs change detection on the application this component belongs to.
- *
- * @param component Component to {@link ChangeDetectorRef#markForCheck mark for check}.
- *
- * @publicApi
- * @globalApi ng
- */
- function applyChanges(component) {
- ngDevMode && assertDefined(component, 'component');
- markViewDirty(getComponentViewByInstance(component));
- getRootComponents(component).forEach(rootComponent => detectChanges(rootComponent));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This file introduces series of globally accessible debug tools
- * to allow for the Angular debugging story to function.
- *
- * To see this in action run the following command:
- *
- * bazel run //packages/core/test/bundling/todo:devserver
- *
- * Then load `localhost:5432` and start using the console tools.
- */
- /**
- * This value reflects the property on the window where the dev
- * tools are patched (window.ng).
- * */
- const GLOBAL_PUBLISH_EXPANDO_KEY = 'ng';
- let _published = false;
- /**
- * Publishes a collection of default debug tools onto`window.ng`.
- *
- * These functions are available globally when Angular is in development
- * mode and are automatically stripped away from prod mode is on.
- */
- function publishDefaultGlobalUtils$1() {
- if (!_published) {
- _published = true;
- /**
- * Warning: this function is *INTERNAL* and should not be relied upon in application's code.
- * The contract of the function might be changed in any release and/or the function can be
- * removed completely.
- */
- publishGlobalUtil('ɵsetProfiler', setProfiler);
- publishGlobalUtil('getDirectiveMetadata', getDirectiveMetadata$1);
- publishGlobalUtil('getComponent', getComponent);
- publishGlobalUtil('getContext', getContext);
- publishGlobalUtil('getListeners', getListeners);
- publishGlobalUtil('getOwningComponent', getOwningComponent);
- publishGlobalUtil('getHostElement', getHostElement);
- publishGlobalUtil('getInjector', getInjector);
- publishGlobalUtil('getRootComponents', getRootComponents);
- publishGlobalUtil('getDirectives', getDirectives);
- publishGlobalUtil('applyChanges', applyChanges);
- }
- }
- /**
- * Publishes the given function to `window.ng` so that it can be
- * used from the browser console when an application is not in production.
- */
- function publishGlobalUtil(name, fn) {
- if (typeof COMPILED === 'undefined' || !COMPILED) {
- // Note: we can't export `ng` when using closure enhanced optimization as:
- // - closure declares globals itself for minified names, which sometimes clobber our `ng` global
- // - we can't declare a closure extern as the namespace `ng` is already used within Google
- // for typings for AngularJS (via `goog.provide('ng....')`).
- const w = _global;
- ngDevMode && assertDefined(fn, 'function not defined');
- if (w) {
- let container = w[GLOBAL_PUBLISH_EXPANDO_KEY];
- if (!container) {
- container = w[GLOBAL_PUBLISH_EXPANDO_KEY] = {};
- }
- container[name] = fn;
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const promise = (() => Promise.resolve(0))();
- function scheduleMicroTask(fn) {
- if (typeof Zone === 'undefined') {
- // use promise to schedule microTask instead of use Zone
- promise.then(() => {
- fn && fn.apply(null, null);
- });
- } else {
- Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function getNativeRequestAnimationFrame() {
- let nativeRequestAnimationFrame = _global['requestAnimationFrame'];
- let nativeCancelAnimationFrame = _global['cancelAnimationFrame'];
- if (typeof Zone !== 'undefined' && nativeRequestAnimationFrame && nativeCancelAnimationFrame) {
- // use unpatched version of requestAnimationFrame(native delegate) if possible
- // to avoid another Change detection
- const unpatchedRequestAnimationFrame = nativeRequestAnimationFrame[Zone.__symbol__('OriginalDelegate')];
- if (unpatchedRequestAnimationFrame) {
- nativeRequestAnimationFrame = unpatchedRequestAnimationFrame;
- }
- const unpatchedCancelAnimationFrame = nativeCancelAnimationFrame[Zone.__symbol__('OriginalDelegate')];
- if (unpatchedCancelAnimationFrame) {
- nativeCancelAnimationFrame = unpatchedCancelAnimationFrame;
- }
- }
- return {
- nativeRequestAnimationFrame,
- nativeCancelAnimationFrame
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An injectable service for executing work inside or outside of the Angular zone.
- *
- * The most common use of this service is to optimize performance when starting a work consisting of
- * one or more asynchronous tasks that don't require UI updates or error handling to be handled by
- * Angular. Such tasks can be kicked off via {@link #runOutsideAngular} and if needed, these tasks
- * can reenter the Angular zone via {@link #run}.
- *
- * <!-- TODO: add/fix links to:
- * - docs explaining zones and the use of zones in Angular and change-detection
- * - link to runOutsideAngular/run (throughout this file!)
- * -->
- *
- * @usageNotes
- * ### Example
- *
- * ```
- * import {Component, NgZone} from '@angular/core';
- * import {NgIf} from '@angular/common';
- *
- * @Component({
- * selector: 'ng-zone-demo',
- * template: `
- * <h2>Demo: NgZone</h2>
- *
- * <p>Progress: {{progress}}%</p>
- * <p *ngIf="progress >= 100">Done processing {{label}} of Angular zone!</p>
- *
- * <button (click)="processWithinAngularZone()">Process within Angular zone</button>
- * <button (click)="processOutsideOfAngularZone()">Process outside of Angular zone</button>
- * `,
- * })
- * export class NgZoneDemo {
- * progress: number = 0;
- * label: string;
- *
- * constructor(private _ngZone: NgZone) {}
- *
- * // Loop inside the Angular zone
- * // so the UI DOES refresh after each setTimeout cycle
- * processWithinAngularZone() {
- * this.label = 'inside';
- * this.progress = 0;
- * this._increaseProgress(() => console.log('Inside Done!'));
- * }
- *
- * // Loop outside of the Angular zone
- * // so the UI DOES NOT refresh after each setTimeout cycle
- * processOutsideOfAngularZone() {
- * this.label = 'outside';
- * this.progress = 0;
- * this._ngZone.runOutsideAngular(() => {
- * this._increaseProgress(() => {
- * // reenter the Angular zone and display done
- * this._ngZone.run(() => { console.log('Outside Done!'); });
- * });
- * });
- * }
- *
- * _increaseProgress(doneCallback: () => void) {
- * this.progress += 1;
- * console.log(`Current progress: ${this.progress}%`);
- *
- * if (this.progress < 100) {
- * window.setTimeout(() => this._increaseProgress(doneCallback), 10);
- * } else {
- * doneCallback();
- * }
- * }
- * }
- * ```
- *
- * @publicApi
- */
- class NgZone {
- constructor({
- enableLongStackTrace = false,
- shouldCoalesceEventChangeDetection = false,
- shouldCoalesceRunChangeDetection = false
- }) {
- this.hasPendingMacrotasks = false;
- this.hasPendingMicrotasks = false;
- /**
- * Whether there are no outstanding microtasks or macrotasks.
- */
- this.isStable = true;
- /**
- * Notifies when code enters Angular Zone. This gets fired first on VM Turn.
- */
- this.onUnstable = new EventEmitter(false);
- /**
- * Notifies when there is no more microtasks enqueued in the current VM Turn.
- * This is a hint for Angular to do change detection, which may enqueue more microtasks.
- * For this reason this event can fire multiple times per VM Turn.
- */
- this.onMicrotaskEmpty = new EventEmitter(false);
- /**
- * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which
- * implies we are about to relinquish VM turn.
- * This event gets called just once.
- */
- this.onStable = new EventEmitter(false);
- /**
- * Notifies that an error has been delivered.
- */
- this.onError = new EventEmitter(false);
- if (typeof Zone == 'undefined') {
- throw new RuntimeError(908
- /* RuntimeErrorCode.MISSING_ZONEJS */
- , ngDevMode && `In this configuration Angular requires Zone.js`);
- }
- Zone.assertZonePatched();
- const self = this;
- self._nesting = 0;
- self._outer = self._inner = Zone.current;
- if (Zone['AsyncStackTaggingZoneSpec']) {
- const AsyncStackTaggingZoneSpec = Zone['AsyncStackTaggingZoneSpec'];
- self._inner = self._inner.fork(new AsyncStackTaggingZoneSpec('Angular'));
- }
- if (Zone['TaskTrackingZoneSpec']) {
- self._inner = self._inner.fork(new Zone['TaskTrackingZoneSpec']());
- }
- if (enableLongStackTrace && Zone['longStackTraceZoneSpec']) {
- self._inner = self._inner.fork(Zone['longStackTraceZoneSpec']);
- } // if shouldCoalesceRunChangeDetection is true, all tasks including event tasks will be
- // coalesced, so shouldCoalesceEventChangeDetection option is not necessary and can be skipped.
- self.shouldCoalesceEventChangeDetection = !shouldCoalesceRunChangeDetection && shouldCoalesceEventChangeDetection;
- self.shouldCoalesceRunChangeDetection = shouldCoalesceRunChangeDetection;
- self.lastRequestAnimationFrameId = -1;
- self.nativeRequestAnimationFrame = getNativeRequestAnimationFrame().nativeRequestAnimationFrame;
- forkInnerZoneWithAngularBehavior(self);
- }
- static isInAngularZone() {
- // Zone needs to be checked, because this method might be called even when NoopNgZone is used.
- return typeof Zone !== 'undefined' && Zone.current.get('isAngularZone') === true;
- }
- static assertInAngularZone() {
- if (!NgZone.isInAngularZone()) {
- throw new RuntimeError(909
- /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */
- , ngDevMode && 'Expected to be in Angular Zone, but it is not!');
- }
- }
- static assertNotInAngularZone() {
- if (NgZone.isInAngularZone()) {
- throw new RuntimeError(909
- /* RuntimeErrorCode.UNEXPECTED_ZONE_STATE */
- , ngDevMode && 'Expected to not be in Angular Zone, but it is!');
- }
- }
- /**
- * Executes the `fn` function synchronously within the Angular zone and returns value returned by
- * the function.
- *
- * Running functions via `run` allows you to reenter Angular zone from a task that was executed
- * outside of the Angular zone (typically started via {@link #runOutsideAngular}).
- *
- * Any future tasks or microtasks scheduled from within this function will continue executing from
- * within the Angular zone.
- *
- * If a synchronous error happens it will be rethrown and not reported via `onError`.
- */
- run(fn, applyThis, applyArgs) {
- return this._inner.run(fn, applyThis, applyArgs);
- }
- /**
- * Executes the `fn` function synchronously within the Angular zone as a task and returns value
- * returned by the function.
- *
- * Running functions via `run` allows you to reenter Angular zone from a task that was executed
- * outside of the Angular zone (typically started via {@link #runOutsideAngular}).
- *
- * Any future tasks or microtasks scheduled from within this function will continue executing from
- * within the Angular zone.
- *
- * If a synchronous error happens it will be rethrown and not reported via `onError`.
- */
- runTask(fn, applyThis, applyArgs, name) {
- const zone = this._inner;
- const task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop, noop);
- try {
- return zone.runTask(task, applyThis, applyArgs);
- } finally {
- zone.cancelTask(task);
- }
- }
- /**
- * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not
- * rethrown.
- */
- runGuarded(fn, applyThis, applyArgs) {
- return this._inner.runGuarded(fn, applyThis, applyArgs);
- }
- /**
- * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by
- * the function.
- *
- * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do
- * work that
- * doesn't trigger Angular change-detection or is subject to Angular's error handling.
- *
- * Any future tasks or microtasks scheduled from within this function will continue executing from
- * outside of the Angular zone.
- *
- * Use {@link #run} to reenter the Angular zone and do work that updates the application model.
- */
- runOutsideAngular(fn) {
- return this._outer.run(fn);
- }
- }
- const EMPTY_PAYLOAD = {};
- function checkStable(zone) {
- // TODO: @JiaLiPassion, should check zone.isCheckStableRunning to prevent
- // re-entry. The case is:
- //
- // @Component({...})
- // export class AppComponent {
- // constructor(private ngZone: NgZone) {
- // this.ngZone.onStable.subscribe(() => {
- // this.ngZone.run(() => console.log('stable'););
- // });
- // }
- //
- // The onStable subscriber run another function inside ngZone
- // which causes `checkStable()` re-entry.
- // But this fix causes some issues in g3, so this fix will be
- // launched in another PR.
- if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) {
- try {
- zone._nesting++;
- zone.onMicrotaskEmpty.emit(null);
- } finally {
- zone._nesting--;
- if (!zone.hasPendingMicrotasks) {
- try {
- zone.runOutsideAngular(() => zone.onStable.emit(null));
- } finally {
- zone.isStable = true;
- }
- }
- }
- }
- }
- function delayChangeDetectionForEvents(zone) {
- /**
- * We also need to check _nesting here
- * Consider the following case with shouldCoalesceRunChangeDetection = true
- *
- * ngZone.run(() => {});
- * ngZone.run(() => {});
- *
- * We want the two `ngZone.run()` only trigger one change detection
- * when shouldCoalesceRunChangeDetection is true.
- * And because in this case, change detection run in async way(requestAnimationFrame),
- * so we also need to check the _nesting here to prevent multiple
- * change detections.
- */
- if (zone.isCheckStableRunning || zone.lastRequestAnimationFrameId !== -1) {
- return;
- }
- zone.lastRequestAnimationFrameId = zone.nativeRequestAnimationFrame.call(_global, () => {
- // This is a work around for https://github.com/angular/angular/issues/36839.
- // The core issue is that when event coalescing is enabled it is possible for microtasks
- // to get flushed too early (As is the case with `Promise.then`) between the
- // coalescing eventTasks.
- //
- // To workaround this we schedule a "fake" eventTask before we process the
- // coalescing eventTasks. The benefit of this is that the "fake" container eventTask
- // will prevent the microtasks queue from getting drained in between the coalescing
- // eventTask execution.
- if (!zone.fakeTopEventTask) {
- zone.fakeTopEventTask = Zone.root.scheduleEventTask('fakeTopEventTask', () => {
- zone.lastRequestAnimationFrameId = -1;
- updateMicroTaskStatus(zone);
- zone.isCheckStableRunning = true;
- checkStable(zone);
- zone.isCheckStableRunning = false;
- }, undefined, () => {}, () => {});
- }
- zone.fakeTopEventTask.invoke();
- });
- updateMicroTaskStatus(zone);
- }
- function forkInnerZoneWithAngularBehavior(zone) {
- const delayChangeDetectionForEventsDelegate = () => {
- delayChangeDetectionForEvents(zone);
- };
- zone._inner = zone._inner.fork({
- name: 'angular',
- properties: {
- 'isAngularZone': true
- },
- onInvokeTask: (delegate, current, target, task, applyThis, applyArgs) => {
- try {
- onEnter(zone);
- return delegate.invokeTask(target, task, applyThis, applyArgs);
- } finally {
- if (zone.shouldCoalesceEventChangeDetection && task.type === 'eventTask' || zone.shouldCoalesceRunChangeDetection) {
- delayChangeDetectionForEventsDelegate();
- }
- onLeave(zone);
- }
- },
- onInvoke: (delegate, current, target, callback, applyThis, applyArgs, source) => {
- try {
- onEnter(zone);
- return delegate.invoke(target, callback, applyThis, applyArgs, source);
- } finally {
- if (zone.shouldCoalesceRunChangeDetection) {
- delayChangeDetectionForEventsDelegate();
- }
- onLeave(zone);
- }
- },
- onHasTask: (delegate, current, target, hasTaskState) => {
- delegate.hasTask(target, hasTaskState);
- if (current === target) {
- // We are only interested in hasTask events which originate from our zone
- // (A child hasTask event is not interesting to us)
- if (hasTaskState.change == 'microTask') {
- zone._hasPendingMicrotasks = hasTaskState.microTask;
- updateMicroTaskStatus(zone);
- checkStable(zone);
- } else if (hasTaskState.change == 'macroTask') {
- zone.hasPendingMacrotasks = hasTaskState.macroTask;
- }
- }
- },
- onHandleError: (delegate, current, target, error) => {
- delegate.handleError(target, error);
- zone.runOutsideAngular(() => zone.onError.emit(error));
- return false;
- }
- });
- }
- function updateMicroTaskStatus(zone) {
- if (zone._hasPendingMicrotasks || (zone.shouldCoalesceEventChangeDetection || zone.shouldCoalesceRunChangeDetection) && zone.lastRequestAnimationFrameId !== -1) {
- zone.hasPendingMicrotasks = true;
- } else {
- zone.hasPendingMicrotasks = false;
- }
- }
- function onEnter(zone) {
- zone._nesting++;
- if (zone.isStable) {
- zone.isStable = false;
- zone.onUnstable.emit(null);
- }
- }
- function onLeave(zone) {
- zone._nesting--;
- checkStable(zone);
- }
- /**
- * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls
- * to framework to perform rendering.
- */
- class NoopNgZone {
- constructor() {
- this.hasPendingMicrotasks = false;
- this.hasPendingMacrotasks = false;
- this.isStable = true;
- this.onUnstable = new EventEmitter();
- this.onMicrotaskEmpty = new EventEmitter();
- this.onStable = new EventEmitter();
- this.onError = new EventEmitter();
- }
- run(fn, applyThis, applyArgs) {
- return fn.apply(applyThis, applyArgs);
- }
- runGuarded(fn, applyThis, applyArgs) {
- return fn.apply(applyThis, applyArgs);
- }
- runOutsideAngular(fn) {
- return fn();
- }
- runTask(fn, applyThis, applyArgs, name) {
- return fn.apply(applyThis, applyArgs);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Internal injection token that can used to access an instance of a Testability class.
- *
- * This token acts as a bridge between the core bootstrap code and the `Testability` class. This is
- * needed to ensure that there are no direct references to the `Testability` class, so it can be
- * tree-shaken away (if not referenced). For the environments/setups when the `Testability` class
- * should be available, this token is used to add a provider that references the `Testability`
- * class. Otherwise, only this token is retained in a bundle, but the `Testability` class is not.
- */
- const TESTABILITY = new InjectionToken('');
- /**
- * Internal injection token to retrieve Testability getter class instance.
- */
- const TESTABILITY_GETTER = new InjectionToken('');
- /**
- * The Testability service provides testing hooks that can be accessed from
- * the browser.
- *
- * Angular applications bootstrapped using an NgModule (via `@NgModule.bootstrap` field) will also
- * instantiate Testability by default (in both development and production modes).
- *
- * For applications bootstrapped using the `bootstrapApplication` function, Testability is not
- * included by default. You can include it into your applications by getting the list of necessary
- * providers using the `provideProtractorTestingSupport()` function and adding them into the
- * `options.providers` array. Example:
- *
- * ```typescript
- * import {provideProtractorTestingSupport} from '@angular/platform-browser';
- *
- * await bootstrapApplication(RootComponent, providers: [provideProtractorTestingSupport()]);
- * ```
- *
- * @publicApi
- */
- class Testability {
- constructor(_ngZone, registry, testabilityGetter) {
- this._ngZone = _ngZone;
- this.registry = registry;
- this._pendingCount = 0;
- this._isZoneStable = true;
- /**
- * Whether any work was done since the last 'whenStable' callback. This is
- * useful to detect if this could have potentially destabilized another
- * component while it is stabilizing.
- * @internal
- */
- this._didWork = false;
- this._callbacks = [];
- this.taskTrackingZone = null; // If there was no Testability logic registered in the global scope
- // before, register the current testability getter as a global one.
- if (!_testabilityGetter) {
- setTestabilityGetter(testabilityGetter);
- testabilityGetter.addToWindow(registry);
- }
- this._watchAngularEvents();
- _ngZone.run(() => {
- this.taskTrackingZone = typeof Zone == 'undefined' ? null : Zone.current.get('TaskTrackingZone');
- });
- }
- _watchAngularEvents() {
- this._ngZone.onUnstable.subscribe({
- next: () => {
- this._didWork = true;
- this._isZoneStable = false;
- }
- });
- this._ngZone.runOutsideAngular(() => {
- this._ngZone.onStable.subscribe({
- next: () => {
- NgZone.assertNotInAngularZone();
- scheduleMicroTask(() => {
- this._isZoneStable = true;
- this._runCallbacksIfReady();
- });
- }
- });
- });
- }
- /**
- * Increases the number of pending request
- * @deprecated pending requests are now tracked with zones.
- */
- increasePendingRequestCount() {
- this._pendingCount += 1;
- this._didWork = true;
- return this._pendingCount;
- }
- /**
- * Decreases the number of pending request
- * @deprecated pending requests are now tracked with zones
- */
- decreasePendingRequestCount() {
- this._pendingCount -= 1;
- if (this._pendingCount < 0) {
- throw new Error('pending async requests below zero');
- }
- this._runCallbacksIfReady();
- return this._pendingCount;
- }
- /**
- * Whether an associated application is stable
- */
- isStable() {
- return this._isZoneStable && this._pendingCount === 0 && !this._ngZone.hasPendingMacrotasks;
- }
- _runCallbacksIfReady() {
- if (this.isStable()) {
- // Schedules the call backs in a new frame so that it is always async.
- scheduleMicroTask(() => {
- while (this._callbacks.length !== 0) {
- let cb = this._callbacks.pop();
- clearTimeout(cb.timeoutId);
- cb.doneCb(this._didWork);
- }
- this._didWork = false;
- });
- } else {
- // Still not stable, send updates.
- let pending = this.getPendingTasks();
- this._callbacks = this._callbacks.filter(cb => {
- if (cb.updateCb && cb.updateCb(pending)) {
- clearTimeout(cb.timeoutId);
- return false;
- }
- return true;
- });
- this._didWork = true;
- }
- }
- getPendingTasks() {
- if (!this.taskTrackingZone) {
- return [];
- } // Copy the tasks data so that we don't leak tasks.
- return this.taskTrackingZone.macroTasks.map(t => {
- return {
- source: t.source,
- // From TaskTrackingZone:
- // https://github.com/angular/zone.js/blob/master/lib/zone-spec/task-tracking.ts#L40
- creationLocation: t.creationLocation,
- data: t.data
- };
- });
- }
- addCallback(cb, timeout, updateCb) {
- let timeoutId = -1;
- if (timeout && timeout > 0) {
- timeoutId = setTimeout(() => {
- this._callbacks = this._callbacks.filter(cb => cb.timeoutId !== timeoutId);
- cb(this._didWork, this.getPendingTasks());
- }, timeout);
- }
- this._callbacks.push({
- doneCb: cb,
- timeoutId: timeoutId,
- updateCb: updateCb
- });
- }
- /**
- * Wait for the application to be stable with a timeout. If the timeout is reached before that
- * happens, the callback receives a list of the macro tasks that were pending, otherwise null.
- *
- * @param doneCb The callback to invoke when Angular is stable or the timeout expires
- * whichever comes first.
- * @param timeout Optional. The maximum time to wait for Angular to become stable. If not
- * specified, whenStable() will wait forever.
- * @param updateCb Optional. If specified, this callback will be invoked whenever the set of
- * pending macrotasks changes. If this callback returns true doneCb will not be invoked
- * and no further updates will be issued.
- */
- whenStable(doneCb, timeout, updateCb) {
- if (updateCb && !this.taskTrackingZone) {
- throw new Error('Task tracking zone is required when passing an update callback to ' + 'whenStable(). Is "zone.js/plugins/task-tracking" loaded?');
- } // These arguments are 'Function' above to keep the public API simple.
- this.addCallback(doneCb, timeout, updateCb);
- this._runCallbacksIfReady();
- }
- /**
- * Get the number of pending requests
- * @deprecated pending requests are now tracked with zones
- */
- getPendingRequestCount() {
- return this._pendingCount;
- }
- /**
- * Registers an application with a testability hook so that it can be tracked.
- * @param token token of application, root element
- *
- * @internal
- */
- registerApplication(token) {
- this.registry.registerApplication(token, this);
- }
- /**
- * Unregisters an application.
- * @param token token of application, root element
- *
- * @internal
- */
- unregisterApplication(token) {
- this.registry.unregisterApplication(token);
- }
- /**
- * Find providers by name
- * @param using The root element to search from
- * @param provider The name of binding variable
- * @param exactMatch Whether using exactMatch
- */
- findProviders(using, provider, exactMatch) {
- // TODO(juliemr): implement.
- return [];
- }
- }
- Testability.ɵfac = function Testability_Factory(t) {
- return new (t || Testability)(ɵɵinject(NgZone), ɵɵinject(TestabilityRegistry), ɵɵinject(TESTABILITY_GETTER));
- };
- Testability.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
- token: Testability,
- factory: Testability.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Testability, [{
- type: Injectable
- }], function () {
- return [{
- type: NgZone
- }, {
- type: TestabilityRegistry
- }, {
- type: undefined,
- decorators: [{
- type: Inject,
- args: [TESTABILITY_GETTER]
- }]
- }];
- }, null);
- })();
- /**
- * A global registry of {@link Testability} instances for specific elements.
- * @publicApi
- */
- class TestabilityRegistry {
- constructor() {
- /** @internal */
- this._applications = new Map();
- }
- /**
- * Registers an application with a testability hook so that it can be tracked
- * @param token token of application, root element
- * @param testability Testability hook
- */
- registerApplication(token, testability) {
- this._applications.set(token, testability);
- }
- /**
- * Unregisters an application.
- * @param token token of application, root element
- */
- unregisterApplication(token) {
- this._applications.delete(token);
- }
- /**
- * Unregisters all applications
- */
- unregisterAllApplications() {
- this._applications.clear();
- }
- /**
- * Get a testability hook associated with the application
- * @param elem root element
- */
- getTestability(elem) {
- return this._applications.get(elem) || null;
- }
- /**
- * Get all registered testabilities
- */
- getAllTestabilities() {
- return Array.from(this._applications.values());
- }
- /**
- * Get all registered applications(root elements)
- */
- getAllRootElements() {
- return Array.from(this._applications.keys());
- }
- /**
- * Find testability of a node in the Tree
- * @param elem node
- * @param findInAncestors whether finding testability in ancestors if testability was not found in
- * current node
- */
- findTestabilityInTree(elem, findInAncestors = true) {
- var _a;
- return (_a = _testabilityGetter === null || _testabilityGetter === void 0 ? void 0 : _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors)) !== null && _a !== void 0 ? _a : null;
- }
- }
- TestabilityRegistry.ɵfac = function TestabilityRegistry_Factory(t) {
- return new (t || TestabilityRegistry)();
- };
- TestabilityRegistry.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
- token: TestabilityRegistry,
- factory: TestabilityRegistry.ɵfac,
- providedIn: 'platform'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(TestabilityRegistry, [{
- type: Injectable,
- args: [{
- providedIn: 'platform'
- }]
- }], null, null);
- })();
- /**
- * Set the {@link GetTestability} implementation used by the Angular testing framework.
- * @publicApi
- */
- function setTestabilityGetter(getter) {
- _testabilityGetter = getter;
- }
- let _testabilityGetter;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- let _platformInjector = null;
- /**
- * Internal token to indicate whether having multiple bootstrapped platform should be allowed (only
- * one bootstrapped platform is allowed by default). This token helps to support SSR scenarios.
- */
- const ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken');
- /**
- * Internal token that allows to register extra callbacks that should be invoked during the
- * `PlatformRef.destroy` operation. This token is needed to avoid a direct reference to the
- * `PlatformRef` class (i.e. register the callback via `PlatformRef.onDestroy`), thus making the
- * entire class tree-shakeable.
- */
- const PLATFORM_DESTROY_LISTENERS = new InjectionToken('PlatformDestroyListeners');
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;
- function compileNgModuleFactory(injector, options, moduleType) {
- ngDevMode && assertNgModuleType(moduleType);
- const moduleFactory = new NgModuleFactory(moduleType); // All of the logic below is irrelevant for AOT-compiled code.
- if (typeof ngJitMode !== 'undefined' && !ngJitMode) {
- return Promise.resolve(moduleFactory);
- }
- const compilerOptions = injector.get(COMPILER_OPTIONS, []).concat(options); // Configure the compiler to use the provided options. This call may fail when multiple modules
- // are bootstrapped with incompatible options, as a component can only be compiled according to
- // a single set of options.
- setJitOptions({
- defaultEncapsulation: _lastDefined(compilerOptions.map(opts => opts.defaultEncapsulation)),
- preserveWhitespaces: _lastDefined(compilerOptions.map(opts => opts.preserveWhitespaces))
- });
- if (isComponentResourceResolutionQueueEmpty()) {
- return Promise.resolve(moduleFactory);
- }
- const compilerProviders = _mergeArrays(compilerOptions.map(o => o.providers)); // In case there are no compiler providers, we just return the module factory as
- // there won't be any resource loader. This can happen with Ivy, because AOT compiled
- // modules can be still passed through "bootstrapModule". In that case we shouldn't
- // unnecessarily require the JIT compiler.
- if (compilerProviders.length === 0) {
- return Promise.resolve(moduleFactory);
- }
- const compiler = getCompilerFacade({
- usage: 0
- /* JitCompilerUsage.Decorator */
- ,
- kind: 'NgModule',
- type: moduleType
- });
- const compilerInjector = Injector.create({
- providers: compilerProviders
- });
- const resourceLoader = compilerInjector.get(compiler.ResourceLoader); // The resource loader can also return a string while the "resolveComponentResources"
- // always expects a promise. Therefore we need to wrap the returned value in a promise.
- return resolveComponentResources(url => Promise.resolve(resourceLoader.get(url))).then(() => moduleFactory);
- }
- function publishDefaultGlobalUtils() {
- ngDevMode && publishDefaultGlobalUtils$1();
- }
- function isBoundToModule(cf) {
- return cf.isBoundToModule;
- }
- /**
- * A token for third-party components that can register themselves with NgProbe.
- *
- * @publicApi
- */
- class NgProbeToken {
- constructor(name, token) {
- this.name = name;
- this.token = token;
- }
- }
- /**
- * Creates a platform.
- * Platforms must be created on launch using this function.
- *
- * @publicApi
- */
- function createPlatform(injector) {
- if (_platformInjector && !_platformInjector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {
- throw new RuntimeError(400
- /* RuntimeErrorCode.MULTIPLE_PLATFORMS */
- , ngDevMode && 'There can be only one platform. Destroy the previous one to create a new one.');
- }
- publishDefaultGlobalUtils();
- _platformInjector = injector;
- const platform = injector.get(PlatformRef);
- runPlatformInitializers(injector);
- return platform;
- }
- /**
- * The goal of this function is to bootstrap a platform injector,
- * but avoid referencing `PlatformRef` class.
- * This function is needed for bootstrapping a Standalone Component.
- */
- function createOrReusePlatformInjector(providers = []) {
- // If a platform injector already exists, it means that the platform
- // is already bootstrapped and no additional actions are required.
- if (_platformInjector) return _platformInjector; // Otherwise, setup a new platform injector and run platform initializers.
- const injector = createPlatformInjector(providers);
- _platformInjector = injector;
- publishDefaultGlobalUtils();
- runPlatformInitializers(injector);
- return injector;
- }
- function runPlatformInitializers(injector) {
- const inits = injector.get(PLATFORM_INITIALIZER, null);
- if (inits) {
- inits.forEach(init => init());
- }
- }
- /**
- * Internal create application API that implements the core application creation logic and optional
- * bootstrap logic.
- *
- * Platforms (such as `platform-browser`) may require different set of application and platform
- * providers for an application to function correctly. As a result, platforms may use this function
- * internally and supply the necessary providers during the bootstrap, while exposing
- * platform-specific APIs as a part of their public API.
- *
- * @returns A promise that returns an `ApplicationRef` instance once resolved.
- */
- function internalCreateApplication(config) {
- const {
- rootComponent,
- appProviders,
- platformProviders
- } = config;
- if (NG_DEV_MODE && rootComponent !== undefined) {
- assertStandaloneComponentType(rootComponent);
- }
- const platformInjector = createOrReusePlatformInjector(platformProviders);
- const ngZone = getNgZone('zone.js', getNgZoneOptions());
- return ngZone.run(() => {
- // Create root application injector based on a set of providers configured at the platform
- // bootstrap level as well as providers passed to the bootstrap call by a user.
- const allAppProviders = [{
- provide: NgZone,
- useValue: ngZone
- }, ...(appProviders || []) //
- ];
- const envInjector = createEnvironmentInjector(allAppProviders, platformInjector, 'Environment Injector');
- const exceptionHandler = envInjector.get(ErrorHandler, null);
- if (NG_DEV_MODE && !exceptionHandler) {
- throw new RuntimeError(402
- /* RuntimeErrorCode.ERROR_HANDLER_NOT_FOUND */
- , 'No `ErrorHandler` found in the Dependency Injection tree.');
- }
- let onErrorSubscription;
- ngZone.runOutsideAngular(() => {
- onErrorSubscription = ngZone.onError.subscribe({
- next: error => {
- exceptionHandler.handleError(error);
- }
- });
- }); // If the whole platform is destroyed, invoke the `destroy` method
- // for all bootstrapped applications as well.
- const destroyListener = () => envInjector.destroy();
- const onPlatformDestroyListeners = platformInjector.get(PLATFORM_DESTROY_LISTENERS);
- onPlatformDestroyListeners.add(destroyListener);
- envInjector.onDestroy(() => {
- onErrorSubscription.unsubscribe();
- onPlatformDestroyListeners.delete(destroyListener);
- });
- return _callAndReportToErrorHandler(exceptionHandler, ngZone, () => {
- const initStatus = envInjector.get(ApplicationInitStatus);
- initStatus.runInitializers();
- return initStatus.donePromise.then(() => {
- const localeId = envInjector.get(LOCALE_ID, DEFAULT_LOCALE_ID);
- setLocaleId(localeId || DEFAULT_LOCALE_ID);
- const appRef = envInjector.get(ApplicationRef);
- if (rootComponent !== undefined) {
- appRef.bootstrap(rootComponent);
- }
- return appRef;
- });
- });
- });
- }
- /**
- * Creates a factory for a platform. Can be used to provide or override `Providers` specific to
- * your application's runtime needs, such as `PLATFORM_INITIALIZER` and `PLATFORM_ID`.
- * @param parentPlatformFactory Another platform factory to modify. Allows you to compose factories
- * to build up configurations that might be required by different libraries or parts of the
- * application.
- * @param name Identifies the new platform factory.
- * @param providers A set of dependency providers for platforms created with the new factory.
- *
- * @publicApi
- */
- function createPlatformFactory(parentPlatformFactory, name, providers = []) {
- const desc = `Platform: ${name}`;
- const marker = new InjectionToken(desc);
- return (extraProviders = []) => {
- let platform = getPlatform();
- if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {
- const platformProviders = [...providers, ...extraProviders, {
- provide: marker,
- useValue: true
- }];
- if (parentPlatformFactory) {
- parentPlatformFactory(platformProviders);
- } else {
- createPlatform(createPlatformInjector(platformProviders, desc));
- }
- }
- return assertPlatform(marker);
- };
- }
- /**
- * Checks that there is currently a platform that contains the given token as a provider.
- *
- * @publicApi
- */
- function assertPlatform(requiredToken) {
- const platform = getPlatform();
- if (!platform) {
- throw new RuntimeError(401
- /* RuntimeErrorCode.PLATFORM_NOT_FOUND */
- , ngDevMode && 'No platform exists!');
- }
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && !platform.injector.get(requiredToken, null)) {
- throw new RuntimeError(400
- /* RuntimeErrorCode.MULTIPLE_PLATFORMS */
- , 'A platform with a different configuration has been created. Please destroy it first.');
- }
- return platform;
- }
- /**
- * Helper function to create an instance of a platform injector (that maintains the 'platform'
- * scope).
- */
- function createPlatformInjector(providers = [], name) {
- return Injector.create({
- name,
- providers: [{
- provide: INJECTOR_SCOPE,
- useValue: 'platform'
- }, {
- provide: PLATFORM_DESTROY_LISTENERS,
- useValue: new Set([() => _platformInjector = null])
- }, ...providers]
- });
- }
- /**
- * Destroys the current Angular platform and all Angular applications on the page.
- * Destroys all modules and listeners registered with the platform.
- *
- * @publicApi
- */
- function destroyPlatform() {
- var _a;
- (_a = getPlatform()) === null || _a === void 0 ? void 0 : _a.destroy();
- }
- /**
- * Returns the current platform.
- *
- * @publicApi
- */
- function getPlatform() {
- var _a;
- return (_a = _platformInjector === null || _platformInjector === void 0 ? void 0 : _platformInjector.get(PlatformRef)) !== null && _a !== void 0 ? _a : null;
- }
- /**
- * The Angular platform is the entry point for Angular on a web page.
- * Each page has exactly one platform. Services (such as reflection) which are common
- * to every Angular application running on the page are bound in its scope.
- * A page's platform is initialized implicitly when a platform is created using a platform
- * factory such as `PlatformBrowser`, or explicitly by calling the `createPlatform()` function.
- *
- * @publicApi
- */
- class PlatformRef {
- /** @internal */
- constructor(_injector) {
- this._injector = _injector;
- this._modules = [];
- this._destroyListeners = [];
- this._destroyed = false;
- }
- /**
- * Creates an instance of an `@NgModule` for the given platform.
- *
- * @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function
- * argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead.
- */
- bootstrapModuleFactory(moduleFactory, options) {
- // Note: We need to create the NgZone _before_ we instantiate the module,
- // as instantiating the module creates some providers eagerly.
- // So we create a mini parent injector that just contains the new NgZone and
- // pass that as parent to the NgModuleFactory.
- const ngZone = getNgZone(options === null || options === void 0 ? void 0 : options.ngZone, getNgZoneOptions(options));
- const providers = [{
- provide: NgZone,
- useValue: ngZone
- }]; // Note: Create ngZoneInjector within ngZone.run so that all of the instantiated services are
- // created within the Angular zone
- // Do not try to replace ngZone.run with ApplicationRef#run because ApplicationRef would then be
- // created outside of the Angular zone.
- return ngZone.run(() => {
- const ngZoneInjector = Injector.create({
- providers: providers,
- parent: this.injector,
- name: moduleFactory.moduleType.name
- });
- const moduleRef = moduleFactory.create(ngZoneInjector);
- const exceptionHandler = moduleRef.injector.get(ErrorHandler, null);
- if (!exceptionHandler) {
- throw new RuntimeError(402
- /* RuntimeErrorCode.ERROR_HANDLER_NOT_FOUND */
- , ngDevMode && 'No ErrorHandler. Is platform module (BrowserModule) included?');
- }
- ngZone.runOutsideAngular(() => {
- const subscription = ngZone.onError.subscribe({
- next: error => {
- exceptionHandler.handleError(error);
- }
- });
- moduleRef.onDestroy(() => {
- remove(this._modules, moduleRef);
- subscription.unsubscribe();
- });
- });
- return _callAndReportToErrorHandler(exceptionHandler, ngZone, () => {
- const initStatus = moduleRef.injector.get(ApplicationInitStatus);
- initStatus.runInitializers();
- return initStatus.donePromise.then(() => {
- // If the `LOCALE_ID` provider is defined at bootstrap then we set the value for ivy
- const localeId = moduleRef.injector.get(LOCALE_ID, DEFAULT_LOCALE_ID);
- setLocaleId(localeId || DEFAULT_LOCALE_ID);
- this._moduleDoBootstrap(moduleRef);
- return moduleRef;
- });
- });
- });
- }
- /**
- * Creates an instance of an `@NgModule` for a given platform.
- *
- * @usageNotes
- * ### Simple Example
- *
- * ```typescript
- * @NgModule({
- * imports: [BrowserModule]
- * })
- * class MyModule {}
- *
- * let moduleRef = platformBrowser().bootstrapModule(MyModule);
- * ```
- *
- */
- bootstrapModule(moduleType, compilerOptions = []) {
- const options = optionsReducer({}, compilerOptions);
- return compileNgModuleFactory(this.injector, options, moduleType).then(moduleFactory => this.bootstrapModuleFactory(moduleFactory, options));
- }
- _moduleDoBootstrap(moduleRef) {
- const appRef = moduleRef.injector.get(ApplicationRef);
- if (moduleRef._bootstrapComponents.length > 0) {
- moduleRef._bootstrapComponents.forEach(f => appRef.bootstrap(f));
- } else if (moduleRef.instance.ngDoBootstrap) {
- moduleRef.instance.ngDoBootstrap(appRef);
- } else {
- throw new RuntimeError(403
- /* RuntimeErrorCode.BOOTSTRAP_COMPONENTS_NOT_FOUND */
- , 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.`);
- }
- this._modules.push(moduleRef);
- }
- /**
- * Registers a listener to be called when the platform is destroyed.
- */
- onDestroy(callback) {
- this._destroyListeners.push(callback);
- }
- /**
- * Retrieves the platform {@link Injector}, which is the parent injector for
- * every Angular application on the page and provides singleton providers.
- */
- get injector() {
- return this._injector;
- }
- /**
- * Destroys the current Angular platform and all Angular applications on the page.
- * Destroys all modules and listeners registered with the platform.
- */
- destroy() {
- if (this._destroyed) {
- throw new RuntimeError(404
- /* RuntimeErrorCode.PLATFORM_ALREADY_DESTROYED */
- , ngDevMode && 'The platform has already been destroyed!');
- }
- this._modules.slice().forEach(module => module.destroy());
- this._destroyListeners.forEach(listener => listener());
- const destroyListeners = this._injector.get(PLATFORM_DESTROY_LISTENERS, null);
- if (destroyListeners) {
- destroyListeners.forEach(listener => listener());
- destroyListeners.clear();
- }
- this._destroyed = true;
- }
- /**
- * Indicates whether this instance was destroyed.
- */
- get destroyed() {
- return this._destroyed;
- }
- }
- PlatformRef.ɵfac = function PlatformRef_Factory(t) {
- return new (t || PlatformRef)(ɵɵinject(Injector));
- };
- PlatformRef.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
- token: PlatformRef,
- factory: PlatformRef.ɵfac,
- providedIn: 'platform'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(PlatformRef, [{
- type: Injectable,
- args: [{
- providedIn: 'platform'
- }]
- }], function () {
- return [{
- type: Injector
- }];
- }, null);
- })(); // Transforms a set of `BootstrapOptions` (supported by the NgModule-based bootstrap APIs) ->
- // `NgZoneOptions` that are recognized by the NgZone constructor. Passing no options will result in
- // a set of default options returned.
- function getNgZoneOptions(options) {
- return {
- enableLongStackTrace: typeof ngDevMode === 'undefined' ? false : !!ngDevMode,
- shouldCoalesceEventChangeDetection: !!(options && options.ngZoneEventCoalescing) || false,
- shouldCoalesceRunChangeDetection: !!(options && options.ngZoneRunCoalescing) || false
- };
- }
- function getNgZone(ngZoneToUse, options) {
- let ngZone;
- if (ngZoneToUse === 'noop') {
- ngZone = new NoopNgZone();
- } else {
- ngZone = (ngZoneToUse === 'zone.js' ? undefined : ngZoneToUse) || new NgZone(options);
- }
- return ngZone;
- }
- function _callAndReportToErrorHandler(errorHandler, ngZone, callback) {
- try {
- const result = callback();
- if (isPromise(result)) {
- return result.catch(e => {
- ngZone.runOutsideAngular(() => errorHandler.handleError(e)); // rethrow as the exception handler might not do it
- throw e;
- });
- }
- return result;
- } catch (e) {
- ngZone.runOutsideAngular(() => errorHandler.handleError(e)); // rethrow as the exception handler might not do it
- throw e;
- }
- }
- function optionsReducer(dst, objs) {
- if (Array.isArray(objs)) {
- dst = objs.reduce(optionsReducer, dst);
- } else {
- dst = Object.assign(Object.assign({}, dst), objs);
- }
- return dst;
- }
- /**
- * A reference to an Angular application running on a page.
- *
- * @usageNotes
- *
- * {@a is-stable-examples}
- * ### isStable examples and caveats
- *
- * Note two important points about `isStable`, demonstrated in the examples below:
- * - the application will never be stable if you start any kind
- * of recurrent asynchronous task when the application starts
- * (for example for a polling process, started with a `setInterval`, a `setTimeout`
- * or using RxJS operators like `interval`);
- * - the `isStable` Observable runs outside of the Angular zone.
- *
- * Let's imagine that you start a recurrent task
- * (here incrementing a counter, using RxJS `interval`),
- * and at the same time subscribe to `isStable`.
- *
- * ```
- * constructor(appRef: ApplicationRef) {
- * appRef.isStable.pipe(
- * filter(stable => stable)
- * ).subscribe(() => console.log('App is stable now');
- * interval(1000).subscribe(counter => console.log(counter));
- * }
- * ```
- * In this example, `isStable` will never emit `true`,
- * and the trace "App is stable now" will never get logged.
- *
- * If you want to execute something when the app is stable,
- * you have to wait for the application to be stable
- * before starting your polling process.
- *
- * ```
- * constructor(appRef: ApplicationRef) {
- * appRef.isStable.pipe(
- * first(stable => stable),
- * tap(stable => console.log('App is stable now')),
- * switchMap(() => interval(1000))
- * ).subscribe(counter => console.log(counter));
- * }
- * ```
- * In this example, the trace "App is stable now" will be logged
- * and then the counter starts incrementing every second.
- *
- * Note also that this Observable runs outside of the Angular zone,
- * which means that the code in the subscription
- * to this Observable will not trigger the change detection.
- *
- * Let's imagine that instead of logging the counter value,
- * you update a field of your component
- * and display it in its template.
- *
- * ```
- * constructor(appRef: ApplicationRef) {
- * appRef.isStable.pipe(
- * first(stable => stable),
- * switchMap(() => interval(1000))
- * ).subscribe(counter => this.value = counter);
- * }
- * ```
- * As the `isStable` Observable runs outside the zone,
- * the `value` field will be updated properly,
- * but the template will not be refreshed!
- *
- * You'll have to manually trigger the change detection to update the template.
- *
- * ```
- * constructor(appRef: ApplicationRef, cd: ChangeDetectorRef) {
- * appRef.isStable.pipe(
- * first(stable => stable),
- * switchMap(() => interval(1000))
- * ).subscribe(counter => {
- * this.value = counter;
- * cd.detectChanges();
- * });
- * }
- * ```
- *
- * Or make the subscription callback run inside the zone.
- *
- * ```
- * constructor(appRef: ApplicationRef, zone: NgZone) {
- * appRef.isStable.pipe(
- * first(stable => stable),
- * switchMap(() => interval(1000))
- * ).subscribe(counter => zone.run(() => this.value = counter));
- * }
- * ```
- *
- * @publicApi
- */
- class ApplicationRef {
- /** @internal */
- constructor(_zone, _injector, _exceptionHandler) {
- this._zone = _zone;
- this._injector = _injector;
- this._exceptionHandler = _exceptionHandler;
- /** @internal */
- this._bootstrapListeners = [];
- this._views = [];
- this._runningTick = false;
- this._stable = true;
- this._destroyed = false;
- this._destroyListeners = [];
- /**
- * Get a list of component types registered to this application.
- * This list is populated even before the component is created.
- */
- this.componentTypes = [];
- /**
- * Get a list of components registered to this application.
- */
- this.components = [];
- this._onMicrotaskEmptySubscription = this._zone.onMicrotaskEmpty.subscribe({
- next: () => {
- this._zone.run(() => {
- this.tick();
- });
- }
- });
- const isCurrentlyStable = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Observable(observer => {
- this._stable = this._zone.isStable && !this._zone.hasPendingMacrotasks && !this._zone.hasPendingMicrotasks;
- this._zone.runOutsideAngular(() => {
- observer.next(this._stable);
- observer.complete();
- });
- });
- const isStable = new rxjs__WEBPACK_IMPORTED_MODULE_2__.Observable(observer => {
- // Create the subscription to onStable outside the Angular Zone so that
- // the callback is run outside the Angular Zone.
- let stableSub;
- this._zone.runOutsideAngular(() => {
- stableSub = this._zone.onStable.subscribe(() => {
- NgZone.assertNotInAngularZone(); // Check whether there are no pending macro/micro tasks in the next tick
- // to allow for NgZone to update the state.
- scheduleMicroTask(() => {
- if (!this._stable && !this._zone.hasPendingMacrotasks && !this._zone.hasPendingMicrotasks) {
- this._stable = true;
- observer.next(true);
- }
- });
- });
- });
- const unstableSub = this._zone.onUnstable.subscribe(() => {
- NgZone.assertInAngularZone();
- if (this._stable) {
- this._stable = false;
- this._zone.runOutsideAngular(() => {
- observer.next(false);
- });
- }
- });
- return () => {
- stableSub.unsubscribe();
- unstableSub.unsubscribe();
- };
- });
- this.isStable = (0,rxjs__WEBPACK_IMPORTED_MODULE_3__.merge)(isCurrentlyStable, isStable.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.share)()));
- }
- /**
- * Indicates whether this instance was destroyed.
- */
- get destroyed() {
- return this._destroyed;
- }
- /**
- * The `EnvironmentInjector` used to create this application.
- */
- get injector() {
- return this._injector;
- }
- /**
- * Bootstrap a component onto the element identified by its selector or, optionally, to a
- * specified element.
- *
- * @usageNotes
- * ### Bootstrap process
- *
- * When bootstrapping a component, Angular mounts it onto a target DOM element
- * and kicks off automatic change detection. The target DOM element can be
- * provided using the `rootSelectorOrNode` argument.
- *
- * If the target DOM element is not provided, Angular tries to find one on a page
- * using the `selector` of the component that is being bootstrapped
- * (first matched element is used).
- *
- * ### Example
- *
- * Generally, we define the component to bootstrap in the `bootstrap` array of `NgModule`,
- * but it requires us to know the component while writing the application code.
- *
- * Imagine a situation where we have to wait for an API call to decide about the component to
- * bootstrap. We can use the `ngDoBootstrap` hook of the `NgModule` and call this method to
- * dynamically bootstrap a component.
- *
- * {@example core/ts/platform/platform.ts region='componentSelector'}
- *
- * Optionally, a component can be mounted onto a DOM element that does not match the
- * selector of the bootstrapped component.
- *
- * In the following example, we are providing a CSS selector to match the target element.
- *
- * {@example core/ts/platform/platform.ts region='cssSelector'}
- *
- * While in this example, we are providing reference to a DOM node.
- *
- * {@example core/ts/platform/platform.ts region='domNode'}
- */
- bootstrap(componentOrFactory, rootSelectorOrNode) {
- NG_DEV_MODE && this.warnIfDestroyed();
- const isComponentFactory = componentOrFactory instanceof ComponentFactory$1;
- const initStatus = this._injector.get(ApplicationInitStatus);
- if (!initStatus.done) {
- const standalone = !isComponentFactory && isStandalone(componentOrFactory);
- const errorMessage = 'Cannot bootstrap as there are still asynchronous initializers running.' + (standalone ? '' : ' Bootstrap components in the `ngDoBootstrap` method of the root module.');
- throw new RuntimeError(405
- /* RuntimeErrorCode.ASYNC_INITIALIZERS_STILL_RUNNING */
- , NG_DEV_MODE && errorMessage);
- }
- let componentFactory;
- if (isComponentFactory) {
- componentFactory = componentOrFactory;
- } else {
- const resolver = this._injector.get(ComponentFactoryResolver$1);
- componentFactory = resolver.resolveComponentFactory(componentOrFactory);
- }
- this.componentTypes.push(componentFactory.componentType); // Create a factory associated with the current module if it's not bound to some other
- const ngModule = isBoundToModule(componentFactory) ? undefined : this._injector.get(NgModuleRef$1);
- const selectorOrNode = rootSelectorOrNode || componentFactory.selector;
- const compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule);
- const nativeElement = compRef.location.nativeElement;
- const testability = compRef.injector.get(TESTABILITY, null);
- testability === null || testability === void 0 ? void 0 : testability.registerApplication(nativeElement);
- compRef.onDestroy(() => {
- this.detachView(compRef.hostView);
- remove(this.components, compRef);
- testability === null || testability === void 0 ? void 0 : testability.unregisterApplication(nativeElement);
- });
- this._loadComponent(compRef);
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- const _console = this._injector.get(Console);
- _console.log(`Angular is running in development mode. Call enableProdMode() to enable production mode.`);
- }
- return compRef;
- }
- /**
- * Invoke this method to explicitly process change detection and its side-effects.
- *
- * In development mode, `tick()` also performs a second change detection cycle to ensure that no
- * further changes are detected. If additional changes are picked up during this second cycle,
- * bindings in the app have side-effects that cannot be resolved in a single change detection
- * pass.
- * In this case, Angular throws an error, since an Angular application can only have one change
- * detection pass during which all change detection must complete.
- */
- tick() {
- NG_DEV_MODE && this.warnIfDestroyed();
- if (this._runningTick) {
- throw new RuntimeError(101
- /* RuntimeErrorCode.RECURSIVE_APPLICATION_REF_TICK */
- , ngDevMode && 'ApplicationRef.tick is called recursively');
- }
- try {
- this._runningTick = true;
- for (let view of this._views) {
- view.detectChanges();
- }
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- for (let view of this._views) {
- view.checkNoChanges();
- }
- }
- } catch (e) {
- // Attention: Don't rethrow as it could cancel subscriptions to Observables!
- this._zone.runOutsideAngular(() => this._exceptionHandler.handleError(e));
- } finally {
- this._runningTick = false;
- }
- }
- /**
- * Attaches a view so that it will be dirty checked.
- * The view will be automatically detached when it is destroyed.
- * This will throw if the view is already attached to a ViewContainer.
- */
- attachView(viewRef) {
- NG_DEV_MODE && this.warnIfDestroyed();
- const view = viewRef;
- this._views.push(view);
- view.attachToAppRef(this);
- }
- /**
- * Detaches a view from dirty checking again.
- */
- detachView(viewRef) {
- NG_DEV_MODE && this.warnIfDestroyed();
- const view = viewRef;
- remove(this._views, view);
- view.detachFromAppRef();
- }
- _loadComponent(componentRef) {
- this.attachView(componentRef.hostView);
- this.tick();
- this.components.push(componentRef); // Get the listeners lazily to prevent DI cycles.
- const listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []).concat(this._bootstrapListeners);
- listeners.forEach(listener => listener(componentRef));
- }
- /** @internal */
- ngOnDestroy() {
- if (this._destroyed) return;
- try {
- // Call all the lifecycle hooks.
- this._destroyListeners.forEach(listener => listener()); // Destroy all registered views.
- this._views.slice().forEach(view => view.destroy());
- this._onMicrotaskEmptySubscription.unsubscribe();
- } finally {
- // Indicate that this instance is destroyed.
- this._destroyed = true; // Release all references.
- this._views = [];
- this._bootstrapListeners = [];
- this._destroyListeners = [];
- }
- }
- /**
- * Registers a listener to be called when an instance is destroyed.
- *
- * @param callback A callback function to add as a listener.
- * @returns A function which unregisters a listener.
- *
- * @internal
- */
- onDestroy(callback) {
- NG_DEV_MODE && this.warnIfDestroyed();
- this._destroyListeners.push(callback);
- return () => remove(this._destroyListeners, callback);
- }
- /**
- * Destroys an Angular application represented by this `ApplicationRef`. Calling this function
- * will destroy the associated environment injectors as well as all the bootstrapped components
- * with their views.
- */
- destroy() {
- if (this._destroyed) {
- throw new RuntimeError(406
- /* RuntimeErrorCode.APPLICATION_REF_ALREADY_DESTROYED */
- , ngDevMode && 'This instance of the `ApplicationRef` has already been destroyed.');
- }
- const injector = this._injector; // Check that this injector instance supports destroy operation.
- if (injector.destroy && !injector.destroyed) {
- // Destroying an underlying injector will trigger the `ngOnDestroy` lifecycle
- // hook, which invokes the remaining cleanup actions.
- injector.destroy();
- }
- }
- /**
- * Returns the number of attached views.
- */
- get viewCount() {
- return this._views.length;
- }
- warnIfDestroyed() {
- if (NG_DEV_MODE && this._destroyed) {
- console.warn(formatRuntimeError(406
- /* RuntimeErrorCode.APPLICATION_REF_ALREADY_DESTROYED */
- , 'This instance of the `ApplicationRef` has already been destroyed.'));
- }
- }
- }
- ApplicationRef.ɵfac = function ApplicationRef_Factory(t) {
- return new (t || ApplicationRef)(ɵɵinject(NgZone), ɵɵinject(EnvironmentInjector), ɵɵinject(ErrorHandler));
- };
- ApplicationRef.ɵprov = /*@__PURE__*/ɵɵdefineInjectable({
- token: ApplicationRef,
- factory: ApplicationRef.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationRef, [{
- type: Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: NgZone
- }, {
- type: EnvironmentInjector
- }, {
- type: ErrorHandler
- }];
- }, null);
- })();
- function remove(list, el) {
- const index = list.indexOf(el);
- if (index > -1) {
- list.splice(index, 1);
- }
- }
- function _lastDefined(args) {
- for (let i = args.length - 1; i >= 0; i--) {
- if (args[i] !== undefined) {
- return args[i];
- }
- }
- return undefined;
- }
- function _mergeArrays(parts) {
- const result = [];
- parts.forEach(part => part && result.push(...part));
- return result;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This file is used to control if the default rendering pipeline should be `ViewEngine` or `Ivy`.
- *
- * For more information on how to run and debug tests with either Ivy or View Engine (legacy),
- * please see [BAZEL.md](./docs/BAZEL.md).
- */
- let _devMode = true;
- let _runModeLocked = false;
- /**
- * Returns whether Angular is in development mode. After called once,
- * the value is locked and won't change any more.
- *
- * By default, this is true, unless a user calls `enableProdMode` before calling this.
- *
- * @publicApi
- */
- function isDevMode() {
- _runModeLocked = true;
- return _devMode;
- }
- /**
- * Disable Angular's development mode, which turns off assertions and other
- * checks within the framework.
- *
- * One important assertion this disables verifies that a change detection pass
- * does not result in additional changes to any bindings (also known as
- * unidirectional data flow).
- *
- * @publicApi
- */
- function enableProdMode() {
- if (_runModeLocked) {
- throw new Error('Cannot enable prod mode after platform setup.');
- } // The below check is there so when ngDevMode is set via terser
- // `global['ngDevMode'] = false;` is also dropped.
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- _global['ngDevMode'] = false;
- }
- _devMode = false;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Returns the NgModuleFactory with the given id (specified using [@NgModule.id
- * field](api/core/NgModule#id)), if it exists and has been loaded. Factories for NgModules that do
- * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
- * @publicApi
- * @deprecated Use `getNgModuleById` instead.
- */
- function getModuleFactory(id) {
- const type = getRegisteredNgModuleType(id);
- if (!type) throw noModuleError(id);
- return new NgModuleFactory(type);
- }
- /**
- * Returns the NgModule class with the given id (specified using [@NgModule.id
- * field](api/core/NgModule#id)), if it exists and has been loaded. Classes for NgModules that do
- * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
- * @publicApi
- */
- function getNgModuleById(id) {
- const type = getRegisteredNgModuleType(id);
- if (!type) throw noModuleError(id);
- return type;
- }
- function noModuleError(id) {
- return new Error(`No module with ID ${id} loaded`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Base class that provides change detection functionality.
- * A change-detection tree collects all views that are to be checked for changes.
- * Use the methods to add and remove views from the tree, initiate change-detection,
- * and explicitly mark views as _dirty_, meaning that they have changed and need to be re-rendered.
- *
- * @see [Using change detection hooks](guide/lifecycle-hooks#using-change-detection-hooks)
- * @see [Defining custom change detection](guide/lifecycle-hooks#defining-custom-change-detection)
- *
- * @usageNotes
- *
- * The following examples demonstrate how to modify default change-detection behavior
- * to perform explicit detection when needed.
- *
- * ### Use `markForCheck()` with `CheckOnce` strategy
- *
- * The following example sets the `OnPush` change-detection strategy for a component
- * (`CheckOnce`, rather than the default `CheckAlways`), then forces a second check
- * after an interval. See [live demo](https://plnkr.co/edit/GC512b?p=preview).
- *
- * <code-example path="core/ts/change_detect/change-detection.ts"
- * region="mark-for-check"></code-example>
- *
- * ### Detach change detector to limit how often check occurs
- *
- * The following example defines a component with a large list of read-only data
- * that is expected to change constantly, many times per second.
- * To improve performance, we want to check and update the list
- * less often than the changes actually occur. To do that, we detach
- * the component's change detector and perform an explicit local check every five seconds.
- *
- * <code-example path="core/ts/change_detect/change-detection.ts" region="detach"></code-example>
- *
- *
- * ### Reattaching a detached component
- *
- * The following example creates a component displaying live data.
- * The component detaches its change detector from the main change detector tree
- * when the `live` property is set to false, and reattaches it when the property
- * becomes true.
- *
- * <code-example path="core/ts/change_detect/change-detection.ts" region="reattach"></code-example>
- *
- * @publicApi
- */
- class ChangeDetectorRef {}
- /**
- * @internal
- * @nocollapse
- */
- ChangeDetectorRef.__NG_ELEMENT_ID__ = injectChangeDetectorRef;
- /** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
- function injectChangeDetectorRef(flags) {
- return createViewRef(getCurrentTNode(), getLView(), (flags & 16
- /* InternalInjectFlags.ForPipe */
- ) === 16
- /* InternalInjectFlags.ForPipe */
- );
- }
- /**
- * Creates a ViewRef and stores it on the injector as ChangeDetectorRef (public alias).
- *
- * @param tNode The node that is requesting a ChangeDetectorRef
- * @param lView The view to which the node belongs
- * @param isPipe Whether the view is being injected into a pipe.
- * @returns The ChangeDetectorRef to use
- */
- function createViewRef(tNode, lView, isPipe) {
- if (isComponentHost(tNode) && !isPipe) {
- // The LView represents the location where the component is declared.
- // Instead we want the LView for the component View and so we need to look it up.
- const componentView = getComponentLViewByIndex(tNode.index, lView); // look down
- return new ViewRef$1(componentView, componentView);
- } else if (tNode.type & (3
- /* TNodeType.AnyRNode */
- | 12
- /* TNodeType.AnyContainer */
- | 32
- /* TNodeType.Icu */
- )) {
- // The LView represents the location where the injection is requested from.
- // We need to locate the containing LView (in case where the `lView` is an embedded view)
- const hostComponentView = lView[DECLARATION_COMPONENT_VIEW]; // look up
- return new ViewRef$1(hostComponentView, lView);
- }
- return null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents an Angular [view](guide/glossary#view "Definition").
- *
- * @see {@link ChangeDetectorRef#usage-notes Change detection usage}
- *
- * @publicApi
- */
- class ViewRef extends ChangeDetectorRef {}
- /**
- * Represents an Angular [view](guide/glossary#view) in a view container.
- * An [embedded view](guide/glossary#view-tree) can be referenced from a component
- * other than the hosting component whose template defines it, or it can be defined
- * independently by a `TemplateRef`.
- *
- * Properties of elements in a view can change, but the structure (number and order) of elements in
- * a view cannot. Change the structure of elements by inserting, moving, or
- * removing nested views in a view container.
- *
- * @see `ViewContainerRef`
- *
- * @usageNotes
- *
- * The following template breaks down into two separate `TemplateRef` instances,
- * an outer one and an inner one.
- *
- * ```
- * Count: {{items.length}}
- * <ul>
- * <li *ngFor="let item of items">{{item}}</li>
- * </ul>
- * ```
- *
- * This is the outer `TemplateRef`:
- *
- * ```
- * Count: {{items.length}}
- * <ul>
- * <ng-template ngFor let-item [ngForOf]="items"></ng-template>
- * </ul>
- * ```
- *
- * This is the inner `TemplateRef`:
- *
- * ```
- * <li>{{item}}</li>
- * ```
- *
- * The outer and inner `TemplateRef` instances are assembled into views as follows:
- *
- * ```
- * <!-- ViewRef: outer-0 -->
- * Count: 2
- * <ul>
- * <ng-template view-container-ref></ng-template>
- * <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->
- * <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->
- * </ul>
- * <!-- /ViewRef: outer-0 -->
- * ```
- * @publicApi
- */
- class EmbeddedViewRef extends ViewRef {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file exists for easily patching NgModuleFactoryLoader in g3
- var ng_module_factory_loader_impl = {};
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- */
- class DebugEventListener {
- constructor(name, callback) {
- this.name = name;
- this.callback = callback;
- }
- }
- /**
- * @publicApi
- */
- function asNativeElements(debugEls) {
- return debugEls.map(el => el.nativeElement);
- }
- /**
- * @publicApi
- */
- class DebugNode {
- constructor(nativeNode) {
- this.nativeNode = nativeNode;
- }
- /**
- * The `DebugElement` parent. Will be `null` if this is the root element.
- */
- get parent() {
- const parent = this.nativeNode.parentNode;
- return parent ? new DebugElement(parent) : null;
- }
- /**
- * The host dependency injector. For example, the root element's component instance injector.
- */
- get injector() {
- return getInjector(this.nativeNode);
- }
- /**
- * The element's own component instance, if it has one.
- */
- get componentInstance() {
- const nativeElement = this.nativeNode;
- return nativeElement && (getComponent(nativeElement) || getOwningComponent(nativeElement));
- }
- /**
- * An object that provides parent context for this element. Often an ancestor component instance
- * that governs this element.
- *
- * When an element is repeated within *ngFor, the context is an `NgForOf` whose `$implicit`
- * property is the value of the row instance value. For example, the `hero` in `*ngFor="let hero
- * of heroes"`.
- */
- get context() {
- return getComponent(this.nativeNode) || getContext(this.nativeNode);
- }
- /**
- * The callbacks attached to the component's @Output properties and/or the element's event
- * properties.
- */
- get listeners() {
- return getListeners(this.nativeNode).filter(listener => listener.type === 'dom');
- }
- /**
- * Dictionary of objects associated with template local variables (e.g. #foo), keyed by the local
- * variable name.
- */
- get references() {
- return getLocalRefs(this.nativeNode);
- }
- /**
- * This component's injector lookup tokens. Includes the component itself plus the tokens that the
- * component lists in its providers metadata.
- */
- get providerTokens() {
- return getInjectionTokens(this.nativeNode);
- }
- }
- /**
- * @publicApi
- *
- * @see [Component testing scenarios](guide/testing-components-scenarios)
- * @see [Basics of testing components](guide/testing-components-basics)
- * @see [Testing utility APIs](guide/testing-utility-apis)
- */
- class DebugElement extends DebugNode {
- constructor(nativeNode) {
- ngDevMode && assertDomNode(nativeNode);
- super(nativeNode);
- }
- /**
- * The underlying DOM element at the root of the component.
- */
- get nativeElement() {
- return this.nativeNode.nodeType == Node.ELEMENT_NODE ? this.nativeNode : null;
- }
- /**
- * The element tag name, if it is an element.
- */
- get name() {
- const context = getLContext(this.nativeNode);
- const lView = context ? context.lView : null;
- if (lView !== null) {
- const tData = lView[TVIEW].data;
- const tNode = tData[context.nodeIndex];
- return tNode.value;
- } else {
- return this.nativeNode.nodeName;
- }
- }
- /**
- * Gets a map of property names to property values for an element.
- *
- * This map includes:
- * - Regular property bindings (e.g. `[id]="id"`)
- * - Host property bindings (e.g. `host: { '[id]': "id" }`)
- * - Interpolated property bindings (e.g. `id="{{ value }}")
- *
- * It does not include:
- * - input property bindings (e.g. `[myCustomInput]="value"`)
- * - attribute bindings (e.g. `[attr.role]="menu"`)
- */
- get properties() {
- const context = getLContext(this.nativeNode);
- const lView = context ? context.lView : null;
- if (lView === null) {
- return {};
- }
- const tData = lView[TVIEW].data;
- const tNode = tData[context.nodeIndex];
- const properties = {}; // Collect properties from the DOM.
- copyDomProperties(this.nativeElement, properties); // Collect properties from the bindings. This is needed for animation renderer which has
- // synthetic properties which don't get reflected into the DOM.
- collectPropertyBindings(properties, tNode, lView, tData);
- return properties;
- }
- /**
- * A map of attribute names to attribute values for an element.
- */
- get attributes() {
- const attributes = {};
- const element = this.nativeElement;
- if (!element) {
- return attributes;
- }
- const context = getLContext(element);
- const lView = context ? context.lView : null;
- if (lView === null) {
- return {};
- }
- const tNodeAttrs = lView[TVIEW].data[context.nodeIndex].attrs;
- const lowercaseTNodeAttrs = []; // For debug nodes we take the element's attribute directly from the DOM since it allows us
- // to account for ones that weren't set via bindings (e.g. ViewEngine keeps track of the ones
- // that are set through `Renderer2`). The problem is that the browser will lowercase all names,
- // however since we have the attributes already on the TNode, we can preserve the case by going
- // through them once, adding them to the `attributes` map and putting their lower-cased name
- // into an array. Afterwards when we're going through the native DOM attributes, we can check
- // whether we haven't run into an attribute already through the TNode.
- if (tNodeAttrs) {
- let i = 0;
- while (i < tNodeAttrs.length) {
- const attrName = tNodeAttrs[i]; // Stop as soon as we hit a marker. We only care about the regular attributes. Everything
- // else will be handled below when we read the final attributes off the DOM.
- if (typeof attrName !== 'string') break;
- const attrValue = tNodeAttrs[i + 1];
- attributes[attrName] = attrValue;
- lowercaseTNodeAttrs.push(attrName.toLowerCase());
- i += 2;
- }
- }
- const eAttrs = element.attributes;
- for (let i = 0; i < eAttrs.length; i++) {
- const attr = eAttrs[i];
- const lowercaseName = attr.name.toLowerCase(); // Make sure that we don't assign the same attribute both in its
- // case-sensitive form and the lower-cased one from the browser.
- if (lowercaseTNodeAttrs.indexOf(lowercaseName) === -1) {
- // Save the lowercase name to align the behavior between browsers.
- // IE preserves the case, while all other browser convert it to lower case.
- attributes[lowercaseName] = attr.value;
- }
- }
- return attributes;
- }
- /**
- * The inline styles of the DOM element.
- *
- * Will be `null` if there is no `style` property on the underlying DOM element.
- *
- * @see [ElementCSSInlineStyle](https://developer.mozilla.org/en-US/docs/Web/API/ElementCSSInlineStyle/style)
- */
- get styles() {
- if (this.nativeElement && this.nativeElement.style) {
- return this.nativeElement.style;
- }
- return {};
- }
- /**
- * A map containing the class names on the element as keys.
- *
- * This map is derived from the `className` property of the DOM element.
- *
- * Note: The values of this object will always be `true`. The class key will not appear in the KV
- * object if it does not exist on the element.
- *
- * @see [Element.className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)
- */
- get classes() {
- const result = {};
- const element = this.nativeElement; // SVG elements return an `SVGAnimatedString` instead of a plain string for the `className`.
- const className = element.className;
- const classes = typeof className !== 'string' ? className.baseVal.split(' ') : className.split(' ');
- classes.forEach(value => result[value] = true);
- return result;
- }
- /**
- * The `childNodes` of the DOM element as a `DebugNode` array.
- *
- * @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)
- */
- get childNodes() {
- const childNodes = this.nativeNode.childNodes;
- const children = [];
- for (let i = 0; i < childNodes.length; i++) {
- const element = childNodes[i];
- children.push(getDebugNode(element));
- }
- return children;
- }
- /**
- * The immediate `DebugElement` children. Walk the tree by descending through `children`.
- */
- get children() {
- const nativeElement = this.nativeElement;
- if (!nativeElement) return [];
- const childNodes = nativeElement.children;
- const children = [];
- for (let i = 0; i < childNodes.length; i++) {
- const element = childNodes[i];
- children.push(getDebugNode(element));
- }
- return children;
- }
- /**
- * @returns the first `DebugElement` that matches the predicate at any depth in the subtree.
- */
- query(predicate) {
- const results = this.queryAll(predicate);
- return results[0] || null;
- }
- /**
- * @returns All `DebugElement` matches for the predicate at any depth in the subtree.
- */
- queryAll(predicate) {
- const matches = [];
- _queryAll(this, predicate, matches, true);
- return matches;
- }
- /**
- * @returns All `DebugNode` matches for the predicate at any depth in the subtree.
- */
- queryAllNodes(predicate) {
- const matches = [];
- _queryAll(this, predicate, matches, false);
- return matches;
- }
- /**
- * Triggers the event by its name if there is a corresponding listener in the element's
- * `listeners` collection.
- *
- * If the event lacks a listener or there's some other problem, consider
- * calling `nativeElement.dispatchEvent(eventObject)`.
- *
- * @param eventName The name of the event to trigger
- * @param eventObj The _event object_ expected by the handler
- *
- * @see [Testing components scenarios](guide/testing-components-scenarios#trigger-event-handler)
- */
- triggerEventHandler(eventName, eventObj) {
- const node = this.nativeNode;
- const invokedListeners = [];
- this.listeners.forEach(listener => {
- if (listener.name === eventName) {
- const callback = listener.callback;
- callback.call(node, eventObj);
- invokedListeners.push(callback);
- }
- }); // We need to check whether `eventListeners` exists, because it's something
- // that Zone.js only adds to `EventTarget` in browser environments.
- if (typeof node.eventListeners === 'function') {
- // Note that in Ivy we wrap event listeners with a call to `event.preventDefault` in some
- // cases. We use '__ngUnwrap__' as a special token that gives us access to the actual event
- // listener.
- node.eventListeners(eventName).forEach(listener => {
- // In order to ensure that we can detect the special __ngUnwrap__ token described above, we
- // use `toString` on the listener and see if it contains the token. We use this approach to
- // ensure that it still worked with compiled code since it cannot remove or rename string
- // literals. We also considered using a special function name (i.e. if(listener.name ===
- // special)) but that was more cumbersome and we were also concerned the compiled code could
- // strip the name, turning the condition in to ("" === "") and always returning true.
- if (listener.toString().indexOf('__ngUnwrap__') !== -1) {
- const unwrappedListener = listener('__ngUnwrap__');
- return invokedListeners.indexOf(unwrappedListener) === -1 && unwrappedListener.call(node, eventObj);
- }
- });
- }
- }
- }
- function copyDomProperties(element, properties) {
- if (element) {
- // Skip own properties (as those are patched)
- let obj = Object.getPrototypeOf(element);
- const NodePrototype = Node.prototype;
- while (obj !== null && obj !== NodePrototype) {
- const descriptors = Object.getOwnPropertyDescriptors(obj);
- for (let key in descriptors) {
- if (!key.startsWith('__') && !key.startsWith('on')) {
- // don't include properties starting with `__` and `on`.
- // `__` are patched values which should not be included.
- // `on` are listeners which also should not be included.
- const value = element[key];
- if (isPrimitiveValue(value)) {
- properties[key] = value;
- }
- }
- }
- obj = Object.getPrototypeOf(obj);
- }
- }
- }
- function isPrimitiveValue(value) {
- return typeof value === 'string' || typeof value === 'boolean' || typeof value === 'number' || value === null;
- }
- function _queryAll(parentElement, predicate, matches, elementsOnly) {
- const context = getLContext(parentElement.nativeNode);
- const lView = context ? context.lView : null;
- if (lView !== null) {
- const parentTNode = lView[TVIEW].data[context.nodeIndex];
- _queryNodeChildren(parentTNode, lView, predicate, matches, elementsOnly, parentElement.nativeNode);
- } else {
- // If the context is null, then `parentElement` was either created with Renderer2 or native DOM
- // APIs.
- _queryNativeNodeDescendants(parentElement.nativeNode, predicate, matches, elementsOnly);
- }
- }
- /**
- * Recursively match the current TNode against the predicate, and goes on with the next ones.
- *
- * @param tNode the current TNode
- * @param lView the LView of this TNode
- * @param predicate the predicate to match
- * @param matches the list of positive matches
- * @param elementsOnly whether only elements should be searched
- * @param rootNativeNode the root native node on which predicate should not be matched
- */
- function _queryNodeChildren(tNode, lView, predicate, matches, elementsOnly, rootNativeNode) {
- ngDevMode && assertTNodeForLView(tNode, lView);
- const nativeNode = getNativeByTNodeOrNull(tNode, lView); // For each type of TNode, specific logic is executed.
- if (tNode.type & (3
- /* TNodeType.AnyRNode */
- | 8
- /* TNodeType.ElementContainer */
- )) {
- // Case 1: the TNode is an element
- // The native node has to be checked.
- _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);
- if (isComponentHost(tNode)) {
- // If the element is the host of a component, then all nodes in its view have to be processed.
- // Note: the component's content (tNode.child) will be processed from the insertion points.
- const componentView = getComponentLViewByIndex(tNode.index, lView);
- if (componentView && componentView[TVIEW].firstChild) {
- _queryNodeChildren(componentView[TVIEW].firstChild, componentView, predicate, matches, elementsOnly, rootNativeNode);
- }
- } else {
- if (tNode.child) {
- // Otherwise, its children have to be processed.
- _queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);
- } // We also have to query the DOM directly in order to catch elements inserted through
- // Renderer2. Note that this is __not__ optimal, because we're walking similar trees multiple
- // times. ViewEngine could do it more efficiently, because all the insertions go through
- // Renderer2, however that's not the case in Ivy. This approach is being used because:
- // 1. Matching the ViewEngine behavior would mean potentially introducing a dependency
- // from `Renderer2` to Ivy which could bring Ivy code into ViewEngine.
- // 2. It allows us to capture nodes that were inserted directly via the DOM.
- nativeNode && _queryNativeNodeDescendants(nativeNode, predicate, matches, elementsOnly);
- } // In all cases, if a dynamic container exists for this node, each view inside it has to be
- // processed.
- const nodeOrContainer = lView[tNode.index];
- if (isLContainer(nodeOrContainer)) {
- _queryNodeChildrenInContainer(nodeOrContainer, predicate, matches, elementsOnly, rootNativeNode);
- }
- } else if (tNode.type & 4
- /* TNodeType.Container */
- ) {
- // Case 2: the TNode is a container
- // The native node has to be checked.
- const lContainer = lView[tNode.index];
- _addQueryMatch(lContainer[NATIVE], predicate, matches, elementsOnly, rootNativeNode); // Each view inside the container has to be processed.
- _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode);
- } else if (tNode.type & 16
- /* TNodeType.Projection */
- ) {
- // Case 3: the TNode is a projection insertion point (i.e. a <ng-content>).
- // The nodes projected at this location all need to be processed.
- const componentView = lView[DECLARATION_COMPONENT_VIEW];
- const componentHost = componentView[T_HOST];
- const head = componentHost.projection[tNode.projection];
- if (Array.isArray(head)) {
- for (let nativeNode of head) {
- _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode);
- }
- } else if (head) {
- const nextLView = componentView[PARENT];
- const nextTNode = nextLView[TVIEW].data[head.index];
- _queryNodeChildren(nextTNode, nextLView, predicate, matches, elementsOnly, rootNativeNode);
- }
- } else if (tNode.child) {
- // Case 4: the TNode is a view.
- _queryNodeChildren(tNode.child, lView, predicate, matches, elementsOnly, rootNativeNode);
- } // We don't want to go to the next sibling of the root node.
- if (rootNativeNode !== nativeNode) {
- // To determine the next node to be processed, we need to use the next or the projectionNext
- // link, depending on whether the current node has been projected.
- const nextTNode = tNode.flags & 4
- /* TNodeFlags.isProjected */
- ? tNode.projectionNext : tNode.next;
- if (nextTNode) {
- _queryNodeChildren(nextTNode, lView, predicate, matches, elementsOnly, rootNativeNode);
- }
- }
- }
- /**
- * Process all TNodes in a given container.
- *
- * @param lContainer the container to be processed
- * @param predicate the predicate to match
- * @param matches the list of positive matches
- * @param elementsOnly whether only elements should be searched
- * @param rootNativeNode the root native node on which predicate should not be matched
- */
- function _queryNodeChildrenInContainer(lContainer, predicate, matches, elementsOnly, rootNativeNode) {
- for (let i = CONTAINER_HEADER_OFFSET; i < lContainer.length; i++) {
- const childView = lContainer[i];
- const firstChild = childView[TVIEW].firstChild;
- if (firstChild) {
- _queryNodeChildren(firstChild, childView, predicate, matches, elementsOnly, rootNativeNode);
- }
- }
- }
- /**
- * Match the current native node against the predicate.
- *
- * @param nativeNode the current native node
- * @param predicate the predicate to match
- * @param matches the list of positive matches
- * @param elementsOnly whether only elements should be searched
- * @param rootNativeNode the root native node on which predicate should not be matched
- */
- function _addQueryMatch(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {
- if (rootNativeNode !== nativeNode) {
- const debugNode = getDebugNode(nativeNode);
- if (!debugNode) {
- return;
- } // Type of the "predicate and "matches" array are set based on the value of
- // the "elementsOnly" parameter. TypeScript is not able to properly infer these
- // types with generics, so we manually cast the parameters accordingly.
- if (elementsOnly && debugNode instanceof DebugElement && predicate(debugNode) && matches.indexOf(debugNode) === -1) {
- matches.push(debugNode);
- } else if (!elementsOnly && predicate(debugNode) && matches.indexOf(debugNode) === -1) {
- matches.push(debugNode);
- }
- }
- }
- /**
- * Match all the descendants of a DOM node against a predicate.
- *
- * @param nativeNode the current native node
- * @param predicate the predicate to match
- * @param matches the list where matches are stored
- * @param elementsOnly whether only elements should be searched
- */
- function _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnly) {
- const nodes = parentNode.childNodes;
- const length = nodes.length;
- for (let i = 0; i < length; i++) {
- const node = nodes[i];
- const debugNode = getDebugNode(node);
- if (debugNode) {
- if (elementsOnly && debugNode instanceof DebugElement && predicate(debugNode) && matches.indexOf(debugNode) === -1) {
- matches.push(debugNode);
- } else if (!elementsOnly && predicate(debugNode) && matches.indexOf(debugNode) === -1) {
- matches.push(debugNode);
- }
- _queryNativeNodeDescendants(node, predicate, matches, elementsOnly);
- }
- }
- }
- /**
- * Iterates through the property bindings for a given node and generates
- * a map of property names to values. This map only contains property bindings
- * defined in templates, not in host bindings.
- */
- function collectPropertyBindings(properties, tNode, lView, tData) {
- let bindingIndexes = tNode.propertyBindings;
- if (bindingIndexes !== null) {
- for (let i = 0; i < bindingIndexes.length; i++) {
- const bindingIndex = bindingIndexes[i];
- const propMetadata = tData[bindingIndex];
- const metadataParts = propMetadata.split(INTERPOLATION_DELIMITER);
- const propertyName = metadataParts[0];
- if (metadataParts.length > 1) {
- let value = metadataParts[1];
- for (let j = 1; j < metadataParts.length - 1; j++) {
- value += renderStringify(lView[bindingIndex + j - 1]) + metadataParts[j + 1];
- }
- properties[propertyName] = value;
- } else {
- properties[propertyName] = lView[bindingIndex];
- }
- }
- }
- } // Need to keep the nodes in a global Map so that multiple angular apps are supported.
- const _nativeNodeToDebugNode = new Map();
- const NG_DEBUG_PROPERTY = '__ng_debug__';
- /**
- * @publicApi
- */
- function getDebugNode(nativeNode) {
- if (nativeNode instanceof Node) {
- if (!nativeNode.hasOwnProperty(NG_DEBUG_PROPERTY)) {
- nativeNode[NG_DEBUG_PROPERTY] = nativeNode.nodeType == Node.ELEMENT_NODE ? new DebugElement(nativeNode) : new DebugNode(nativeNode);
- }
- return nativeNode[NG_DEBUG_PROPERTY];
- }
- return null;
- } // TODO: cleanup all references to this function and remove it.
- function getDebugNodeR2(_nativeNode) {
- return null;
- }
- function getAllDebugNodes() {
- return Array.from(_nativeNodeToDebugNode.values());
- }
- function indexDebugNode(node) {
- _nativeNodeToDebugNode.set(node.nativeNode, node);
- }
- function removeDebugNodeFromIndex(node) {
- _nativeNodeToDebugNode.delete(node.nativeNode);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class DefaultIterableDifferFactory {
- constructor() {}
- supports(obj) {
- return isListLikeIterable(obj);
- }
- create(trackByFn) {
- return new DefaultIterableDiffer(trackByFn);
- }
- }
- const trackByIdentity = (index, item) => item;
- /**
- * @deprecated v4.0.0 - Should not be part of public API.
- * @publicApi
- */
- class DefaultIterableDiffer {
- constructor(trackByFn) {
- this.length = 0; // Keeps track of the used records at any point in time (during & across `_check()` calls)
- this._linkedRecords = null; // Keeps track of the removed records at any point in time during `_check()` calls.
- this._unlinkedRecords = null;
- this._previousItHead = null;
- this._itHead = null;
- this._itTail = null;
- this._additionsHead = null;
- this._additionsTail = null;
- this._movesHead = null;
- this._movesTail = null;
- this._removalsHead = null;
- this._removalsTail = null; // Keeps track of records where custom track by is the same, but item identity has changed
- this._identityChangesHead = null;
- this._identityChangesTail = null;
- this._trackByFn = trackByFn || trackByIdentity;
- }
- forEachItem(fn) {
- let record;
- for (record = this._itHead; record !== null; record = record._next) {
- fn(record);
- }
- }
- forEachOperation(fn) {
- let nextIt = this._itHead;
- let nextRemove = this._removalsHead;
- let addRemoveOffset = 0;
- let moveOffsets = null;
- while (nextIt || nextRemove) {
- // Figure out which is the next record to process
- // Order: remove, add, move
- const record = !nextRemove || nextIt && nextIt.currentIndex < getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ? nextIt : nextRemove;
- const adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets);
- const currentIndex = record.currentIndex; // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary
- if (record === nextRemove) {
- addRemoveOffset--;
- nextRemove = nextRemove._nextRemoved;
- } else {
- nextIt = nextIt._next;
- if (record.previousIndex == null) {
- addRemoveOffset++;
- } else {
- // INVARIANT: currentIndex < previousIndex
- if (!moveOffsets) moveOffsets = [];
- const localMovePreviousIndex = adjPreviousIndex - addRemoveOffset;
- const localCurrentIndex = currentIndex - addRemoveOffset;
- if (localMovePreviousIndex != localCurrentIndex) {
- for (let i = 0; i < localMovePreviousIndex; i++) {
- const offset = i < moveOffsets.length ? moveOffsets[i] : moveOffsets[i] = 0;
- const index = offset + i;
- if (localCurrentIndex <= index && index < localMovePreviousIndex) {
- moveOffsets[i] = offset + 1;
- }
- }
- const previousIndex = record.previousIndex;
- moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex;
- }
- }
- }
- if (adjPreviousIndex !== currentIndex) {
- fn(record, adjPreviousIndex, currentIndex);
- }
- }
- }
- forEachPreviousItem(fn) {
- let record;
- for (record = this._previousItHead; record !== null; record = record._nextPrevious) {
- fn(record);
- }
- }
- forEachAddedItem(fn) {
- let record;
- for (record = this._additionsHead; record !== null; record = record._nextAdded) {
- fn(record);
- }
- }
- forEachMovedItem(fn) {
- let record;
- for (record = this._movesHead; record !== null; record = record._nextMoved) {
- fn(record);
- }
- }
- forEachRemovedItem(fn) {
- let record;
- for (record = this._removalsHead; record !== null; record = record._nextRemoved) {
- fn(record);
- }
- }
- forEachIdentityChange(fn) {
- let record;
- for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {
- fn(record);
- }
- }
- diff(collection) {
- if (collection == null) collection = [];
- if (!isListLikeIterable(collection)) {
- throw new RuntimeError(900
- /* RuntimeErrorCode.INVALID_DIFFER_INPUT */
- , ngDevMode && `Error trying to diff '${stringify(collection)}'. Only arrays and iterables are allowed`);
- }
- if (this.check(collection)) {
- return this;
- } else {
- return null;
- }
- }
- onDestroy() {}
- check(collection) {
- this._reset();
- let record = this._itHead;
- let mayBeDirty = false;
- let index;
- let item;
- let itemTrackBy;
- if (Array.isArray(collection)) {
- this.length = collection.length;
- for (let index = 0; index < this.length; index++) {
- item = collection[index];
- itemTrackBy = this._trackByFn(index, item);
- if (record === null || !Object.is(record.trackById, itemTrackBy)) {
- record = this._mismatch(record, item, itemTrackBy, index);
- mayBeDirty = true;
- } else {
- if (mayBeDirty) {
- // TODO(misko): can we limit this to duplicates only?
- record = this._verifyReinsertion(record, item, itemTrackBy, index);
- }
- if (!Object.is(record.item, item)) this._addIdentityChange(record, item);
- }
- record = record._next;
- }
- } else {
- index = 0;
- iterateListLike(collection, item => {
- itemTrackBy = this._trackByFn(index, item);
- if (record === null || !Object.is(record.trackById, itemTrackBy)) {
- record = this._mismatch(record, item, itemTrackBy, index);
- mayBeDirty = true;
- } else {
- if (mayBeDirty) {
- // TODO(misko): can we limit this to duplicates only?
- record = this._verifyReinsertion(record, item, itemTrackBy, index);
- }
- if (!Object.is(record.item, item)) this._addIdentityChange(record, item);
- }
- record = record._next;
- index++;
- });
- this.length = index;
- }
- this._truncate(record);
- this.collection = collection;
- return this.isDirty;
- }
- /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity
- * changes.
- */
- get isDirty() {
- return this._additionsHead !== null || this._movesHead !== null || this._removalsHead !== null || this._identityChangesHead !== null;
- }
- /**
- * Reset the state of the change objects to show no changes. This means set previousKey to
- * currentKey, and clear all of the queues (additions, moves, removals).
- * Set the previousIndexes of moved and added items to their currentIndexes
- * Reset the list of additions, moves and removals
- *
- * @internal
- */
- _reset() {
- if (this.isDirty) {
- let record;
- for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {
- record._nextPrevious = record._next;
- }
- for (record = this._additionsHead; record !== null; record = record._nextAdded) {
- record.previousIndex = record.currentIndex;
- }
- this._additionsHead = this._additionsTail = null;
- for (record = this._movesHead; record !== null; record = record._nextMoved) {
- record.previousIndex = record.currentIndex;
- }
- this._movesHead = this._movesTail = null;
- this._removalsHead = this._removalsTail = null;
- this._identityChangesHead = this._identityChangesTail = null; // TODO(vicb): when assert gets supported
- // assert(!this.isDirty);
- }
- }
- /**
- * This is the core function which handles differences between collections.
- *
- * - `record` is the record which we saw at this position last time. If null then it is a new
- * item.
- * - `item` is the current item in the collection
- * - `index` is the position of the item in the collection
- *
- * @internal
- */
- _mismatch(record, item, itemTrackBy, index) {
- // The previous record after which we will append the current one.
- let previousRecord;
- if (record === null) {
- previousRecord = this._itTail;
- } else {
- previousRecord = record._prev; // Remove the record from the collection since we know it does not match the item.
- this._remove(record);
- } // See if we have evicted the item, which used to be at some anterior position of _itHead list.
- record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);
- if (record !== null) {
- // It is an item which we have evicted earlier: reinsert it back into the list.
- // But first we need to check if identity changed, so we can update in view if necessary.
- if (!Object.is(record.item, item)) this._addIdentityChange(record, item);
- this._reinsertAfter(record, previousRecord, index);
- } else {
- // Attempt to see if the item is at some posterior position of _itHead list.
- record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);
- if (record !== null) {
- // We have the item in _itHead at/after `index` position. We need to move it forward in the
- // collection.
- // But first we need to check if identity changed, so we can update in view if necessary.
- if (!Object.is(record.item, item)) this._addIdentityChange(record, item);
- this._moveAfter(record, previousRecord, index);
- } else {
- // It is a new item: add it.
- record = this._addAfter(new IterableChangeRecord_(item, itemTrackBy), previousRecord, index);
- }
- }
- return record;
- }
- /**
- * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)
- *
- * Use case: `[a, a]` => `[b, a, a]`
- *
- * If we did not have this check then the insertion of `b` would:
- * 1) evict first `a`
- * 2) insert `b` at `0` index.
- * 3) leave `a` at index `1` as is. <-- this is wrong!
- * 3) reinsert `a` at index 2. <-- this is wrong!
- *
- * The correct behavior is:
- * 1) evict first `a`
- * 2) insert `b` at `0` index.
- * 3) reinsert `a` at index 1.
- * 3) move `a` at from `1` to `2`.
- *
- *
- * Double check that we have not evicted a duplicate item. We need to check if the item type may
- * have already been removed:
- * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted
- * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a
- * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'
- * at the end.
- *
- * @internal
- */
- _verifyReinsertion(record, item, itemTrackBy, index) {
- let reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null);
- if (reinsertRecord !== null) {
- record = this._reinsertAfter(reinsertRecord, record._prev, index);
- } else if (record.currentIndex != index) {
- record.currentIndex = index;
- this._addToMoves(record, index);
- }
- return record;
- }
- /**
- * Get rid of any excess {@link IterableChangeRecord_}s from the previous collection
- *
- * - `record` The first excess {@link IterableChangeRecord_}.
- *
- * @internal
- */
- _truncate(record) {
- // Anything after that needs to be removed;
- while (record !== null) {
- const nextRecord = record._next;
- this._addToRemovals(this._unlink(record));
- record = nextRecord;
- }
- if (this._unlinkedRecords !== null) {
- this._unlinkedRecords.clear();
- }
- if (this._additionsTail !== null) {
- this._additionsTail._nextAdded = null;
- }
- if (this._movesTail !== null) {
- this._movesTail._nextMoved = null;
- }
- if (this._itTail !== null) {
- this._itTail._next = null;
- }
- if (this._removalsTail !== null) {
- this._removalsTail._nextRemoved = null;
- }
- if (this._identityChangesTail !== null) {
- this._identityChangesTail._nextIdentityChange = null;
- }
- }
- /** @internal */
- _reinsertAfter(record, prevRecord, index) {
- if (this._unlinkedRecords !== null) {
- this._unlinkedRecords.remove(record);
- }
- const prev = record._prevRemoved;
- const next = record._nextRemoved;
- if (prev === null) {
- this._removalsHead = next;
- } else {
- prev._nextRemoved = next;
- }
- if (next === null) {
- this._removalsTail = prev;
- } else {
- next._prevRemoved = prev;
- }
- this._insertAfter(record, prevRecord, index);
- this._addToMoves(record, index);
- return record;
- }
- /** @internal */
- _moveAfter(record, prevRecord, index) {
- this._unlink(record);
- this._insertAfter(record, prevRecord, index);
- this._addToMoves(record, index);
- return record;
- }
- /** @internal */
- _addAfter(record, prevRecord, index) {
- this._insertAfter(record, prevRecord, index);
- if (this._additionsTail === null) {
- // TODO(vicb):
- // assert(this._additionsHead === null);
- this._additionsTail = this._additionsHead = record;
- } else {
- // TODO(vicb):
- // assert(_additionsTail._nextAdded === null);
- // assert(record._nextAdded === null);
- this._additionsTail = this._additionsTail._nextAdded = record;
- }
- return record;
- }
- /** @internal */
- _insertAfter(record, prevRecord, index) {
- // TODO(vicb):
- // assert(record != prevRecord);
- // assert(record._next === null);
- // assert(record._prev === null);
- const next = prevRecord === null ? this._itHead : prevRecord._next; // TODO(vicb):
- // assert(next != record);
- // assert(prevRecord != record);
- record._next = next;
- record._prev = prevRecord;
- if (next === null) {
- this._itTail = record;
- } else {
- next._prev = record;
- }
- if (prevRecord === null) {
- this._itHead = record;
- } else {
- prevRecord._next = record;
- }
- if (this._linkedRecords === null) {
- this._linkedRecords = new _DuplicateMap();
- }
- this._linkedRecords.put(record);
- record.currentIndex = index;
- return record;
- }
- /** @internal */
- _remove(record) {
- return this._addToRemovals(this._unlink(record));
- }
- /** @internal */
- _unlink(record) {
- if (this._linkedRecords !== null) {
- this._linkedRecords.remove(record);
- }
- const prev = record._prev;
- const next = record._next; // TODO(vicb):
- // assert((record._prev = null) === null);
- // assert((record._next = null) === null);
- if (prev === null) {
- this._itHead = next;
- } else {
- prev._next = next;
- }
- if (next === null) {
- this._itTail = prev;
- } else {
- next._prev = prev;
- }
- return record;
- }
- /** @internal */
- _addToMoves(record, toIndex) {
- // TODO(vicb):
- // assert(record._nextMoved === null);
- if (record.previousIndex === toIndex) {
- return record;
- }
- if (this._movesTail === null) {
- // TODO(vicb):
- // assert(_movesHead === null);
- this._movesTail = this._movesHead = record;
- } else {
- // TODO(vicb):
- // assert(_movesTail._nextMoved === null);
- this._movesTail = this._movesTail._nextMoved = record;
- }
- return record;
- }
- _addToRemovals(record) {
- if (this._unlinkedRecords === null) {
- this._unlinkedRecords = new _DuplicateMap();
- }
- this._unlinkedRecords.put(record);
- record.currentIndex = null;
- record._nextRemoved = null;
- if (this._removalsTail === null) {
- // TODO(vicb):
- // assert(_removalsHead === null);
- this._removalsTail = this._removalsHead = record;
- record._prevRemoved = null;
- } else {
- // TODO(vicb):
- // assert(_removalsTail._nextRemoved === null);
- // assert(record._nextRemoved === null);
- record._prevRemoved = this._removalsTail;
- this._removalsTail = this._removalsTail._nextRemoved = record;
- }
- return record;
- }
- /** @internal */
- _addIdentityChange(record, item) {
- record.item = item;
- if (this._identityChangesTail === null) {
- this._identityChangesTail = this._identityChangesHead = record;
- } else {
- this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;
- }
- return record;
- }
- }
- class IterableChangeRecord_ {
- constructor(item, trackById) {
- this.item = item;
- this.trackById = trackById;
- this.currentIndex = null;
- this.previousIndex = null;
- /** @internal */
- this._nextPrevious = null;
- /** @internal */
- this._prev = null;
- /** @internal */
- this._next = null;
- /** @internal */
- this._prevDup = null;
- /** @internal */
- this._nextDup = null;
- /** @internal */
- this._prevRemoved = null;
- /** @internal */
- this._nextRemoved = null;
- /** @internal */
- this._nextAdded = null;
- /** @internal */
- this._nextMoved = null;
- /** @internal */
- this._nextIdentityChange = null;
- }
- } // A linked list of IterableChangeRecords with the same IterableChangeRecord_.item
- class _DuplicateItemRecordList {
- constructor() {
- /** @internal */
- this._head = null;
- /** @internal */
- this._tail = null;
- }
- /**
- * Append the record to the list of duplicates.
- *
- * Note: by design all records in the list of duplicates hold the same value in record.item.
- */
- add(record) {
- if (this._head === null) {
- this._head = this._tail = record;
- record._nextDup = null;
- record._prevDup = null;
- } else {
- // TODO(vicb):
- // assert(record.item == _head.item ||
- // record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);
- this._tail._nextDup = record;
- record._prevDup = this._tail;
- record._nextDup = null;
- this._tail = record;
- }
- } // Returns a IterableChangeRecord_ having IterableChangeRecord_.trackById == trackById and
- // IterableChangeRecord_.currentIndex >= atOrAfterIndex
- get(trackById, atOrAfterIndex) {
- let record;
- for (record = this._head; record !== null; record = record._nextDup) {
- if ((atOrAfterIndex === null || atOrAfterIndex <= record.currentIndex) && Object.is(record.trackById, trackById)) {
- return record;
- }
- }
- return null;
- }
- /**
- * Remove one {@link IterableChangeRecord_} from the list of duplicates.
- *
- * Returns whether the list of duplicates is empty.
- */
- remove(record) {
- // TODO(vicb):
- // assert(() {
- // // verify that the record being removed is in the list.
- // for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) {
- // if (identical(cursor, record)) return true;
- // }
- // return false;
- //});
- const prev = record._prevDup;
- const next = record._nextDup;
- if (prev === null) {
- this._head = next;
- } else {
- prev._nextDup = next;
- }
- if (next === null) {
- this._tail = prev;
- } else {
- next._prevDup = prev;
- }
- return this._head === null;
- }
- }
- class _DuplicateMap {
- constructor() {
- this.map = new Map();
- }
- put(record) {
- const key = record.trackById;
- let duplicates = this.map.get(key);
- if (!duplicates) {
- duplicates = new _DuplicateItemRecordList();
- this.map.set(key, duplicates);
- }
- duplicates.add(record);
- }
- /**
- * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we
- * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there.
- *
- * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we
- * have any more `a`s needs to return the second `a`.
- */
- get(trackById, atOrAfterIndex) {
- const key = trackById;
- const recordList = this.map.get(key);
- return recordList ? recordList.get(trackById, atOrAfterIndex) : null;
- }
- /**
- * Removes a {@link IterableChangeRecord_} from the list of duplicates.
- *
- * The list of duplicates also is removed from the map if it gets empty.
- */
- remove(record) {
- const key = record.trackById;
- const recordList = this.map.get(key); // Remove the list of duplicates when it gets empty
- if (recordList.remove(record)) {
- this.map.delete(key);
- }
- return record;
- }
- get isEmpty() {
- return this.map.size === 0;
- }
- clear() {
- this.map.clear();
- }
- }
- function getPreviousIndex(item, addRemoveOffset, moveOffsets) {
- const previousIndex = item.previousIndex;
- if (previousIndex === null) return previousIndex;
- let moveOffset = 0;
- if (moveOffsets && previousIndex < moveOffsets.length) {
- moveOffset = moveOffsets[previousIndex];
- }
- return previousIndex + addRemoveOffset + moveOffset;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class DefaultKeyValueDifferFactory {
- constructor() {}
- supports(obj) {
- return obj instanceof Map || isJsObject(obj);
- }
- create() {
- return new DefaultKeyValueDiffer();
- }
- }
- class DefaultKeyValueDiffer {
- constructor() {
- this._records = new Map();
- this._mapHead = null; // _appendAfter is used in the check loop
- this._appendAfter = null;
- this._previousMapHead = null;
- this._changesHead = null;
- this._changesTail = null;
- this._additionsHead = null;
- this._additionsTail = null;
- this._removalsHead = null;
- this._removalsTail = null;
- }
- get isDirty() {
- return this._additionsHead !== null || this._changesHead !== null || this._removalsHead !== null;
- }
- forEachItem(fn) {
- let record;
- for (record = this._mapHead; record !== null; record = record._next) {
- fn(record);
- }
- }
- forEachPreviousItem(fn) {
- let record;
- for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {
- fn(record);
- }
- }
- forEachChangedItem(fn) {
- let record;
- for (record = this._changesHead; record !== null; record = record._nextChanged) {
- fn(record);
- }
- }
- forEachAddedItem(fn) {
- let record;
- for (record = this._additionsHead; record !== null; record = record._nextAdded) {
- fn(record);
- }
- }
- forEachRemovedItem(fn) {
- let record;
- for (record = this._removalsHead; record !== null; record = record._nextRemoved) {
- fn(record);
- }
- }
- diff(map) {
- if (!map) {
- map = new Map();
- } else if (!(map instanceof Map || isJsObject(map))) {
- throw new RuntimeError(900
- /* RuntimeErrorCode.INVALID_DIFFER_INPUT */
- , ngDevMode && `Error trying to diff '${stringify(map)}'. Only maps and objects are allowed`);
- }
- return this.check(map) ? this : null;
- }
- onDestroy() {}
- /**
- * Check the current state of the map vs the previous.
- * The algorithm is optimised for when the keys do no change.
- */
- check(map) {
- this._reset();
- let insertBefore = this._mapHead;
- this._appendAfter = null;
- this._forEach(map, (value, key) => {
- if (insertBefore && insertBefore.key === key) {
- this._maybeAddToChanges(insertBefore, value);
- this._appendAfter = insertBefore;
- insertBefore = insertBefore._next;
- } else {
- const record = this._getOrCreateRecordForKey(key, value);
- insertBefore = this._insertBeforeOrAppend(insertBefore, record);
- }
- }); // Items remaining at the end of the list have been deleted
- if (insertBefore) {
- if (insertBefore._prev) {
- insertBefore._prev._next = null;
- }
- this._removalsHead = insertBefore;
- for (let record = insertBefore; record !== null; record = record._nextRemoved) {
- if (record === this._mapHead) {
- this._mapHead = null;
- }
- this._records.delete(record.key);
- record._nextRemoved = record._next;
- record.previousValue = record.currentValue;
- record.currentValue = null;
- record._prev = null;
- record._next = null;
- }
- } // Make sure tails have no next records from previous runs
- if (this._changesTail) this._changesTail._nextChanged = null;
- if (this._additionsTail) this._additionsTail._nextAdded = null;
- return this.isDirty;
- }
- /**
- * Inserts a record before `before` or append at the end of the list when `before` is null.
- *
- * Notes:
- * - This method appends at `this._appendAfter`,
- * - This method updates `this._appendAfter`,
- * - The return value is the new value for the insertion pointer.
- */
- _insertBeforeOrAppend(before, record) {
- if (before) {
- const prev = before._prev;
- record._next = before;
- record._prev = prev;
- before._prev = record;
- if (prev) {
- prev._next = record;
- }
- if (before === this._mapHead) {
- this._mapHead = record;
- }
- this._appendAfter = before;
- return before;
- }
- if (this._appendAfter) {
- this._appendAfter._next = record;
- record._prev = this._appendAfter;
- } else {
- this._mapHead = record;
- }
- this._appendAfter = record;
- return null;
- }
- _getOrCreateRecordForKey(key, value) {
- if (this._records.has(key)) {
- const record = this._records.get(key);
- this._maybeAddToChanges(record, value);
- const prev = record._prev;
- const next = record._next;
- if (prev) {
- prev._next = next;
- }
- if (next) {
- next._prev = prev;
- }
- record._next = null;
- record._prev = null;
- return record;
- }
- const record = new KeyValueChangeRecord_(key);
- this._records.set(key, record);
- record.currentValue = value;
- this._addToAdditions(record);
- return record;
- }
- /** @internal */
- _reset() {
- if (this.isDirty) {
- let record; // let `_previousMapHead` contain the state of the map before the changes
- this._previousMapHead = this._mapHead;
- for (record = this._previousMapHead; record !== null; record = record._next) {
- record._nextPrevious = record._next;
- } // Update `record.previousValue` with the value of the item before the changes
- // We need to update all changed items (that's those which have been added and changed)
- for (record = this._changesHead; record !== null; record = record._nextChanged) {
- record.previousValue = record.currentValue;
- }
- for (record = this._additionsHead; record != null; record = record._nextAdded) {
- record.previousValue = record.currentValue;
- }
- this._changesHead = this._changesTail = null;
- this._additionsHead = this._additionsTail = null;
- this._removalsHead = null;
- }
- } // Add the record or a given key to the list of changes only when the value has actually changed
- _maybeAddToChanges(record, newValue) {
- if (!Object.is(newValue, record.currentValue)) {
- record.previousValue = record.currentValue;
- record.currentValue = newValue;
- this._addToChanges(record);
- }
- }
- _addToAdditions(record) {
- if (this._additionsHead === null) {
- this._additionsHead = this._additionsTail = record;
- } else {
- this._additionsTail._nextAdded = record;
- this._additionsTail = record;
- }
- }
- _addToChanges(record) {
- if (this._changesHead === null) {
- this._changesHead = this._changesTail = record;
- } else {
- this._changesTail._nextChanged = record;
- this._changesTail = record;
- }
- }
- /** @internal */
- _forEach(obj, fn) {
- if (obj instanceof Map) {
- obj.forEach(fn);
- } else {
- Object.keys(obj).forEach(k => fn(obj[k], k));
- }
- }
- }
- class KeyValueChangeRecord_ {
- constructor(key) {
- this.key = key;
- this.previousValue = null;
- this.currentValue = null;
- /** @internal */
- this._nextPrevious = null;
- /** @internal */
- this._next = null;
- /** @internal */
- this._prev = null;
- /** @internal */
- this._nextAdded = null;
- /** @internal */
- this._nextRemoved = null;
- /** @internal */
- this._nextChanged = null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function defaultIterableDiffersFactory() {
- return new IterableDiffers([new DefaultIterableDifferFactory()]);
- }
- /**
- * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.
- *
- * @publicApi
- */
- class IterableDiffers {
- constructor(factories) {
- this.factories = factories;
- }
- static create(factories, parent) {
- if (parent != null) {
- const copied = parent.factories.slice();
- factories = factories.concat(copied);
- }
- return new IterableDiffers(factories);
- }
- /**
- * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the
- * inherited {@link IterableDiffers} instance with the provided factories and return a new
- * {@link IterableDiffers} instance.
- *
- * @usageNotes
- * ### Example
- *
- * The following example shows how to extend an existing list of factories,
- * which will only be applied to the injector for this component and its children.
- * This step is all that's required to make a new {@link IterableDiffer} available.
- *
- * ```
- * @Component({
- * viewProviders: [
- * IterableDiffers.extend([new ImmutableListDiffer()])
- * ]
- * })
- * ```
- */
- static extend(factories) {
- return {
- provide: IterableDiffers,
- useFactory: parent => {
- // if parent is null, it means that we are in the root injector and we have just overridden
- // the default injection mechanism for IterableDiffers, in such a case just assume
- // `defaultIterableDiffersFactory`.
- return IterableDiffers.create(factories, parent || defaultIterableDiffersFactory());
- },
- // Dependency technically isn't optional, but we can provide a better error message this way.
- deps: [[IterableDiffers, new SkipSelf(), new Optional()]]
- };
- }
- find(iterable) {
- const factory = this.factories.find(f => f.supports(iterable));
- if (factory != null) {
- return factory;
- } else {
- throw new RuntimeError(901
- /* RuntimeErrorCode.NO_SUPPORTING_DIFFER_FACTORY */
- , ngDevMode && `Cannot find a differ supporting object '${iterable}' of type '${getTypeNameForDebugging(iterable)}'`);
- }
- }
- }
- /** @nocollapse */
- IterableDiffers.ɵprov = ɵɵdefineInjectable({
- token: IterableDiffers,
- providedIn: 'root',
- factory: defaultIterableDiffersFactory
- });
- function getTypeNameForDebugging(type) {
- return type['name'] || typeof type;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function defaultKeyValueDiffersFactory() {
- return new KeyValueDiffers([new DefaultKeyValueDifferFactory()]);
- }
- /**
- * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.
- *
- * @publicApi
- */
- class KeyValueDiffers {
- constructor(factories) {
- this.factories = factories;
- }
- static create(factories, parent) {
- if (parent) {
- const copied = parent.factories.slice();
- factories = factories.concat(copied);
- }
- return new KeyValueDiffers(factories);
- }
- /**
- * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the
- * inherited {@link KeyValueDiffers} instance with the provided factories and return a new
- * {@link KeyValueDiffers} instance.
- *
- * @usageNotes
- * ### Example
- *
- * The following example shows how to extend an existing list of factories,
- * which will only be applied to the injector for this component and its children.
- * This step is all that's required to make a new {@link KeyValueDiffer} available.
- *
- * ```
- * @Component({
- * viewProviders: [
- * KeyValueDiffers.extend([new ImmutableMapDiffer()])
- * ]
- * })
- * ```
- */
- static extend(factories) {
- return {
- provide: KeyValueDiffers,
- useFactory: parent => {
- // if parent is null, it means that we are in the root injector and we have just overridden
- // the default injection mechanism for KeyValueDiffers, in such a case just assume
- // `defaultKeyValueDiffersFactory`.
- return KeyValueDiffers.create(factories, parent || defaultKeyValueDiffersFactory());
- },
- // Dependency technically isn't optional, but we can provide a better error message this way.
- deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]
- };
- }
- find(kv) {
- const factory = this.factories.find(f => f.supports(kv));
- if (factory) {
- return factory;
- }
- throw new RuntimeError(901
- /* RuntimeErrorCode.NO_SUPPORTING_DIFFER_FACTORY */
- , ngDevMode && `Cannot find a differ supporting object '${kv}'`);
- }
- }
- /** @nocollapse */
- KeyValueDiffers.ɵprov = ɵɵdefineInjectable({
- token: KeyValueDiffers,
- providedIn: 'root',
- factory: defaultKeyValueDiffersFactory
- });
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Structural diffing for `Object`s and `Map`s.
- */
- const keyValDiff = [new DefaultKeyValueDifferFactory()];
- /**
- * Structural diffing for `Iterable` types such as `Array`s.
- */
- const iterableDiff = [new DefaultIterableDifferFactory()];
- const defaultIterableDiffers = new IterableDiffers(iterableDiff);
- const defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This platform has to be included in any other platform
- *
- * @publicApi
- */
- const platformCore = createPlatformFactory(null, 'core', []);
- /**
- * Re-exported by `BrowserModule`, which is included automatically in the root
- * `AppModule` when you create a new app with the CLI `new` command. Eagerly injects
- * `ApplicationRef` to instantiate it.
- *
- * @publicApi
- */
- class ApplicationModule {
- // Inject ApplicationRef to make it eager...
- constructor(appRef) {}
- }
- ApplicationModule.ɵfac = function ApplicationModule_Factory(t) {
- return new (t || ApplicationModule)(ɵɵinject(ApplicationRef));
- };
- ApplicationModule.ɵmod = /*@__PURE__*/ɵɵdefineNgModule({
- type: ApplicationModule
- });
- ApplicationModule.ɵinj = /*@__PURE__*/ɵɵdefineInjector({});
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationModule, [{
- type: NgModule
- }], function () {
- return [{
- type: ApplicationRef
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /** Coerces a value (typically a string) to a boolean. */
- function coerceToBoolean(value) {
- return typeof value === 'boolean' ? value : value != null && value !== 'false';
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // TODO(alxhub): allows tests to compile, can be removed when tests have been updated.
- const ɵivyEnabled = true;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Compiles a partial directive declaration object into a full directive definition object.
- *
- * @codeGenApi
- */
- function ɵɵngDeclareDirective(decl) {
- const compiler = getCompilerFacade({
- usage: 1
- /* JitCompilerUsage.PartialDeclaration */
- ,
- kind: 'directive',
- type: decl.type
- });
- return compiler.compileDirectiveDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵfac.js`, decl);
- }
- /**
- * Evaluates the class metadata declaration.
- *
- * @codeGenApi
- */
- function ɵɵngDeclareClassMetadata(decl) {
- var _a, _b;
- setClassMetadata(decl.type, decl.decorators, (_a = decl.ctorParameters) !== null && _a !== void 0 ? _a : null, (_b = decl.propDecorators) !== null && _b !== void 0 ? _b : null);
- }
- /**
- * Compiles a partial component declaration object into a full component definition object.
- *
- * @codeGenApi
- */
- function ɵɵngDeclareComponent(decl) {
- const compiler = getCompilerFacade({
- usage: 1
- /* JitCompilerUsage.PartialDeclaration */
- ,
- kind: 'component',
- type: decl.type
- });
- return compiler.compileComponentDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵcmp.js`, decl);
- }
- /**
- * Compiles a partial pipe declaration object into a full pipe definition object.
- *
- * @codeGenApi
- */
- function ɵɵngDeclareFactory(decl) {
- const compiler = getCompilerFacade({
- usage: 1
- /* JitCompilerUsage.PartialDeclaration */
- ,
- kind: getFactoryKind(decl.target),
- type: decl.type
- });
- return compiler.compileFactoryDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵfac.js`, decl);
- }
- function getFactoryKind(target) {
- switch (target) {
- case FactoryTarget.Directive:
- return 'directive';
- case FactoryTarget.Component:
- return 'component';
- case FactoryTarget.Injectable:
- return 'injectable';
- case FactoryTarget.Pipe:
- return 'pipe';
- case FactoryTarget.NgModule:
- return 'NgModule';
- }
- }
- /**
- * Compiles a partial injectable declaration object into a full injectable definition object.
- *
- * @codeGenApi
- */
- function ɵɵngDeclareInjectable(decl) {
- const compiler = getCompilerFacade({
- usage: 1
- /* JitCompilerUsage.PartialDeclaration */
- ,
- kind: 'injectable',
- type: decl.type
- });
- return compiler.compileInjectableDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵprov.js`, decl);
- }
- /**
- * Compiles a partial injector declaration object into a full injector definition object.
- *
- * @codeGenApi
- */
- function ɵɵngDeclareInjector(decl) {
- const compiler = getCompilerFacade({
- usage: 1
- /* JitCompilerUsage.PartialDeclaration */
- ,
- kind: 'NgModule',
- type: decl.type
- });
- return compiler.compileInjectorDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵinj.js`, decl);
- }
- /**
- * Compiles a partial NgModule declaration object into a full NgModule definition object.
- *
- * @codeGenApi
- */
- function ɵɵngDeclareNgModule(decl) {
- const compiler = getCompilerFacade({
- usage: 1
- /* JitCompilerUsage.PartialDeclaration */
- ,
- kind: 'NgModule',
- type: decl.type
- });
- return compiler.compileNgModuleDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵmod.js`, decl);
- }
- /**
- * Compiles a partial pipe declaration object into a full pipe definition object.
- *
- * @codeGenApi
- */
- function ɵɵngDeclarePipe(decl) {
- const compiler = getCompilerFacade({
- usage: 1
- /* JitCompilerUsage.PartialDeclaration */
- ,
- kind: 'pipe',
- type: decl.type
- });
- return compiler.compilePipeDeclaration(angularCoreEnv, `ng:///${decl.type.name}/ɵpipe.js`, decl);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // clang-format on
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Creates a `ComponentRef` instance based on provided component type and a set of options.
- *
- * @usageNotes
- *
- * The example below demonstrates how the `createComponent` function can be used
- * to create an instance of a ComponentRef dynamically and attach it to an ApplicationRef,
- * so that it gets included into change detection cycles.
- *
- * Note: the example uses standalone components, but the function can also be used for
- * non-standalone components (declared in an NgModule) as well.
- *
- * ```typescript
- * @Component({
- * standalone: true,
- * template: `Hello {{ name }}!`
- * })
- * class HelloComponent {
- * name = 'Angular';
- * }
- *
- * @Component({
- * standalone: true,
- * template: `<div id="hello-component-host"></div>`
- * })
- * class RootComponent {}
- *
- * // Bootstrap an application.
- * const applicationRef = await bootstrapApplication(RootComponent);
- *
- * // Locate a DOM node that would be used as a host.
- * const host = document.getElementById('hello-component-host');
- *
- * // Get an `EnvironmentInjector` instance from the `ApplicationRef`.
- * const environmentInjector = applicationRef.injector;
- *
- * // We can now create a `ComponentRef` instance.
- * const componentRef = createComponent(HelloComponent, {host, environmentInjector});
- *
- * // Last step is to register the newly created ref using the `ApplicationRef` instance
- * // to include the component view into change detection cycles.
- * applicationRef.attachView(componentRef.hostView);
- * ```
- *
- * @param component Component class reference.
- * @param options Set of options to use:
- * * `environmentInjector`: An `EnvironmentInjector` instance to be used for the component, see
- * additional info about it at https://angular.io/guide/standalone-components#environment-injectors.
- * * `hostElement` (optional): A DOM node that should act as a host node for the component. If not
- * provided, Angular creates one based on the tag name used in the component selector (and falls
- * back to using `div` if selector doesn't have tag name info).
- * * `elementInjector` (optional): An `ElementInjector` instance, see additional info about it at
- * https://angular.io/guide/hierarchical-dependency-injection#elementinjector.
- * * `projectableNodes` (optional): A list of DOM nodes that should be projected through
- * [`<ng-content>`](api/core/ng-content) of the new component instance.
- * @returns ComponentRef instance that represents a given Component.
- *
- * @publicApi
- */
- function createComponent(component, options) {
- ngDevMode && assertComponentDef(component);
- const componentDef = getComponentDef(component);
- const elementInjector = options.elementInjector || getNullInjector();
- const factory = new ComponentFactory(componentDef);
- return factory.create(elementInjector, options.projectableNodes, options.hostElement, options.environmentInjector);
- }
- /**
- * Creates an object that allows to retrieve component metadata.
- *
- * @usageNotes
- *
- * The example below demonstrates how to use the function and how the fields
- * of the returned object map to the component metadata.
- *
- * ```typescript
- * @Component({
- * standalone: true,
- * selector: 'foo-component',
- * template: `
- * <ng-content></ng-content>
- * <ng-content select="content-selector-a"></ng-content>
- * `,
- * })
- * class FooComponent {
- * @Input('inputName') inputPropName: string;
- * @Output('outputName') outputPropName = new EventEmitter<void>();
- * }
- *
- * const mirror = reflectComponentType(FooComponent);
- * expect(mirror.type).toBe(FooComponent);
- * expect(mirror.selector).toBe('foo-component');
- * expect(mirror.isStandalone).toBe(true);
- * expect(mirror.inputs).toEqual([{propName: 'inputName', templateName: 'inputPropName'}]);
- * expect(mirror.outputs).toEqual([{propName: 'outputName', templateName: 'outputPropName'}]);
- * expect(mirror.ngContentSelectors).toEqual([
- * '*', // first `<ng-content>` in a template, the selector defaults to `*`
- * 'content-selector-a' // second `<ng-content>` in a template
- * ]);
- * ```
- *
- * @param component Component class reference.
- * @returns An object that allows to retrieve component metadata.
- *
- * @publicApi
- */
- function reflectComponentType(component) {
- const componentDef = getComponentDef(component);
- if (!componentDef) return null;
- const factory = new ComponentFactory(componentDef);
- return {
- get selector() {
- return factory.selector;
- },
- get type() {
- return factory.componentType;
- },
- get inputs() {
- return factory.inputs;
- },
- get outputs() {
- return factory.outputs;
- },
- get ngContentSelectors() {
- return factory.ngContentSelectors;
- },
- get isStandalone() {
- return componentDef.standalone;
- }
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- if (typeof ngDevMode !== 'undefined' && ngDevMode) {
- // This helper is to give a reasonable error message to people upgrading to v9 that have not yet
- // installed `@angular/localize` in their app.
- // tslint:disable-next-line: no-toplevel-property-access
- _global.$localize = _global.$localize || function () {
- 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.)');
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file only reexports content of the `src` folder. Keep it that way.
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 587:
- /*!********************************************************!*\
- !*** ./node_modules/@angular/forms/fesm2015/forms.mjs ***!
- \********************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "AbstractControl": () => (/* binding */ AbstractControl),
- /* harmony export */ "AbstractControlDirective": () => (/* binding */ AbstractControlDirective),
- /* harmony export */ "AbstractFormGroupDirective": () => (/* binding */ AbstractFormGroupDirective),
- /* harmony export */ "COMPOSITION_BUFFER_MODE": () => (/* binding */ COMPOSITION_BUFFER_MODE),
- /* harmony export */ "CheckboxControlValueAccessor": () => (/* binding */ CheckboxControlValueAccessor),
- /* harmony export */ "CheckboxRequiredValidator": () => (/* binding */ CheckboxRequiredValidator),
- /* harmony export */ "ControlContainer": () => (/* binding */ ControlContainer),
- /* harmony export */ "DefaultValueAccessor": () => (/* binding */ DefaultValueAccessor),
- /* harmony export */ "EmailValidator": () => (/* binding */ EmailValidator),
- /* harmony export */ "FormArray": () => (/* binding */ FormArray),
- /* harmony export */ "FormArrayName": () => (/* binding */ FormArrayName),
- /* harmony export */ "FormBuilder": () => (/* binding */ FormBuilder),
- /* harmony export */ "FormControl": () => (/* binding */ FormControl),
- /* harmony export */ "FormControlDirective": () => (/* binding */ FormControlDirective),
- /* harmony export */ "FormControlName": () => (/* binding */ FormControlName),
- /* harmony export */ "FormGroup": () => (/* binding */ FormGroup),
- /* harmony export */ "FormGroupDirective": () => (/* binding */ FormGroupDirective),
- /* harmony export */ "FormGroupName": () => (/* binding */ FormGroupName),
- /* harmony export */ "FormRecord": () => (/* binding */ FormRecord),
- /* harmony export */ "FormsModule": () => (/* binding */ FormsModule),
- /* harmony export */ "MaxLengthValidator": () => (/* binding */ MaxLengthValidator),
- /* harmony export */ "MaxValidator": () => (/* binding */ MaxValidator),
- /* harmony export */ "MinLengthValidator": () => (/* binding */ MinLengthValidator),
- /* harmony export */ "MinValidator": () => (/* binding */ MinValidator),
- /* harmony export */ "NG_ASYNC_VALIDATORS": () => (/* binding */ NG_ASYNC_VALIDATORS),
- /* harmony export */ "NG_VALIDATORS": () => (/* binding */ NG_VALIDATORS),
- /* harmony export */ "NG_VALUE_ACCESSOR": () => (/* binding */ NG_VALUE_ACCESSOR),
- /* harmony export */ "NgControl": () => (/* binding */ NgControl),
- /* harmony export */ "NgControlStatus": () => (/* binding */ NgControlStatus),
- /* harmony export */ "NgControlStatusGroup": () => (/* binding */ NgControlStatusGroup),
- /* harmony export */ "NgForm": () => (/* binding */ NgForm),
- /* harmony export */ "NgModel": () => (/* binding */ NgModel),
- /* harmony export */ "NgModelGroup": () => (/* binding */ NgModelGroup),
- /* harmony export */ "NgSelectOption": () => (/* binding */ NgSelectOption),
- /* harmony export */ "NonNullableFormBuilder": () => (/* binding */ NonNullableFormBuilder),
- /* harmony export */ "NumberValueAccessor": () => (/* binding */ NumberValueAccessor),
- /* harmony export */ "PatternValidator": () => (/* binding */ PatternValidator),
- /* harmony export */ "RadioControlValueAccessor": () => (/* binding */ RadioControlValueAccessor),
- /* harmony export */ "RangeValueAccessor": () => (/* binding */ RangeValueAccessor),
- /* harmony export */ "ReactiveFormsModule": () => (/* binding */ ReactiveFormsModule),
- /* harmony export */ "RequiredValidator": () => (/* binding */ RequiredValidator),
- /* harmony export */ "SelectControlValueAccessor": () => (/* binding */ SelectControlValueAccessor),
- /* harmony export */ "SelectMultipleControlValueAccessor": () => (/* binding */ SelectMultipleControlValueAccessor),
- /* harmony export */ "UntypedFormArray": () => (/* binding */ UntypedFormArray),
- /* harmony export */ "UntypedFormBuilder": () => (/* binding */ UntypedFormBuilder),
- /* harmony export */ "UntypedFormControl": () => (/* binding */ UntypedFormControl),
- /* harmony export */ "UntypedFormGroup": () => (/* binding */ UntypedFormGroup),
- /* harmony export */ "VERSION": () => (/* binding */ VERSION),
- /* harmony export */ "Validators": () => (/* binding */ Validators),
- /* harmony export */ "ɵInternalFormsSharedModule": () => (/* binding */ ɵInternalFormsSharedModule),
- /* harmony export */ "ɵNgNoValidate": () => (/* binding */ ɵNgNoValidate),
- /* harmony export */ "ɵNgSelectMultipleOption": () => (/* binding */ ɵNgSelectMultipleOption)
- /* harmony export */ });
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 3184);
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 6362);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 4383);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 4350);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 6942);
- /**
- * @license Angular v14.2.7
- * (c) 2010-2022 Google LLC. https://angular.io/
- * License: MIT
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Base class for all ControlValueAccessor classes defined in Forms package.
- * Contains common logic and utility functions.
- *
- * Note: this is an *internal-only* class and should not be extended or used directly in
- * applications code.
- */
- class BaseControlValueAccessor {
- constructor(_renderer, _elementRef) {
- this._renderer = _renderer;
- this._elementRef = _elementRef;
- /**
- * The registered callback function called when a change or input event occurs on the input
- * element.
- * @nodoc
- */
- this.onChange = _ => {};
- /**
- * The registered callback function called when a blur event occurs on the input element.
- * @nodoc
- */
- this.onTouched = () => {};
- }
- /**
- * Helper method that sets a property on a target element using the current Renderer
- * implementation.
- * @nodoc
- */
- setProperty(key, value) {
- this._renderer.setProperty(this._elementRef.nativeElement, key, value);
- }
- /**
- * Registers a function called when the control is touched.
- * @nodoc
- */
- registerOnTouched(fn) {
- this.onTouched = fn;
- }
- /**
- * Registers a function called when the control value changes.
- * @nodoc
- */
- registerOnChange(fn) {
- this.onChange = fn;
- }
- /**
- * Sets the "disabled" property on the range input element.
- * @nodoc
- */
- setDisabledState(isDisabled) {
- this.setProperty('disabled', isDisabled);
- }
- }
- BaseControlValueAccessor.ɵfac = function BaseControlValueAccessor_Factory(t) {
- 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));
- };
- BaseControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: BaseControlValueAccessor
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BaseControlValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }];
- }, null);
- })();
- /**
- * Base class for all built-in ControlValueAccessor classes (except DefaultValueAccessor, which is
- * used in case no other CVAs can be found). We use this class to distinguish between default CVA,
- * built-in CVAs and custom CVAs, so that Forms logic can recognize built-in CVAs and treat custom
- * ones with higher priority (when both built-in and custom CVAs are present).
- *
- * Note: this is an *internal-only* class and should not be extended or used directly in
- * applications code.
- */
- class BuiltInControlValueAccessor extends BaseControlValueAccessor {}
- BuiltInControlValueAccessor.ɵfac = /* @__PURE__ */function () {
- let ɵBuiltInControlValueAccessor_BaseFactory;
- return function BuiltInControlValueAccessor_Factory(t) {
- return (ɵBuiltInControlValueAccessor_BaseFactory || (ɵBuiltInControlValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](BuiltInControlValueAccessor)))(t || BuiltInControlValueAccessor);
- };
- }();
- BuiltInControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: BuiltInControlValueAccessor,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](BuiltInControlValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
- }], null, null);
- })();
- /**
- * Used to provide a `ControlValueAccessor` for form controls.
- *
- * See `DefaultValueAccessor` for how to implement one.
- *
- * @publicApi
- */
- const NG_VALUE_ACCESSOR = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NgValueAccessor');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const CHECKBOX_VALUE_ACCESSOR = {
- provide: NG_VALUE_ACCESSOR,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => CheckboxControlValueAccessor),
- multi: true
- };
- /**
- * @description
- * A `ControlValueAccessor` for writing a value and listening to changes on a checkbox input
- * element.
- *
- * @usageNotes
- *
- * ### Using a checkbox with a reactive form.
- *
- * The following example shows how to use a checkbox with a reactive form.
- *
- * ```ts
- * const rememberLoginControl = new FormControl();
- * ```
- *
- * ```
- * <input type="checkbox" [formControl]="rememberLoginControl">
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {
- /**
- * Sets the "checked" property on the input element.
- * @nodoc
- */
- writeValue(value) {
- this.setProperty('checked', value);
- }
- }
- CheckboxControlValueAccessor.ɵfac = /* @__PURE__ */function () {
- let ɵCheckboxControlValueAccessor_BaseFactory;
- return function CheckboxControlValueAccessor_Factory(t) {
- return (ɵCheckboxControlValueAccessor_BaseFactory || (ɵCheckboxControlValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](CheckboxControlValueAccessor)))(t || CheckboxControlValueAccessor);
- };
- }();
- CheckboxControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: CheckboxControlValueAccessor,
- selectors: [["input", "type", "checkbox", "formControlName", ""], ["input", "type", "checkbox", "formControl", ""], ["input", "type", "checkbox", "ngModel", ""]],
- hostBindings: function CheckboxControlValueAccessor_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function CheckboxControlValueAccessor_change_HostBindingHandler($event) {
- return ctx.onChange($event.target.checked);
- })("blur", function CheckboxControlValueAccessor_blur_HostBindingHandler() {
- return ctx.onTouched();
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([CHECKBOX_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CheckboxControlValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',
- host: {
- '(change)': 'onChange($event.target.checked)',
- '(blur)': 'onTouched()'
- },
- providers: [CHECKBOX_VALUE_ACCESSOR]
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const DEFAULT_VALUE_ACCESSOR = {
- provide: NG_VALUE_ACCESSOR,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => DefaultValueAccessor),
- multi: true
- };
- /**
- * We must check whether the agent is Android because composition events
- * behave differently between iOS and Android.
- */
- function _isAndroid() {
- const userAgent = (0,_angular_common__WEBPACK_IMPORTED_MODULE_1__["ɵgetDOM"])() ? (0,_angular_common__WEBPACK_IMPORTED_MODULE_1__["ɵgetDOM"])().getUserAgent() : '';
- return /android (\d+)/.test(userAgent.toLowerCase());
- }
- /**
- * @description
- * Provide this token to control if form directives buffer IME input until
- * the "compositionend" event occurs.
- * @publicApi
- */
- const COMPOSITION_BUFFER_MODE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('CompositionEventMode');
- /**
- * The default `ControlValueAccessor` for writing a value and listening to changes on input
- * elements. The accessor is used by the `FormControlDirective`, `FormControlName`, and
- * `NgModel` directives.
- *
- * {@searchKeywords ngDefaultControl}
- *
- * @usageNotes
- *
- * ### Using the default value accessor
- *
- * The following example shows how to use an input element that activates the default value accessor
- * (in this case, a text field).
- *
- * ```ts
- * const firstNameControl = new FormControl();
- * ```
- *
- * ```
- * <input type="text" [formControl]="firstNameControl">
- * ```
- *
- * This value accessor is used by default for `<input type="text">` and `<textarea>` elements, but
- * you could also use it for custom components that have similar behavior and do not require special
- * processing. In order to attach the default value accessor to a custom element, add the
- * `ngDefaultControl` attribute as shown below.
- *
- * ```
- * <custom-input-component ngDefaultControl [(ngModel)]="value"></custom-input-component>
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class DefaultValueAccessor extends BaseControlValueAccessor {
- constructor(renderer, elementRef, _compositionMode) {
- super(renderer, elementRef);
- this._compositionMode = _compositionMode;
- /** Whether the user is creating a composition string (IME events). */
- this._composing = false;
- if (this._compositionMode == null) {
- this._compositionMode = !_isAndroid();
- }
- }
- /**
- * Sets the "value" property on the input element.
- * @nodoc
- */
- writeValue(value) {
- const normalizedValue = value == null ? '' : value;
- this.setProperty('value', normalizedValue);
- }
- /** @internal */
- _handleInput(value) {
- if (!this._compositionMode || this._compositionMode && !this._composing) {
- this.onChange(value);
- }
- }
- /** @internal */
- _compositionStart() {
- this._composing = true;
- }
- /** @internal */
- _compositionEnd(value) {
- this._composing = false;
- this._compositionMode && this.onChange(value);
- }
- }
- DefaultValueAccessor.ɵfac = function DefaultValueAccessor_Factory(t) {
- 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));
- };
- DefaultValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: DefaultValueAccessor,
- selectors: [["input", "formControlName", "", 3, "type", "checkbox"], ["textarea", "formControlName", ""], ["input", "formControl", "", 3, "type", "checkbox"], ["textarea", "formControl", ""], ["input", "ngModel", "", 3, "type", "checkbox"], ["textarea", "ngModel", ""], ["", "ngDefaultControl", ""]],
- hostBindings: function DefaultValueAccessor_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("input", function DefaultValueAccessor_input_HostBindingHandler($event) {
- return ctx._handleInput($event.target.value);
- })("blur", function DefaultValueAccessor_blur_HostBindingHandler() {
- return ctx.onTouched();
- })("compositionstart", function DefaultValueAccessor_compositionstart_HostBindingHandler() {
- return ctx._compositionStart();
- })("compositionend", function DefaultValueAccessor_compositionend_HostBindingHandler($event) {
- return ctx._compositionEnd($event.target.value);
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([DEFAULT_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DefaultValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',
- // TODO: vsavkin replace the above selector with the one below it once
- // https://github.com/angular/angular/issues/3011 is implemented
- // selector: '[ngModel],[formControl],[formControlName]',
- host: {
- '(input)': '$any(this)._handleInput($event.target.value)',
- '(blur)': 'onTouched()',
- '(compositionstart)': '$any(this)._compositionStart()',
- '(compositionend)': '$any(this)._compositionEnd($event.target.value)'
- },
- providers: [DEFAULT_VALUE_ACCESSOR]
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [COMPOSITION_BUFFER_MODE]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
- function isEmptyInputValue(value) {
- /**
- * Check if the object is a string or array before evaluating the length attribute.
- * This avoids falsely rejecting objects that contain a custom length attribute.
- * For example, the object {id: 1, length: 0, width: 0} should not be returned as empty.
- */
- return value == null || (typeof value === 'string' || Array.isArray(value)) && value.length === 0;
- }
- function hasValidLength(value) {
- // non-strict comparison is intentional, to check for both `null` and `undefined` values
- return value != null && typeof value.length === 'number';
- }
- /**
- * @description
- * An `InjectionToken` for registering additional synchronous validators used with
- * `AbstractControl`s.
- *
- * @see `NG_ASYNC_VALIDATORS`
- *
- * @usageNotes
- *
- * ### Providing a custom validator
- *
- * The following example registers a custom validator directive. Adding the validator to the
- * existing collection of validators requires the `multi: true` option.
- *
- * ```typescript
- * @Directive({
- * selector: '[customValidator]',
- * providers: [{provide: NG_VALIDATORS, useExisting: CustomValidatorDirective, multi: true}]
- * })
- * class CustomValidatorDirective implements Validator {
- * validate(control: AbstractControl): ValidationErrors | null {
- * return { 'custom': true };
- * }
- * }
- * ```
- *
- * @publicApi
- */
- const NG_VALIDATORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NgValidators');
- /**
- * @description
- * An `InjectionToken` for registering additional asynchronous validators used with
- * `AbstractControl`s.
- *
- * @see `NG_VALIDATORS`
- *
- * @usageNotes
- *
- * ### Provide a custom async validator directive
- *
- * The following example implements the `AsyncValidator` interface to create an
- * async validator directive with a custom error key.
- *
- * ```typescript
- * @Directive({
- * selector: '[customAsyncValidator]',
- * providers: [{provide: NG_ASYNC_VALIDATORS, useExisting: CustomAsyncValidatorDirective, multi:
- * true}]
- * })
- * class CustomAsyncValidatorDirective implements AsyncValidator {
- * validate(control: AbstractControl): Promise<ValidationErrors|null> {
- * return Promise.resolve({'custom': true});
- * }
- * }
- * ```
- *
- * @publicApi
- */
- const NG_ASYNC_VALIDATORS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NgAsyncValidators');
- /**
- * A regular expression that matches valid e-mail addresses.
- *
- * At a high level, this regexp matches e-mail addresses of the format `local-part@tld`, where:
- * - `local-part` consists of one or more of the allowed characters (alphanumeric and some
- * punctuation symbols).
- * - `local-part` cannot begin or end with a period (`.`).
- * - `local-part` cannot be longer than 64 characters.
- * - `tld` consists of one or more `labels` separated by periods (`.`). For example `localhost` or
- * `foo.com`.
- * - A `label` consists of one or more of the allowed characters (alphanumeric, dashes (`-`) and
- * periods (`.`)).
- * - A `label` cannot begin or end with a dash (`-`) or a period (`.`).
- * - A `label` cannot be longer than 63 characters.
- * - The whole address cannot be longer than 254 characters.
- *
- * ## Implementation background
- *
- * This regexp was ported over from AngularJS (see there for git history):
- * https://github.com/angular/angular.js/blob/c133ef836/src/ng/directive/input.js#L27
- * It is based on the
- * [WHATWG version](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with
- * some enhancements to incorporate more RFC rules (such as rules related to domain names and the
- * lengths of different parts of the address). The main differences from the WHATWG version are:
- * - Disallow `local-part` to begin or end with a period (`.`).
- * - Disallow `local-part` length to exceed 64 characters.
- * - Disallow total address length to exceed 254 characters.
- *
- * See [this commit](https://github.com/angular/angular.js/commit/f3f5cf72e) for more details.
- */
- 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])?)*$/;
- /**
- * @description
- * Provides a set of built-in validators that can be used by form controls.
- *
- * A validator is a function that processes a `FormControl` or collection of
- * controls and returns an error map or null. A null map means that validation has passed.
- *
- * @see [Form Validation](/guide/form-validation)
- *
- * @publicApi
- */
- class Validators {
- /**
- * @description
- * Validator that requires the control's value to be greater than or equal to the provided number.
- *
- * @usageNotes
- *
- * ### Validate against a minimum of 3
- *
- * ```typescript
- * const control = new FormControl(2, Validators.min(3));
- *
- * console.log(control.errors); // {min: {min: 3, actual: 2}}
- * ```
- *
- * @returns A validator function that returns an error map with the
- * `min` property if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static min(min) {
- return minValidator(min);
- }
- /**
- * @description
- * Validator that requires the control's value to be less than or equal to the provided number.
- *
- * @usageNotes
- *
- * ### Validate against a maximum of 15
- *
- * ```typescript
- * const control = new FormControl(16, Validators.max(15));
- *
- * console.log(control.errors); // {max: {max: 15, actual: 16}}
- * ```
- *
- * @returns A validator function that returns an error map with the
- * `max` property if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static max(max) {
- return maxValidator(max);
- }
- /**
- * @description
- * Validator that requires the control have a non-empty value.
- *
- * @usageNotes
- *
- * ### Validate that the field is non-empty
- *
- * ```typescript
- * const control = new FormControl('', Validators.required);
- *
- * console.log(control.errors); // {required: true}
- * ```
- *
- * @returns An error map with the `required` property
- * if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static required(control) {
- return requiredValidator(control);
- }
- /**
- * @description
- * Validator that requires the control's value be true. This validator is commonly
- * used for required checkboxes.
- *
- * @usageNotes
- *
- * ### Validate that the field value is true
- *
- * ```typescript
- * const control = new FormControl('some value', Validators.requiredTrue);
- *
- * console.log(control.errors); // {required: true}
- * ```
- *
- * @returns An error map that contains the `required` property
- * set to `true` if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static requiredTrue(control) {
- return requiredTrueValidator(control);
- }
- /**
- * @description
- * Validator that requires the control's value pass an email validation test.
- *
- * Tests the value using a [regular
- * expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions)
- * pattern suitable for common use cases. The pattern is based on the definition of a valid email
- * address in the [WHATWG HTML
- * specification](https://html.spec.whatwg.org/multipage/input.html#valid-e-mail-address) with
- * some enhancements to incorporate more RFC rules (such as rules related to domain names and the
- * lengths of different parts of the address).
- *
- * The differences from the WHATWG version include:
- * - Disallow `local-part` (the part before the `@` symbol) to begin or end with a period (`.`).
- * - Disallow `local-part` to be longer than 64 characters.
- * - Disallow the whole address to be longer than 254 characters.
- *
- * If this pattern does not satisfy your business needs, you can use `Validators.pattern()` to
- * validate the value against a different pattern.
- *
- * @usageNotes
- *
- * ### Validate that the field matches a valid email pattern
- *
- * ```typescript
- * const control = new FormControl('bad@', Validators.email);
- *
- * console.log(control.errors); // {email: true}
- * ```
- *
- * @returns An error map with the `email` property
- * if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static email(control) {
- return emailValidator(control);
- }
- /**
- * @description
- * Validator that requires the length of the control's value to be greater than or equal
- * to the provided minimum length. This validator is also provided by default if you use the
- * the HTML5 `minlength` attribute. Note that the `minLength` validator is intended to be used
- * only for types that have a numeric `length` property, such as strings or arrays. The
- * `minLength` validator logic is also not invoked for values when their `length` property is 0
- * (for example in case of an empty string or an empty array), to support optional controls. You
- * can use the standard `required` validator if empty values should not be considered valid.
- *
- * @usageNotes
- *
- * ### Validate that the field has a minimum of 3 characters
- *
- * ```typescript
- * const control = new FormControl('ng', Validators.minLength(3));
- *
- * console.log(control.errors); // {minlength: {requiredLength: 3, actualLength: 2}}
- * ```
- *
- * ```html
- * <input minlength="5">
- * ```
- *
- * @returns A validator function that returns an error map with the
- * `minlength` property if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static minLength(minLength) {
- return minLengthValidator(minLength);
- }
- /**
- * @description
- * Validator that requires the length of the control's value to be less than or equal
- * to the provided maximum length. This validator is also provided by default if you use the
- * the HTML5 `maxlength` attribute. Note that the `maxLength` validator is intended to be used
- * only for types that have a numeric `length` property, such as strings or arrays.
- *
- * @usageNotes
- *
- * ### Validate that the field has maximum of 5 characters
- *
- * ```typescript
- * const control = new FormControl('Angular', Validators.maxLength(5));
- *
- * console.log(control.errors); // {maxlength: {requiredLength: 5, actualLength: 7}}
- * ```
- *
- * ```html
- * <input maxlength="5">
- * ```
- *
- * @returns A validator function that returns an error map with the
- * `maxlength` property if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static maxLength(maxLength) {
- return maxLengthValidator(maxLength);
- }
- /**
- * @description
- * Validator that requires the control's value to match a regex pattern. This validator is also
- * provided by default if you use the HTML5 `pattern` attribute.
- *
- * @usageNotes
- *
- * ### Validate that the field only contains letters or spaces
- *
- * ```typescript
- * const control = new FormControl('1', Validators.pattern('[a-zA-Z ]*'));
- *
- * console.log(control.errors); // {pattern: {requiredPattern: '^[a-zA-Z ]*$', actualValue: '1'}}
- * ```
- *
- * ```html
- * <input pattern="[a-zA-Z ]*">
- * ```
- *
- * ### Pattern matching with the global or sticky flag
- *
- * `RegExp` objects created with the `g` or `y` flags that are passed into `Validators.pattern`
- * can produce different results on the same input when validations are run consecutively. This is
- * due to how the behavior of `RegExp.prototype.test` is
- * specified in [ECMA-262](https://tc39.es/ecma262/#sec-regexpbuiltinexec)
- * (`RegExp` preserves the index of the last match when the global or sticky flag is used).
- * Due to this behavior, it is recommended that when using
- * `Validators.pattern` you **do not** pass in a `RegExp` object with either the global or sticky
- * flag enabled.
- *
- * ```typescript
- * // Not recommended (since the `g` flag is used)
- * const controlOne = new FormControl('1', Validators.pattern(/foo/g));
- *
- * // Good
- * const controlTwo = new FormControl('1', Validators.pattern(/foo/));
- * ```
- *
- * @param pattern A regular expression to be used as is to test the values, or a string.
- * If a string is passed, the `^` character is prepended and the `$` character is
- * appended to the provided string (if not already present), and the resulting regular
- * expression is used to test the values.
- *
- * @returns A validator function that returns an error map with the
- * `pattern` property if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static pattern(pattern) {
- return patternValidator(pattern);
- }
- /**
- * @description
- * Validator that performs no operation.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static nullValidator(control) {
- return nullValidator(control);
- }
- static compose(validators) {
- return compose(validators);
- }
- /**
- * @description
- * Compose multiple async validators into a single function that returns the union
- * of the individual error objects for the provided control.
- *
- * @returns A validator function that returns an error map with the
- * merged error objects of the async validators if the validation check fails, otherwise `null`.
- *
- * @see `updateValueAndValidity()`
- *
- */
- static composeAsync(validators) {
- return composeAsync(validators);
- }
- }
- /**
- * Validator that requires the control's value to be greater than or equal to the provided number.
- * See `Validators.min` for additional information.
- */
- function minValidator(min) {
- return control => {
- if (isEmptyInputValue(control.value) || isEmptyInputValue(min)) {
- return null; // don't validate empty values to allow optional controls
- }
- const value = parseFloat(control.value); // Controls with NaN values after parsing should be treated as not having a
- // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min
- return !isNaN(value) && value < min ? {
- 'min': {
- 'min': min,
- 'actual': control.value
- }
- } : null;
- };
- }
- /**
- * Validator that requires the control's value to be less than or equal to the provided number.
- * See `Validators.max` for additional information.
- */
- function maxValidator(max) {
- return control => {
- if (isEmptyInputValue(control.value) || isEmptyInputValue(max)) {
- return null; // don't validate empty values to allow optional controls
- }
- const value = parseFloat(control.value); // Controls with NaN values after parsing should be treated as not having a
- // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max
- return !isNaN(value) && value > max ? {
- 'max': {
- 'max': max,
- 'actual': control.value
- }
- } : null;
- };
- }
- /**
- * Validator that requires the control have a non-empty value.
- * See `Validators.required` for additional information.
- */
- function requiredValidator(control) {
- return isEmptyInputValue(control.value) ? {
- 'required': true
- } : null;
- }
- /**
- * Validator that requires the control's value be true. This validator is commonly
- * used for required checkboxes.
- * See `Validators.requiredTrue` for additional information.
- */
- function requiredTrueValidator(control) {
- return control.value === true ? null : {
- 'required': true
- };
- }
- /**
- * Validator that requires the control's value pass an email validation test.
- * See `Validators.email` for additional information.
- */
- function emailValidator(control) {
- if (isEmptyInputValue(control.value)) {
- return null; // don't validate empty values to allow optional controls
- }
- return EMAIL_REGEXP.test(control.value) ? null : {
- 'email': true
- };
- }
- /**
- * Validator that requires the length of the control's value to be greater than or equal
- * to the provided minimum length. See `Validators.minLength` for additional information.
- */
- function minLengthValidator(minLength) {
- return control => {
- if (isEmptyInputValue(control.value) || !hasValidLength(control.value)) {
- // don't validate empty values to allow optional controls
- // don't validate values without `length` property
- return null;
- }
- return control.value.length < minLength ? {
- 'minlength': {
- 'requiredLength': minLength,
- 'actualLength': control.value.length
- }
- } : null;
- };
- }
- /**
- * Validator that requires the length of the control's value to be less than or equal
- * to the provided maximum length. See `Validators.maxLength` for additional information.
- */
- function maxLengthValidator(maxLength) {
- return control => {
- return hasValidLength(control.value) && control.value.length > maxLength ? {
- 'maxlength': {
- 'requiredLength': maxLength,
- 'actualLength': control.value.length
- }
- } : null;
- };
- }
- /**
- * Validator that requires the control's value to match a regex pattern.
- * See `Validators.pattern` for additional information.
- */
- function patternValidator(pattern) {
- if (!pattern) return nullValidator;
- let regex;
- let regexStr;
- if (typeof pattern === 'string') {
- regexStr = '';
- if (pattern.charAt(0) !== '^') regexStr += '^';
- regexStr += pattern;
- if (pattern.charAt(pattern.length - 1) !== '$') regexStr += '$';
- regex = new RegExp(regexStr);
- } else {
- regexStr = pattern.toString();
- regex = pattern;
- }
- return control => {
- if (isEmptyInputValue(control.value)) {
- return null; // don't validate empty values to allow optional controls
- }
- const value = control.value;
- return regex.test(value) ? null : {
- 'pattern': {
- 'requiredPattern': regexStr,
- 'actualValue': value
- }
- };
- };
- }
- /**
- * Function that has `ValidatorFn` shape, but performs no operation.
- */
- function nullValidator(control) {
- return null;
- }
- function isPresent(o) {
- return o != null;
- }
- function toObservable(value) {
- const obs = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisPromise"])(value) ? (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.from)(value) : value;
- if (NG_DEV_MODE$1 && !(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisObservable"])(obs)) {
- let errorMessage = `Expected async validator to return Promise or Observable.`; // A synchronous validator will return object or null.
- if (typeof value === 'object') {
- errorMessage += ' Are you using a synchronous validator where an async validator is expected?';
- }
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](-1101
- /* RuntimeErrorCode.WRONG_VALIDATOR_RETURN_TYPE */
- , errorMessage);
- }
- return obs;
- }
- function mergeErrors(arrayOfErrors) {
- let res = {}; // Not using Array.reduce here due to a Chrome 80 bug
- // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
- arrayOfErrors.forEach(errors => {
- res = errors != null ? Object.assign(Object.assign({}, res), errors) : res;
- });
- return Object.keys(res).length === 0 ? null : res;
- }
- function executeValidators(control, validators) {
- return validators.map(validator => validator(control));
- }
- function isValidatorFn(validator) {
- return !validator.validate;
- }
- /**
- * Given the list of validators that may contain both functions as well as classes, return the list
- * of validator functions (convert validator classes into validator functions). This is needed to
- * have consistent structure in validators list before composing them.
- *
- * @param validators The set of validators that may contain validators both in plain function form
- * as well as represented as a validator class.
- */
- function normalizeValidators(validators) {
- return validators.map(validator => {
- return isValidatorFn(validator) ? validator : c => validator.validate(c);
- });
- }
- /**
- * Merges synchronous validators into a single validator function.
- * See `Validators.compose` for additional information.
- */
- function compose(validators) {
- if (!validators) return null;
- const presentValidators = validators.filter(isPresent);
- if (presentValidators.length == 0) return null;
- return function (control) {
- return mergeErrors(executeValidators(control, presentValidators));
- };
- }
- /**
- * Accepts a list of validators of different possible shapes (`Validator` and `ValidatorFn`),
- * normalizes the list (converts everything to `ValidatorFn`) and merges them into a single
- * validator function.
- */
- function composeValidators(validators) {
- return validators != null ? compose(normalizeValidators(validators)) : null;
- }
- /**
- * Merges asynchronous validators into a single validator function.
- * See `Validators.composeAsync` for additional information.
- */
- function composeAsync(validators) {
- if (!validators) return null;
- const presentValidators = validators.filter(isPresent);
- if (presentValidators.length == 0) return null;
- return function (control) {
- const observables = executeValidators(control, presentValidators).map(toObservable);
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_3__.forkJoin)(observables).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(mergeErrors));
- };
- }
- /**
- * Accepts a list of async validators of different possible shapes (`AsyncValidator` and
- * `AsyncValidatorFn`), normalizes the list (converts everything to `AsyncValidatorFn`) and merges
- * them into a single validator function.
- */
- function composeAsyncValidators(validators) {
- return validators != null ? composeAsync(normalizeValidators(validators)) : null;
- }
- /**
- * Merges raw control validators with a given directive validator and returns the combined list of
- * validators as an array.
- */
- function mergeValidators(controlValidators, dirValidator) {
- if (controlValidators === null) return [dirValidator];
- return Array.isArray(controlValidators) ? [...controlValidators, dirValidator] : [controlValidators, dirValidator];
- }
- /**
- * Retrieves the list of raw synchronous validators attached to a given control.
- */
- function getControlValidators(control) {
- return control._rawValidators;
- }
- /**
- * Retrieves the list of raw asynchronous validators attached to a given control.
- */
- function getControlAsyncValidators(control) {
- return control._rawAsyncValidators;
- }
- /**
- * Accepts a singleton validator, an array, or null, and returns an array type with the provided
- * validators.
- *
- * @param validators A validator, validators, or null.
- * @returns A validators array.
- */
- function makeValidatorsArray(validators) {
- if (!validators) return [];
- return Array.isArray(validators) ? validators : [validators];
- }
- /**
- * Determines whether a validator or validators array has a given validator.
- *
- * @param validators The validator or validators to compare against.
- * @param validator The validator to check.
- * @returns Whether the validator is present.
- */
- function hasValidator(validators, validator) {
- return Array.isArray(validators) ? validators.includes(validator) : validators === validator;
- }
- /**
- * Combines two arrays of validators into one. If duplicates are provided, only one will be added.
- *
- * @param validators The new validators.
- * @param currentValidators The base array of current validators.
- * @returns An array of validators.
- */
- function addValidators(validators, currentValidators) {
- const current = makeValidatorsArray(currentValidators);
- const validatorsToAdd = makeValidatorsArray(validators);
- validatorsToAdd.forEach(v => {
- // Note: if there are duplicate entries in the new validators array,
- // only the first one would be added to the current list of validators.
- // Duplicate ones would be ignored since `hasValidator` would detect
- // the presence of a validator function and we update the current list in place.
- if (!hasValidator(current, v)) {
- current.push(v);
- }
- });
- return current;
- }
- function removeValidators(validators, currentValidators) {
- return makeValidatorsArray(currentValidators).filter(v => !hasValidator(validators, v));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- * Base class for control directives.
- *
- * This class is only used internally in the `ReactiveFormsModule` and the `FormsModule`.
- *
- * @publicApi
- */
- class AbstractControlDirective {
- constructor() {
- /**
- * Set of synchronous validators as they were provided while calling `setValidators` function.
- * @internal
- */
- this._rawValidators = [];
- /**
- * Set of asynchronous validators as they were provided while calling `setAsyncValidators`
- * function.
- * @internal
- */
- this._rawAsyncValidators = [];
- /*
- * The set of callbacks to be invoked when directive instance is being destroyed.
- */
- this._onDestroyCallbacks = [];
- }
- /**
- * @description
- * Reports the value of the control if it is present, otherwise null.
- */
- get value() {
- return this.control ? this.control.value : null;
- }
- /**
- * @description
- * Reports whether the control is valid. A control is considered valid if no
- * validation errors exist with the current value.
- * If the control is not present, null is returned.
- */
- get valid() {
- return this.control ? this.control.valid : null;
- }
- /**
- * @description
- * Reports whether the control is invalid, meaning that an error exists in the input value.
- * If the control is not present, null is returned.
- */
- get invalid() {
- return this.control ? this.control.invalid : null;
- }
- /**
- * @description
- * Reports whether a control is pending, meaning that that async validation is occurring and
- * errors are not yet available for the input value. If the control is not present, null is
- * returned.
- */
- get pending() {
- return this.control ? this.control.pending : null;
- }
- /**
- * @description
- * Reports whether the control is disabled, meaning that the control is disabled
- * in the UI and is exempt from validation checks and excluded from aggregate
- * values of ancestor controls. If the control is not present, null is returned.
- */
- get disabled() {
- return this.control ? this.control.disabled : null;
- }
- /**
- * @description
- * Reports whether the control is enabled, meaning that the control is included in ancestor
- * calculations of validity or value. If the control is not present, null is returned.
- */
- get enabled() {
- return this.control ? this.control.enabled : null;
- }
- /**
- * @description
- * Reports the control's validation errors. If the control is not present, null is returned.
- */
- get errors() {
- return this.control ? this.control.errors : null;
- }
- /**
- * @description
- * Reports whether the control is pristine, meaning that the user has not yet changed
- * the value in the UI. If the control is not present, null is returned.
- */
- get pristine() {
- return this.control ? this.control.pristine : null;
- }
- /**
- * @description
- * Reports whether the control is dirty, meaning that the user has changed
- * the value in the UI. If the control is not present, null is returned.
- */
- get dirty() {
- return this.control ? this.control.dirty : null;
- }
- /**
- * @description
- * Reports whether the control is touched, meaning that the user has triggered
- * a `blur` event on it. If the control is not present, null is returned.
- */
- get touched() {
- return this.control ? this.control.touched : null;
- }
- /**
- * @description
- * Reports the validation status of the control. Possible values include:
- * 'VALID', 'INVALID', 'DISABLED', and 'PENDING'.
- * If the control is not present, null is returned.
- */
- get status() {
- return this.control ? this.control.status : null;
- }
- /**
- * @description
- * Reports whether the control is untouched, meaning that the user has not yet triggered
- * a `blur` event on it. If the control is not present, null is returned.
- */
- get untouched() {
- return this.control ? this.control.untouched : null;
- }
- /**
- * @description
- * Returns a multicasting observable that emits a validation status whenever it is
- * calculated for the control. If the control is not present, null is returned.
- */
- get statusChanges() {
- return this.control ? this.control.statusChanges : null;
- }
- /**
- * @description
- * Returns a multicasting observable of value changes for the control that emits every time the
- * value of the control changes in the UI or programmatically.
- * If the control is not present, null is returned.
- */
- get valueChanges() {
- return this.control ? this.control.valueChanges : null;
- }
- /**
- * @description
- * Returns an array that represents the path from the top-level form to this control.
- * Each index is the string name of the control on that level.
- */
- get path() {
- return null;
- }
- /**
- * Sets synchronous validators for this directive.
- * @internal
- */
- _setValidators(validators) {
- this._rawValidators = validators || [];
- this._composedValidatorFn = composeValidators(this._rawValidators);
- }
- /**
- * Sets asynchronous validators for this directive.
- * @internal
- */
- _setAsyncValidators(validators) {
- this._rawAsyncValidators = validators || [];
- this._composedAsyncValidatorFn = composeAsyncValidators(this._rawAsyncValidators);
- }
- /**
- * @description
- * Synchronous validator function composed of all the synchronous validators registered with this
- * directive.
- */
- get validator() {
- return this._composedValidatorFn || null;
- }
- /**
- * @description
- * Asynchronous validator function composed of all the asynchronous validators registered with
- * this directive.
- */
- get asyncValidator() {
- return this._composedAsyncValidatorFn || null;
- }
- /**
- * Internal function to register callbacks that should be invoked
- * when directive instance is being destroyed.
- * @internal
- */
- _registerOnDestroy(fn) {
- this._onDestroyCallbacks.push(fn);
- }
- /**
- * Internal function to invoke all registered "on destroy" callbacks.
- * Note: calling this function also clears the list of callbacks.
- * @internal
- */
- _invokeOnDestroyCallbacks() {
- this._onDestroyCallbacks.forEach(fn => fn());
- this._onDestroyCallbacks = [];
- }
- /**
- * @description
- * Resets the control with the provided value if the control is present.
- */
- reset(value = undefined) {
- if (this.control) this.control.reset(value);
- }
- /**
- * @description
- * Reports whether the control with the given path has the error specified.
- *
- * @param errorCode The code of the error to check
- * @param path A list of control names that designates how to move from the current control
- * to the control that should be queried for errors.
- *
- * @usageNotes
- * For example, for the following `FormGroup`:
- *
- * ```
- * form = new FormGroup({
- * address: new FormGroup({ street: new FormControl() })
- * });
- * ```
- *
- * The path to the 'street' control from the root form would be 'address' -> 'street'.
- *
- * It can be provided to this method in one of two formats:
- *
- * 1. An array of string control names, e.g. `['address', 'street']`
- * 1. A period-delimited list of control names in one string, e.g. `'address.street'`
- *
- * If no path is given, this method checks for the error on the current control.
- *
- * @returns whether the given error is present in the control at the given path.
- *
- * If the control is not present, false is returned.
- */
- hasError(errorCode, path) {
- return this.control ? this.control.hasError(errorCode, path) : false;
- }
- /**
- * @description
- * Reports error data for the control with the given path.
- *
- * @param errorCode The code of the error to check
- * @param path A list of control names that designates how to move from the current control
- * to the control that should be queried for errors.
- *
- * @usageNotes
- * For example, for the following `FormGroup`:
- *
- * ```
- * form = new FormGroup({
- * address: new FormGroup({ street: new FormControl() })
- * });
- * ```
- *
- * The path to the 'street' control from the root form would be 'address' -> 'street'.
- *
- * It can be provided to this method in one of two formats:
- *
- * 1. An array of string control names, e.g. `['address', 'street']`
- * 1. A period-delimited list of control names in one string, e.g. `'address.street'`
- *
- * @returns error data for that particular error. If the control or error is not present,
- * null is returned.
- */
- getError(errorCode, path) {
- return this.control ? this.control.getError(errorCode, path) : null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- * A base class that all `FormControl`-based directives extend. It binds a `FormControl`
- * object to a DOM element.
- *
- * @publicApi
- */
- class NgControl extends AbstractControlDirective {
- constructor() {
- super(...arguments);
- /**
- * @description
- * The parent form for the control.
- *
- * @internal
- */
- this._parent = null;
- /**
- * @description
- * The name for the control
- */
- this.name = null;
- /**
- * @description
- * The value accessor for the control
- */
- this.valueAccessor = null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- * A base class for directives that contain multiple registered instances of `NgControl`.
- * Only used by the forms module.
- *
- * @publicApi
- */
- class ControlContainer extends AbstractControlDirective {
- /**
- * @description
- * The top-level form directive for the control.
- */
- get formDirective() {
- return null;
- }
- /**
- * @description
- * The path to this group.
- */
- get path() {
- return null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // DO NOT REFACTOR!
- // Each status is represented by a separate function to make sure that
- // advanced Closure Compiler optimizations related to property renaming
- // can work correctly.
- class AbstractControlStatus {
- constructor(cd) {
- this._cd = cd;
- }
- get isTouched() {
- var _a, _b;
- return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.touched);
- }
- get isUntouched() {
- var _a, _b;
- return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.untouched);
- }
- get isPristine() {
- var _a, _b;
- return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.pristine);
- }
- get isDirty() {
- var _a, _b;
- return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.dirty);
- }
- get isValid() {
- var _a, _b;
- return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.valid);
- }
- get isInvalid() {
- var _a, _b;
- return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.invalid);
- }
- get isPending() {
- var _a, _b;
- return !!((_b = (_a = this._cd) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.pending);
- }
- get isSubmitted() {
- var _a; // We check for the `submitted` field from `NgForm` and `FormGroupDirective` classes, but
- // we avoid instanceof checks to prevent non-tree-shakable references to those types.
- return !!((_a = this._cd) === null || _a === void 0 ? void 0 : _a.submitted);
- }
- }
- const ngControlStatusHost = {
- '[class.ng-untouched]': 'isUntouched',
- '[class.ng-touched]': 'isTouched',
- '[class.ng-pristine]': 'isPristine',
- '[class.ng-dirty]': 'isDirty',
- '[class.ng-valid]': 'isValid',
- '[class.ng-invalid]': 'isInvalid',
- '[class.ng-pending]': 'isPending'
- };
- const ngGroupStatusHost = Object.assign(Object.assign({}, ngControlStatusHost), {
- '[class.ng-submitted]': 'isSubmitted'
- });
- /**
- * @description
- * Directive automatically applied to Angular form controls that sets CSS classes
- * based on control status.
- *
- * @usageNotes
- *
- * ### CSS classes applied
- *
- * The following classes are applied as the properties become true:
- *
- * * ng-valid
- * * ng-invalid
- * * ng-pending
- * * ng-pristine
- * * ng-dirty
- * * ng-untouched
- * * ng-touched
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class NgControlStatus extends AbstractControlStatus {
- constructor(cd) {
- super(cd);
- }
- }
- NgControlStatus.ɵfac = function NgControlStatus_Factory(t) {
- return new (t || NgControlStatus)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](NgControl, 2));
- };
- NgControlStatus.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgControlStatus,
- selectors: [["", "formControlName", ""], ["", "ngModel", ""], ["", "formControl", ""]],
- hostVars: 14,
- hostBindings: function NgControlStatus_HostBindings(rf, ctx) {
- if (rf & 2) {
- _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);
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgControlStatus, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[formControlName],[ngModel],[formControl]',
- host: ngControlStatusHost
- }]
- }], function () {
- return [{
- type: NgControl,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }]
- }];
- }, null);
- })();
- /**
- * @description
- * Directive automatically applied to Angular form groups that sets CSS classes
- * based on control status (valid/invalid/dirty/etc). On groups, this includes the additional
- * class ng-submitted.
- *
- * @see `NgControlStatus`
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class NgControlStatusGroup extends AbstractControlStatus {
- constructor(cd) {
- super(cd);
- }
- }
- NgControlStatusGroup.ɵfac = function NgControlStatusGroup_Factory(t) {
- return new (t || NgControlStatusGroup)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ControlContainer, 10));
- };
- NgControlStatusGroup.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgControlStatusGroup,
- selectors: [["", "formGroupName", ""], ["", "formArrayName", ""], ["", "ngModelGroup", ""], ["", "formGroup", ""], ["form", 3, "ngNoForm", ""], ["", "ngForm", ""]],
- hostVars: 16,
- hostBindings: function NgControlStatusGroup_HostBindings(rf, ctx) {
- if (rf & 2) {
- _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);
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgControlStatusGroup, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',
- host: ngGroupStatusHost
- }]
- }], function () {
- return [{
- type: ControlContainer,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const formControlNameExample = `
- <div [formGroup]="myGroup">
- <input formControlName="firstName">
- </div>
- In your class:
- this.myGroup = new FormGroup({
- firstName: new FormControl()
- });`;
- const formGroupNameExample = `
- <div [formGroup]="myGroup">
- <div formGroupName="person">
- <input formControlName="firstName">
- </div>
- </div>
- In your class:
- this.myGroup = new FormGroup({
- person: new FormGroup({ firstName: new FormControl() })
- });`;
- const formArrayNameExample = `
- <div [formGroup]="myGroup">
- <div formArrayName="cities">
- <div *ngFor="let city of cityArray.controls; index as i">
- <input [formControlName]="i">
- </div>
- </div>
- </div>
- In your class:
- this.cityArray = new FormArray([new FormControl('SF')]);
- this.myGroup = new FormGroup({
- cities: this.cityArray
- });`;
- const ngModelGroupExample = `
- <form>
- <div ngModelGroup="person">
- <input [(ngModel)]="person.name" name="firstName">
- </div>
- </form>`;
- const ngModelWithFormGroupExample = `
- <div [formGroup]="myGroup">
- <input formControlName="firstName">
- <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">
- </div>
- `;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function controlParentException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1050
- /* RuntimeErrorCode.FORM_CONTROL_NAME_MISSING_PARENT */
- , `formControlName must be used with a parent formGroup directive. You'll want to add a formGroup
- directive and pass it an existing FormGroup instance (you can create one in your class).
- Example:
- ${formControlNameExample}`);
- }
- function ngModelGroupException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1051
- /* RuntimeErrorCode.FORM_CONTROL_NAME_INSIDE_MODEL_GROUP */
- , `formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents
- that also have a "form" prefix: formGroupName, formArrayName, or formGroup.
- Option 1: Update the parent to be formGroupName (reactive form strategy)
- ${formGroupNameExample}
- Option 2: Use ngModel instead of formControlName (template-driven strategy)
- ${ngModelGroupExample}`);
- }
- function missingFormException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1052
- /* RuntimeErrorCode.FORM_GROUP_MISSING_INSTANCE */
- , `formGroup expects a FormGroup instance. Please pass one in.
- Example:
- ${formControlNameExample}`);
- }
- function groupParentException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1053
- /* RuntimeErrorCode.FORM_GROUP_NAME_MISSING_PARENT */
- , `formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup
- directive and pass it an existing FormGroup instance (you can create one in your class).
- Example:
- ${formGroupNameExample}`);
- }
- function arrayParentException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1054
- /* RuntimeErrorCode.FORM_ARRAY_NAME_MISSING_PARENT */
- , `formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup
- directive and pass it an existing FormGroup instance (you can create one in your class).
- Example:
- ${formArrayNameExample}`);
- }
- const disabledAttrWarning = `
- It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true
- when you set up this control in your component class, the disabled attribute will actually be set in the DOM for
- you. We recommend using this approach to avoid 'changed after checked' errors.
- Example:
- // Specify the \`disabled\` property at control creation time:
- form = new FormGroup({
- first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),
- last: new FormControl('Drew', Validators.required)
- });
- // Controls can also be enabled/disabled after creation:
- form.get('first')?.enable();
- form.get('last')?.disable();
- `;
- const asyncValidatorsDroppedWithOptsWarning = `
- It looks like you're constructing using a FormControl with both an options argument and an
- async validators argument. Mixing these arguments will cause your async validators to be dropped.
- You should either put all your validators in the options object, or in separate validators
- arguments. For example:
- // Using validators arguments
- fc = new FormControl(42, Validators.required, myAsyncValidator);
- // Using AbstractControlOptions
- fc = new FormControl(42, {validators: Validators.required, asyncValidators: myAV});
- // Do NOT mix them: async validators will be dropped!
- fc = new FormControl(42, {validators: Validators.required}, /* Oops! */ myAsyncValidator);
- `;
- function ngModelWarning(directiveName) {
- return `
- It looks like you're using ngModel on the same form field as ${directiveName}.
- Support for using the ngModel input property and ngModelChange event with
- reactive form directives has been deprecated in Angular v6 and will be removed
- in a future version of Angular.
- For more information on this, see our API docs here:
- https://angular.io/api/forms/${directiveName === 'formControl' ? 'FormControlDirective' : 'FormControlName'}#use-with-ngmodel
- `;
- }
- function describeKey(isFormGroup, key) {
- return isFormGroup ? `with name: '${key}'` : `at index: ${key}`;
- }
- function noControlsError(isFormGroup) {
- return `
- There are no form controls registered with this ${isFormGroup ? 'group' : 'array'} yet. If you're using ngModel,
- you may want to check next tick (e.g. use setTimeout).
- `;
- }
- function missingControlError(isFormGroup, key) {
- return `Cannot find form control ${describeKey(isFormGroup, key)}`;
- }
- function missingControlValueError(isFormGroup, key) {
- return `Must supply a value for form control ${describeKey(isFormGroup, key)}`;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
- /**
- * Reports that a control is valid, meaning that no errors exist in the input value.
- *
- * @see `status`
- */
- const VALID = 'VALID';
- /**
- * Reports that a control is invalid, meaning that an error exists in the input value.
- *
- * @see `status`
- */
- const INVALID = 'INVALID';
- /**
- * Reports that a control is pending, meaning that that async validation is occurring and
- * errors are not yet available for the input value.
- *
- * @see `markAsPending`
- * @see `status`
- */
- const PENDING = 'PENDING';
- /**
- * Reports that a control is disabled, meaning that the control is exempt from ancestor
- * calculations of validity or value.
- *
- * @see `markAsDisabled`
- * @see `status`
- */
- const DISABLED = 'DISABLED';
- /**
- * Gets validators from either an options object or given validators.
- */
- function pickValidators(validatorOrOpts) {
- return (isOptionsObj(validatorOrOpts) ? validatorOrOpts.validators : validatorOrOpts) || null;
- }
- /**
- * Creates validator function by combining provided validators.
- */
- function coerceToValidator(validator) {
- return Array.isArray(validator) ? composeValidators(validator) : validator || null;
- }
- /**
- * Gets async validators from either an options object or given validators.
- */
- function pickAsyncValidators(asyncValidator, validatorOrOpts) {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- if (isOptionsObj(validatorOrOpts) && asyncValidator) {
- console.warn(asyncValidatorsDroppedWithOptsWarning);
- }
- }
- return (isOptionsObj(validatorOrOpts) ? validatorOrOpts.asyncValidators : asyncValidator) || null;
- }
- /**
- * Creates async validator function by combining provided async validators.
- */
- function coerceToAsyncValidator(asyncValidator) {
- return Array.isArray(asyncValidator) ? composeAsyncValidators(asyncValidator) : asyncValidator || null;
- }
- function isOptionsObj(validatorOrOpts) {
- return validatorOrOpts != null && !Array.isArray(validatorOrOpts) && typeof validatorOrOpts === 'object';
- }
- function assertControlPresent(parent, isGroup, key) {
- const controls = parent.controls;
- const collection = isGroup ? Object.keys(controls) : controls;
- if (!collection.length) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1000
- /* RuntimeErrorCode.NO_CONTROLS */
- , NG_DEV_MODE ? noControlsError(isGroup) : '');
- }
- if (!controls[key]) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1001
- /* RuntimeErrorCode.MISSING_CONTROL */
- , NG_DEV_MODE ? missingControlError(isGroup, key) : '');
- }
- }
- function assertAllValuesPresent(control, isGroup, value) {
- control._forEachChild((_, key) => {
- if (value[key] === undefined) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1002
- /* RuntimeErrorCode.MISSING_CONTROL_VALUE */
- , NG_DEV_MODE ? missingControlValueError(isGroup, key) : '');
- }
- });
- } // clang-format on
- /**
- * This is the base class for `FormControl`, `FormGroup`, and `FormArray`.
- *
- * It provides some of the shared behavior that all controls and groups of controls have, like
- * running validators, calculating status, and resetting state. It also defines the properties
- * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be
- * instantiated directly.
- *
- * The first type parameter TValue represents the value type of the control (`control.value`).
- * The optional type parameter TRawValue represents the raw value type (`control.getRawValue()`).
- *
- * @see [Forms Guide](/guide/forms)
- * @see [Reactive Forms Guide](/guide/reactive-forms)
- * @see [Dynamic Forms Guide](/guide/dynamic-form)
- *
- * @publicApi
- */
- class AbstractControl {
- /**
- * Initialize the AbstractControl instance.
- *
- * @param validators The function or array of functions that is used to determine the validity of
- * this control synchronously.
- * @param asyncValidators The function or array of functions that is used to determine validity of
- * this control asynchronously.
- */
- constructor(validators, asyncValidators) {
- /** @internal */
- this._pendingDirty = false;
- /**
- * Indicates that a control has its own pending asynchronous validation in progress.
- *
- * @internal
- */
- this._hasOwnPendingAsyncValidator = false;
- /** @internal */
- this._pendingTouched = false;
- /** @internal */
- this._onCollectionChange = () => {};
- this._parent = null;
- /**
- * A control is `pristine` if the user has not yet changed
- * the value in the UI.
- *
- * @returns True if the user has not yet changed the value in the UI; compare `dirty`.
- * Programmatic changes to a control's value do not mark it dirty.
- */
- this.pristine = true;
- /**
- * True if the control is marked as `touched`.
- *
- * A control is marked `touched` once the user has triggered
- * a `blur` event on it.
- */
- this.touched = false;
- /** @internal */
- this._onDisabledChange = [];
- this._rawValidators = validators;
- this._rawAsyncValidators = asyncValidators;
- this._composedValidatorFn = coerceToValidator(this._rawValidators);
- this._composedAsyncValidatorFn = coerceToAsyncValidator(this._rawAsyncValidators);
- }
- /**
- * Returns the function that is used to determine the validity of this control synchronously.
- * If multiple validators have been added, this will be a single composed function.
- * See `Validators.compose()` for additional information.
- */
- get validator() {
- return this._composedValidatorFn;
- }
- set validator(validatorFn) {
- this._rawValidators = this._composedValidatorFn = validatorFn;
- }
- /**
- * Returns the function that is used to determine the validity of this control asynchronously.
- * If multiple validators have been added, this will be a single composed function.
- * See `Validators.compose()` for additional information.
- */
- get asyncValidator() {
- return this._composedAsyncValidatorFn;
- }
- set asyncValidator(asyncValidatorFn) {
- this._rawAsyncValidators = this._composedAsyncValidatorFn = asyncValidatorFn;
- }
- /**
- * The parent control.
- */
- get parent() {
- return this._parent;
- }
- /**
- * A control is `valid` when its `status` is `VALID`.
- *
- * @see {@link AbstractControl.status}
- *
- * @returns True if the control has passed all of its validation tests,
- * false otherwise.
- */
- get valid() {
- return this.status === VALID;
- }
- /**
- * A control is `invalid` when its `status` is `INVALID`.
- *
- * @see {@link AbstractControl.status}
- *
- * @returns True if this control has failed one or more of its validation checks,
- * false otherwise.
- */
- get invalid() {
- return this.status === INVALID;
- }
- /**
- * A control is `pending` when its `status` is `PENDING`.
- *
- * @see {@link AbstractControl.status}
- *
- * @returns True if this control is in the process of conducting a validation check,
- * false otherwise.
- */
- get pending() {
- return this.status == PENDING;
- }
- /**
- * A control is `disabled` when its `status` is `DISABLED`.
- *
- * Disabled controls are exempt from validation checks and
- * are not included in the aggregate value of their ancestor
- * controls.
- *
- * @see {@link AbstractControl.status}
- *
- * @returns True if the control is disabled, false otherwise.
- */
- get disabled() {
- return this.status === DISABLED;
- }
- /**
- * A control is `enabled` as long as its `status` is not `DISABLED`.
- *
- * @returns True if the control has any status other than 'DISABLED',
- * false if the status is 'DISABLED'.
- *
- * @see {@link AbstractControl.status}
- *
- */
- get enabled() {
- return this.status !== DISABLED;
- }
- /**
- * A control is `dirty` if the user has changed the value
- * in the UI.
- *
- * @returns True if the user has changed the value of this control in the UI; compare `pristine`.
- * Programmatic changes to a control's value do not mark it dirty.
- */
- get dirty() {
- return !this.pristine;
- }
- /**
- * True if the control has not been marked as touched
- *
- * A control is `untouched` if the user has not yet triggered
- * a `blur` event on it.
- */
- get untouched() {
- return !this.touched;
- }
- /**
- * Reports the update strategy of the `AbstractControl` (meaning
- * the event on which the control updates itself).
- * Possible values: `'change'` | `'blur'` | `'submit'`
- * Default value: `'change'`
- */
- get updateOn() {
- return this._updateOn ? this._updateOn : this.parent ? this.parent.updateOn : 'change';
- }
- /**
- * Sets the synchronous validators that are active on this control. Calling
- * this overwrites any existing synchronous validators.
- *
- * When you add or remove a validator at run time, you must call
- * `updateValueAndValidity()` for the new validation to take effect.
- *
- * If you want to add a new validator without affecting existing ones, consider
- * using `addValidators()` method instead.
- */
- setValidators(validators) {
- this._rawValidators = validators;
- this._composedValidatorFn = coerceToValidator(validators);
- }
- /**
- * Sets the asynchronous validators that are active on this control. Calling this
- * overwrites any existing asynchronous validators.
- *
- * When you add or remove a validator at run time, you must call
- * `updateValueAndValidity()` for the new validation to take effect.
- *
- * If you want to add a new validator without affecting existing ones, consider
- * using `addAsyncValidators()` method instead.
- */
- setAsyncValidators(validators) {
- this._rawAsyncValidators = validators;
- this._composedAsyncValidatorFn = coerceToAsyncValidator(validators);
- }
- /**
- * Add a synchronous validator or validators to this control, without affecting other validators.
- *
- * When you add or remove a validator at run time, you must call
- * `updateValueAndValidity()` for the new validation to take effect.
- *
- * Adding a validator that already exists will have no effect. If duplicate validator functions
- * are present in the `validators` array, only the first instance would be added to a form
- * control.
- *
- * @param validators The new validator function or functions to add to this control.
- */
- addValidators(validators) {
- this.setValidators(addValidators(validators, this._rawValidators));
- }
- /**
- * Add an asynchronous validator or validators to this control, without affecting other
- * validators.
- *
- * When you add or remove a validator at run time, you must call
- * `updateValueAndValidity()` for the new validation to take effect.
- *
- * Adding a validator that already exists will have no effect.
- *
- * @param validators The new asynchronous validator function or functions to add to this control.
- */
- addAsyncValidators(validators) {
- this.setAsyncValidators(addValidators(validators, this._rawAsyncValidators));
- }
- /**
- * Remove a synchronous validator from this control, without affecting other validators.
- * Validators are compared by function reference; you must pass a reference to the exact same
- * validator function as the one that was originally set. If a provided validator is not found,
- * it is ignored.
- *
- * @usageNotes
- *
- * ### Reference to a ValidatorFn
- *
- * ```
- * // Reference to the RequiredValidator
- * const ctrl = new FormControl<string | null>('', Validators.required);
- * ctrl.removeValidators(Validators.required);
- *
- * // Reference to anonymous function inside MinValidator
- * const minValidator = Validators.min(3);
- * const ctrl = new FormControl<string | null>('', minValidator);
- * expect(ctrl.hasValidator(minValidator)).toEqual(true)
- * expect(ctrl.hasValidator(Validators.min(3)).toEqual(false)
- *
- * ctrl.removeValidators(minValidator);
- * ```
- *
- * When you add or remove a validator at run time, you must call
- * `updateValueAndValidity()` for the new validation to take effect.
- *
- * @param validators The validator or validators to remove.
- */
- removeValidators(validators) {
- this.setValidators(removeValidators(validators, this._rawValidators));
- }
- /**
- * Remove an asynchronous validator from this control, without affecting other validators.
- * Validators are compared by function reference; you must pass a reference to the exact same
- * validator function as the one that was originally set. If a provided validator is not found, it
- * is ignored.
- *
- * When you add or remove a validator at run time, you must call
- * `updateValueAndValidity()` for the new validation to take effect.
- *
- * @param validators The asynchronous validator or validators to remove.
- */
- removeAsyncValidators(validators) {
- this.setAsyncValidators(removeValidators(validators, this._rawAsyncValidators));
- }
- /**
- * Check whether a synchronous validator function is present on this control. The provided
- * validator must be a reference to the exact same function that was provided.
- *
- * @usageNotes
- *
- * ### Reference to a ValidatorFn
- *
- * ```
- * // Reference to the RequiredValidator
- * const ctrl = new FormControl<number | null>(0, Validators.required);
- * expect(ctrl.hasValidator(Validators.required)).toEqual(true)
- *
- * // Reference to anonymous function inside MinValidator
- * const minValidator = Validators.min(3);
- * const ctrl = new FormControl<number | null>(0, minValidator);
- * expect(ctrl.hasValidator(minValidator)).toEqual(true)
- * expect(ctrl.hasValidator(Validators.min(3)).toEqual(false)
- * ```
- *
- * @param validator The validator to check for presence. Compared by function reference.
- * @returns Whether the provided validator was found on this control.
- */
- hasValidator(validator) {
- return hasValidator(this._rawValidators, validator);
- }
- /**
- * Check whether an asynchronous validator function is present on this control. The provided
- * validator must be a reference to the exact same function that was provided.
- *
- * @param validator The asynchronous validator to check for presence. Compared by function
- * reference.
- * @returns Whether the provided asynchronous validator was found on this control.
- */
- hasAsyncValidator(validator) {
- return hasValidator(this._rawAsyncValidators, validator);
- }
- /**
- * Empties out the synchronous validator list.
- *
- * When you add or remove a validator at run time, you must call
- * `updateValueAndValidity()` for the new validation to take effect.
- *
- */
- clearValidators() {
- this.validator = null;
- }
- /**
- * Empties out the async validator list.
- *
- * When you add or remove a validator at run time, you must call
- * `updateValueAndValidity()` for the new validation to take effect.
- *
- */
- clearAsyncValidators() {
- this.asyncValidator = null;
- }
- /**
- * Marks the control as `touched`. A control is touched by focus and
- * blur events that do not change the value.
- *
- * @see `markAsUntouched()`
- * @see `markAsDirty()`
- * @see `markAsPristine()`
- *
- * @param opts Configuration options that determine how the control propagates changes
- * and emits events after marking is applied.
- * * `onlySelf`: When true, mark only this control. When false or not supplied,
- * marks all direct ancestors. Default is false.
- */
- markAsTouched(opts = {}) {
- this.touched = true;
- if (this._parent && !opts.onlySelf) {
- this._parent.markAsTouched(opts);
- }
- }
- /**
- * Marks the control and all its descendant controls as `touched`.
- * @see `markAsTouched()`
- */
- markAllAsTouched() {
- this.markAsTouched({
- onlySelf: true
- });
- this._forEachChild(control => control.markAllAsTouched());
- }
- /**
- * Marks the control as `untouched`.
- *
- * If the control has any children, also marks all children as `untouched`
- * and recalculates the `touched` status of all parent controls.
- *
- * @see `markAsTouched()`
- * @see `markAsDirty()`
- * @see `markAsPristine()`
- *
- * @param opts Configuration options that determine how the control propagates changes
- * and emits events after the marking is applied.
- * * `onlySelf`: When true, mark only this control. When false or not supplied,
- * marks all direct ancestors. Default is false.
- */
- markAsUntouched(opts = {}) {
- this.touched = false;
- this._pendingTouched = false;
- this._forEachChild(control => {
- control.markAsUntouched({
- onlySelf: true
- });
- });
- if (this._parent && !opts.onlySelf) {
- this._parent._updateTouched(opts);
- }
- }
- /**
- * Marks the control as `dirty`. A control becomes dirty when
- * the control's value is changed through the UI; compare `markAsTouched`.
- *
- * @see `markAsTouched()`
- * @see `markAsUntouched()`
- * @see `markAsPristine()`
- *
- * @param opts Configuration options that determine how the control propagates changes
- * and emits events after marking is applied.
- * * `onlySelf`: When true, mark only this control. When false or not supplied,
- * marks all direct ancestors. Default is false.
- */
- markAsDirty(opts = {}) {
- this.pristine = false;
- if (this._parent && !opts.onlySelf) {
- this._parent.markAsDirty(opts);
- }
- }
- /**
- * Marks the control as `pristine`.
- *
- * If the control has any children, marks all children as `pristine`,
- * and recalculates the `pristine` status of all parent
- * controls.
- *
- * @see `markAsTouched()`
- * @see `markAsUntouched()`
- * @see `markAsDirty()`
- *
- * @param opts Configuration options that determine how the control emits events after
- * marking is applied.
- * * `onlySelf`: When true, mark only this control. When false or not supplied,
- * marks all direct ancestors. Default is false.
- */
- markAsPristine(opts = {}) {
- this.pristine = true;
- this._pendingDirty = false;
- this._forEachChild(control => {
- control.markAsPristine({
- onlySelf: true
- });
- });
- if (this._parent && !opts.onlySelf) {
- this._parent._updatePristine(opts);
- }
- }
- /**
- * Marks the control as `pending`.
- *
- * A control is pending while the control performs async validation.
- *
- * @see {@link AbstractControl.status}
- *
- * @param opts Configuration options that determine how the control propagates changes and
- * emits events after marking is applied.
- * * `onlySelf`: When true, mark only this control. When false or not supplied,
- * marks all direct ancestors. Default is false.
- * * `emitEvent`: When true or not supplied (the default), the `statusChanges`
- * observable emits an event with the latest status the control is marked pending.
- * When false, no events are emitted.
- *
- */
- markAsPending(opts = {}) {
- this.status = PENDING;
- if (opts.emitEvent !== false) {
- this.statusChanges.emit(this.status);
- }
- if (this._parent && !opts.onlySelf) {
- this._parent.markAsPending(opts);
- }
- }
- /**
- * Disables the control. This means the control is exempt from validation checks and
- * excluded from the aggregate value of any parent. Its status is `DISABLED`.
- *
- * If the control has children, all children are also disabled.
- *
- * @see {@link AbstractControl.status}
- *
- * @param opts Configuration options that determine how the control propagates
- * changes and emits events after the control is disabled.
- * * `onlySelf`: When true, mark only this control. When false or not supplied,
- * marks all direct ancestors. Default is false.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges`
- * observables emit events with the latest status and value when the control is disabled.
- * When false, no events are emitted.
- */
- disable(opts = {}) {
- // If parent has been marked artificially dirty we don't want to re-calculate the
- // parent's dirtiness based on the children.
- const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);
- this.status = DISABLED;
- this.errors = null;
- this._forEachChild(control => {
- control.disable(Object.assign(Object.assign({}, opts), {
- onlySelf: true
- }));
- });
- this._updateValue();
- if (opts.emitEvent !== false) {
- this.valueChanges.emit(this.value);
- this.statusChanges.emit(this.status);
- }
- this._updateAncestors(Object.assign(Object.assign({}, opts), {
- skipPristineCheck
- }));
- this._onDisabledChange.forEach(changeFn => changeFn(true));
- }
- /**
- * Enables the control. This means the control is included in validation checks and
- * the aggregate value of its parent. Its status recalculates based on its value and
- * its validators.
- *
- * By default, if the control has children, all children are enabled.
- *
- * @see {@link AbstractControl.status}
- *
- * @param opts Configure options that control how the control propagates changes and
- * emits events when marked as untouched
- * * `onlySelf`: When true, mark only this control. When false or not supplied,
- * marks all direct ancestors. Default is false.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges`
- * observables emit events with the latest status and value when the control is enabled.
- * When false, no events are emitted.
- */
- enable(opts = {}) {
- // If parent has been marked artificially dirty we don't want to re-calculate the
- // parent's dirtiness based on the children.
- const skipPristineCheck = this._parentMarkedDirty(opts.onlySelf);
- this.status = VALID;
- this._forEachChild(control => {
- control.enable(Object.assign(Object.assign({}, opts), {
- onlySelf: true
- }));
- });
- this.updateValueAndValidity({
- onlySelf: true,
- emitEvent: opts.emitEvent
- });
- this._updateAncestors(Object.assign(Object.assign({}, opts), {
- skipPristineCheck
- }));
- this._onDisabledChange.forEach(changeFn => changeFn(false));
- }
- _updateAncestors(opts) {
- if (this._parent && !opts.onlySelf) {
- this._parent.updateValueAndValidity(opts);
- if (!opts.skipPristineCheck) {
- this._parent._updatePristine();
- }
- this._parent._updateTouched();
- }
- }
- /**
- * Sets the parent of the control
- *
- * @param parent The new parent.
- */
- setParent(parent) {
- this._parent = parent;
- }
- /**
- * The raw value of this control. For most control implementations, the raw value will include
- * disabled children.
- */
- getRawValue() {
- return this.value;
- }
- /**
- * Recalculates the value and validation status of the control.
- *
- * By default, it also updates the value and validity of its ancestors.
- *
- * @param opts Configuration options determine how the control propagates changes and emits events
- * after updates and validity checks are applied.
- * * `onlySelf`: When true, only update this control. When false or not supplied,
- * update all direct ancestors. Default is false.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges`
- * observables emit events with the latest status and value when the control is updated.
- * When false, no events are emitted.
- */
- updateValueAndValidity(opts = {}) {
- this._setInitialStatus();
- this._updateValue();
- if (this.enabled) {
- this._cancelExistingSubscription();
- this.errors = this._runValidator();
- this.status = this._calculateStatus();
- if (this.status === VALID || this.status === PENDING) {
- this._runAsyncValidator(opts.emitEvent);
- }
- }
- if (opts.emitEvent !== false) {
- this.valueChanges.emit(this.value);
- this.statusChanges.emit(this.status);
- }
- if (this._parent && !opts.onlySelf) {
- this._parent.updateValueAndValidity(opts);
- }
- }
- /** @internal */
- _updateTreeValidity(opts = {
- emitEvent: true
- }) {
- this._forEachChild(ctrl => ctrl._updateTreeValidity(opts));
- this.updateValueAndValidity({
- onlySelf: true,
- emitEvent: opts.emitEvent
- });
- }
- _setInitialStatus() {
- this.status = this._allControlsDisabled() ? DISABLED : VALID;
- }
- _runValidator() {
- return this.validator ? this.validator(this) : null;
- }
- _runAsyncValidator(emitEvent) {
- if (this.asyncValidator) {
- this.status = PENDING;
- this._hasOwnPendingAsyncValidator = true;
- const obs = toObservable(this.asyncValidator(this));
- this._asyncValidationSubscription = obs.subscribe(errors => {
- this._hasOwnPendingAsyncValidator = false; // This will trigger the recalculation of the validation status, which depends on
- // the state of the asynchronous validation (whether it is in progress or not). So, it is
- // necessary that we have updated the `_hasOwnPendingAsyncValidator` boolean flag first.
- this.setErrors(errors, {
- emitEvent
- });
- });
- }
- }
- _cancelExistingSubscription() {
- if (this._asyncValidationSubscription) {
- this._asyncValidationSubscription.unsubscribe();
- this._hasOwnPendingAsyncValidator = false;
- }
- }
- /**
- * Sets errors on a form control when running validations manually, rather than automatically.
- *
- * Calling `setErrors` also updates the validity of the parent control.
- *
- * @param opts Configuration options that determine how the control propagates
- * changes and emits events after the control errors are set.
- * * `emitEvent`: When true or not supplied (the default), the `statusChanges`
- * observable emits an event after the errors are set.
- *
- * @usageNotes
- *
- * ### Manually set the errors for a control
- *
- * ```
- * const login = new FormControl('someLogin');
- * login.setErrors({
- * notUnique: true
- * });
- *
- * expect(login.valid).toEqual(false);
- * expect(login.errors).toEqual({ notUnique: true });
- *
- * login.setValue('someOtherLogin');
- *
- * expect(login.valid).toEqual(true);
- * ```
- */
- setErrors(errors, opts = {}) {
- this.errors = errors;
- this._updateControlsErrors(opts.emitEvent !== false);
- }
- /**
- * Retrieves a child control given the control's name or path.
- *
- * @param path A dot-delimited string or array of string/number values that define the path to the
- * control. If a string is provided, passing it as a string literal will result in improved type
- * information. Likewise, if an array is provided, passing it `as const` will cause improved type
- * information to be available.
- *
- * @usageNotes
- * ### Retrieve a nested control
- *
- * For example, to get a `name` control nested within a `person` sub-group:
- *
- * * `this.form.get('person.name');`
- *
- * -OR-
- *
- * * `this.form.get(['person', 'name'] as const);` // `as const` gives improved typings
- *
- * ### Retrieve a control in a FormArray
- *
- * When accessing an element inside a FormArray, you can use an element index.
- * For example, to get a `price` control from the first element in an `items` array you can use:
- *
- * * `this.form.get('items.0.price');`
- *
- * -OR-
- *
- * * `this.form.get(['items', 0, 'price']);`
- */
- get(path) {
- let currPath = path;
- if (currPath == null) return null;
- if (!Array.isArray(currPath)) currPath = currPath.split('.');
- if (currPath.length === 0) return null;
- return currPath.reduce((control, name) => control && control._find(name), this);
- }
- /**
- * @description
- * Reports error data for the control with the given path.
- *
- * @param errorCode The code of the error to check
- * @param path A list of control names that designates how to move from the current control
- * to the control that should be queried for errors.
- *
- * @usageNotes
- * For example, for the following `FormGroup`:
- *
- * ```
- * form = new FormGroup({
- * address: new FormGroup({ street: new FormControl() })
- * });
- * ```
- *
- * The path to the 'street' control from the root form would be 'address' -> 'street'.
- *
- * It can be provided to this method in one of two formats:
- *
- * 1. An array of string control names, e.g. `['address', 'street']`
- * 1. A period-delimited list of control names in one string, e.g. `'address.street'`
- *
- * @returns error data for that particular error. If the control or error is not present,
- * null is returned.
- */
- getError(errorCode, path) {
- const control = path ? this.get(path) : this;
- return control && control.errors ? control.errors[errorCode] : null;
- }
- /**
- * @description
- * Reports whether the control with the given path has the error specified.
- *
- * @param errorCode The code of the error to check
- * @param path A list of control names that designates how to move from the current control
- * to the control that should be queried for errors.
- *
- * @usageNotes
- * For example, for the following `FormGroup`:
- *
- * ```
- * form = new FormGroup({
- * address: new FormGroup({ street: new FormControl() })
- * });
- * ```
- *
- * The path to the 'street' control from the root form would be 'address' -> 'street'.
- *
- * It can be provided to this method in one of two formats:
- *
- * 1. An array of string control names, e.g. `['address', 'street']`
- * 1. A period-delimited list of control names in one string, e.g. `'address.street'`
- *
- * If no path is given, this method checks for the error on the current control.
- *
- * @returns whether the given error is present in the control at the given path.
- *
- * If the control is not present, false is returned.
- */
- hasError(errorCode, path) {
- return !!this.getError(errorCode, path);
- }
- /**
- * Retrieves the top-level ancestor of this control.
- */
- get root() {
- let x = this;
- while (x._parent) {
- x = x._parent;
- }
- return x;
- }
- /** @internal */
- _updateControlsErrors(emitEvent) {
- this.status = this._calculateStatus();
- if (emitEvent) {
- this.statusChanges.emit(this.status);
- }
- if (this._parent) {
- this._parent._updateControlsErrors(emitEvent);
- }
- }
- /** @internal */
- _initObservables() {
- this.valueChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- this.statusChanges = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- }
- _calculateStatus() {
- if (this._allControlsDisabled()) return DISABLED;
- if (this.errors) return INVALID;
- if (this._hasOwnPendingAsyncValidator || this._anyControlsHaveStatus(PENDING)) return PENDING;
- if (this._anyControlsHaveStatus(INVALID)) return INVALID;
- return VALID;
- }
- /** @internal */
- _anyControlsHaveStatus(status) {
- return this._anyControls(control => control.status === status);
- }
- /** @internal */
- _anyControlsDirty() {
- return this._anyControls(control => control.dirty);
- }
- /** @internal */
- _anyControlsTouched() {
- return this._anyControls(control => control.touched);
- }
- /** @internal */
- _updatePristine(opts = {}) {
- this.pristine = !this._anyControlsDirty();
- if (this._parent && !opts.onlySelf) {
- this._parent._updatePristine(opts);
- }
- }
- /** @internal */
- _updateTouched(opts = {}) {
- this.touched = this._anyControlsTouched();
- if (this._parent && !opts.onlySelf) {
- this._parent._updateTouched(opts);
- }
- }
- /** @internal */
- _registerOnCollectionChange(fn) {
- this._onCollectionChange = fn;
- }
- /** @internal */
- _setUpdateStrategy(opts) {
- if (isOptionsObj(opts) && opts.updateOn != null) {
- this._updateOn = opts.updateOn;
- }
- }
- /**
- * Check to see if parent has been marked artificially dirty.
- *
- * @internal
- */
- _parentMarkedDirty(onlySelf) {
- const parentDirty = this._parent && this._parent.dirty;
- return !onlySelf && !!parentDirty && !this._parent._anyControlsDirty();
- }
- /** @internal */
- _find(name) {
- return null;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Tracks the value and validity state of a group of `FormControl` instances.
- *
- * A `FormGroup` aggregates the values of each child `FormControl` into one object,
- * with each control name as the key. It calculates its status by reducing the status values
- * of its children. For example, if one of the controls in a group is invalid, the entire
- * group becomes invalid.
- *
- * `FormGroup` is one of the four fundamental building blocks used to define forms in Angular,
- * along with `FormControl`, `FormArray`, and `FormRecord`.
- *
- * When instantiating a `FormGroup`, pass in a collection of child controls as the first
- * argument. The key for each child registers the name for the control.
- *
- * `FormGroup` is intended for use cases where the keys are known ahead of time.
- * If you need to dynamically add and remove controls, use {@link FormRecord} instead.
- *
- * `FormGroup` accepts an optional type parameter `TControl`, which is an object type with inner
- * control types as values.
- *
- * @usageNotes
- *
- * ### Create a form group with 2 controls
- *
- * ```
- * const form = new FormGroup({
- * first: new FormControl('Nancy', Validators.minLength(2)),
- * last: new FormControl('Drew'),
- * });
- *
- * console.log(form.value); // {first: 'Nancy', last; 'Drew'}
- * console.log(form.status); // 'VALID'
- * ```
- *
- * ### The type argument, and optional controls
- *
- * `FormGroup` accepts one generic argument, which is an object containing its inner controls.
- * This type will usually be inferred automatically, but you can always specify it explicitly if you
- * wish.
- *
- * If you have controls that are optional (i.e. they can be removed, you can use the `?` in the
- * type):
- *
- * ```
- * const form = new FormGroup<{
- * first: FormControl<string|null>,
- * middle?: FormControl<string|null>, // Middle name is optional.
- * last: FormControl<string|null>,
- * }>({
- * first: new FormControl('Nancy'),
- * last: new FormControl('Drew'),
- * });
- * ```
- *
- * ### Create a form group with a group-level validator
- *
- * You include group-level validators as the second arg, or group-level async
- * validators as the third arg. These come in handy when you want to perform validation
- * that considers the value of more than one child control.
- *
- * ```
- * const form = new FormGroup({
- * password: new FormControl('', Validators.minLength(2)),
- * passwordConfirm: new FormControl('', Validators.minLength(2)),
- * }, passwordMatchValidator);
- *
- *
- * function passwordMatchValidator(g: FormGroup) {
- * return g.get('password').value === g.get('passwordConfirm').value
- * ? null : {'mismatch': true};
- * }
- * ```
- *
- * Like `FormControl` instances, you choose to pass in
- * validators and async validators as part of an options object.
- *
- * ```
- * const form = new FormGroup({
- * password: new FormControl('')
- * passwordConfirm: new FormControl('')
- * }, { validators: passwordMatchValidator, asyncValidators: otherValidator });
- * ```
- *
- * ### Set the updateOn property for all controls in a form group
- *
- * The options object is used to set a default value for each child
- * control's `updateOn` property. If you set `updateOn` to `'blur'` at the
- * group level, all child controls default to 'blur', unless the child
- * has explicitly specified a different `updateOn` value.
- *
- * ```ts
- * const c = new FormGroup({
- * one: new FormControl()
- * }, { updateOn: 'blur' });
- * ```
- *
- * ### Using a FormGroup with optional controls
- *
- * It is possible to have optional controls in a FormGroup. An optional control can be removed later
- * using `removeControl`, and can be omitted when calling `reset`. Optional controls must be
- * declared optional in the group's type.
- *
- * ```ts
- * const c = new FormGroup<{one?: FormControl<string>}>({
- * one: new FormControl('')
- * });
- * ```
- *
- * Notice that `c.value.one` has type `string|null|undefined`. This is because calling `c.reset({})`
- * without providing the optional key `one` will cause it to become `null`.
- *
- * @publicApi
- */
- class FormGroup extends AbstractControl {
- /**
- * Creates a new `FormGroup` instance.
- *
- * @param controls A collection of child controls. The key for each child is the name
- * under which it is registered.
- *
- * @param validatorOrOpts A synchronous validator function, or an array of
- * such functions, or an `AbstractControlOptions` object that contains validation functions
- * and a validation trigger.
- *
- * @param asyncValidator A single async validator or array of async validator functions
- *
- */
- constructor(controls, validatorOrOpts, asyncValidator) {
- super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));
- this.controls = controls;
- this._initObservables();
- this._setUpdateStrategy(validatorOrOpts);
- this._setUpControls();
- this.updateValueAndValidity({
- onlySelf: true,
- // If `asyncValidator` is present, it will trigger control status change from `PENDING` to
- // `VALID` or `INVALID`. The status should be broadcasted via the `statusChanges` observable,
- // so we set `emitEvent` to `true` to allow that during the control creation process.
- emitEvent: !!this.asyncValidator
- });
- }
- registerControl(name, control) {
- if (this.controls[name]) return this.controls[name];
- this.controls[name] = control;
- control.setParent(this);
- control._registerOnCollectionChange(this._onCollectionChange);
- return control;
- }
- addControl(name, control, options = {}) {
- this.registerControl(name, control);
- this.updateValueAndValidity({
- emitEvent: options.emitEvent
- });
- this._onCollectionChange();
- }
- /**
- * Remove a control from this group. In a strongly-typed group, required controls cannot be
- * removed.
- *
- * This method also updates the value and validity of the control.
- *
- * @param name The control name to remove from the collection
- * @param options Specifies whether this FormGroup instance should emit events after a
- * control is removed.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges` observables emit events with the latest status and value when the control is
- * removed. When false, no events are emitted.
- */
- removeControl(name, options = {}) {
- if (this.controls[name]) this.controls[name]._registerOnCollectionChange(() => {});
- delete this.controls[name];
- this.updateValueAndValidity({
- emitEvent: options.emitEvent
- });
- this._onCollectionChange();
- }
- setControl(name, control, options = {}) {
- if (this.controls[name]) this.controls[name]._registerOnCollectionChange(() => {});
- delete this.controls[name];
- if (control) this.registerControl(name, control);
- this.updateValueAndValidity({
- emitEvent: options.emitEvent
- });
- this._onCollectionChange();
- }
- contains(controlName) {
- return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled;
- }
- /**
- * Sets the value of the `FormGroup`. It accepts an object that matches
- * the structure of the group, with control names as keys.
- *
- * @usageNotes
- * ### Set the complete value for the form group
- *
- * ```
- * const form = new FormGroup({
- * first: new FormControl(),
- * last: new FormControl()
- * });
- *
- * console.log(form.value); // {first: null, last: null}
- *
- * form.setValue({first: 'Nancy', last: 'Drew'});
- * console.log(form.value); // {first: 'Nancy', last: 'Drew'}
- * ```
- *
- * @throws When strict checks fail, such as setting the value of a control
- * that doesn't exist or if you exclude a value of a control that does exist.
- *
- * @param value The new value for the control that matches the structure of the group.
- * @param options Configuration options that determine how the control propagates changes
- * and emits events after the value changes.
- * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity
- * updateValueAndValidity} method.
- *
- * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is
- * false.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges`
- * observables emit events with the latest status and value when the control value is updated.
- * When false, no events are emitted.
- */
- setValue(value, options = {}) {
- assertAllValuesPresent(this, true, value);
- Object.keys(value).forEach(name => {
- assertControlPresent(this, true, name);
- this.controls[name].setValue(value[name], {
- onlySelf: true,
- emitEvent: options.emitEvent
- });
- });
- this.updateValueAndValidity(options);
- }
- /**
- * Patches the value of the `FormGroup`. It accepts an object with control
- * names as keys, and does its best to match the values to the correct controls
- * in the group.
- *
- * It accepts both super-sets and sub-sets of the group without throwing an error.
- *
- * @usageNotes
- * ### Patch the value for a form group
- *
- * ```
- * const form = new FormGroup({
- * first: new FormControl(),
- * last: new FormControl()
- * });
- * console.log(form.value); // {first: null, last: null}
- *
- * form.patchValue({first: 'Nancy'});
- * console.log(form.value); // {first: 'Nancy', last: null}
- * ```
- *
- * @param value The object that matches the structure of the group.
- * @param options Configuration options that determine how the control propagates changes and
- * emits events after the value is patched.
- * * `onlySelf`: When true, each change only affects this control and not its parent. Default is
- * true.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges` observables emit events with the latest status and value when the control value
- * is updated. When false, no events are emitted. The configuration options are passed to
- * the {@link AbstractControl#updateValueAndValidity updateValueAndValidity} method.
- */
- patchValue(value, options = {}) {
- // Even though the `value` argument type doesn't allow `null` and `undefined` values, the
- // `patchValue` can be called recursively and inner data structures might have these values, so
- // we just ignore such cases when a field containing FormGroup instance receives `null` or
- // `undefined` as a value.
- if (value == null
- /* both `null` and `undefined` */
- ) return;
- Object.keys(value).forEach(name => {
- // The compiler cannot see through the uninstantiated conditional type of `this.controls`, so
- // `as any` is required.
- const control = this.controls[name];
- if (control) {
- control.patchValue(
- /* Guaranteed to be present, due to the outer forEach. */
- value[name], {
- onlySelf: true,
- emitEvent: options.emitEvent
- });
- }
- });
- this.updateValueAndValidity(options);
- }
- /**
- * Resets the `FormGroup`, marks all descendants `pristine` and `untouched` and sets
- * the value of all descendants to their default values, or null if no defaults were provided.
- *
- * You reset to a specific form state by passing in a map of states
- * that matches the structure of your form, with control names as keys. The state
- * is a standalone value or a form state object with both a value and a disabled
- * status.
- *
- * @param value Resets the control with an initial value,
- * or an object that defines the initial value and disabled state.
- *
- * @param options Configuration options that determine how the control propagates changes
- * and emits events when the group is reset.
- * * `onlySelf`: When true, each change only affects this control, and not its parent. Default is
- * false.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges`
- * observables emit events with the latest status and value when the control is reset.
- * When false, no events are emitted.
- * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity
- * updateValueAndValidity} method.
- *
- * @usageNotes
- *
- * ### Reset the form group values
- *
- * ```ts
- * const form = new FormGroup({
- * first: new FormControl('first name'),
- * last: new FormControl('last name')
- * });
- *
- * console.log(form.value); // {first: 'first name', last: 'last name'}
- *
- * form.reset({ first: 'name', last: 'last name' });
- *
- * console.log(form.value); // {first: 'name', last: 'last name'}
- * ```
- *
- * ### Reset the form group values and disabled status
- *
- * ```
- * const form = new FormGroup({
- * first: new FormControl('first name'),
- * last: new FormControl('last name')
- * });
- *
- * form.reset({
- * first: {value: 'name', disabled: true},
- * last: 'last'
- * });
- *
- * console.log(form.value); // {last: 'last'}
- * console.log(form.get('first').status); // 'DISABLED'
- * ```
- */
- reset(value = {}, options = {}) {
- this._forEachChild((control, name) => {
- control.reset(value[name], {
- onlySelf: true,
- emitEvent: options.emitEvent
- });
- });
- this._updatePristine(options);
- this._updateTouched(options);
- this.updateValueAndValidity(options);
- }
- /**
- * The aggregate value of the `FormGroup`, including any disabled controls.
- *
- * Retrieves all values regardless of disabled status.
- */
- getRawValue() {
- return this._reduceChildren({}, (acc, control, name) => {
- acc[name] = control.getRawValue();
- return acc;
- });
- }
- /** @internal */
- _syncPendingControls() {
- let subtreeUpdated = this._reduceChildren(false, (updated, child) => {
- return child._syncPendingControls() ? true : updated;
- });
- if (subtreeUpdated) this.updateValueAndValidity({
- onlySelf: true
- });
- return subtreeUpdated;
- }
- /** @internal */
- _forEachChild(cb) {
- Object.keys(this.controls).forEach(key => {
- // The list of controls can change (for ex. controls might be removed) while the loop
- // is running (as a result of invoking Forms API in `valueChanges` subscription), so we
- // have to null check before invoking the callback.
- const control = this.controls[key];
- control && cb(control, key);
- });
- }
- /** @internal */
- _setUpControls() {
- this._forEachChild(control => {
- control.setParent(this);
- control._registerOnCollectionChange(this._onCollectionChange);
- });
- }
- /** @internal */
- _updateValue() {
- this.value = this._reduceValue();
- }
- /** @internal */
- _anyControls(condition) {
- for (const [controlName, control] of Object.entries(this.controls)) {
- if (this.contains(controlName) && condition(control)) {
- return true;
- }
- }
- return false;
- }
- /** @internal */
- _reduceValue() {
- let acc = {};
- return this._reduceChildren(acc, (acc, control, name) => {
- if (control.enabled || this.disabled) {
- acc[name] = control.value;
- }
- return acc;
- });
- }
- /** @internal */
- _reduceChildren(initValue, fn) {
- let res = initValue;
- this._forEachChild((control, name) => {
- res = fn(res, control, name);
- });
- return res;
- }
- /** @internal */
- _allControlsDisabled() {
- for (const controlName of Object.keys(this.controls)) {
- if (this.controls[controlName].enabled) {
- return false;
- }
- }
- return Object.keys(this.controls).length > 0 || this.disabled;
- }
- /** @internal */
- _find(name) {
- return this.controls.hasOwnProperty(name) ? this.controls[name] : null;
- }
- }
- const UntypedFormGroup = FormGroup;
- const isFormGroup = control => control instanceof FormGroup;
- /**
- * Tracks the value and validity state of a collection of `FormControl` instances, each of which has
- * the same value type.
- *
- * `FormRecord` is very similar to {@link FormGroup}, except it can be used with a dynamic keys,
- * with controls added and removed as needed.
- *
- * `FormRecord` accepts one generic argument, which describes the type of the controls it contains.
- *
- * @usageNotes
- *
- * ```
- * let numbers = new FormRecord({bill: new FormControl('415-123-456')});
- * numbers.addControl('bob', new FormControl('415-234-567'));
- * numbers.removeControl('bill');
- * ```
- *
- * @publicApi
- */
- class FormRecord extends FormGroup {}
- const isFormRecord = control => control instanceof FormRecord;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function controlPath(name, parent) {
- return [...parent.path, name];
- }
- /**
- * Links a Form control and a Form directive by setting up callbacks (such as `onChange`) on both
- * instances. This function is typically invoked when form directive is being initialized.
- *
- * @param control Form control instance that should be linked.
- * @param dir Directive that should be linked with a given control.
- */
- function setUpControl(control, dir) {
- var _a, _b;
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- if (!control) _throwError(dir, 'Cannot find control with');
- if (!dir.valueAccessor) _throwError(dir, 'No value accessor for form control with');
- }
- setUpValidators(control, dir);
- dir.valueAccessor.writeValue(control.value);
- if (control.disabled) {
- (_b = (_a = dir.valueAccessor).setDisabledState) === null || _b === void 0 ? void 0 : _b.call(_a, true);
- }
- setUpViewChangePipeline(control, dir);
- setUpModelChangePipeline(control, dir);
- setUpBlurPipeline(control, dir);
- setUpDisabledChangeHandler(control, dir);
- }
- /**
- * Reverts configuration performed by the `setUpControl` control function.
- * Effectively disconnects form control with a given form directive.
- * This function is typically invoked when corresponding form directive is being destroyed.
- *
- * @param control Form control which should be cleaned up.
- * @param dir Directive that should be disconnected from a given control.
- * @param validateControlPresenceOnChange Flag that indicates whether onChange handler should
- * contain asserts to verify that it's not called once directive is destroyed. We need this flag
- * to avoid potentially breaking changes caused by better control cleanup introduced in #39235.
- */
- function cleanUpControl(control, dir, validateControlPresenceOnChange = true) {
- const noop = () => {
- if (validateControlPresenceOnChange && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- _noControlError(dir);
- }
- }; // The `valueAccessor` field is typically defined on FromControl and FormControlName directive
- // instances and there is a logic in `selectValueAccessor` function that throws if it's not the
- // case. We still check the presence of `valueAccessor` before invoking its methods to make sure
- // that cleanup works correctly if app code or tests are setup to ignore the error thrown from
- // `selectValueAccessor`. See https://github.com/angular/angular/issues/40521.
- if (dir.valueAccessor) {
- dir.valueAccessor.registerOnChange(noop);
- dir.valueAccessor.registerOnTouched(noop);
- }
- cleanUpValidators(control, dir);
- if (control) {
- dir._invokeOnDestroyCallbacks();
- control._registerOnCollectionChange(() => {});
- }
- }
- function registerOnValidatorChange(validators, onChange) {
- validators.forEach(validator => {
- if (validator.registerOnValidatorChange) validator.registerOnValidatorChange(onChange);
- });
- }
- /**
- * Sets up disabled change handler function on a given form control if ControlValueAccessor
- * associated with a given directive instance supports the `setDisabledState` call.
- *
- * @param control Form control where disabled change handler should be setup.
- * @param dir Corresponding directive instance associated with this control.
- */
- function setUpDisabledChangeHandler(control, dir) {
- if (dir.valueAccessor.setDisabledState) {
- const onDisabledChange = isDisabled => {
- dir.valueAccessor.setDisabledState(isDisabled);
- };
- control.registerOnDisabledChange(onDisabledChange); // Register a callback function to cleanup disabled change handler
- // from a control instance when a directive is destroyed.
- dir._registerOnDestroy(() => {
- control._unregisterOnDisabledChange(onDisabledChange);
- });
- }
- }
- /**
- * Sets up sync and async directive validators on provided form control.
- * This function merges validators from the directive into the validators of the control.
- *
- * @param control Form control where directive validators should be setup.
- * @param dir Directive instance that contains validators to be setup.
- */
- function setUpValidators(control, dir) {
- const validators = getControlValidators(control);
- if (dir.validator !== null) {
- control.setValidators(mergeValidators(validators, dir.validator));
- } else if (typeof validators === 'function') {
- // If sync validators are represented by a single validator function, we force the
- // `Validators.compose` call to happen by executing the `setValidators` function with
- // an array that contains that function. We need this to avoid possible discrepancies in
- // validators behavior, so sync validators are always processed by the `Validators.compose`.
- // Note: we should consider moving this logic inside the `setValidators` function itself, so we
- // have consistent behavior on AbstractControl API level. The same applies to the async
- // validators logic below.
- control.setValidators([validators]);
- }
- const asyncValidators = getControlAsyncValidators(control);
- if (dir.asyncValidator !== null) {
- control.setAsyncValidators(mergeValidators(asyncValidators, dir.asyncValidator));
- } else if (typeof asyncValidators === 'function') {
- control.setAsyncValidators([asyncValidators]);
- } // Re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4
- const onValidatorChange = () => control.updateValueAndValidity();
- registerOnValidatorChange(dir._rawValidators, onValidatorChange);
- registerOnValidatorChange(dir._rawAsyncValidators, onValidatorChange);
- }
- /**
- * Cleans up sync and async directive validators on provided form control.
- * This function reverts the setup performed by the `setUpValidators` function, i.e.
- * removes directive-specific validators from a given control instance.
- *
- * @param control Form control from where directive validators should be removed.
- * @param dir Directive instance that contains validators to be removed.
- * @returns true if a control was updated as a result of this action.
- */
- function cleanUpValidators(control, dir) {
- let isControlUpdated = false;
- if (control !== null) {
- if (dir.validator !== null) {
- const validators = getControlValidators(control);
- if (Array.isArray(validators) && validators.length > 0) {
- // Filter out directive validator function.
- const updatedValidators = validators.filter(validator => validator !== dir.validator);
- if (updatedValidators.length !== validators.length) {
- isControlUpdated = true;
- control.setValidators(updatedValidators);
- }
- }
- }
- if (dir.asyncValidator !== null) {
- const asyncValidators = getControlAsyncValidators(control);
- if (Array.isArray(asyncValidators) && asyncValidators.length > 0) {
- // Filter out directive async validator function.
- const updatedAsyncValidators = asyncValidators.filter(asyncValidator => asyncValidator !== dir.asyncValidator);
- if (updatedAsyncValidators.length !== asyncValidators.length) {
- isControlUpdated = true;
- control.setAsyncValidators(updatedAsyncValidators);
- }
- }
- }
- } // Clear onValidatorChange callbacks by providing a noop function.
- const noop = () => {};
- registerOnValidatorChange(dir._rawValidators, noop);
- registerOnValidatorChange(dir._rawAsyncValidators, noop);
- return isControlUpdated;
- }
- function setUpViewChangePipeline(control, dir) {
- dir.valueAccessor.registerOnChange(newValue => {
- control._pendingValue = newValue;
- control._pendingChange = true;
- control._pendingDirty = true;
- if (control.updateOn === 'change') updateControl(control, dir);
- });
- }
- function setUpBlurPipeline(control, dir) {
- dir.valueAccessor.registerOnTouched(() => {
- control._pendingTouched = true;
- if (control.updateOn === 'blur' && control._pendingChange) updateControl(control, dir);
- if (control.updateOn !== 'submit') control.markAsTouched();
- });
- }
- function updateControl(control, dir) {
- if (control._pendingDirty) control.markAsDirty();
- control.setValue(control._pendingValue, {
- emitModelToViewChange: false
- });
- dir.viewToModelUpdate(control._pendingValue);
- control._pendingChange = false;
- }
- function setUpModelChangePipeline(control, dir) {
- const onChange = (newValue, emitModelEvent) => {
- // control -> view
- dir.valueAccessor.writeValue(newValue); // control -> ngModel
- if (emitModelEvent) dir.viewToModelUpdate(newValue);
- };
- control.registerOnChange(onChange); // Register a callback function to cleanup onChange handler
- // from a control instance when a directive is destroyed.
- dir._registerOnDestroy(() => {
- control._unregisterOnChange(onChange);
- });
- }
- /**
- * Links a FormGroup or FormArray instance and corresponding Form directive by setting up validators
- * present in the view.
- *
- * @param control FormGroup or FormArray instance that should be linked.
- * @param dir Directive that provides view validators.
- */
- function setUpFormContainer(control, dir) {
- if (control == null && (typeof ngDevMode === 'undefined' || ngDevMode)) _throwError(dir, 'Cannot find control with');
- setUpValidators(control, dir);
- }
- /**
- * Reverts the setup performed by the `setUpFormContainer` function.
- *
- * @param control FormGroup or FormArray instance that should be cleaned up.
- * @param dir Directive that provided view validators.
- * @returns true if a control was updated as a result of this action.
- */
- function cleanUpFormContainer(control, dir) {
- return cleanUpValidators(control, dir);
- }
- function _noControlError(dir) {
- return _throwError(dir, 'There is no FormControl instance attached to form control element with');
- }
- function _throwError(dir, message) {
- const messageEnd = _describeControlLocation(dir);
- throw new Error(`${message} ${messageEnd}`);
- }
- function _describeControlLocation(dir) {
- const path = dir.path;
- if (path && path.length > 1) return `path: '${path.join(' -> ')}'`;
- if (path === null || path === void 0 ? void 0 : path[0]) return `name: '${path}'`;
- return 'unspecified name attribute';
- }
- function _throwInvalidValueAccessorError(dir) {
- const loc = _describeControlLocation(dir);
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1200
- /* RuntimeErrorCode.NG_VALUE_ACCESSOR_NOT_PROVIDED */
- , `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.`);
- }
- function isPropertyUpdated(changes, viewModel) {
- if (!changes.hasOwnProperty('model')) return false;
- const change = changes['model'];
- if (change.isFirstChange()) return true;
- return !Object.is(viewModel, change.currentValue);
- }
- function isBuiltInAccessor(valueAccessor) {
- // Check if a given value accessor is an instance of a class that directly extends
- // `BuiltInControlValueAccessor` one.
- return Object.getPrototypeOf(valueAccessor.constructor) === BuiltInControlValueAccessor;
- }
- function syncPendingControls(form, directives) {
- form._syncPendingControls();
- directives.forEach(dir => {
- const control = dir.control;
- if (control.updateOn === 'submit' && control._pendingChange) {
- dir.viewToModelUpdate(control._pendingValue);
- control._pendingChange = false;
- }
- });
- } // TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented
- function selectValueAccessor(dir, valueAccessors) {
- if (!valueAccessors) return null;
- if (!Array.isArray(valueAccessors) && (typeof ngDevMode === 'undefined' || ngDevMode)) _throwInvalidValueAccessorError(dir);
- let defaultAccessor = undefined;
- let builtinAccessor = undefined;
- let customAccessor = undefined;
- valueAccessors.forEach(v => {
- if (v.constructor === DefaultValueAccessor) {
- defaultAccessor = v;
- } else if (isBuiltInAccessor(v)) {
- if (builtinAccessor && (typeof ngDevMode === 'undefined' || ngDevMode)) _throwError(dir, 'More than one built-in value accessor matches form control with');
- builtinAccessor = v;
- } else {
- if (customAccessor && (typeof ngDevMode === 'undefined' || ngDevMode)) _throwError(dir, 'More than one custom value accessor matches form control with');
- customAccessor = v;
- }
- });
- if (customAccessor) return customAccessor;
- if (builtinAccessor) return builtinAccessor;
- if (defaultAccessor) return defaultAccessor;
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- _throwError(dir, 'No valid value accessor for form control with');
- }
- return null;
- }
- function removeListItem$1(list, el) {
- const index = list.indexOf(el);
- if (index > -1) list.splice(index, 1);
- } // TODO(kara): remove after deprecation period
- function _ngModelWarning(name, type, instance, warningConfig) {
- if (warningConfig === 'never') return;
- if ((warningConfig === null || warningConfig === 'once') && !type._ngModelWarningSentOnce || warningConfig === 'always' && !instance._ngModelWarningSent) {
- console.warn(ngModelWarning(name));
- type._ngModelWarningSentOnce = true;
- instance._ngModelWarningSent = true;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const formDirectiveProvider$1 = {
- provide: ControlContainer,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => NgForm)
- };
- const resolvedPromise$1 = (() => Promise.resolve())();
- /**
- * @description
- * Creates a top-level `FormGroup` instance and binds it to a form
- * to track aggregate form value and validation status.
- *
- * As soon as you import the `FormsModule`, this directive becomes active by default on
- * all `<form>` tags. You don't need to add a special selector.
- *
- * You optionally export the directive into a local template variable using `ngForm` as the key
- * (ex: `#myForm="ngForm"`). This is optional, but useful. Many properties from the underlying
- * `FormGroup` instance are duplicated on the directive itself, so a reference to it
- * gives you access to the aggregate value and validity status of the form, as well as
- * user interaction properties like `dirty` and `touched`.
- *
- * To register child controls with the form, use `NgModel` with a `name`
- * attribute. You may use `NgModelGroup` to create sub-groups within the form.
- *
- * If necessary, listen to the directive's `ngSubmit` event to be notified when the user has
- * triggered a form submission. The `ngSubmit` event emits the original form
- * submission event.
- *
- * In template driven forms, all `<form>` tags are automatically tagged as `NgForm`.
- * To import the `FormsModule` but skip its usage in some forms,
- * for example, to use native HTML5 validation, add the `ngNoForm` and the `<form>`
- * tags won't create an `NgForm` directive. In reactive forms, using `ngNoForm` is
- * unnecessary because the `<form>` tags are inert. In that case, you would
- * refrain from using the `formGroup` directive.
- *
- * @usageNotes
- *
- * ### Listening for form submission
- *
- * The following example shows how to capture the form values from the "ngSubmit" event.
- *
- * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}
- *
- * ### Setting the update options
- *
- * The following example shows you how to change the "updateOn" option from its default using
- * ngFormOptions.
- *
- * ```html
- * <form [ngFormOptions]="{updateOn: 'blur'}">
- * <input name="one" ngModel> <!-- this ngModel will update on blur -->
- * </form>
- * ```
- *
- * ### Native DOM validation UI
- *
- * In order to prevent the native DOM form validation UI from interfering with Angular's form
- * validation, Angular automatically adds the `novalidate` attribute on any `<form>` whenever
- * `FormModule` or `ReactiveFormModule` are imported into the application.
- * If you want to explicitly enable native DOM validation UI with Angular forms, you can add the
- * `ngNativeValidate` attribute to the `<form>` element:
- *
- * ```html
- * <form ngNativeValidate>
- * ...
- * </form>
- * ```
- *
- * @ngModule FormsModule
- * @publicApi
- */
- class NgForm extends ControlContainer {
- constructor(validators, asyncValidators) {
- super();
- /**
- * @description
- * Returns whether the form submission has been triggered.
- */
- this.submitted = false;
- this._directives = new Set();
- /**
- * @description
- * Event emitter for the "ngSubmit" event
- */
- this.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- this.form = new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators));
- }
- /** @nodoc */
- ngAfterViewInit() {
- this._setUpdateStrategy();
- }
- /**
- * @description
- * The directive instance.
- */
- get formDirective() {
- return this;
- }
- /**
- * @description
- * The internal `FormGroup` instance.
- */
- get control() {
- return this.form;
- }
- /**
- * @description
- * Returns an array representing the path to this group. Because this directive
- * always lives at the top level of a form, it is always an empty array.
- */
- get path() {
- return [];
- }
- /**
- * @description
- * Returns a map of the controls in this group.
- */
- get controls() {
- return this.form.controls;
- }
- /**
- * @description
- * Method that sets up the control directive in this group, re-calculates its value
- * and validity, and adds the instance to the internal list of directives.
- *
- * @param dir The `NgModel` directive instance.
- */
- addControl(dir) {
- resolvedPromise$1.then(() => {
- const container = this._findContainer(dir.path);
- dir.control = container.registerControl(dir.name, dir.control);
- setUpControl(dir.control, dir);
- dir.control.updateValueAndValidity({
- emitEvent: false
- });
- this._directives.add(dir);
- });
- }
- /**
- * @description
- * Retrieves the `FormControl` instance from the provided `NgModel` directive.
- *
- * @param dir The `NgModel` directive instance.
- */
- getControl(dir) {
- return this.form.get(dir.path);
- }
- /**
- * @description
- * Removes the `NgModel` instance from the internal list of directives
- *
- * @param dir The `NgModel` directive instance.
- */
- removeControl(dir) {
- resolvedPromise$1.then(() => {
- const container = this._findContainer(dir.path);
- if (container) {
- container.removeControl(dir.name);
- }
- this._directives.delete(dir);
- });
- }
- /**
- * @description
- * Adds a new `NgModelGroup` directive instance to the form.
- *
- * @param dir The `NgModelGroup` directive instance.
- */
- addFormGroup(dir) {
- resolvedPromise$1.then(() => {
- const container = this._findContainer(dir.path);
- const group = new FormGroup({});
- setUpFormContainer(group, dir);
- container.registerControl(dir.name, group);
- group.updateValueAndValidity({
- emitEvent: false
- });
- });
- }
- /**
- * @description
- * Removes the `NgModelGroup` directive instance from the form.
- *
- * @param dir The `NgModelGroup` directive instance.
- */
- removeFormGroup(dir) {
- resolvedPromise$1.then(() => {
- const container = this._findContainer(dir.path);
- if (container) {
- container.removeControl(dir.name);
- }
- });
- }
- /**
- * @description
- * Retrieves the `FormGroup` for a provided `NgModelGroup` directive instance
- *
- * @param dir The `NgModelGroup` directive instance.
- */
- getFormGroup(dir) {
- return this.form.get(dir.path);
- }
- /**
- * Sets the new value for the provided `NgControl` directive.
- *
- * @param dir The `NgControl` directive instance.
- * @param value The new value for the directive's control.
- */
- updateModel(dir, value) {
- resolvedPromise$1.then(() => {
- const ctrl = this.form.get(dir.path);
- ctrl.setValue(value);
- });
- }
- /**
- * @description
- * Sets the value for this `FormGroup`.
- *
- * @param value The new value
- */
- setValue(value) {
- this.control.setValue(value);
- }
- /**
- * @description
- * Method called when the "submit" event is triggered on the form.
- * Triggers the `ngSubmit` emitter to emit the "submit" event as its payload.
- *
- * @param $event The "submit" event object
- */
- onSubmit($event) {
- var _a;
- this.submitted = true;
- syncPendingControls(this.form, this._directives);
- this.ngSubmit.emit($event); // Forms with `method="dialog"` have some special behavior
- // that won't reload the page and that shouldn't be prevented.
- return ((_a = $event === null || $event === void 0 ? void 0 : $event.target) === null || _a === void 0 ? void 0 : _a.method) === 'dialog';
- }
- /**
- * @description
- * Method called when the "reset" event is triggered on the form.
- */
- onReset() {
- this.resetForm();
- }
- /**
- * @description
- * Resets the form to an initial value and resets its submitted status.
- *
- * @param value The new value for the form.
- */
- resetForm(value = undefined) {
- this.form.reset(value);
- this.submitted = false;
- }
- _setUpdateStrategy() {
- if (this.options && this.options.updateOn != null) {
- this.form._updateOn = this.options.updateOn;
- }
- }
- _findContainer(path) {
- path.pop();
- return path.length ? this.form.get(path) : this.form;
- }
- }
- NgForm.ɵfac = function NgForm_Factory(t) {
- 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));
- };
- NgForm.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgForm,
- selectors: [["form", 3, "ngNoForm", "", 3, "formGroup", ""], ["ng-form"], ["", "ngForm", ""]],
- hostBindings: function NgForm_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("submit", function NgForm_submit_HostBindingHandler($event) {
- return ctx.onSubmit($event);
- })("reset", function NgForm_reset_HostBindingHandler() {
- return ctx.onReset();
- });
- }
- },
- inputs: {
- options: ["ngFormOptions", "options"]
- },
- outputs: {
- ngSubmit: "ngSubmit"
- },
- exportAs: ["ngForm"],
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formDirectiveProvider$1]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgForm, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]',
- providers: [formDirectiveProvider$1],
- host: {
- '(submit)': 'onSubmit($event)',
- '(reset)': 'onReset()'
- },
- outputs: ['ngSubmit'],
- exportAs: 'ngForm'
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_ASYNC_VALIDATORS]
- }]
- }];
- }, {
- options: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngFormOptions']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function removeListItem(list, el) {
- const index = list.indexOf(el);
- if (index > -1) list.splice(index, 1);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function isFormControlState(formState) {
- return typeof formState === 'object' && formState !== null && Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;
- }
- const FormControl = class FormControl extends AbstractControl {
- constructor( // formState and defaultValue will only be null if T is nullable
- formState = null, validatorOrOpts, asyncValidator) {
- super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));
- /** @publicApi */
- this.defaultValue = null;
- /** @internal */
- this._onChange = [];
- /** @internal */
- this._pendingChange = false;
- this._applyFormState(formState);
- this._setUpdateStrategy(validatorOrOpts);
- this._initObservables();
- this.updateValueAndValidity({
- onlySelf: true,
- // If `asyncValidator` is present, it will trigger control status change from `PENDING` to
- // `VALID` or `INVALID`.
- // The status should be broadcasted via the `statusChanges` observable, so we set
- // `emitEvent` to `true` to allow that during the control creation process.
- emitEvent: !!this.asyncValidator
- });
- if (isOptionsObj(validatorOrOpts) && (validatorOrOpts.nonNullable || validatorOrOpts.initialValueIsDefault)) {
- if (isFormControlState(formState)) {
- this.defaultValue = formState.value;
- } else {
- this.defaultValue = formState;
- }
- }
- }
- setValue(value, options = {}) {
- this.value = this._pendingValue = value;
- if (this._onChange.length && options.emitModelToViewChange !== false) {
- this._onChange.forEach(changeFn => changeFn(this.value, options.emitViewToModelChange !== false));
- }
- this.updateValueAndValidity(options);
- }
- patchValue(value, options = {}) {
- this.setValue(value, options);
- }
- reset(formState = this.defaultValue, options = {}) {
- this._applyFormState(formState);
- this.markAsPristine(options);
- this.markAsUntouched(options);
- this.setValue(this.value, options);
- this._pendingChange = false;
- }
- /** @internal */
- _updateValue() {}
- /** @internal */
- _anyControls(condition) {
- return false;
- }
- /** @internal */
- _allControlsDisabled() {
- return this.disabled;
- }
- registerOnChange(fn) {
- this._onChange.push(fn);
- }
- /** @internal */
- _unregisterOnChange(fn) {
- removeListItem(this._onChange, fn);
- }
- registerOnDisabledChange(fn) {
- this._onDisabledChange.push(fn);
- }
- /** @internal */
- _unregisterOnDisabledChange(fn) {
- removeListItem(this._onDisabledChange, fn);
- }
- /** @internal */
- _forEachChild(cb) {}
- /** @internal */
- _syncPendingControls() {
- if (this.updateOn === 'submit') {
- if (this._pendingDirty) this.markAsDirty();
- if (this._pendingTouched) this.markAsTouched();
- if (this._pendingChange) {
- this.setValue(this._pendingValue, {
- onlySelf: true,
- emitModelToViewChange: false
- });
- return true;
- }
- }
- return false;
- }
- _applyFormState(formState) {
- if (isFormControlState(formState)) {
- this.value = this._pendingValue = formState.value;
- formState.disabled ? this.disable({
- onlySelf: true,
- emitEvent: false
- }) : this.enable({
- onlySelf: true,
- emitEvent: false
- });
- } else {
- this.value = this._pendingValue = formState;
- }
- }
- };
- const UntypedFormControl = FormControl;
- const isFormControl = control => control instanceof FormControl;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- * A base class for code shared between the `NgModelGroup` and `FormGroupName` directives.
- *
- * @publicApi
- */
- class AbstractFormGroupDirective extends ControlContainer {
- /** @nodoc */
- ngOnInit() {
- this._checkParentType(); // Register the group with its parent group.
- this.formDirective.addFormGroup(this);
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this.formDirective) {
- // Remove the group from its parent group.
- this.formDirective.removeFormGroup(this);
- }
- }
- /**
- * @description
- * The `FormGroup` bound to this directive.
- */
- get control() {
- return this.formDirective.getFormGroup(this);
- }
- /**
- * @description
- * The path to this group from the top-level directive.
- */
- get path() {
- return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);
- }
- /**
- * @description
- * The top-level directive for this group if present, otherwise null.
- */
- get formDirective() {
- return this._parent ? this._parent.formDirective : null;
- }
- /** @internal */
- _checkParentType() {}
- }
- AbstractFormGroupDirective.ɵfac = /* @__PURE__ */function () {
- let ɵAbstractFormGroupDirective_BaseFactory;
- return function AbstractFormGroupDirective_Factory(t) {
- return (ɵAbstractFormGroupDirective_BaseFactory || (ɵAbstractFormGroupDirective_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](AbstractFormGroupDirective)))(t || AbstractFormGroupDirective);
- };
- }();
- AbstractFormGroupDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: AbstractFormGroupDirective,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AbstractFormGroupDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function modelParentException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1350
- /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP */
- , `
- ngModel cannot be used to register form controls with a parent formGroup directive. Try using
- formGroup's partner directive "formControlName" instead. Example:
- ${formControlNameExample}
- Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:
- Example:
- ${ngModelWithFormGroupExample}`);
- }
- function formGroupNameException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1351
- /* RuntimeErrorCode.NGMODEL_IN_FORM_GROUP_NAME */
- , `
- ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.
- Option 1: Use formControlName instead of ngModel (reactive strategy):
- ${formGroupNameExample}
- Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):
- ${ngModelGroupExample}`);
- }
- function missingNameException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1352
- /* RuntimeErrorCode.NGMODEL_WITHOUT_NAME */
- , `If ngModel is used within a form tag, either the name attribute must be set or the form
- control must be defined as 'standalone' in ngModelOptions.
- Example 1: <input [(ngModel)]="person.firstName" name="first">
- Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">`);
- }
- function modelGroupParentException() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1353
- /* RuntimeErrorCode.NGMODELGROUP_IN_FORM_GROUP */
- , `
- ngModelGroup cannot be used with a parent formGroup directive.
- Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):
- ${formGroupNameExample}
- Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):
- ${ngModelGroupExample}`);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const modelGroupProvider = {
- provide: ControlContainer,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => NgModelGroup)
- };
- /**
- * @description
- * Creates and binds a `FormGroup` instance to a DOM element.
- *
- * This directive can only be used as a child of `NgForm` (within `<form>` tags).
- *
- * Use this directive to validate a sub-group of your form separately from the
- * rest of your form, or if some values in your domain model make more sense
- * to consume together in a nested object.
- *
- * Provide a name for the sub-group and it will become the key
- * for the sub-group in the form's full value. If you need direct access, export the directive into
- * a local template variable using `ngModelGroup` (ex: `#myGroup="ngModelGroup"`).
- *
- * @usageNotes
- *
- * ### Consuming controls in a grouping
- *
- * The following example shows you how to combine controls together in a sub-group
- * of the form.
- *
- * {@example forms/ts/ngModelGroup/ng_model_group_example.ts region='Component'}
- *
- * @ngModule FormsModule
- * @publicApi
- */
- class NgModelGroup extends AbstractFormGroupDirective {
- constructor(parent, validators, asyncValidators) {
- super();
- this._parent = parent;
- this._setValidators(validators);
- this._setAsyncValidators(asyncValidators);
- }
- /** @internal */
- _checkParentType() {
- if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm) && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- throw modelGroupParentException();
- }
- }
- }
- NgModelGroup.ɵfac = function NgModelGroup_Factory(t) {
- 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));
- };
- NgModelGroup.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgModelGroup,
- selectors: [["", "ngModelGroup", ""]],
- inputs: {
- name: ["ngModelGroup", "name"]
- },
- exportAs: ["ngModelGroup"],
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([modelGroupProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgModelGroup, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngModelGroup]',
- providers: [modelGroupProvider],
- exportAs: 'ngModelGroup'
- }]
- }], function () {
- return [{
- type: ControlContainer,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_ASYNC_VALIDATORS]
- }]
- }];
- }, {
- name: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngModelGroup']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const formControlBinding$1 = {
- provide: NgControl,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => NgModel)
- };
- /**
- * `ngModel` forces an additional change detection run when its inputs change:
- * E.g.:
- * ```
- * <div>{{myModel.valid}}</div>
- * <input [(ngModel)]="myValue" #myModel="ngModel">
- * ```
- * I.e. `ngModel` can export itself on the element and then be used in the template.
- * Normally, this would result in expressions before the `input` that use the exported directive
- * to have an old value as they have been
- * dirty checked before. As this is a very common case for `ngModel`, we added this second change
- * detection run.
- *
- * Notes:
- * - this is just one extra run no matter how many `ngModel`s have been changed.
- * - this is a general problem when using `exportAs` for directives!
- */
- const resolvedPromise = (() => Promise.resolve())();
- /**
- * @description
- * Creates a `FormControl` instance from a domain model and binds it
- * to a form control element.
- *
- * The `FormControl` instance tracks the value, user interaction, and
- * validation status of the control and keeps the view synced with the model. If used
- * within a parent form, the directive also registers itself with the form as a child
- * control.
- *
- * This directive is used by itself or as part of a larger form. Use the
- * `ngModel` selector to activate it.
- *
- * It accepts a domain model as an optional `Input`. If you have a one-way binding
- * to `ngModel` with `[]` syntax, changing the domain model's value in the component
- * class sets the value in the view. If you have a two-way binding with `[()]` syntax
- * (also known as 'banana-in-a-box syntax'), the value in the UI always syncs back to
- * the domain model in your class.
- *
- * To inspect the properties of the associated `FormControl` (like the validity state),
- * export the directive into a local template variable using `ngModel` as the key (ex:
- * `#myVar="ngModel"`). You can then access the control using the directive's `control` property.
- * However, the most commonly used properties (like `valid` and `dirty`) also exist on the control
- * for direct access. See a full list of properties directly available in
- * `AbstractControlDirective`.
- *
- * @see `RadioControlValueAccessor`
- * @see `SelectControlValueAccessor`
- *
- * @usageNotes
- *
- * ### Using ngModel on a standalone control
- *
- * The following examples show a simple standalone control using `ngModel`:
- *
- * {@example forms/ts/simpleNgModel/simple_ng_model_example.ts region='Component'}
- *
- * When using the `ngModel` within `<form>` tags, you'll also need to supply a `name` attribute
- * so that the control can be registered with the parent form under that name.
- *
- * In the context of a parent form, it's often unnecessary to include one-way or two-way binding,
- * as the parent form syncs the value for you. You access its properties by exporting it into a
- * local template variable using `ngForm` such as (`#f="ngForm"`). Use the variable where
- * needed on form submission.
- *
- * If you do need to populate initial values into your form, using a one-way binding for
- * `ngModel` tends to be sufficient as long as you use the exported form's value rather
- * than the domain model's value on submit.
- *
- * ### Using ngModel within a form
- *
- * The following example shows controls using `ngModel` within a form:
- *
- * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}
- *
- * ### Using a standalone ngModel within a group
- *
- * The following example shows you how to use a standalone ngModel control
- * within a form. This controls the display of the form, but doesn't contain form data.
- *
- * ```html
- * <form>
- * <input name="login" ngModel placeholder="Login">
- * <input type="checkbox" ngModel [ngModelOptions]="{standalone: true}"> Show more options?
- * </form>
- * <!-- form value: {login: ''} -->
- * ```
- *
- * ### Setting the ngModel `name` attribute through options
- *
- * The following example shows you an alternate way to set the name attribute. Here,
- * an attribute identified as name is used within a custom form control component. To still be able
- * to specify the NgModel's name, you must specify it using the `ngModelOptions` input instead.
- *
- * ```html
- * <form>
- * <my-custom-form-control name="Nancy" ngModel [ngModelOptions]="{name: 'user'}">
- * </my-custom-form-control>
- * </form>
- * <!-- form value: {user: ''} -->
- * ```
- *
- * @ngModule FormsModule
- * @publicApi
- */
- class NgModel extends NgControl {
- constructor(parent, validators, asyncValidators, valueAccessors, _changeDetectorRef) {
- super();
- this._changeDetectorRef = _changeDetectorRef;
- this.control = new FormControl();
- /** @internal */
- this._registered = false;
- /**
- * @description
- * Event emitter for producing the `ngModelChange` event after
- * the view model updates.
- */
- this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- this._parent = parent;
- this._setValidators(validators);
- this._setAsyncValidators(asyncValidators);
- this.valueAccessor = selectValueAccessor(this, valueAccessors);
- }
- /** @nodoc */
- ngOnChanges(changes) {
- this._checkForErrors();
- if (!this._registered || 'name' in changes) {
- if (this._registered) {
- this._checkName();
- if (this.formDirective) {
- // We can't call `formDirective.removeControl(this)`, because the `name` has already been
- // changed. We also can't reset the name temporarily since the logic in `removeControl`
- // is inside a promise and it won't run immediately. We work around it by giving it an
- // object with the same shape instead.
- const oldName = changes['name'].previousValue;
- this.formDirective.removeControl({
- name: oldName,
- path: this._getPath(oldName)
- });
- }
- }
- this._setUpControl();
- }
- if ('isDisabled' in changes) {
- this._updateDisabled(changes);
- }
- if (isPropertyUpdated(changes, this.viewModel)) {
- this._updateValue(this.model);
- this.viewModel = this.model;
- }
- }
- /** @nodoc */
- ngOnDestroy() {
- this.formDirective && this.formDirective.removeControl(this);
- }
- /**
- * @description
- * Returns an array that represents the path from the top-level form to this control.
- * Each index is the string name of the control on that level.
- */
- get path() {
- return this._getPath(this.name);
- }
- /**
- * @description
- * The top-level directive for this control if present, otherwise null.
- */
- get formDirective() {
- return this._parent ? this._parent.formDirective : null;
- }
- /**
- * @description
- * Sets the new value for the view model and emits an `ngModelChange` event.
- *
- * @param newValue The new value emitted by `ngModelChange`.
- */
- viewToModelUpdate(newValue) {
- this.viewModel = newValue;
- this.update.emit(newValue);
- }
- _setUpControl() {
- this._setUpdateStrategy();
- this._isStandalone() ? this._setUpStandalone() : this.formDirective.addControl(this);
- this._registered = true;
- }
- _setUpdateStrategy() {
- if (this.options && this.options.updateOn != null) {
- this.control._updateOn = this.options.updateOn;
- }
- }
- _isStandalone() {
- return !this._parent || !!(this.options && this.options.standalone);
- }
- _setUpStandalone() {
- setUpControl(this.control, this);
- this.control.updateValueAndValidity({
- emitEvent: false
- });
- }
- _checkForErrors() {
- if (!this._isStandalone()) {
- this._checkParentType();
- }
- this._checkName();
- }
- _checkParentType() {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- if (!(this._parent instanceof NgModelGroup) && this._parent instanceof AbstractFormGroupDirective) {
- throw formGroupNameException();
- } else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {
- throw modelParentException();
- }
- }
- }
- _checkName() {
- if (this.options && this.options.name) this.name = this.options.name;
- if (!this._isStandalone() && !this.name && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- throw missingNameException();
- }
- }
- _updateValue(value) {
- resolvedPromise.then(() => {
- var _a;
- this.control.setValue(value, {
- emitViewToModelChange: false
- });
- (_a = this._changeDetectorRef) === null || _a === void 0 ? void 0 : _a.markForCheck();
- });
- }
- _updateDisabled(changes) {
- const disabledValue = changes['isDisabled'].currentValue; // checking for 0 to avoid breaking change
- const isDisabled = disabledValue !== 0 && (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(disabledValue);
- resolvedPromise.then(() => {
- var _a;
- if (isDisabled && !this.control.disabled) {
- this.control.disable();
- } else if (!isDisabled && this.control.disabled) {
- this.control.enable();
- }
- (_a = this._changeDetectorRef) === null || _a === void 0 ? void 0 : _a.markForCheck();
- });
- }
- _getPath(controlName) {
- return this._parent ? controlPath(controlName, this._parent) : [controlName];
- }
- }
- NgModel.ɵfac = function NgModel_Factory(t) {
- 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));
- };
- NgModel.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgModel,
- selectors: [["", "ngModel", "", 3, "formControlName", "", 3, "formControl", ""]],
- inputs: {
- name: "name",
- isDisabled: ["disabled", "isDisabled"],
- model: ["ngModel", "model"],
- options: ["ngModelOptions", "options"]
- },
- outputs: {
- update: "ngModelChange"
- },
- exportAs: ["ngModel"],
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formControlBinding$1]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgModel, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[ngModel]:not([formControlName]):not([formControl])',
- providers: [formControlBinding$1],
- exportAs: 'ngModel'
- }]
- }], function () {
- return [{
- type: ControlContainer,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_ASYNC_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALUE_ACCESSOR]
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef]
- }]
- }];
- }, {
- name: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- isDisabled: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['disabled']
- }],
- model: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngModel']
- }],
- options: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngModelOptions']
- }],
- update: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
- args: ['ngModelChange']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- *
- * Adds `novalidate` attribute to all forms by default.
- *
- * `novalidate` is used to disable browser's native form validation.
- *
- * If you want to use native validation with Angular forms, just add `ngNativeValidate` attribute:
- *
- * ```
- * <form ngNativeValidate></form>
- * ```
- *
- * @publicApi
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- */
- class ɵNgNoValidate {}
- ɵNgNoValidate.ɵfac = function ɵNgNoValidate_Factory(t) {
- return new (t || ɵNgNoValidate)();
- };
- ɵNgNoValidate.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: ɵNgNoValidate,
- selectors: [["form", 3, "ngNoForm", "", 3, "ngNativeValidate", ""]],
- hostAttrs: ["novalidate", ""]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ɵNgNoValidate, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'form:not([ngNoForm]):not([ngNativeValidate])',
- host: {
- 'novalidate': ''
- }
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NUMBER_VALUE_ACCESSOR = {
- provide: NG_VALUE_ACCESSOR,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => NumberValueAccessor),
- multi: true
- };
- /**
- * @description
- * The `ControlValueAccessor` for writing a number value and listening to number input changes.
- * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`
- * directives.
- *
- * @usageNotes
- *
- * ### Using a number input with a reactive form.
- *
- * The following example shows how to use a number input with a reactive form.
- *
- * ```ts
- * const totalCountControl = new FormControl();
- * ```
- *
- * ```
- * <input type="number" [formControl]="totalCountControl">
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class NumberValueAccessor extends BuiltInControlValueAccessor {
- /**
- * Sets the "value" property on the input element.
- * @nodoc
- */
- writeValue(value) {
- // The value needs to be normalized for IE9, otherwise it is set to 'null' when null
- const normalizedValue = value == null ? '' : value;
- this.setProperty('value', normalizedValue);
- }
- /**
- * Registers a function called when the control value changes.
- * @nodoc
- */
- registerOnChange(fn) {
- this.onChange = value => {
- fn(value == '' ? null : parseFloat(value));
- };
- }
- }
- NumberValueAccessor.ɵfac = /* @__PURE__ */function () {
- let ɵNumberValueAccessor_BaseFactory;
- return function NumberValueAccessor_Factory(t) {
- return (ɵNumberValueAccessor_BaseFactory || (ɵNumberValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](NumberValueAccessor)))(t || NumberValueAccessor);
- };
- }();
- NumberValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NumberValueAccessor,
- selectors: [["input", "type", "number", "formControlName", ""], ["input", "type", "number", "formControl", ""], ["input", "type", "number", "ngModel", ""]],
- hostBindings: function NumberValueAccessor_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("input", function NumberValueAccessor_input_HostBindingHandler($event) {
- return ctx.onChange($event.target.value);
- })("blur", function NumberValueAccessor_blur_HostBindingHandler() {
- return ctx.onTouched();
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([NUMBER_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NumberValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',
- host: {
- '(input)': 'onChange($event.target.value)',
- '(blur)': 'onTouched()'
- },
- providers: [NUMBER_VALUE_ACCESSOR]
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const RADIO_VALUE_ACCESSOR = {
- provide: NG_VALUE_ACCESSOR,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => RadioControlValueAccessor),
- multi: true
- };
- function throwNameError() {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1202
- /* RuntimeErrorCode.NAME_AND_FORM_CONTROL_NAME_MUST_MATCH */
- , `
- If you define both a name and a formControlName attribute on your radio button, their values
- must match. Ex: <input type="radio" formControlName="food" name="food">
- `);
- }
- /**
- * Internal-only NgModule that works as a host for the `RadioControlRegistry` tree-shakable
- * provider. Note: the `InternalFormsSharedModule` can not be used here directly, since it's
- * declared *after* the `RadioControlRegistry` class and the `providedIn` doesn't support
- * `forwardRef` logic.
- */
- class RadioControlRegistryModule {}
- RadioControlRegistryModule.ɵfac = function RadioControlRegistryModule_Factory(t) {
- return new (t || RadioControlRegistryModule)();
- };
- RadioControlRegistryModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
- type: RadioControlRegistryModule
- });
- RadioControlRegistryModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({});
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RadioControlRegistryModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule
- }], null, null);
- })();
- /**
- * @description
- * Class used by Angular to track radio buttons. For internal use only.
- */
- class RadioControlRegistry {
- constructor() {
- this._accessors = [];
- }
- /**
- * @description
- * Adds a control to the internal registry. For internal use only.
- */
- add(control, accessor) {
- this._accessors.push([control, accessor]);
- }
- /**
- * @description
- * Removes a control from the internal registry. For internal use only.
- */
- remove(accessor) {
- for (let i = this._accessors.length - 1; i >= 0; --i) {
- if (this._accessors[i][1] === accessor) {
- this._accessors.splice(i, 1);
- return;
- }
- }
- }
- /**
- * @description
- * Selects a radio button. For internal use only.
- */
- select(accessor) {
- this._accessors.forEach(c => {
- if (this._isSameGroup(c, accessor) && c[1] !== accessor) {
- c[1].fireUncheck(accessor.value);
- }
- });
- }
- _isSameGroup(controlPair, accessor) {
- if (!controlPair[0].control) return false;
- return controlPair[0]._parent === accessor._control._parent && controlPair[1].name === accessor.name;
- }
- }
- RadioControlRegistry.ɵfac = function RadioControlRegistry_Factory(t) {
- return new (t || RadioControlRegistry)();
- };
- RadioControlRegistry.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: RadioControlRegistry,
- factory: RadioControlRegistry.ɵfac,
- providedIn: RadioControlRegistryModule
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RadioControlRegistry, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: RadioControlRegistryModule
- }]
- }], null, null);
- })();
- /**
- * @description
- * The `ControlValueAccessor` for writing radio control values and listening to radio control
- * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and
- * `NgModel` directives.
- *
- * @usageNotes
- *
- * ### Using radio buttons with reactive form directives
- *
- * The follow example shows how to use radio buttons in a reactive form. When using radio buttons in
- * a reactive form, radio buttons in the same group should have the same `formControlName`.
- * Providing a `name` attribute is optional.
- *
- * {@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class RadioControlValueAccessor extends BuiltInControlValueAccessor {
- constructor(renderer, elementRef, _registry, _injector) {
- super(renderer, elementRef);
- this._registry = _registry;
- this._injector = _injector;
- /**
- * The registered callback function called when a change event occurs on the input element.
- * Note: we declare `onChange` here (also used as host listener) as a function with no arguments
- * to override the `onChange` function (which expects 1 argument) in the parent
- * `BaseControlValueAccessor` class.
- * @nodoc
- */
- this.onChange = () => {};
- }
- /** @nodoc */
- ngOnInit() {
- this._control = this._injector.get(NgControl);
- this._checkName();
- this._registry.add(this._control, this);
- }
- /** @nodoc */
- ngOnDestroy() {
- this._registry.remove(this);
- }
- /**
- * Sets the "checked" property value on the radio input element.
- * @nodoc
- */
- writeValue(value) {
- this._state = value === this.value;
- this.setProperty('checked', this._state);
- }
- /**
- * Registers a function called when the control value changes.
- * @nodoc
- */
- registerOnChange(fn) {
- this._fn = fn;
- this.onChange = () => {
- fn(this.value);
- this._registry.select(this);
- };
- }
- /**
- * Sets the "value" on the radio input element and unchecks it.
- *
- * @param value
- */
- fireUncheck(value) {
- this.writeValue(value);
- }
- _checkName() {
- if (this.name && this.formControlName && this.name !== this.formControlName && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- throwNameError();
- }
- if (!this.name && this.formControlName) this.name = this.formControlName;
- }
- }
- RadioControlValueAccessor.ɵfac = function RadioControlValueAccessor_Factory(t) {
- 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));
- };
- RadioControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: RadioControlValueAccessor,
- selectors: [["input", "type", "radio", "formControlName", ""], ["input", "type", "radio", "formControl", ""], ["input", "type", "radio", "ngModel", ""]],
- hostBindings: function RadioControlValueAccessor_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function RadioControlValueAccessor_change_HostBindingHandler() {
- return ctx.onChange();
- })("blur", function RadioControlValueAccessor_blur_HostBindingHandler() {
- return ctx.onTouched();
- });
- }
- },
- inputs: {
- name: "name",
- formControlName: "formControlName",
- value: "value"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([RADIO_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RadioControlValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',
- host: {
- '(change)': 'onChange()',
- '(blur)': 'onTouched()'
- },
- providers: [RADIO_VALUE_ACCESSOR]
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }, {
- type: RadioControlRegistry
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector
- }];
- }, {
- name: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- formControlName: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- value: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const RANGE_VALUE_ACCESSOR = {
- provide: NG_VALUE_ACCESSOR,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => RangeValueAccessor),
- multi: true
- };
- /**
- * @description
- * The `ControlValueAccessor` for writing a range value and listening to range input changes.
- * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel`
- * directives.
- *
- * @usageNotes
- *
- * ### Using a range input with a reactive form
- *
- * The following example shows how to use a range input with a reactive form.
- *
- * ```ts
- * const ageControl = new FormControl();
- * ```
- *
- * ```
- * <input type="range" [formControl]="ageControl">
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class RangeValueAccessor extends BuiltInControlValueAccessor {
- /**
- * Sets the "value" property on the input element.
- * @nodoc
- */
- writeValue(value) {
- this.setProperty('value', parseFloat(value));
- }
- /**
- * Registers a function called when the control value changes.
- * @nodoc
- */
- registerOnChange(fn) {
- this.onChange = value => {
- fn(value == '' ? null : parseFloat(value));
- };
- }
- }
- RangeValueAccessor.ɵfac = /* @__PURE__ */function () {
- let ɵRangeValueAccessor_BaseFactory;
- return function RangeValueAccessor_Factory(t) {
- return (ɵRangeValueAccessor_BaseFactory || (ɵRangeValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](RangeValueAccessor)))(t || RangeValueAccessor);
- };
- }();
- RangeValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: RangeValueAccessor,
- selectors: [["input", "type", "range", "formControlName", ""], ["input", "type", "range", "formControl", ""], ["input", "type", "range", "ngModel", ""]],
- hostBindings: function RangeValueAccessor_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function RangeValueAccessor_change_HostBindingHandler($event) {
- return ctx.onChange($event.target.value);
- })("input", function RangeValueAccessor_input_HostBindingHandler($event) {
- return ctx.onChange($event.target.value);
- })("blur", function RangeValueAccessor_blur_HostBindingHandler() {
- return ctx.onTouched();
- });
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([RANGE_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RangeValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',
- host: {
- '(change)': 'onChange($event.target.value)',
- '(input)': 'onChange($event.target.value)',
- '(blur)': 'onTouched()'
- },
- providers: [RANGE_VALUE_ACCESSOR]
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Token to provide to turn off the ngModel warning on formControl and formControlName.
- */
- const NG_MODEL_WITH_FORM_CONTROL_WARNING = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('NgModelWithFormControlWarning');
- const formControlBinding = {
- provide: NgControl,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormControlDirective)
- };
- /**
- * @description
- * Synchronizes a standalone `FormControl` instance to a form control element.
- *
- * Note that support for using the `ngModel` input property and `ngModelChange` event with reactive
- * form directives was deprecated in Angular v6 and is scheduled for removal in
- * a future version of Angular.
- * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).
- *
- * @see [Reactive Forms Guide](guide/reactive-forms)
- * @see `FormControl`
- * @see `AbstractControl`
- *
- * @usageNotes
- *
- * The following example shows how to register a standalone control and set its value.
- *
- * {@example forms/ts/simpleFormControl/simple_form_control_example.ts region='Component'}
- *
- * @ngModule ReactiveFormsModule
- * @publicApi
- */
- class FormControlDirective extends NgControl {
- constructor(validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {
- super();
- this._ngModelWarningConfig = _ngModelWarningConfig;
- /** @deprecated as of v6 */
- this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- /**
- * @description
- * Instance property used to track whether an ngModel warning has been sent out for this
- * particular `FormControlDirective` instance. Used to support warning config of "always".
- *
- * @internal
- */
- this._ngModelWarningSent = false;
- this._setValidators(validators);
- this._setAsyncValidators(asyncValidators);
- this.valueAccessor = selectValueAccessor(this, valueAccessors);
- }
- /**
- * @description
- * Triggers a warning in dev mode that this input should not be used with reactive forms.
- */
- set isDisabled(isDisabled) {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- console.warn(disabledAttrWarning);
- }
- }
- /** @nodoc */
- ngOnChanges(changes) {
- if (this._isControlChanged(changes)) {
- const previousForm = changes['form'].previousValue;
- if (previousForm) {
- cleanUpControl(previousForm, this,
- /* validateControlPresenceOnChange */
- false);
- }
- setUpControl(this.form, this);
- this.form.updateValueAndValidity({
- emitEvent: false
- });
- }
- if (isPropertyUpdated(changes, this.viewModel)) {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- _ngModelWarning('formControl', FormControlDirective, this, this._ngModelWarningConfig);
- }
- this.form.setValue(this.model);
- this.viewModel = this.model;
- }
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this.form) {
- cleanUpControl(this.form, this,
- /* validateControlPresenceOnChange */
- false);
- }
- }
- /**
- * @description
- * Returns an array that represents the path from the top-level form to this control.
- * Each index is the string name of the control on that level.
- */
- get path() {
- return [];
- }
- /**
- * @description
- * The `FormControl` bound to this directive.
- */
- get control() {
- return this.form;
- }
- /**
- * @description
- * Sets the new value for the view model and emits an `ngModelChange` event.
- *
- * @param newValue The new value for the view model.
- */
- viewToModelUpdate(newValue) {
- this.viewModel = newValue;
- this.update.emit(newValue);
- }
- _isControlChanged(changes) {
- return changes.hasOwnProperty('form');
- }
- }
- /**
- * @description
- * Static property used to track whether any ngModel warnings have been sent across
- * all instances of FormControlDirective. Used to support warning config of "once".
- *
- * @internal
- */
- FormControlDirective._ngModelWarningSentOnce = false;
- FormControlDirective.ɵfac = function FormControlDirective_Factory(t) {
- 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));
- };
- FormControlDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: FormControlDirective,
- selectors: [["", "formControl", ""]],
- inputs: {
- form: ["formControl", "form"],
- isDisabled: ["disabled", "isDisabled"],
- model: ["ngModel", "model"]
- },
- outputs: {
- update: "ngModelChange"
- },
- exportAs: ["ngForm"],
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formControlBinding]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormControlDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[formControl]',
- providers: [formControlBinding],
- exportAs: 'ngForm'
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_ASYNC_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALUE_ACCESSOR]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]
- }]
- }];
- }, {
- form: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['formControl']
- }],
- isDisabled: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['disabled']
- }],
- model: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngModel']
- }],
- update: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
- args: ['ngModelChange']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const formDirectiveProvider = {
- provide: ControlContainer,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormGroupDirective)
- };
- /**
- * @description
- *
- * Binds an existing `FormGroup` or `FormRecord` to a DOM element.
- *
- * This directive accepts an existing `FormGroup` instance. It will then use this
- * `FormGroup` instance to match any child `FormControl`, `FormGroup`/`FormRecord`,
- * and `FormArray` instances to child `FormControlName`, `FormGroupName`,
- * and `FormArrayName` directives.
- *
- * @see [Reactive Forms Guide](guide/reactive-forms)
- * @see `AbstractControl`
- *
- * @usageNotes
- * ### Register Form Group
- *
- * The following example registers a `FormGroup` with first name and last name controls,
- * and listens for the *ngSubmit* event when the button is clicked.
- *
- * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}
- *
- * @ngModule ReactiveFormsModule
- * @publicApi
- */
- class FormGroupDirective extends ControlContainer {
- constructor(validators, asyncValidators) {
- super();
- /**
- * @description
- * Reports whether the form submission has been triggered.
- */
- this.submitted = false;
- /**
- * Callback that should be invoked when controls in FormGroup or FormArray collection change
- * (added or removed). This callback triggers corresponding DOM updates.
- */
- this._onCollectionChange = () => this._updateDomValue();
- /**
- * @description
- * Tracks the list of added `FormControlName` instances
- */
- this.directives = [];
- /**
- * @description
- * Tracks the `FormGroup` bound to this directive.
- */
- this.form = null;
- /**
- * @description
- * Emits an event when the form submission has been triggered.
- */
- this.ngSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- this._setValidators(validators);
- this._setAsyncValidators(asyncValidators);
- }
- /** @nodoc */
- ngOnChanges(changes) {
- this._checkFormPresent();
- if (changes.hasOwnProperty('form')) {
- this._updateValidators();
- this._updateDomValue();
- this._updateRegistrations();
- this._oldForm = this.form;
- }
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this.form) {
- cleanUpValidators(this.form, this); // Currently the `onCollectionChange` callback is rewritten each time the
- // `_registerOnCollectionChange` function is invoked. The implication is that cleanup should
- // happen *only* when the `onCollectionChange` callback was set by this directive instance.
- // Otherwise it might cause overriding a callback of some other directive instances. We should
- // consider updating this logic later to make it similar to how `onChange` callbacks are
- // handled, see https://github.com/angular/angular/issues/39732 for additional info.
- if (this.form._onCollectionChange === this._onCollectionChange) {
- this.form._registerOnCollectionChange(() => {});
- }
- }
- }
- /**
- * @description
- * Returns this directive's instance.
- */
- get formDirective() {
- return this;
- }
- /**
- * @description
- * Returns the `FormGroup` bound to this directive.
- */
- get control() {
- return this.form;
- }
- /**
- * @description
- * Returns an array representing the path to this group. Because this directive
- * always lives at the top level of a form, it always an empty array.
- */
- get path() {
- return [];
- }
- /**
- * @description
- * Method that sets up the control directive in this group, re-calculates its value
- * and validity, and adds the instance to the internal list of directives.
- *
- * @param dir The `FormControlName` directive instance.
- */
- addControl(dir) {
- const ctrl = this.form.get(dir.path);
- setUpControl(ctrl, dir);
- ctrl.updateValueAndValidity({
- emitEvent: false
- });
- this.directives.push(dir);
- return ctrl;
- }
- /**
- * @description
- * Retrieves the `FormControl` instance from the provided `FormControlName` directive
- *
- * @param dir The `FormControlName` directive instance.
- */
- getControl(dir) {
- return this.form.get(dir.path);
- }
- /**
- * @description
- * Removes the `FormControlName` instance from the internal list of directives
- *
- * @param dir The `FormControlName` directive instance.
- */
- removeControl(dir) {
- cleanUpControl(dir.control || null, dir,
- /* validateControlPresenceOnChange */
- false);
- removeListItem$1(this.directives, dir);
- }
- /**
- * Adds a new `FormGroupName` directive instance to the form.
- *
- * @param dir The `FormGroupName` directive instance.
- */
- addFormGroup(dir) {
- this._setUpFormContainer(dir);
- }
- /**
- * Performs the necessary cleanup when a `FormGroupName` directive instance is removed from the
- * view.
- *
- * @param dir The `FormGroupName` directive instance.
- */
- removeFormGroup(dir) {
- this._cleanUpFormContainer(dir);
- }
- /**
- * @description
- * Retrieves the `FormGroup` for a provided `FormGroupName` directive instance
- *
- * @param dir The `FormGroupName` directive instance.
- */
- getFormGroup(dir) {
- return this.form.get(dir.path);
- }
- /**
- * Performs the necessary setup when a `FormArrayName` directive instance is added to the view.
- *
- * @param dir The `FormArrayName` directive instance.
- */
- addFormArray(dir) {
- this._setUpFormContainer(dir);
- }
- /**
- * Performs the necessary cleanup when a `FormArrayName` directive instance is removed from the
- * view.
- *
- * @param dir The `FormArrayName` directive instance.
- */
- removeFormArray(dir) {
- this._cleanUpFormContainer(dir);
- }
- /**
- * @description
- * Retrieves the `FormArray` for a provided `FormArrayName` directive instance.
- *
- * @param dir The `FormArrayName` directive instance.
- */
- getFormArray(dir) {
- return this.form.get(dir.path);
- }
- /**
- * Sets the new value for the provided `FormControlName` directive.
- *
- * @param dir The `FormControlName` directive instance.
- * @param value The new value for the directive's control.
- */
- updateModel(dir, value) {
- const ctrl = this.form.get(dir.path);
- ctrl.setValue(value);
- }
- /**
- * @description
- * Method called with the "submit" event is triggered on the form.
- * Triggers the `ngSubmit` emitter to emit the "submit" event as its payload.
- *
- * @param $event The "submit" event object
- */
- onSubmit($event) {
- var _a;
- this.submitted = true;
- syncPendingControls(this.form, this.directives);
- this.ngSubmit.emit($event); // Forms with `method="dialog"` have some special behavior that won't reload the page and that
- // shouldn't be prevented. Note that we need to null check the `event` and the `target`, because
- // some internal apps call this method directly with the wrong arguments.
- return ((_a = $event === null || $event === void 0 ? void 0 : $event.target) === null || _a === void 0 ? void 0 : _a.method) === 'dialog';
- }
- /**
- * @description
- * Method called when the "reset" event is triggered on the form.
- */
- onReset() {
- this.resetForm();
- }
- /**
- * @description
- * Resets the form to an initial value and resets its submitted status.
- *
- * @param value The new value for the form.
- */
- resetForm(value = undefined) {
- this.form.reset(value);
- this.submitted = false;
- }
- /** @internal */
- _updateDomValue() {
- this.directives.forEach(dir => {
- const oldCtrl = dir.control;
- const newCtrl = this.form.get(dir.path);
- if (oldCtrl !== newCtrl) {
- // Note: the value of the `dir.control` may not be defined, for example when it's a first
- // `FormControl` that is added to a `FormGroup` instance (via `addControl` call).
- cleanUpControl(oldCtrl || null, dir); // Check whether new control at the same location inside the corresponding `FormGroup` is an
- // instance of `FormControl` and perform control setup only if that's the case.
- // Note: we don't need to clear the list of directives (`this.directives`) here, it would be
- // taken care of in the `removeControl` method invoked when corresponding `formControlName`
- // directive instance is being removed (invoked from `FormControlName.ngOnDestroy`).
- if (isFormControl(newCtrl)) {
- setUpControl(newCtrl, dir);
- dir.control = newCtrl;
- }
- }
- });
- this.form._updateTreeValidity({
- emitEvent: false
- });
- }
- _setUpFormContainer(dir) {
- const ctrl = this.form.get(dir.path);
- setUpFormContainer(ctrl, dir); // NOTE: this operation looks unnecessary in case no new validators were added in
- // `setUpFormContainer` call. Consider updating this code to match the logic in
- // `_cleanUpFormContainer` function.
- ctrl.updateValueAndValidity({
- emitEvent: false
- });
- }
- _cleanUpFormContainer(dir) {
- if (this.form) {
- const ctrl = this.form.get(dir.path);
- if (ctrl) {
- const isControlUpdated = cleanUpFormContainer(ctrl, dir);
- if (isControlUpdated) {
- // Run validity check only in case a control was updated (i.e. view validators were
- // removed) as removing view validators might cause validity to change.
- ctrl.updateValueAndValidity({
- emitEvent: false
- });
- }
- }
- }
- }
- _updateRegistrations() {
- this.form._registerOnCollectionChange(this._onCollectionChange);
- if (this._oldForm) {
- this._oldForm._registerOnCollectionChange(() => {});
- }
- }
- _updateValidators() {
- setUpValidators(this.form, this);
- if (this._oldForm) {
- cleanUpValidators(this._oldForm, this);
- }
- }
- _checkFormPresent() {
- if (!this.form && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- throw missingFormException();
- }
- }
- }
- FormGroupDirective.ɵfac = function FormGroupDirective_Factory(t) {
- 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));
- };
- FormGroupDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: FormGroupDirective,
- selectors: [["", "formGroup", ""]],
- hostBindings: function FormGroupDirective_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("submit", function FormGroupDirective_submit_HostBindingHandler($event) {
- return ctx.onSubmit($event);
- })("reset", function FormGroupDirective_reset_HostBindingHandler() {
- return ctx.onReset();
- });
- }
- },
- inputs: {
- form: ["formGroup", "form"]
- },
- outputs: {
- ngSubmit: "ngSubmit"
- },
- exportAs: ["ngForm"],
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formDirectiveProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormGroupDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[formGroup]',
- providers: [formDirectiveProvider],
- host: {
- '(submit)': 'onSubmit($event)',
- '(reset)': 'onReset()'
- },
- exportAs: 'ngForm'
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_ASYNC_VALIDATORS]
- }]
- }];
- }, {
- form: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['formGroup']
- }],
- ngSubmit: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const formGroupNameProvider = {
- provide: ControlContainer,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormGroupName)
- };
- /**
- * @description
- *
- * Syncs a nested `FormGroup` or `FormRecord` to a DOM element.
- *
- * This directive can only be used with a parent `FormGroupDirective`.
- *
- * It accepts the string name of the nested `FormGroup` or `FormRecord` to link, and
- * looks for a `FormGroup` or `FormRecord` registered with that name in the parent
- * `FormGroup` instance you passed into `FormGroupDirective`.
- *
- * Use nested form groups to validate a sub-group of a
- * form separately from the rest or to group the values of certain
- * controls into their own nested object.
- *
- * @see [Reactive Forms Guide](guide/reactive-forms)
- *
- * @usageNotes
- *
- * ### Access the group by name
- *
- * The following example uses the `AbstractControl.get` method to access the
- * associated `FormGroup`
- *
- * ```ts
- * this.form.get('name');
- * ```
- *
- * ### Access individual controls in the group
- *
- * The following example uses the `AbstractControl.get` method to access
- * individual controls within the group using dot syntax.
- *
- * ```ts
- * this.form.get('name.first');
- * ```
- *
- * ### Register a nested `FormGroup`.
- *
- * The following example registers a nested *name* `FormGroup` within an existing `FormGroup`,
- * and provides methods to retrieve the nested `FormGroup` and individual controls.
- *
- * {@example forms/ts/nestedFormGroup/nested_form_group_example.ts region='Component'}
- *
- * @ngModule ReactiveFormsModule
- * @publicApi
- */
- class FormGroupName extends AbstractFormGroupDirective {
- constructor(parent, validators, asyncValidators) {
- super();
- this._parent = parent;
- this._setValidators(validators);
- this._setAsyncValidators(asyncValidators);
- }
- /** @internal */
- _checkParentType() {
- if (_hasInvalidParent(this._parent) && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- throw groupParentException();
- }
- }
- }
- FormGroupName.ɵfac = function FormGroupName_Factory(t) {
- 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));
- };
- FormGroupName.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: FormGroupName,
- selectors: [["", "formGroupName", ""]],
- inputs: {
- name: ["formGroupName", "name"]
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formGroupNameProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormGroupName, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[formGroupName]',
- providers: [formGroupNameProvider]
- }]
- }], function () {
- return [{
- type: ControlContainer,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_ASYNC_VALIDATORS]
- }]
- }];
- }, {
- name: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['formGroupName']
- }]
- });
- })();
- const formArrayNameProvider = {
- provide: ControlContainer,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormArrayName)
- };
- /**
- * @description
- *
- * Syncs a nested `FormArray` to a DOM element.
- *
- * This directive is designed to be used with a parent `FormGroupDirective` (selector:
- * `[formGroup]`).
- *
- * It accepts the string name of the nested `FormArray` you want to link, and
- * will look for a `FormArray` registered with that name in the parent
- * `FormGroup` instance you passed into `FormGroupDirective`.
- *
- * @see [Reactive Forms Guide](guide/reactive-forms)
- * @see `AbstractControl`
- *
- * @usageNotes
- *
- * ### Example
- *
- * {@example forms/ts/nestedFormArray/nested_form_array_example.ts region='Component'}
- *
- * @ngModule ReactiveFormsModule
- * @publicApi
- */
- class FormArrayName extends ControlContainer {
- constructor(parent, validators, asyncValidators) {
- super();
- this._parent = parent;
- this._setValidators(validators);
- this._setAsyncValidators(asyncValidators);
- }
- /**
- * A lifecycle method called when the directive's inputs are initialized. For internal use only.
- * @throws If the directive does not have a valid parent.
- * @nodoc
- */
- ngOnInit() {
- this._checkParentType();
- this.formDirective.addFormArray(this);
- }
- /**
- * A lifecycle method called before the directive's instance is destroyed. For internal use only.
- * @nodoc
- */
- ngOnDestroy() {
- if (this.formDirective) {
- this.formDirective.removeFormArray(this);
- }
- }
- /**
- * @description
- * The `FormArray` bound to this directive.
- */
- get control() {
- return this.formDirective.getFormArray(this);
- }
- /**
- * @description
- * The top-level directive for this group if present, otherwise null.
- */
- get formDirective() {
- return this._parent ? this._parent.formDirective : null;
- }
- /**
- * @description
- * Returns an array that represents the path from the top-level form to this control.
- * Each index is the string name of the control on that level.
- */
- get path() {
- return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);
- }
- _checkParentType() {
- if (_hasInvalidParent(this._parent) && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- throw arrayParentException();
- }
- }
- }
- FormArrayName.ɵfac = function FormArrayName_Factory(t) {
- 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));
- };
- FormArrayName.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: FormArrayName,
- selectors: [["", "formArrayName", ""]],
- inputs: {
- name: ["formArrayName", "name"]
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([formArrayNameProvider]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormArrayName, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[formArrayName]',
- providers: [formArrayNameProvider]
- }]
- }], function () {
- return [{
- type: ControlContainer,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_ASYNC_VALIDATORS]
- }]
- }];
- }, {
- name: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['formArrayName']
- }]
- });
- })();
- function _hasInvalidParent(parent) {
- return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) && !(parent instanceof FormArrayName);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const controlNameBinding = {
- provide: NgControl,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => FormControlName)
- };
- /**
- * @description
- * Syncs a `FormControl` in an existing `FormGroup` to a form control
- * element by name.
- *
- * @see [Reactive Forms Guide](guide/reactive-forms)
- * @see `FormControl`
- * @see `AbstractControl`
- *
- * @usageNotes
- *
- * ### Register `FormControl` within a group
- *
- * The following example shows how to register multiple form controls within a form group
- * and set their value.
- *
- * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}
- *
- * To see `formControlName` examples with different form control types, see:
- *
- * * Radio buttons: `RadioControlValueAccessor`
- * * Selects: `SelectControlValueAccessor`
- *
- * ### Use with ngModel is deprecated
- *
- * Support for using the `ngModel` input property and `ngModelChange` event with reactive
- * form directives has been deprecated in Angular v6 and is scheduled for removal in
- * a future version of Angular.
- *
- * For details, see [Deprecated features](guide/deprecations#ngmodel-with-reactive-forms).
- *
- * @ngModule ReactiveFormsModule
- * @publicApi
- */
- class FormControlName extends NgControl {
- constructor(parent, validators, asyncValidators, valueAccessors, _ngModelWarningConfig) {
- super();
- this._ngModelWarningConfig = _ngModelWarningConfig;
- this._added = false;
- /** @deprecated as of v6 */
- this.update = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- /**
- * @description
- * Instance property used to track whether an ngModel warning has been sent out for this
- * particular FormControlName instance. Used to support warning config of "always".
- *
- * @internal
- */
- this._ngModelWarningSent = false;
- this._parent = parent;
- this._setValidators(validators);
- this._setAsyncValidators(asyncValidators);
- this.valueAccessor = selectValueAccessor(this, valueAccessors);
- }
- /**
- * @description
- * Triggers a warning in dev mode that this input should not be used with reactive forms.
- */
- set isDisabled(isDisabled) {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- console.warn(disabledAttrWarning);
- }
- }
- /** @nodoc */
- ngOnChanges(changes) {
- if (!this._added) this._setUpControl();
- if (isPropertyUpdated(changes, this.viewModel)) {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- _ngModelWarning('formControlName', FormControlName, this, this._ngModelWarningConfig);
- }
- this.viewModel = this.model;
- this.formDirective.updateModel(this, this.model);
- }
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this.formDirective) {
- this.formDirective.removeControl(this);
- }
- }
- /**
- * @description
- * Sets the new value for the view model and emits an `ngModelChange` event.
- *
- * @param newValue The new value for the view model.
- */
- viewToModelUpdate(newValue) {
- this.viewModel = newValue;
- this.update.emit(newValue);
- }
- /**
- * @description
- * Returns an array that represents the path from the top-level form to this control.
- * Each index is the string name of the control on that level.
- */
- get path() {
- return controlPath(this.name == null ? this.name : this.name.toString(), this._parent);
- }
- /**
- * @description
- * The top-level directive for this group if present, otherwise null.
- */
- get formDirective() {
- return this._parent ? this._parent.formDirective : null;
- }
- _checkParentType() {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- if (!(this._parent instanceof FormGroupName) && this._parent instanceof AbstractFormGroupDirective) {
- throw ngModelGroupException();
- } else if (!(this._parent instanceof FormGroupName) && !(this._parent instanceof FormGroupDirective) && !(this._parent instanceof FormArrayName)) {
- throw controlParentException();
- }
- }
- }
- _setUpControl() {
- this._checkParentType();
- this.control = this.formDirective.addControl(this);
- this._added = true;
- }
- }
- /**
- * @description
- * Static property used to track whether any ngModel warnings have been sent across
- * all instances of FormControlName. Used to support warning config of "once".
- *
- * @internal
- */
- FormControlName._ngModelWarningSentOnce = false;
- FormControlName.ɵfac = function FormControlName_Factory(t) {
- 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));
- };
- FormControlName.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: FormControlName,
- selectors: [["", "formControlName", ""]],
- inputs: {
- name: ["formControlName", "name"],
- isDisabled: ["disabled", "isDisabled"],
- model: ["ngModel", "model"]
- },
- outputs: {
- update: "ngModelChange"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([controlNameBinding]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormControlName, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[formControlName]',
- providers: [controlNameBinding]
- }]
- }], function () {
- return [{
- type: ControlContainer,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_ASYNC_VALIDATORS]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Self
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_VALUE_ACCESSOR]
- }]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [NG_MODEL_WITH_FORM_CONTROL_WARNING]
- }]
- }];
- }, {
- name: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['formControlName']
- }],
- isDisabled: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['disabled']
- }],
- model: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngModel']
- }],
- update: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
- args: ['ngModelChange']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const SELECT_VALUE_ACCESSOR = {
- provide: NG_VALUE_ACCESSOR,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => SelectControlValueAccessor),
- multi: true
- };
- function _buildValueString$1(id, value) {
- if (id == null) return `${value}`;
- if (value && typeof value === 'object') value = 'Object';
- return `${id}: ${value}`.slice(0, 50);
- }
- function _extractId$1(valueString) {
- return valueString.split(':')[0];
- }
- /**
- * @description
- * The `ControlValueAccessor` for writing select control values and listening to select control
- * changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and
- * `NgModel` directives.
- *
- * @usageNotes
- *
- * ### Using select controls in a reactive form
- *
- * The following examples show how to use a select control in a reactive form.
- *
- * {@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'}
- *
- * ### Using select controls in a template-driven form
- *
- * To use a select in a template-driven form, simply add an `ngModel` and a `name`
- * attribute to the main `<select>` tag.
- *
- * {@example forms/ts/selectControl/select_control_example.ts region='Component'}
- *
- * ### Customizing option selection
- *
- * Angular uses object identity to select option. It's possible for the identities of items
- * to change while the data does not. This can happen, for example, if the items are produced
- * from an RPC to the server, and that RPC is re-run. Even if the data hasn't changed, the
- * second response will produce objects with different identities.
- *
- * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.
- * `compareWith` takes a **function** which has two arguments: `option1` and `option2`.
- * If `compareWith` is given, Angular selects option by the return value of the function.
- *
- * ```ts
- * const selectedCountriesControl = new FormControl();
- * ```
- *
- * ```
- * <select [compareWith]="compareFn" [formControl]="selectedCountriesControl">
- * <option *ngFor="let country of countries" [ngValue]="country">
- * {{country.name}}
- * </option>
- * </select>
- *
- * compareFn(c1: Country, c2: Country): boolean {
- * return c1 && c2 ? c1.id === c2.id : c1 === c2;
- * }
- * ```
- *
- * **Note:** We listen to the 'change' event because 'input' events aren't fired
- * for selects in IE, see:
- * https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event#browser_compatibility
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class SelectControlValueAccessor extends BuiltInControlValueAccessor {
- constructor() {
- super(...arguments);
- /** @internal */
- this._optionMap = new Map();
- /** @internal */
- this._idCounter = 0;
- this._compareWith = Object.is;
- }
- /**
- * @description
- * Tracks the option comparison algorithm for tracking identities when
- * checking for changes.
- */
- set compareWith(fn) {
- if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1201
- /* RuntimeErrorCode.COMPAREWITH_NOT_A_FN */
- , `compareWith must be a function, but received ${JSON.stringify(fn)}`);
- }
- this._compareWith = fn;
- }
- /**
- * Sets the "value" property on the select element.
- * @nodoc
- */
- writeValue(value) {
- this.value = value;
- const id = this._getOptionId(value);
- const valueString = _buildValueString$1(id, value);
- this.setProperty('value', valueString);
- }
- /**
- * Registers a function called when the control value changes.
- * @nodoc
- */
- registerOnChange(fn) {
- this.onChange = valueString => {
- this.value = this._getOptionValue(valueString);
- fn(this.value);
- };
- }
- /** @internal */
- _registerOption() {
- return (this._idCounter++).toString();
- }
- /** @internal */
- _getOptionId(value) {
- for (const id of Array.from(this._optionMap.keys())) {
- if (this._compareWith(this._optionMap.get(id), value)) return id;
- }
- return null;
- }
- /** @internal */
- _getOptionValue(valueString) {
- const id = _extractId$1(valueString);
- return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;
- }
- }
- SelectControlValueAccessor.ɵfac = /* @__PURE__ */function () {
- let ɵSelectControlValueAccessor_BaseFactory;
- return function SelectControlValueAccessor_Factory(t) {
- return (ɵSelectControlValueAccessor_BaseFactory || (ɵSelectControlValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](SelectControlValueAccessor)))(t || SelectControlValueAccessor);
- };
- }();
- SelectControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: SelectControlValueAccessor,
- selectors: [["select", "formControlName", "", 3, "multiple", ""], ["select", "formControl", "", 3, "multiple", ""], ["select", "ngModel", "", 3, "multiple", ""]],
- hostBindings: function SelectControlValueAccessor_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function SelectControlValueAccessor_change_HostBindingHandler($event) {
- return ctx.onChange($event.target.value);
- })("blur", function SelectControlValueAccessor_blur_HostBindingHandler() {
- return ctx.onTouched();
- });
- }
- },
- inputs: {
- compareWith: "compareWith"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([SELECT_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SelectControlValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',
- host: {
- '(change)': 'onChange($event.target.value)',
- '(blur)': 'onTouched()'
- },
- providers: [SELECT_VALUE_ACCESSOR]
- }]
- }], null, {
- compareWith: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @description
- * Marks `<option>` as dynamic, so Angular can be notified when options change.
- *
- * @see `SelectControlValueAccessor`
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class NgSelectOption {
- constructor(_element, _renderer, _select) {
- this._element = _element;
- this._renderer = _renderer;
- this._select = _select;
- if (this._select) this.id = this._select._registerOption();
- }
- /**
- * @description
- * Tracks the value bound to the option element. Unlike the value binding,
- * ngValue supports binding to objects.
- */
- set ngValue(value) {
- if (this._select == null) return;
- this._select._optionMap.set(this.id, value);
- this._setElementValue(_buildValueString$1(this.id, value));
- this._select.writeValue(this._select.value);
- }
- /**
- * @description
- * Tracks simple string values bound to the option element.
- * For objects, use the `ngValue` input binding.
- */
- set value(value) {
- this._setElementValue(value);
- if (this._select) this._select.writeValue(this._select.value);
- }
- /** @internal */
- _setElementValue(value) {
- this._renderer.setProperty(this._element.nativeElement, 'value', value);
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this._select) {
- this._select._optionMap.delete(this.id);
- this._select.writeValue(this._select.value);
- }
- }
- }
- NgSelectOption.ɵfac = function NgSelectOption_Factory(t) {
- 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));
- };
- NgSelectOption.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: NgSelectOption,
- selectors: [["option"]],
- inputs: {
- ngValue: "ngValue",
- value: "value"
- }
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NgSelectOption, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'option'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }, {
- type: SelectControlValueAccessor,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }]
- }];
- }, {
- ngValue: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngValue']
- }],
- value: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['value']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const SELECT_MULTIPLE_VALUE_ACCESSOR = {
- provide: NG_VALUE_ACCESSOR,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => SelectMultipleControlValueAccessor),
- multi: true
- };
- function _buildValueString(id, value) {
- if (id == null) return `${value}`;
- if (typeof value === 'string') value = `'${value}'`;
- if (value && typeof value === 'object') value = 'Object';
- return `${id}: ${value}`.slice(0, 50);
- }
- function _extractId(valueString) {
- return valueString.split(':')[0];
- }
- /** Mock interface for HTMLCollection */
- class HTMLCollection {}
- /**
- * @description
- * The `ControlValueAccessor` for writing multi-select control values and listening to multi-select
- * control changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and
- * `NgModel` directives.
- *
- * @see `SelectControlValueAccessor`
- *
- * @usageNotes
- *
- * ### Using a multi-select control
- *
- * The follow example shows you how to use a multi-select control with a reactive form.
- *
- * ```ts
- * const countryControl = new FormControl();
- * ```
- *
- * ```
- * <select multiple name="countries" [formControl]="countryControl">
- * <option *ngFor="let country of countries" [ngValue]="country">
- * {{ country.name }}
- * </option>
- * </select>
- * ```
- *
- * ### Customizing option selection
- *
- * To customize the default option comparison algorithm, `<select>` supports `compareWith` input.
- * See the `SelectControlValueAccessor` for usage.
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class SelectMultipleControlValueAccessor extends BuiltInControlValueAccessor {
- constructor() {
- super(...arguments);
- /** @internal */
- this._optionMap = new Map();
- /** @internal */
- this._idCounter = 0;
- this._compareWith = Object.is;
- }
- /**
- * @description
- * Tracks the option comparison algorithm for tracking identities when
- * checking for changes.
- */
- set compareWith(fn) {
- if (typeof fn !== 'function' && (typeof ngDevMode === 'undefined' || ngDevMode)) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](1201
- /* RuntimeErrorCode.COMPAREWITH_NOT_A_FN */
- , `compareWith must be a function, but received ${JSON.stringify(fn)}`);
- }
- this._compareWith = fn;
- }
- /**
- * Sets the "value" property on one or of more of the select's options.
- * @nodoc
- */
- writeValue(value) {
- this.value = value;
- let optionSelectedStateSetter;
- if (Array.isArray(value)) {
- // convert values to ids
- const ids = value.map(v => this._getOptionId(v));
- optionSelectedStateSetter = (opt, o) => {
- opt._setSelected(ids.indexOf(o.toString()) > -1);
- };
- } else {
- optionSelectedStateSetter = (opt, o) => {
- opt._setSelected(false);
- };
- }
- this._optionMap.forEach(optionSelectedStateSetter);
- }
- /**
- * Registers a function called when the control value changes
- * and writes an array of the selected options.
- * @nodoc
- */
- registerOnChange(fn) {
- this.onChange = element => {
- const selected = [];
- const selectedOptions = element.selectedOptions;
- if (selectedOptions !== undefined) {
- const options = selectedOptions;
- for (let i = 0; i < options.length; i++) {
- const opt = options[i];
- const val = this._getOptionValue(opt.value);
- selected.push(val);
- }
- } // Degrade to use `options` when `selectedOptions` property is not available.
- // Note: the `selectedOptions` is available in all supported browsers, but the Domino lib
- // doesn't have it currently, see https://github.com/fgnass/domino/issues/177.
- else {
- const options = element.options;
- for (let i = 0; i < options.length; i++) {
- const opt = options[i];
- if (opt.selected) {
- const val = this._getOptionValue(opt.value);
- selected.push(val);
- }
- }
- }
- this.value = selected;
- fn(selected);
- };
- }
- /** @internal */
- _registerOption(value) {
- const id = (this._idCounter++).toString();
- this._optionMap.set(id, value);
- return id;
- }
- /** @internal */
- _getOptionId(value) {
- for (const id of Array.from(this._optionMap.keys())) {
- if (this._compareWith(this._optionMap.get(id)._value, value)) return id;
- }
- return null;
- }
- /** @internal */
- _getOptionValue(valueString) {
- const id = _extractId(valueString);
- return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;
- }
- }
- SelectMultipleControlValueAccessor.ɵfac = /* @__PURE__ */function () {
- let ɵSelectMultipleControlValueAccessor_BaseFactory;
- return function SelectMultipleControlValueAccessor_Factory(t) {
- return (ɵSelectMultipleControlValueAccessor_BaseFactory || (ɵSelectMultipleControlValueAccessor_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](SelectMultipleControlValueAccessor)))(t || SelectMultipleControlValueAccessor);
- };
- }();
- SelectMultipleControlValueAccessor.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: SelectMultipleControlValueAccessor,
- selectors: [["select", "multiple", "", "formControlName", ""], ["select", "multiple", "", "formControl", ""], ["select", "multiple", "", "ngModel", ""]],
- hostBindings: function SelectMultipleControlValueAccessor_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function SelectMultipleControlValueAccessor_change_HostBindingHandler($event) {
- return ctx.onChange($event.target);
- })("blur", function SelectMultipleControlValueAccessor_blur_HostBindingHandler() {
- return ctx.onTouched();
- });
- }
- },
- inputs: {
- compareWith: "compareWith"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([SELECT_MULTIPLE_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SelectMultipleControlValueAccessor, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',
- host: {
- '(change)': 'onChange($event.target)',
- '(blur)': 'onTouched()'
- },
- providers: [SELECT_MULTIPLE_VALUE_ACCESSOR]
- }]
- }], null, {
- compareWith: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @description
- * Marks `<option>` as dynamic, so Angular can be notified when options change.
- *
- * @see `SelectMultipleControlValueAccessor`
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class ɵNgSelectMultipleOption {
- constructor(_element, _renderer, _select) {
- this._element = _element;
- this._renderer = _renderer;
- this._select = _select;
- if (this._select) {
- this.id = this._select._registerOption(this);
- }
- }
- /**
- * @description
- * Tracks the value bound to the option element. Unlike the value binding,
- * ngValue supports binding to objects.
- */
- set ngValue(value) {
- if (this._select == null) return;
- this._value = value;
- this._setElementValue(_buildValueString(this.id, value));
- this._select.writeValue(this._select.value);
- }
- /**
- * @description
- * Tracks simple string values bound to the option element.
- * For objects, use the `ngValue` input binding.
- */
- set value(value) {
- if (this._select) {
- this._value = value;
- this._setElementValue(_buildValueString(this.id, value));
- this._select.writeValue(this._select.value);
- } else {
- this._setElementValue(value);
- }
- }
- /** @internal */
- _setElementValue(value) {
- this._renderer.setProperty(this._element.nativeElement, 'value', value);
- }
- /** @internal */
- _setSelected(selected) {
- this._renderer.setProperty(this._element.nativeElement, 'selected', selected);
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this._select) {
- this._select._optionMap.delete(this.id);
- this._select.writeValue(this._select.value);
- }
- }
- }
- ɵNgSelectMultipleOption.ɵfac = function ɵNgSelectMultipleOption_Factory(t) {
- 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));
- };
- ɵNgSelectMultipleOption.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: ɵNgSelectMultipleOption,
- selectors: [["option"]],
- inputs: {
- ngValue: "ngValue",
- value: "value"
- }
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ɵNgSelectMultipleOption, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'option'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }, {
- type: SelectMultipleControlValueAccessor,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Host
- }]
- }];
- }, {
- ngValue: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['ngValue']
- }],
- value: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
- args: ['value']
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Method that updates string to integer if not already a number
- *
- * @param value The value to convert to integer.
- * @returns value of parameter converted to number or integer.
- */
- function toInteger(value) {
- return typeof value === 'number' ? value : parseInt(value, 10);
- }
- /**
- * Method that ensures that provided value is a float (and converts it to float if needed).
- *
- * @param value The value to convert to float.
- * @returns value of parameter converted to number or float.
- */
- function toFloat(value) {
- return typeof value === 'number' ? value : parseFloat(value);
- }
- /**
- * A base class for Validator-based Directives. The class contains common logic shared across such
- * Directives.
- *
- * For internal use only, this class is not intended for use outside of the Forms package.
- */
- class AbstractValidatorDirective {
- constructor() {
- this._validator = nullValidator;
- }
- /** @nodoc */
- ngOnChanges(changes) {
- if (this.inputName in changes) {
- const input = this.normalizeInput(changes[this.inputName].currentValue);
- this._enabled = this.enabled(input);
- this._validator = this._enabled ? this.createValidator(input) : nullValidator;
- if (this._onChange) {
- this._onChange();
- }
- }
- }
- /** @nodoc */
- validate(control) {
- return this._validator(control);
- }
- /** @nodoc */
- registerOnValidatorChange(fn) {
- this._onChange = fn;
- }
- /**
- * @description
- * Determines whether this validator should be active or not based on an input.
- * Base class implementation checks whether an input is defined (if the value is different from
- * `null` and `undefined`). Validator classes that extend this base class can override this
- * function with the logic specific to a particular validator directive.
- */
- enabled(input) {
- return input != null
- /* both `null` and `undefined` */
- ;
- }
- }
- AbstractValidatorDirective.ɵfac = function AbstractValidatorDirective_Factory(t) {
- return new (t || AbstractValidatorDirective)();
- };
- AbstractValidatorDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: AbstractValidatorDirective,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AbstractValidatorDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
- }], null, null);
- })();
- /**
- * @description
- * Provider which adds `MaxValidator` to the `NG_VALIDATORS` multi-provider list.
- */
- const MAX_VALIDATOR = {
- provide: NG_VALIDATORS,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MaxValidator),
- multi: true
- };
- /**
- * A directive which installs the {@link MaxValidator} for any `formControlName`,
- * `formControl`, or control with `ngModel` that also has a `max` attribute.
- *
- * @see [Form Validation](guide/form-validation)
- *
- * @usageNotes
- *
- * ### Adding a max validator
- *
- * The following example shows how to add a max validator to an input attached to an
- * ngModel binding.
- *
- * ```html
- * <input type="number" ngModel max="4">
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class MaxValidator extends AbstractValidatorDirective {
- constructor() {
- super(...arguments);
- /** @internal */
- this.inputName = 'max';
- /** @internal */
- this.normalizeInput = input => toFloat(input);
- /** @internal */
- this.createValidator = max => maxValidator(max);
- }
- }
- MaxValidator.ɵfac = /* @__PURE__ */function () {
- let ɵMaxValidator_BaseFactory;
- return function MaxValidator_Factory(t) {
- return (ɵMaxValidator_BaseFactory || (ɵMaxValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MaxValidator)))(t || MaxValidator);
- };
- }();
- MaxValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: MaxValidator,
- selectors: [["input", "type", "number", "max", "", "formControlName", ""], ["input", "type", "number", "max", "", "formControl", ""], ["input", "type", "number", "max", "", "ngModel", ""]],
- hostVars: 1,
- hostBindings: function MaxValidator_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("max", ctx._enabled ? ctx.max : null);
- }
- },
- inputs: {
- max: "max"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MAX_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MaxValidator, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]',
- providers: [MAX_VALIDATOR],
- host: {
- '[attr.max]': '_enabled ? max : null'
- }
- }]
- }], null, {
- max: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @description
- * Provider which adds `MinValidator` to the `NG_VALIDATORS` multi-provider list.
- */
- const MIN_VALIDATOR = {
- provide: NG_VALIDATORS,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MinValidator),
- multi: true
- };
- /**
- * A directive which installs the {@link MinValidator} for any `formControlName`,
- * `formControl`, or control with `ngModel` that also has a `min` attribute.
- *
- * @see [Form Validation](guide/form-validation)
- *
- * @usageNotes
- *
- * ### Adding a min validator
- *
- * The following example shows how to add a min validator to an input attached to an
- * ngModel binding.
- *
- * ```html
- * <input type="number" ngModel min="4">
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class MinValidator extends AbstractValidatorDirective {
- constructor() {
- super(...arguments);
- /** @internal */
- this.inputName = 'min';
- /** @internal */
- this.normalizeInput = input => toFloat(input);
- /** @internal */
- this.createValidator = min => minValidator(min);
- }
- }
- MinValidator.ɵfac = /* @__PURE__ */function () {
- let ɵMinValidator_BaseFactory;
- return function MinValidator_Factory(t) {
- return (ɵMinValidator_BaseFactory || (ɵMinValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MinValidator)))(t || MinValidator);
- };
- }();
- MinValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: MinValidator,
- selectors: [["input", "type", "number", "min", "", "formControlName", ""], ["input", "type", "number", "min", "", "formControl", ""], ["input", "type", "number", "min", "", "ngModel", ""]],
- hostVars: 1,
- hostBindings: function MinValidator_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("min", ctx._enabled ? ctx.min : null);
- }
- },
- inputs: {
- min: "min"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MIN_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MinValidator, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]',
- providers: [MIN_VALIDATOR],
- host: {
- '[attr.min]': '_enabled ? min : null'
- }
- }]
- }], null, {
- min: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @description
- * Provider which adds `RequiredValidator` to the `NG_VALIDATORS` multi-provider list.
- */
- const REQUIRED_VALIDATOR = {
- provide: NG_VALIDATORS,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => RequiredValidator),
- multi: true
- };
- /**
- * @description
- * Provider which adds `CheckboxRequiredValidator` to the `NG_VALIDATORS` multi-provider list.
- */
- const CHECKBOX_REQUIRED_VALIDATOR = {
- provide: NG_VALIDATORS,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => CheckboxRequiredValidator),
- multi: true
- };
- /**
- * @description
- * A directive that adds the `required` validator to any controls marked with the
- * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
- *
- * @see [Form Validation](guide/form-validation)
- *
- * @usageNotes
- *
- * ### Adding a required validator using template-driven forms
- *
- * ```
- * <input name="fullName" ngModel required>
- * ```
- *
- * @ngModule FormsModule
- * @ngModule ReactiveFormsModule
- * @publicApi
- */
- class RequiredValidator extends AbstractValidatorDirective {
- constructor() {
- super(...arguments);
- /** @internal */
- this.inputName = 'required';
- /** @internal */
- this.normalizeInput = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"];
- /** @internal */
- this.createValidator = input => requiredValidator;
- }
- /** @nodoc */
- enabled(input) {
- return input;
- }
- }
- RequiredValidator.ɵfac = /* @__PURE__ */function () {
- let ɵRequiredValidator_BaseFactory;
- return function RequiredValidator_Factory(t) {
- return (ɵRequiredValidator_BaseFactory || (ɵRequiredValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](RequiredValidator)))(t || RequiredValidator);
- };
- }();
- RequiredValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: RequiredValidator,
- selectors: [["", "required", "", "formControlName", "", 3, "type", "checkbox"], ["", "required", "", "formControl", "", 3, "type", "checkbox"], ["", "required", "", "ngModel", "", 3, "type", "checkbox"]],
- hostVars: 1,
- hostBindings: function RequiredValidator_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("required", ctx._enabled ? "" : null);
- }
- },
- inputs: {
- required: "required"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([REQUIRED_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RequiredValidator, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: ':not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]',
- providers: [REQUIRED_VALIDATOR],
- host: {
- '[attr.required]': '_enabled ? "" : null'
- }
- }]
- }], null, {
- required: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * A Directive that adds the `required` validator to checkbox controls marked with the
- * `required` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
- *
- * @see [Form Validation](guide/form-validation)
- *
- * @usageNotes
- *
- * ### Adding a required checkbox validator using template-driven forms
- *
- * The following example shows how to add a checkbox required validator to an input attached to an
- * ngModel binding.
- *
- * ```
- * <input type="checkbox" name="active" ngModel required>
- * ```
- *
- * @publicApi
- * @ngModule FormsModule
- * @ngModule ReactiveFormsModule
- */
- class CheckboxRequiredValidator extends RequiredValidator {
- constructor() {
- super(...arguments);
- /** @internal */
- this.createValidator = input => requiredTrueValidator;
- }
- }
- CheckboxRequiredValidator.ɵfac = /* @__PURE__ */function () {
- let ɵCheckboxRequiredValidator_BaseFactory;
- return function CheckboxRequiredValidator_Factory(t) {
- return (ɵCheckboxRequiredValidator_BaseFactory || (ɵCheckboxRequiredValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](CheckboxRequiredValidator)))(t || CheckboxRequiredValidator);
- };
- }();
- CheckboxRequiredValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: CheckboxRequiredValidator,
- selectors: [["input", "type", "checkbox", "required", "", "formControlName", ""], ["input", "type", "checkbox", "required", "", "formControl", ""], ["input", "type", "checkbox", "required", "", "ngModel", ""]],
- hostVars: 1,
- hostBindings: function CheckboxRequiredValidator_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("required", ctx._enabled ? "" : null);
- }
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([CHECKBOX_REQUIRED_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](CheckboxRequiredValidator, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]',
- providers: [CHECKBOX_REQUIRED_VALIDATOR],
- host: {
- '[attr.required]': '_enabled ? "" : null'
- }
- }]
- }], null, null);
- })();
- /**
- * @description
- * Provider which adds `EmailValidator` to the `NG_VALIDATORS` multi-provider list.
- */
- const EMAIL_VALIDATOR = {
- provide: NG_VALIDATORS,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => EmailValidator),
- multi: true
- };
- /**
- * A directive that adds the `email` validator to controls marked with the
- * `email` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
- *
- * The email validation is based on the WHATWG HTML specification with some enhancements to
- * incorporate more RFC rules. More information can be found on the [Validators.email
- * page](api/forms/Validators#email).
- *
- * @see [Form Validation](guide/form-validation)
- *
- * @usageNotes
- *
- * ### Adding an email validator
- *
- * The following example shows how to add an email validator to an input attached to an ngModel
- * binding.
- *
- * ```
- * <input type="email" name="email" ngModel email>
- * <input type="email" name="email" ngModel email="true">
- * <input type="email" name="email" ngModel [email]="true">
- * ```
- *
- * @publicApi
- * @ngModule FormsModule
- * @ngModule ReactiveFormsModule
- */
- class EmailValidator extends AbstractValidatorDirective {
- constructor() {
- super(...arguments);
- /** @internal */
- this.inputName = 'email';
- /** @internal */
- this.normalizeInput = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"];
- /** @internal */
- this.createValidator = input => emailValidator;
- }
- /** @nodoc */
- enabled(input) {
- return input;
- }
- }
- EmailValidator.ɵfac = /* @__PURE__ */function () {
- let ɵEmailValidator_BaseFactory;
- return function EmailValidator_Factory(t) {
- return (ɵEmailValidator_BaseFactory || (ɵEmailValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](EmailValidator)))(t || EmailValidator);
- };
- }();
- EmailValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: EmailValidator,
- selectors: [["", "email", "", "formControlName", ""], ["", "email", "", "formControl", ""], ["", "email", "", "ngModel", ""]],
- inputs: {
- email: "email"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([EMAIL_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](EmailValidator, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[email][formControlName],[email][formControl],[email][ngModel]',
- providers: [EMAIL_VALIDATOR]
- }]
- }], null, {
- email: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @description
- * Provider which adds `MinLengthValidator` to the `NG_VALIDATORS` multi-provider list.
- */
- const MIN_LENGTH_VALIDATOR = {
- provide: NG_VALIDATORS,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MinLengthValidator),
- multi: true
- };
- /**
- * A directive that adds minimum length validation to controls marked with the
- * `minlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
- *
- * @see [Form Validation](guide/form-validation)
- *
- * @usageNotes
- *
- * ### Adding a minimum length validator
- *
- * The following example shows how to add a minimum length validator to an input attached to an
- * ngModel binding.
- *
- * ```html
- * <input name="firstName" ngModel minlength="4">
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class MinLengthValidator extends AbstractValidatorDirective {
- constructor() {
- super(...arguments);
- /** @internal */
- this.inputName = 'minlength';
- /** @internal */
- this.normalizeInput = input => toInteger(input);
- /** @internal */
- this.createValidator = minlength => minLengthValidator(minlength);
- }
- }
- MinLengthValidator.ɵfac = /* @__PURE__ */function () {
- let ɵMinLengthValidator_BaseFactory;
- return function MinLengthValidator_Factory(t) {
- return (ɵMinLengthValidator_BaseFactory || (ɵMinLengthValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MinLengthValidator)))(t || MinLengthValidator);
- };
- }();
- MinLengthValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: MinLengthValidator,
- selectors: [["", "minlength", "", "formControlName", ""], ["", "minlength", "", "formControl", ""], ["", "minlength", "", "ngModel", ""]],
- hostVars: 1,
- hostBindings: function MinLengthValidator_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("minlength", ctx._enabled ? ctx.minlength : null);
- }
- },
- inputs: {
- minlength: "minlength"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MIN_LENGTH_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MinLengthValidator, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',
- providers: [MIN_LENGTH_VALIDATOR],
- host: {
- '[attr.minlength]': '_enabled ? minlength : null'
- }
- }]
- }], null, {
- minlength: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @description
- * Provider which adds `MaxLengthValidator` to the `NG_VALIDATORS` multi-provider list.
- */
- const MAX_LENGTH_VALIDATOR = {
- provide: NG_VALIDATORS,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MaxLengthValidator),
- multi: true
- };
- /**
- * A directive that adds max length validation to controls marked with the
- * `maxlength` attribute. The directive is provided with the `NG_VALIDATORS` multi-provider list.
- *
- * @see [Form Validation](guide/form-validation)
- *
- * @usageNotes
- *
- * ### Adding a maximum length validator
- *
- * The following example shows how to add a maximum length validator to an input attached to an
- * ngModel binding.
- *
- * ```html
- * <input name="firstName" ngModel maxlength="25">
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class MaxLengthValidator extends AbstractValidatorDirective {
- constructor() {
- super(...arguments);
- /** @internal */
- this.inputName = 'maxlength';
- /** @internal */
- this.normalizeInput = input => toInteger(input);
- /** @internal */
- this.createValidator = maxlength => maxLengthValidator(maxlength);
- }
- }
- MaxLengthValidator.ɵfac = /* @__PURE__ */function () {
- let ɵMaxLengthValidator_BaseFactory;
- return function MaxLengthValidator_Factory(t) {
- return (ɵMaxLengthValidator_BaseFactory || (ɵMaxLengthValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MaxLengthValidator)))(t || MaxLengthValidator);
- };
- }();
- MaxLengthValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: MaxLengthValidator,
- selectors: [["", "maxlength", "", "formControlName", ""], ["", "maxlength", "", "formControl", ""], ["", "maxlength", "", "ngModel", ""]],
- hostVars: 1,
- hostBindings: function MaxLengthValidator_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("maxlength", ctx._enabled ? ctx.maxlength : null);
- }
- },
- inputs: {
- maxlength: "maxlength"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MAX_LENGTH_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MaxLengthValidator, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',
- providers: [MAX_LENGTH_VALIDATOR],
- host: {
- '[attr.maxlength]': '_enabled ? maxlength : null'
- }
- }]
- }], null, {
- maxlength: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @description
- * Provider which adds `PatternValidator` to the `NG_VALIDATORS` multi-provider list.
- */
- const PATTERN_VALIDATOR = {
- provide: NG_VALIDATORS,
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => PatternValidator),
- multi: true
- };
- /**
- * @description
- * A directive that adds regex pattern validation to controls marked with the
- * `pattern` attribute. The regex must match the entire control value.
- * The directive is provided with the `NG_VALIDATORS` multi-provider list.
- *
- * @see [Form Validation](guide/form-validation)
- *
- * @usageNotes
- *
- * ### Adding a pattern validator
- *
- * The following example shows how to add a pattern validator to an input attached to an
- * ngModel binding.
- *
- * ```html
- * <input name="firstName" ngModel pattern="[a-zA-Z ]*">
- * ```
- *
- * @ngModule ReactiveFormsModule
- * @ngModule FormsModule
- * @publicApi
- */
- class PatternValidator extends AbstractValidatorDirective {
- constructor() {
- super(...arguments);
- /** @internal */
- this.inputName = 'pattern';
- /** @internal */
- this.normalizeInput = input => input;
- /** @internal */
- this.createValidator = input => patternValidator(input);
- }
- }
- PatternValidator.ɵfac = /* @__PURE__ */function () {
- let ɵPatternValidator_BaseFactory;
- return function PatternValidator_Factory(t) {
- return (ɵPatternValidator_BaseFactory || (ɵPatternValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](PatternValidator)))(t || PatternValidator);
- };
- }();
- PatternValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: PatternValidator,
- selectors: [["", "pattern", "", "formControlName", ""], ["", "pattern", "", "formControl", ""], ["", "pattern", "", "ngModel", ""]],
- hostVars: 1,
- hostBindings: function PatternValidator_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("pattern", ctx._enabled ? ctx.pattern : null);
- }
- },
- inputs: {
- pattern: "pattern"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([PATTERN_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PatternValidator, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',
- providers: [PATTERN_VALIDATOR],
- host: {
- '[attr.pattern]': '_enabled ? pattern : null'
- }
- }]
- }], null, {
- pattern: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const SHARED_FORM_DIRECTIVES = [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator, MinValidator, MaxValidator];
- const TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm];
- const REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];
- /**
- * Internal module used for sharing directives between FormsModule and ReactiveFormsModule
- */
- class ɵInternalFormsSharedModule {}
- ɵInternalFormsSharedModule.ɵfac = function ɵInternalFormsSharedModule_Factory(t) {
- return new (t || ɵInternalFormsSharedModule)();
- };
- ɵInternalFormsSharedModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
- type: ɵInternalFormsSharedModule,
- declarations: [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator, MinValidator, MaxValidator],
- imports: [RadioControlRegistryModule],
- exports: [ɵNgNoValidate, NgSelectOption, ɵNgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor, RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor, SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus, NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator, CheckboxRequiredValidator, EmailValidator, MinValidator, MaxValidator]
- });
- ɵInternalFormsSharedModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
- imports: [RadioControlRegistryModule]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ɵInternalFormsSharedModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
- args: [{
- declarations: SHARED_FORM_DIRECTIVES,
- imports: [RadioControlRegistryModule],
- exports: SHARED_FORM_DIRECTIVES
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Exports the required providers and directives for template-driven forms,
- * making them available for import by NgModules that import this module.
- *
- * Providers associated with this module:
- * * `RadioControlRegistry`
- *
- * @see [Forms Overview](/guide/forms-overview)
- * @see [Template-driven Forms Guide](/guide/forms)
- *
- * @publicApi
- */
- class FormsModule {}
- FormsModule.ɵfac = function FormsModule_Factory(t) {
- return new (t || FormsModule)();
- };
- FormsModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
- type: FormsModule,
- declarations: [NgModel, NgModelGroup, NgForm],
- exports: [ɵInternalFormsSharedModule, NgModel, NgModelGroup, NgForm]
- });
- FormsModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
- imports: [ɵInternalFormsSharedModule]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormsModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
- args: [{
- declarations: TEMPLATE_DRIVEN_DIRECTIVES,
- exports: [ɵInternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]
- }]
- }], null, null);
- })();
- /**
- * Exports the required infrastructure and directives for reactive forms,
- * making them available for import by NgModules that import this module.
- *
- * Providers associated with this module:
- * * `FormBuilder`
- * * `RadioControlRegistry`
- *
- * @see [Forms Overview](guide/forms-overview)
- * @see [Reactive Forms Guide](guide/reactive-forms)
- *
- * @publicApi
- */
- class ReactiveFormsModule {
- /**
- * @description
- * Provides options for configuring the reactive forms module.
- *
- * @param opts An object of configuration options
- * * `warnOnNgModelWithFormControl` Configures when to emit a warning when an `ngModel`
- * binding is used with reactive form directives.
- */
- static withConfig(opts) {
- return {
- ngModule: ReactiveFormsModule,
- providers: [{
- provide: NG_MODEL_WITH_FORM_CONTROL_WARNING,
- useValue: opts.warnOnNgModelWithFormControl
- }]
- };
- }
- }
- ReactiveFormsModule.ɵfac = function ReactiveFormsModule_Factory(t) {
- return new (t || ReactiveFormsModule)();
- };
- ReactiveFormsModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
- type: ReactiveFormsModule,
- declarations: [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName],
- exports: [ɵInternalFormsSharedModule, FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName]
- });
- ReactiveFormsModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
- imports: [ɵInternalFormsSharedModule]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ReactiveFormsModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
- args: [{
- declarations: [REACTIVE_DRIVEN_DIRECTIVES],
- exports: [ɵInternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Tracks the value and validity state of an array of `FormControl`,
- * `FormGroup` or `FormArray` instances.
- *
- * A `FormArray` aggregates the values of each child `FormControl` into an array.
- * It calculates its status by reducing the status values of its children. For example, if one of
- * the controls in a `FormArray` is invalid, the entire array becomes invalid.
- *
- * `FormArray` accepts one generic argument, which is the type of the controls inside.
- * If you need a heterogenous array, use {@link UntypedFormArray}.
- *
- * `FormArray` is one of the four fundamental building blocks used to define forms in Angular,
- * along with `FormControl`, `FormGroup`, and `FormRecord`.
- *
- * @usageNotes
- *
- * ### Create an array of form controls
- *
- * ```
- * const arr = new FormArray([
- * new FormControl('Nancy', Validators.minLength(2)),
- * new FormControl('Drew'),
- * ]);
- *
- * console.log(arr.value); // ['Nancy', 'Drew']
- * console.log(arr.status); // 'VALID'
- * ```
- *
- * ### Create a form array with array-level validators
- *
- * You include array-level validators and async validators. These come in handy
- * when you want to perform validation that considers the value of more than one child
- * control.
- *
- * The two types of validators are passed in separately as the second and third arg
- * respectively, or together as part of an options object.
- *
- * ```
- * const arr = new FormArray([
- * new FormControl('Nancy'),
- * new FormControl('Drew')
- * ], {validators: myValidator, asyncValidators: myAsyncValidator});
- * ```
- *
- * ### Set the updateOn property for all controls in a form array
- *
- * The options object is used to set a default value for each child
- * control's `updateOn` property. If you set `updateOn` to `'blur'` at the
- * array level, all child controls default to 'blur', unless the child
- * has explicitly specified a different `updateOn` value.
- *
- * ```ts
- * const arr = new FormArray([
- * new FormControl()
- * ], {updateOn: 'blur'});
- * ```
- *
- * ### Adding or removing controls from a form array
- *
- * To change the controls in the array, use the `push`, `insert`, `removeAt` or `clear` methods
- * in `FormArray` itself. These methods ensure the controls are properly tracked in the
- * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate
- * the `FormArray` directly, as that result in strange and unexpected behavior such
- * as broken change detection.
- *
- * @publicApi
- */
- class FormArray extends AbstractControl {
- /**
- * Creates a new `FormArray` instance.
- *
- * @param controls An array of child controls. Each child control is given an index
- * where it is registered.
- *
- * @param validatorOrOpts A synchronous validator function, or an array of
- * such functions, or an `AbstractControlOptions` object that contains validation functions
- * and a validation trigger.
- *
- * @param asyncValidator A single async validator or array of async validator functions
- *
- */
- constructor(controls, validatorOrOpts, asyncValidator) {
- super(pickValidators(validatorOrOpts), pickAsyncValidators(asyncValidator, validatorOrOpts));
- this.controls = controls;
- this._initObservables();
- this._setUpdateStrategy(validatorOrOpts);
- this._setUpControls();
- this.updateValueAndValidity({
- onlySelf: true,
- // If `asyncValidator` is present, it will trigger control status change from `PENDING` to
- // `VALID` or `INVALID`.
- // The status should be broadcasted via the `statusChanges` observable, so we set `emitEvent`
- // to `true` to allow that during the control creation process.
- emitEvent: !!this.asyncValidator
- });
- }
- /**
- * Get the `AbstractControl` at the given `index` in the array.
- *
- * @param index Index in the array to retrieve the control. If `index` is negative, it will wrap
- * around from the back, and if index is greatly negative (less than `-length`), the result is
- * undefined. This behavior is the same as `Array.at(index)`.
- */
- at(index) {
- return this.controls[this._adjustIndex(index)];
- }
- /**
- * Insert a new `AbstractControl` at the end of the array.
- *
- * @param control Form control to be inserted
- * @param options Specifies whether this FormArray instance should emit events after a new
- * control is added.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges` observables emit events with the latest status and value when the control is
- * inserted. When false, no events are emitted.
- */
- push(control, options = {}) {
- this.controls.push(control);
- this._registerControl(control);
- this.updateValueAndValidity({
- emitEvent: options.emitEvent
- });
- this._onCollectionChange();
- }
- /**
- * Insert a new `AbstractControl` at the given `index` in the array.
- *
- * @param index Index in the array to insert the control. If `index` is negative, wraps around
- * from the back. If `index` is greatly negative (less than `-length`), prepends to the array.
- * This behavior is the same as `Array.splice(index, 0, control)`.
- * @param control Form control to be inserted
- * @param options Specifies whether this FormArray instance should emit events after a new
- * control is inserted.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges` observables emit events with the latest status and value when the control is
- * inserted. When false, no events are emitted.
- */
- insert(index, control, options = {}) {
- this.controls.splice(index, 0, control);
- this._registerControl(control);
- this.updateValueAndValidity({
- emitEvent: options.emitEvent
- });
- }
- /**
- * Remove the control at the given `index` in the array.
- *
- * @param index Index in the array to remove the control. If `index` is negative, wraps around
- * from the back. If `index` is greatly negative (less than `-length`), removes the first
- * element. This behavior is the same as `Array.splice(index, 1)`.
- * @param options Specifies whether this FormArray instance should emit events after a
- * control is removed.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges` observables emit events with the latest status and value when the control is
- * removed. When false, no events are emitted.
- */
- removeAt(index, options = {}) {
- // Adjust the index, then clamp it at no less than 0 to prevent undesired underflows.
- let adjustedIndex = this._adjustIndex(index);
- if (adjustedIndex < 0) adjustedIndex = 0;
- if (this.controls[adjustedIndex]) this.controls[adjustedIndex]._registerOnCollectionChange(() => {});
- this.controls.splice(adjustedIndex, 1);
- this.updateValueAndValidity({
- emitEvent: options.emitEvent
- });
- }
- /**
- * Replace an existing control.
- *
- * @param index Index in the array to replace the control. If `index` is negative, wraps around
- * from the back. If `index` is greatly negative (less than `-length`), replaces the first
- * element. This behavior is the same as `Array.splice(index, 1, control)`.
- * @param control The `AbstractControl` control to replace the existing control
- * @param options Specifies whether this FormArray instance should emit events after an
- * existing control is replaced with a new one.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges` observables emit events with the latest status and value when the control is
- * replaced with a new one. When false, no events are emitted.
- */
- setControl(index, control, options = {}) {
- // Adjust the index, then clamp it at no less than 0 to prevent undesired underflows.
- let adjustedIndex = this._adjustIndex(index);
- if (adjustedIndex < 0) adjustedIndex = 0;
- if (this.controls[adjustedIndex]) this.controls[adjustedIndex]._registerOnCollectionChange(() => {});
- this.controls.splice(adjustedIndex, 1);
- if (control) {
- this.controls.splice(adjustedIndex, 0, control);
- this._registerControl(control);
- }
- this.updateValueAndValidity({
- emitEvent: options.emitEvent
- });
- this._onCollectionChange();
- }
- /**
- * Length of the control array.
- */
- get length() {
- return this.controls.length;
- }
- /**
- * Sets the value of the `FormArray`. It accepts an array that matches
- * the structure of the control.
- *
- * This method performs strict checks, and throws an error if you try
- * to set the value of a control that doesn't exist or if you exclude the
- * value of a control.
- *
- * @usageNotes
- * ### Set the values for the controls in the form array
- *
- * ```
- * const arr = new FormArray([
- * new FormControl(),
- * new FormControl()
- * ]);
- * console.log(arr.value); // [null, null]
- *
- * arr.setValue(['Nancy', 'Drew']);
- * console.log(arr.value); // ['Nancy', 'Drew']
- * ```
- *
- * @param value Array of values for the controls
- * @param options Configure options that determine how the control propagates changes and
- * emits events after the value changes
- *
- * * `onlySelf`: When true, each change only affects this control, and not its parent. Default
- * is false.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges`
- * observables emit events with the latest status and value when the control value is updated.
- * When false, no events are emitted.
- * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity
- * updateValueAndValidity} method.
- */
- setValue(value, options = {}) {
- assertAllValuesPresent(this, false, value);
- value.forEach((newValue, index) => {
- assertControlPresent(this, false, index);
- this.at(index).setValue(newValue, {
- onlySelf: true,
- emitEvent: options.emitEvent
- });
- });
- this.updateValueAndValidity(options);
- }
- /**
- * Patches the value of the `FormArray`. It accepts an array that matches the
- * structure of the control, and does its best to match the values to the correct
- * controls in the group.
- *
- * It accepts both super-sets and sub-sets of the array without throwing an error.
- *
- * @usageNotes
- * ### Patch the values for controls in a form array
- *
- * ```
- * const arr = new FormArray([
- * new FormControl(),
- * new FormControl()
- * ]);
- * console.log(arr.value); // [null, null]
- *
- * arr.patchValue(['Nancy']);
- * console.log(arr.value); // ['Nancy', null]
- * ```
- *
- * @param value Array of latest values for the controls
- * @param options Configure options that determine how the control propagates changes and
- * emits events after the value changes
- *
- * * `onlySelf`: When true, each change only affects this control, and not its parent. Default
- * is false.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges` observables emit events with the latest status and value when the control
- * value is updated. When false, no events are emitted. The configuration options are passed to
- * the {@link AbstractControl#updateValueAndValidity updateValueAndValidity} method.
- */
- patchValue(value, options = {}) {
- // Even though the `value` argument type doesn't allow `null` and `undefined` values, the
- // `patchValue` can be called recursively and inner data structures might have these values,
- // so we just ignore such cases when a field containing FormArray instance receives `null` or
- // `undefined` as a value.
- if (value == null
- /* both `null` and `undefined` */
- ) return;
- value.forEach((newValue, index) => {
- if (this.at(index)) {
- this.at(index).patchValue(newValue, {
- onlySelf: true,
- emitEvent: options.emitEvent
- });
- }
- });
- this.updateValueAndValidity(options);
- }
- /**
- * Resets the `FormArray` and all descendants are marked `pristine` and `untouched`, and the
- * value of all descendants to null or null maps.
- *
- * You reset to a specific form state by passing in an array of states
- * that matches the structure of the control. The state is a standalone value
- * or a form state object with both a value and a disabled status.
- *
- * @usageNotes
- * ### Reset the values in a form array
- *
- * ```ts
- * const arr = new FormArray([
- * new FormControl(),
- * new FormControl()
- * ]);
- * arr.reset(['name', 'last name']);
- *
- * console.log(arr.value); // ['name', 'last name']
- * ```
- *
- * ### Reset the values in a form array and the disabled status for the first control
- *
- * ```
- * arr.reset([
- * {value: 'name', disabled: true},
- * 'last'
- * ]);
- *
- * console.log(arr.value); // ['last']
- * console.log(arr.at(0).status); // 'DISABLED'
- * ```
- *
- * @param value Array of values for the controls
- * @param options Configure options that determine how the control propagates changes and
- * emits events after the value changes
- *
- * * `onlySelf`: When true, each change only affects this control, and not its parent. Default
- * is false.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges`
- * observables emit events with the latest status and value when the control is reset.
- * When false, no events are emitted.
- * The configuration options are passed to the {@link AbstractControl#updateValueAndValidity
- * updateValueAndValidity} method.
- */
- reset(value = [], options = {}) {
- this._forEachChild((control, index) => {
- control.reset(value[index], {
- onlySelf: true,
- emitEvent: options.emitEvent
- });
- });
- this._updatePristine(options);
- this._updateTouched(options);
- this.updateValueAndValidity(options);
- }
- /**
- * The aggregate value of the array, including any disabled controls.
- *
- * Reports all values regardless of disabled status.
- */
- getRawValue() {
- return this.controls.map(control => control.getRawValue());
- }
- /**
- * Remove all controls in the `FormArray`.
- *
- * @param options Specifies whether this FormArray instance should emit events after all
- * controls are removed.
- * * `emitEvent`: When true or not supplied (the default), both the `statusChanges` and
- * `valueChanges` observables emit events with the latest status and value when all controls
- * in this FormArray instance are removed. When false, no events are emitted.
- *
- * @usageNotes
- * ### Remove all elements from a FormArray
- *
- * ```ts
- * const arr = new FormArray([
- * new FormControl(),
- * new FormControl()
- * ]);
- * console.log(arr.length); // 2
- *
- * arr.clear();
- * console.log(arr.length); // 0
- * ```
- *
- * It's a simpler and more efficient alternative to removing all elements one by one:
- *
- * ```ts
- * const arr = new FormArray([
- * new FormControl(),
- * new FormControl()
- * ]);
- *
- * while (arr.length) {
- * arr.removeAt(0);
- * }
- * ```
- */
- clear(options = {}) {
- if (this.controls.length < 1) return;
- this._forEachChild(control => control._registerOnCollectionChange(() => {}));
- this.controls.splice(0);
- this.updateValueAndValidity({
- emitEvent: options.emitEvent
- });
- }
- /**
- * Adjusts a negative index by summing it with the length of the array. For very negative
- * indices, the result may remain negative.
- * @internal
- */
- _adjustIndex(index) {
- return index < 0 ? index + this.length : index;
- }
- /** @internal */
- _syncPendingControls() {
- let subtreeUpdated = this.controls.reduce((updated, child) => {
- return child._syncPendingControls() ? true : updated;
- }, false);
- if (subtreeUpdated) this.updateValueAndValidity({
- onlySelf: true
- });
- return subtreeUpdated;
- }
- /** @internal */
- _forEachChild(cb) {
- this.controls.forEach((control, index) => {
- cb(control, index);
- });
- }
- /** @internal */
- _updateValue() {
- this.value = this.controls.filter(control => control.enabled || this.disabled).map(control => control.value);
- }
- /** @internal */
- _anyControls(condition) {
- return this.controls.some(control => control.enabled && condition(control));
- }
- /** @internal */
- _setUpControls() {
- this._forEachChild(control => this._registerControl(control));
- }
- /** @internal */
- _allControlsDisabled() {
- for (const control of this.controls) {
- if (control.enabled) return false;
- }
- return this.controls.length > 0 || this.disabled;
- }
- _registerControl(control) {
- control.setParent(this);
- control._registerOnCollectionChange(this._onCollectionChange);
- }
- /** @internal */
- _find(name) {
- var _a;
- return (_a = this.at(name)) !== null && _a !== void 0 ? _a : null;
- }
- }
- const UntypedFormArray = FormArray;
- const isFormArray = control => control instanceof FormArray;
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function isAbstractControlOptions(options) {
- return !!options && (options.asyncValidators !== undefined || options.validators !== undefined || options.updateOn !== undefined);
- } // clang-format on
- /**
- * @description
- * Creates an `AbstractControl` from a user-specified configuration.
- *
- * The `FormBuilder` provides syntactic sugar that shortens creating instances of a
- * `FormControl`, `FormGroup`, or `FormArray`. It reduces the amount of boilerplate needed to
- * build complex forms.
- *
- * @see [Reactive Forms Guide](guide/reactive-forms)
- *
- * @publicApi
- */
- class FormBuilder {
- constructor() {
- this.useNonNullable = false;
- }
- /**
- * @description
- * Returns a FormBuilder in which automatically constructed @see FormControl} elements
- * have `{nonNullable: true}` and are non-nullable.
- *
- * **Constructing non-nullable controls**
- *
- * When constructing a control, it will be non-nullable, and will reset to its initial value.
- *
- * ```ts
- * let nnfb = new FormBuilder().nonNullable;
- * let name = nnfb.control('Alex'); // FormControl<string>
- * name.reset();
- * console.log(name); // 'Alex'
- * ```
- *
- * **Constructing non-nullable groups or arrays**
- *
- * When constructing a group or array, all automatically created inner controls will be
- * non-nullable, and will reset to their initial values.
- *
- * ```ts
- * let nnfb = new FormBuilder().nonNullable;
- * let name = nnfb.group({who: 'Alex'}); // FormGroup<{who: FormControl<string>}>
- * name.reset();
- * console.log(name); // {who: 'Alex'}
- * ```
- * **Constructing *nullable* fields on groups or arrays**
- *
- * It is still possible to have a nullable field. In particular, any `FormControl` which is
- * *already* constructed will not be altered. For example:
- *
- * ```ts
- * let nnfb = new FormBuilder().nonNullable;
- * // FormGroup<{who: FormControl<string|null>}>
- * let name = nnfb.group({who: new FormControl('Alex')});
- * name.reset(); console.log(name); // {who: null}
- * ```
- *
- * Because the inner control is constructed explicitly by the caller, the builder has
- * no control over how it is created, and cannot exclude the `null`.
- */
- get nonNullable() {
- const nnfb = new FormBuilder();
- nnfb.useNonNullable = true;
- return nnfb;
- }
- group(controls, options = null) {
- const reducedControls = this._reduceControls(controls);
- let newOptions = {};
- if (isAbstractControlOptions(options)) {
- // `options` are `AbstractControlOptions`
- newOptions = options;
- } else if (options !== null) {
- // `options` are legacy form group options
- newOptions.validators = options.validator;
- newOptions.asyncValidators = options.asyncValidator;
- }
- return new FormGroup(reducedControls, newOptions);
- }
- /**
- * @description
- * Constructs a new `FormRecord` instance. Accepts a single generic argument, which is an object
- * containing all the keys and corresponding inner control types.
- *
- * @param controls A collection of child controls. The key for each child is the name
- * under which it is registered.
- *
- * @param options Configuration options object for the `FormRecord`. The object should have the
- * `AbstractControlOptions` type and might contain the following fields:
- * * `validators`: A synchronous validator function, or an array of validator functions.
- * * `asyncValidators`: A single async validator or array of async validator functions.
- * * `updateOn`: The event upon which the control should be updated (options: 'change' | 'blur'
- * | submit').
- */
- record(controls, options = null) {
- const reducedControls = this._reduceControls(controls); // Cast to `any` because the inferred types are not as specific as Element.
- return new FormRecord(reducedControls, options);
- }
- /**
- * @description
- * Constructs a new `FormControl` with the given state, validators and options. Sets
- * `{nonNullable: true}` in the options to get a non-nullable control. Otherwise, the
- * control will be nullable. Accepts a single generic argument, which is the type of the
- * control's value.
- *
- * @param formState Initializes the control with an initial state value, or
- * with an object that contains both a value and a disabled status.
- *
- * @param validatorOrOpts A synchronous validator function, or an array of
- * such functions, or a `FormControlOptions` object that contains
- * validation functions and a validation trigger.
- *
- * @param asyncValidator A single async validator or array of async validator
- * functions.
- *
- * @usageNotes
- *
- * ### Initialize a control as disabled
- *
- * The following example returns a control with an initial value in a disabled state.
- *
- * <code-example path="forms/ts/formBuilder/form_builder_example.ts" region="disabled-control">
- * </code-example>
- */
- control(formState, validatorOrOpts, asyncValidator) {
- let newOptions = {};
- if (!this.useNonNullable) {
- return new FormControl(formState, validatorOrOpts, asyncValidator);
- }
- if (isAbstractControlOptions(validatorOrOpts)) {
- // If the second argument is options, then they are copied.
- newOptions = validatorOrOpts;
- } else {
- // If the other arguments are validators, they are copied into an options object.
- newOptions.validators = validatorOrOpts;
- newOptions.asyncValidators = asyncValidator;
- }
- return new FormControl(formState, Object.assign(Object.assign({}, newOptions), {
- nonNullable: true
- }));
- }
- /**
- * Constructs a new `FormArray` from the given array of configurations,
- * validators and options. Accepts a single generic argument, which is the type of each control
- * inside the array.
- *
- * @param controls An array of child controls or control configs. Each child control is given an
- * index when it is registered.
- *
- * @param validatorOrOpts A synchronous validator function, or an array of such functions, or an
- * `AbstractControlOptions` object that contains
- * validation functions and a validation trigger.
- *
- * @param asyncValidator A single async validator or array of async validator functions.
- */
- array(controls, validatorOrOpts, asyncValidator) {
- const createdControls = controls.map(c => this._createControl(c)); // Cast to `any` because the inferred types are not as specific as Element.
- return new FormArray(createdControls, validatorOrOpts, asyncValidator);
- }
- /** @internal */
- _reduceControls(controls) {
- const createdControls = {};
- Object.keys(controls).forEach(controlName => {
- createdControls[controlName] = this._createControl(controls[controlName]);
- });
- return createdControls;
- }
- /** @internal */
- _createControl(controls) {
- if (controls instanceof FormControl) {
- return controls;
- } else if (controls instanceof AbstractControl) {
- // A control; just return it
- return controls;
- } else if (Array.isArray(controls)) {
- // ControlConfig Tuple
- const value = controls[0];
- const validator = controls.length > 1 ? controls[1] : null;
- const asyncValidator = controls.length > 2 ? controls[2] : null;
- return this.control(value, validator, asyncValidator);
- } else {
- // T or FormControlState<T>
- return this.control(controls);
- }
- }
- }
- FormBuilder.ɵfac = function FormBuilder_Factory(t) {
- return new (t || FormBuilder)();
- };
- FormBuilder.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: FormBuilder,
- factory: FormBuilder.ɵfac,
- providedIn: ReactiveFormsModule
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](FormBuilder, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: ReactiveFormsModule
- }]
- }], null, null);
- })();
- /**
- * @description
- * `NonNullableFormBuilder` is similar to {@link FormBuilder}, but automatically constructed
- * {@link FormControl} elements have `{nonNullable: true}` and are non-nullable.
- *
- * @publicApi
- */
- class NonNullableFormBuilder {}
- NonNullableFormBuilder.ɵfac = function NonNullableFormBuilder_Factory(t) {
- return new (t || NonNullableFormBuilder)();
- };
- NonNullableFormBuilder.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: NonNullableFormBuilder,
- factory: function () {
- return (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(FormBuilder).nonNullable)();
- },
- providedIn: ReactiveFormsModule
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NonNullableFormBuilder, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: ReactiveFormsModule,
- useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(FormBuilder).nonNullable
- }]
- }], null, null);
- })();
- /**
- * UntypedFormBuilder is the same as @see FormBuilder, but it provides untyped controls.
- */
- class UntypedFormBuilder extends FormBuilder {
- group(controlsConfig, options = null) {
- return super.group(controlsConfig, options);
- }
- /**
- * Like `FormBuilder#control`, except the resulting control is untyped.
- */
- control(formState, validatorOrOpts, asyncValidator) {
- return super.control(formState, validatorOrOpts, asyncValidator);
- }
- /**
- * Like `FormBuilder#array`, except the resulting array is untyped.
- */
- array(controlsConfig, validatorOrOpts, asyncValidator) {
- return super.array(controlsConfig, validatorOrOpts, asyncValidator);
- }
- }
- UntypedFormBuilder.ɵfac = /* @__PURE__ */function () {
- let ɵUntypedFormBuilder_BaseFactory;
- return function UntypedFormBuilder_Factory(t) {
- return (ɵUntypedFormBuilder_BaseFactory || (ɵUntypedFormBuilder_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](UntypedFormBuilder)))(t || UntypedFormBuilder);
- };
- }();
- UntypedFormBuilder.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: UntypedFormBuilder,
- factory: UntypedFormBuilder.ɵfac,
- providedIn: ReactiveFormsModule
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UntypedFormBuilder, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: ReactiveFormsModule
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- */
- const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('14.2.7');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file only reexports content of the `src` folder. Keep it that way.
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 8150:
- /*!**********************************************************************************************!*\
- !*** ./node_modules/@angular/platform-browser-dynamic/fesm2015/platform-browser-dynamic.mjs ***!
- \**********************************************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "JitCompilerFactory": () => (/* binding */ JitCompilerFactory),
- /* harmony export */ "RESOURCE_CACHE_PROVIDER": () => (/* binding */ RESOURCE_CACHE_PROVIDER),
- /* harmony export */ "VERSION": () => (/* binding */ VERSION),
- /* harmony export */ "platformBrowserDynamic": () => (/* binding */ platformBrowserDynamic),
- /* harmony export */ "ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS": () => (/* binding */ INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS),
- /* harmony export */ "ɵplatformCoreDynamic": () => (/* binding */ platformCoreDynamic)
- /* harmony export */ });
- /* harmony import */ var _angular_compiler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/compiler */ 8305);
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 3184);
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 6362);
- /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ 318);
- /**
- * @license Angular v14.2.7
- * (c) 2010-2022 Google LLC. https://angular.io/
- * License: MIT
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const ERROR_COLLECTOR_TOKEN = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('ErrorCollector');
- /**
- * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.
- */
- const DEFAULT_PACKAGE_URL_PROVIDER = {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.PACKAGE_ROOT_URL,
- useValue: '/'
- };
- const COMPILER_PROVIDERS = [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Compiler,
- useFactory: () => new _angular_core__WEBPACK_IMPORTED_MODULE_1__.Compiler()
- }];
- /**
- * @publicApi
- *
- * @deprecated
- * Ivy JIT mode doesn't require accessing this symbol.
- * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
- * additional context.
- */
- class JitCompilerFactory {
- /* @internal */
- constructor(defaultOptions) {
- const compilerOptions = {
- useJit: true,
- defaultEncapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ViewEncapsulation.Emulated,
- missingTranslation: _angular_core__WEBPACK_IMPORTED_MODULE_1__.MissingTranslationStrategy.Warning
- };
- this._defaultOptions = [compilerOptions, ...defaultOptions];
- }
- createCompiler(options = []) {
- const opts = _mergeOptions(this._defaultOptions.concat(options));
- const injector = _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector.create([COMPILER_PROVIDERS, {
- provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.CompilerConfig,
- useFactory: () => {
- return new _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.CompilerConfig({
- // let explicit values from the compiler options overwrite options
- // from the app providers
- useJit: opts.useJit,
- jitDevMode: (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.isDevMode)(),
- // let explicit values from the compiler options overwrite options
- // from the app providers
- defaultEncapsulation: opts.defaultEncapsulation,
- missingTranslation: opts.missingTranslation,
- preserveWhitespaces: opts.preserveWhitespaces
- });
- },
- deps: []
- }, opts.providers]);
- return injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__.Compiler);
- }
- }
- function _mergeOptions(optionsArr) {
- return {
- useJit: _lastDefined(optionsArr.map(options => options.useJit)),
- defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),
- providers: _mergeArrays(optionsArr.map(options => options.providers)),
- missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),
- preserveWhitespaces: _lastDefined(optionsArr.map(options => options.preserveWhitespaces))
- };
- }
- function _lastDefined(args) {
- for (let i = args.length - 1; i >= 0; i--) {
- if (args[i] !== undefined) {
- return args[i];
- }
- }
- return undefined;
- }
- function _mergeArrays(parts) {
- const result = [];
- parts.forEach(part => part && result.push(...part));
- return result;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A platform that included corePlatform and the compiler.
- *
- * @publicApi
- */
- const platformCoreDynamic = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.createPlatformFactory)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.platformCore, 'coreDynamic', [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.COMPILER_OPTIONS,
- useValue: {},
- multi: true
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.CompilerFactory,
- useClass: JitCompilerFactory,
- deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.COMPILER_OPTIONS]
- }]);
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class ResourceLoaderImpl extends _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.ResourceLoader {
- get(url) {
- let resolve;
- let reject;
- const promise = new Promise((res, rej) => {
- resolve = res;
- reject = rej;
- });
- const xhr = new XMLHttpRequest();
- xhr.open('GET', url, true);
- xhr.responseType = 'text';
- xhr.onload = function () {
- // responseText is the old-school way of retrieving response (supported by IE8 & 9)
- // response/responseType properties were introduced in ResourceLoader Level2 spec (supported
- // by IE10)
- const response = xhr.response || xhr.responseText; // normalize IE9 bug (https://bugs.jquery.com/ticket/1450)
- let status = xhr.status === 1223 ? 204 : xhr.status; // fix status code when it is 0 (0 status is undocumented).
- // Occurs when accessing file resources or on Android 4.1 stock browser
- // while retrieving files from application cache.
- if (status === 0) {
- status = response ? 200 : 0;
- }
- if (200 <= status && status <= 300) {
- resolve(response);
- } else {
- reject(`Failed to load ${url}`);
- }
- };
- xhr.onerror = function () {
- reject(`Failed to load ${url}`);
- };
- xhr.send();
- return promise;
- }
- }
- ResourceLoaderImpl.ɵfac = /* @__PURE__ */function () {
- let ɵResourceLoaderImpl_BaseFactory;
- return function ResourceLoaderImpl_Factory(t) {
- return (ɵResourceLoaderImpl_BaseFactory || (ɵResourceLoaderImpl_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](ResourceLoaderImpl)))(t || ResourceLoaderImpl);
- };
- }();
- ResourceLoaderImpl.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: ResourceLoaderImpl,
- factory: ResourceLoaderImpl.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](ResourceLoaderImpl, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- */
- const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS"], {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.COMPILER_OPTIONS,
- useValue: {
- providers: [{
- provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.ResourceLoader,
- useClass: ResourceLoaderImpl,
- deps: []
- }]
- },
- multi: true
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID,
- useValue: _angular_common__WEBPACK_IMPORTED_MODULE_3__["ɵPLATFORM_BROWSER_ID"]
- }];
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An implementation of ResourceLoader that uses a template cache to avoid doing an actual
- * ResourceLoader.
- *
- * The template cache needs to be built and loaded into window.$templateCache
- * via a separate mechanism.
- *
- * @publicApi
- *
- * @deprecated This was previously necessary in some cases to test AOT-compiled components with View
- * Engine, but is no longer since Ivy.
- */
- class CachedResourceLoader extends _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.ResourceLoader {
- constructor() {
- super();
- this._cache = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].$templateCache;
- if (this._cache == null) {
- throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');
- }
- }
- get(url) {
- if (this._cache.hasOwnProperty(url)) {
- return Promise.resolve(this._cache[url]);
- } else {
- return Promise.reject('CachedResourceLoader: Did not find cached template for ' + url);
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- */
- const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.Version('14.2.7');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- *
- * @deprecated This was previously necessary in some cases to test AOT-compiled components with View
- * Engine, but is no longer since Ivy.
- */
- const RESOURCE_CACHE_PROVIDER = [{
- provide: _angular_compiler__WEBPACK_IMPORTED_MODULE_0__.ResourceLoader,
- useClass: CachedResourceLoader,
- deps: []
- }];
- /**
- * @publicApi
- */
- const platformBrowserDynamic = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.createPlatformFactory)(platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file only reexports content of the `src` folder. Keep it that way.
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 318:
- /*!******************************************************************************!*\
- !*** ./node_modules/@angular/platform-browser/fesm2015/platform-browser.mjs ***!
- \******************************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "BrowserModule": () => (/* binding */ BrowserModule),
- /* harmony export */ "BrowserTransferStateModule": () => (/* binding */ BrowserTransferStateModule),
- /* harmony export */ "By": () => (/* binding */ By),
- /* harmony export */ "DomSanitizer": () => (/* binding */ DomSanitizer),
- /* harmony export */ "EVENT_MANAGER_PLUGINS": () => (/* binding */ EVENT_MANAGER_PLUGINS),
- /* harmony export */ "EventManager": () => (/* binding */ EventManager),
- /* harmony export */ "HAMMER_GESTURE_CONFIG": () => (/* binding */ HAMMER_GESTURE_CONFIG),
- /* harmony export */ "HAMMER_LOADER": () => (/* binding */ HAMMER_LOADER),
- /* harmony export */ "HammerGestureConfig": () => (/* binding */ HammerGestureConfig),
- /* harmony export */ "HammerModule": () => (/* binding */ HammerModule),
- /* harmony export */ "Meta": () => (/* binding */ Meta),
- /* harmony export */ "Title": () => (/* binding */ Title),
- /* harmony export */ "TransferState": () => (/* binding */ TransferState),
- /* harmony export */ "VERSION": () => (/* binding */ VERSION),
- /* harmony export */ "bootstrapApplication": () => (/* binding */ bootstrapApplication),
- /* harmony export */ "createApplication": () => (/* binding */ createApplication),
- /* harmony export */ "disableDebugTools": () => (/* binding */ disableDebugTools),
- /* harmony export */ "enableDebugTools": () => (/* binding */ enableDebugTools),
- /* harmony export */ "makeStateKey": () => (/* binding */ makeStateKey),
- /* harmony export */ "platformBrowser": () => (/* binding */ platformBrowser),
- /* harmony export */ "provideProtractorTestingSupport": () => (/* binding */ provideProtractorTestingSupport),
- /* harmony export */ "ɵBrowserDomAdapter": () => (/* binding */ BrowserDomAdapter),
- /* harmony export */ "ɵBrowserGetTestability": () => (/* binding */ BrowserGetTestability),
- /* harmony export */ "ɵDomEventsPlugin": () => (/* binding */ DomEventsPlugin),
- /* harmony export */ "ɵDomRendererFactory2": () => (/* binding */ DomRendererFactory2),
- /* harmony export */ "ɵDomSanitizerImpl": () => (/* binding */ DomSanitizerImpl),
- /* harmony export */ "ɵDomSharedStylesHost": () => (/* binding */ DomSharedStylesHost),
- /* harmony export */ "ɵHammerGesturesPlugin": () => (/* binding */ HammerGesturesPlugin),
- /* harmony export */ "ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS": () => (/* binding */ INTERNAL_BROWSER_PLATFORM_PROVIDERS),
- /* harmony export */ "ɵKeyEventsPlugin": () => (/* binding */ KeyEventsPlugin),
- /* harmony export */ "ɵNAMESPACE_URIS": () => (/* binding */ NAMESPACE_URIS),
- /* harmony export */ "ɵSharedStylesHost": () => (/* binding */ SharedStylesHost),
- /* harmony export */ "ɵTRANSITION_ID": () => (/* binding */ TRANSITION_ID),
- /* harmony export */ "ɵescapeHtml": () => (/* binding */ escapeHtml),
- /* harmony export */ "ɵflattenStyles": () => (/* binding */ flattenStyles),
- /* harmony export */ "ɵgetDOM": () => (/* reexport safe */ _angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"]),
- /* harmony export */ "ɵinitDomAdapter": () => (/* binding */ initDomAdapter),
- /* harmony export */ "ɵshimContentAttribute": () => (/* binding */ shimContentAttribute),
- /* harmony export */ "ɵshimHostAttribute": () => (/* binding */ shimHostAttribute)
- /* harmony export */ });
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/common */ 6362);
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 3184);
- /**
- * @license Angular v14.2.7
- * (c) 2010-2022 Google LLC. https://angular.io/
- * License: MIT
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Provides DOM operations in any browser environment.
- *
- * @security Tread carefully! Interacting with the DOM directly is dangerous and
- * can introduce XSS risks.
- */
- class GenericBrowserDomAdapter extends _angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵDomAdapter"] {
- constructor() {
- super(...arguments);
- this.supportsDOMEvents = true;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * A `DomAdapter` powered by full browser DOM APIs.
- *
- * @security Tread carefully! Interacting with the DOM directly is dangerous and
- * can introduce XSS risks.
- */
- /* tslint:disable:requireParameterType no-console */
- class BrowserDomAdapter extends GenericBrowserDomAdapter {
- static makeCurrent() {
- (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵsetRootDomAdapter"])(new BrowserDomAdapter());
- }
- onAndCancel(el, evt, listener) {
- el.addEventListener(evt, listener, false); // Needed to follow Dart's subscription semantic, until fix of
- // https://code.google.com/p/dart/issues/detail?id=17406
- return () => {
- el.removeEventListener(evt, listener, false);
- };
- }
- dispatchEvent(el, evt) {
- el.dispatchEvent(evt);
- }
- remove(node) {
- if (node.parentNode) {
- node.parentNode.removeChild(node);
- }
- }
- createElement(tagName, doc) {
- doc = doc || this.getDefaultDocument();
- return doc.createElement(tagName);
- }
- createHtmlDocument() {
- return document.implementation.createHTMLDocument('fakeTitle');
- }
- getDefaultDocument() {
- return document;
- }
- isElementNode(node) {
- return node.nodeType === Node.ELEMENT_NODE;
- }
- isShadowRoot(node) {
- return node instanceof DocumentFragment;
- }
- /** @deprecated No longer being used in Ivy code. To be removed in version 14. */
- getGlobalEventTarget(doc, target) {
- if (target === 'window') {
- return window;
- }
- if (target === 'document') {
- return doc;
- }
- if (target === 'body') {
- return doc.body;
- }
- return null;
- }
- getBaseHref(doc) {
- const href = getBaseElementHref();
- return href == null ? null : relativePath(href);
- }
- resetBaseElement() {
- baseElement = null;
- }
- getUserAgent() {
- return window.navigator.userAgent;
- }
- getCookie(name) {
- return (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵparseCookieValue"])(document.cookie, name);
- }
- }
- let baseElement = null;
- function getBaseElementHref() {
- baseElement = baseElement || document.querySelector('base');
- return baseElement ? baseElement.getAttribute('href') : null;
- } // based on urlUtils.js in AngularJS 1
- let urlParsingNode;
- function relativePath(url) {
- urlParsingNode = urlParsingNode || document.createElement('a');
- urlParsingNode.setAttribute('href', url);
- const pathName = urlParsingNode.pathname;
- return pathName.charAt(0) === '/' ? pathName : `/${pathName}`;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * An id that identifies a particular application being bootstrapped, that should
- * match across the client/server boundary.
- */
- const TRANSITION_ID = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('TRANSITION_ID');
- function appInitializerFactory(transitionId, document, injector) {
- return () => {
- // Wait for all application initializers to be completed before removing the styles set by
- // the server.
- injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationInitStatus).donePromise.then(() => {
- const dom = (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])();
- const styles = document.querySelectorAll(`style[ng-transition="${transitionId}"]`);
- for (let i = 0; i < styles.length; i++) {
- dom.remove(styles[i]);
- }
- });
- };
- }
- const SERVER_TRANSITION_PROVIDERS = [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_INITIALIZER,
- useFactory: appInitializerFactory,
- deps: [TRANSITION_ID, _angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT, _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector],
- multi: true
- }];
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class BrowserGetTestability {
- addToWindow(registry) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].getAngularTestability = (elem, findInAncestors = true) => {
- const testability = registry.findTestabilityInTree(elem, findInAncestors);
- if (testability == null) {
- throw new Error('Could not find testability for element.');
- }
- return testability;
- };
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].getAllAngularTestabilities = () => registry.getAllTestabilities();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].getAllAngularRootElements = () => registry.getAllRootElements();
- const whenAllStable = (callback
- /** TODO #9100 */
- ) => {
- const testabilities = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].getAllAngularTestabilities();
- let count = testabilities.length;
- let didWork = false;
- const decrement = function (didWork_
- /** TODO #9100 */
- ) {
- didWork = didWork || didWork_;
- count--;
- if (count == 0) {
- callback(didWork);
- }
- };
- testabilities.forEach(function (testability
- /** TODO #9100 */
- ) {
- testability.whenStable(decrement);
- });
- };
- if (!_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].frameworkStabilizers) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].frameworkStabilizers = [];
- }
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].frameworkStabilizers.push(whenAllStable);
- }
- findTestabilityInTree(registry, elem, findInAncestors) {
- if (elem == null) {
- return null;
- }
- const t = registry.getTestability(elem);
- if (t != null) {
- return t;
- } else if (!findInAncestors) {
- return null;
- }
- if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().isShadowRoot(elem)) {
- return this.findTestabilityInTree(registry, elem.host, true);
- }
- return this.findTestabilityInTree(registry, elem.parentElement, true);
- }
- }
- /**
- * A factory for `HttpXhrBackend` that uses the `XMLHttpRequest` browser API.
- */
- class BrowserXhr {
- build() {
- return new XMLHttpRequest();
- }
- }
- BrowserXhr.ɵfac = function BrowserXhr_Factory(t) {
- return new (t || BrowserXhr)();
- };
- BrowserXhr.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: BrowserXhr,
- factory: BrowserXhr.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](BrowserXhr, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The injection token for the event-manager plug-in service.
- *
- * @publicApi
- */
- const EVENT_MANAGER_PLUGINS = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('EventManagerPlugins');
- /**
- * An injectable service that provides event management for Angular
- * through a browser plug-in.
- *
- * @publicApi
- */
- class EventManager {
- /**
- * Initializes an instance of the event-manager service.
- */
- constructor(plugins, _zone) {
- this._zone = _zone;
- this._eventNameToPlugin = new Map();
- plugins.forEach(p => p.manager = this);
- this._plugins = plugins.slice().reverse();
- }
- /**
- * Registers a handler for a specific element and event.
- *
- * @param element The HTML element to receive event notifications.
- * @param eventName The name of the event to listen for.
- * @param handler A function to call when the notification occurs. Receives the
- * event object as an argument.
- * @returns A callback function that can be used to remove the handler.
- */
- addEventListener(element, eventName, handler) {
- const plugin = this._findPluginFor(eventName);
- return plugin.addEventListener(element, eventName, handler);
- }
- /**
- * Registers a global handler for an event in a target view.
- *
- * @param target A target for global event notifications. One of "window", "document", or "body".
- * @param eventName The name of the event to listen for.
- * @param handler A function to call when the notification occurs. Receives the
- * event object as an argument.
- * @returns A callback function that can be used to remove the handler.
- * @deprecated No longer being used in Ivy code. To be removed in version 14.
- */
- addGlobalEventListener(target, eventName, handler) {
- const plugin = this._findPluginFor(eventName);
- return plugin.addGlobalEventListener(target, eventName, handler);
- }
- /**
- * Retrieves the compilation zone in which event listeners are registered.
- */
- getZone() {
- return this._zone;
- }
- /** @internal */
- _findPluginFor(eventName) {
- const plugin = this._eventNameToPlugin.get(eventName);
- if (plugin) {
- return plugin;
- }
- const plugins = this._plugins;
- for (let i = 0; i < plugins.length; i++) {
- const plugin = plugins[i];
- if (plugin.supports(eventName)) {
- this._eventNameToPlugin.set(eventName, plugin);
- return plugin;
- }
- }
- throw new Error(`No event manager plugin found for event ${eventName}`);
- }
- }
- EventManager.ɵfac = function EventManager_Factory(t) {
- 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));
- };
- EventManager.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: EventManager,
- factory: EventManager.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](EventManager, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [EVENT_MANAGER_PLUGINS]
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone
- }];
- }, null);
- })();
- class EventManagerPlugin {
- constructor(_doc) {
- this._doc = _doc;
- }
- addGlobalEventListener(element, eventName, handler) {
- const target = (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().getGlobalEventTarget(this._doc, element);
- if (!target) {
- throw new Error(`Unsupported event target ${target} for event ${eventName}`);
- }
- return this.addEventListener(target, eventName, handler);
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class SharedStylesHost {
- constructor() {
- /** @internal */
- this._stylesSet = new Set();
- }
- addStyles(styles) {
- const additions = new Set();
- styles.forEach(style => {
- if (!this._stylesSet.has(style)) {
- this._stylesSet.add(style);
- additions.add(style);
- }
- });
- this.onStylesAdded(additions);
- }
- onStylesAdded(additions) {}
- getAllStyles() {
- return Array.from(this._stylesSet);
- }
- }
- SharedStylesHost.ɵfac = function SharedStylesHost_Factory(t) {
- return new (t || SharedStylesHost)();
- };
- SharedStylesHost.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: SharedStylesHost,
- factory: SharedStylesHost.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](SharedStylesHost, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], null, null);
- })();
- class DomSharedStylesHost extends SharedStylesHost {
- constructor(_doc) {
- super();
- this._doc = _doc; // Maps all registered host nodes to a list of style nodes that have been added to the host node.
- this._hostNodes = new Map();
- this._hostNodes.set(_doc.head, []);
- }
- _addStylesToHost(styles, host, styleNodes) {
- styles.forEach(style => {
- const styleEl = this._doc.createElement('style');
- styleEl.textContent = style;
- styleNodes.push(host.appendChild(styleEl));
- });
- }
- addHost(hostNode) {
- const styleNodes = [];
- this._addStylesToHost(this._stylesSet, hostNode, styleNodes);
- this._hostNodes.set(hostNode, styleNodes);
- }
- removeHost(hostNode) {
- const styleNodes = this._hostNodes.get(hostNode);
- if (styleNodes) {
- styleNodes.forEach(removeStyle);
- }
- this._hostNodes.delete(hostNode);
- }
- onStylesAdded(additions) {
- this._hostNodes.forEach((styleNodes, hostNode) => {
- this._addStylesToHost(additions, hostNode, styleNodes);
- });
- }
- ngOnDestroy() {
- this._hostNodes.forEach(styleNodes => styleNodes.forEach(removeStyle));
- }
- }
- DomSharedStylesHost.ɵfac = function DomSharedStylesHost_Factory(t) {
- return new (t || DomSharedStylesHost)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- };
- DomSharedStylesHost.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: DomSharedStylesHost,
- factory: DomSharedStylesHost.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomSharedStylesHost, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }]
- }];
- }, null);
- })();
- function removeStyle(styleNode) {
- (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().remove(styleNode);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NAMESPACE_URIS = {
- 'svg': 'http://www.w3.org/2000/svg',
- 'xhtml': 'http://www.w3.org/1999/xhtml',
- 'xlink': 'http://www.w3.org/1999/xlink',
- 'xml': 'http://www.w3.org/XML/1998/namespace',
- 'xmlns': 'http://www.w3.org/2000/xmlns/',
- 'math': 'http://www.w3.org/1998/MathML/'
- };
- const COMPONENT_REGEX = /%COMP%/g;
- const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || !!ngDevMode;
- const COMPONENT_VARIABLE = '%COMP%';
- const HOST_ATTR = `_nghost-${COMPONENT_VARIABLE}`;
- const CONTENT_ATTR = `_ngcontent-${COMPONENT_VARIABLE}`;
- function shimContentAttribute(componentShortId) {
- return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);
- }
- function shimHostAttribute(componentShortId) {
- return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);
- }
- function flattenStyles(compId, styles, target) {
- for (let i = 0; i < styles.length; i++) {
- let style = styles[i];
- if (Array.isArray(style)) {
- flattenStyles(compId, style, target);
- } else {
- style = style.replace(COMPONENT_REGEX, compId);
- target.push(style);
- }
- }
- return target;
- }
- function decoratePreventDefault(eventHandler) {
- // `DebugNode.triggerEventHandler` needs to know if the listener was created with
- // decoratePreventDefault or is a listener added outside the Angular context so it can handle the
- // two differently. In the first case, the special '__ngUnwrap__' token is passed to the unwrap
- // the listener (see below).
- return event => {
- // Ivy uses '__ngUnwrap__' as a special token that allows us to unwrap the function
- // so that it can be invoked programmatically by `DebugNode.triggerEventHandler`. The debug_node
- // can inspect the listener toString contents for the existence of this special token. Because
- // the token is a string literal, it is ensured to not be modified by compiled code.
- if (event === '__ngUnwrap__') {
- return eventHandler;
- }
- const allowDefaultBehavior = eventHandler(event);
- if (allowDefaultBehavior === false) {
- // TODO(tbosch): move preventDefault into event plugins...
- event.preventDefault();
- event.returnValue = false;
- }
- return undefined;
- };
- }
- let hasLoggedNativeEncapsulationWarning = false;
- class DomRendererFactory2 {
- constructor(eventManager, sharedStylesHost, appId) {
- this.eventManager = eventManager;
- this.sharedStylesHost = sharedStylesHost;
- this.appId = appId;
- this.rendererByCompId = new Map();
- this.defaultRenderer = new DefaultDomRenderer2(eventManager);
- }
- createRenderer(element, type) {
- if (!element || !type) {
- return this.defaultRenderer;
- }
- switch (type.encapsulation) {
- case _angular_core__WEBPACK_IMPORTED_MODULE_1__.ViewEncapsulation.Emulated:
- {
- let renderer = this.rendererByCompId.get(type.id);
- if (!renderer) {
- renderer = new EmulatedEncapsulationDomRenderer2(this.eventManager, this.sharedStylesHost, type, this.appId);
- this.rendererByCompId.set(type.id, renderer);
- }
- renderer.applyToHost(element);
- return renderer;
- }
- // @ts-ignore TODO: Remove as part of FW-2290. TS complains about us dealing with an enum
- // value that is not known (but previously was the value for ViewEncapsulation.Native)
- case 1:
- case _angular_core__WEBPACK_IMPORTED_MODULE_1__.ViewEncapsulation.ShadowDom:
- // TODO(FW-2290): remove the `case 1:` fallback logic and the warning in v12.
- if ((typeof ngDevMode === 'undefined' || ngDevMode) && // @ts-ignore TODO: Remove as part of FW-2290. TS complains about us dealing with an
- // enum value that is not known (but previously was the value for
- // ViewEncapsulation.Native)
- !hasLoggedNativeEncapsulationWarning && type.encapsulation === 1) {
- hasLoggedNativeEncapsulationWarning = true;
- console.warn('ViewEncapsulation.Native is no longer supported. Falling back to ViewEncapsulation.ShadowDom. The fallback will be removed in v12.');
- }
- return new ShadowDomRenderer(this.eventManager, this.sharedStylesHost, element, type);
- default:
- {
- if (!this.rendererByCompId.has(type.id)) {
- const styles = flattenStyles(type.id, type.styles, []);
- this.sharedStylesHost.addStyles(styles);
- this.rendererByCompId.set(type.id, this.defaultRenderer);
- }
- return this.defaultRenderer;
- }
- }
- }
- begin() {}
- end() {}
- }
- DomRendererFactory2.ɵfac = function DomRendererFactory2_Factory(t) {
- 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));
- };
- DomRendererFactory2.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: DomRendererFactory2,
- factory: DomRendererFactory2.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomRendererFactory2, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], function () {
- return [{
- type: EventManager
- }, {
- type: DomSharedStylesHost
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID]
- }]
- }];
- }, null);
- })();
- class DefaultDomRenderer2 {
- constructor(eventManager) {
- this.eventManager = eventManager;
- this.data = Object.create(null);
- this.destroyNode = null;
- }
- destroy() {}
- createElement(name, namespace) {
- if (namespace) {
- // TODO: `|| namespace` was added in
- // https://github.com/angular/angular/commit/2b9cc8503d48173492c29f5a271b61126104fbdb to
- // support how Ivy passed around the namespace URI rather than short name at the time. It did
- // not, however extend the support to other parts of the system (setAttribute, setAttribute,
- // and the ServerRenderer). We should decide what exactly the semantics for dealing with
- // namespaces should be and make it consistent.
- // Related issues:
- // https://github.com/angular/angular/issues/44028
- // https://github.com/angular/angular/issues/44883
- return document.createElementNS(NAMESPACE_URIS[namespace] || namespace, name);
- }
- return document.createElement(name);
- }
- createComment(value) {
- return document.createComment(value);
- }
- createText(value) {
- return document.createTextNode(value);
- }
- appendChild(parent, newChild) {
- const targetParent = isTemplateNode(parent) ? parent.content : parent;
- targetParent.appendChild(newChild);
- }
- insertBefore(parent, newChild, refChild) {
- if (parent) {
- const targetParent = isTemplateNode(parent) ? parent.content : parent;
- targetParent.insertBefore(newChild, refChild);
- }
- }
- removeChild(parent, oldChild) {
- if (parent) {
- parent.removeChild(oldChild);
- }
- }
- selectRootElement(selectorOrNode, preserveContent) {
- let el = typeof selectorOrNode === 'string' ? document.querySelector(selectorOrNode) : selectorOrNode;
- if (!el) {
- throw new Error(`The selector "${selectorOrNode}" did not match any elements`);
- }
- if (!preserveContent) {
- el.textContent = '';
- }
- return el;
- }
- parentNode(node) {
- return node.parentNode;
- }
- nextSibling(node) {
- return node.nextSibling;
- }
- setAttribute(el, name, value, namespace) {
- if (namespace) {
- name = namespace + ':' + name;
- const namespaceUri = NAMESPACE_URIS[namespace];
- if (namespaceUri) {
- el.setAttributeNS(namespaceUri, name, value);
- } else {
- el.setAttribute(name, value);
- }
- } else {
- el.setAttribute(name, value);
- }
- }
- removeAttribute(el, name, namespace) {
- if (namespace) {
- const namespaceUri = NAMESPACE_URIS[namespace];
- if (namespaceUri) {
- el.removeAttributeNS(namespaceUri, name);
- } else {
- el.removeAttribute(`${namespace}:${name}`);
- }
- } else {
- el.removeAttribute(name);
- }
- }
- addClass(el, name) {
- el.classList.add(name);
- }
- removeClass(el, name) {
- el.classList.remove(name);
- }
- setStyle(el, style, value, flags) {
- if (flags & (_angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererStyleFlags2.DashCase | _angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererStyleFlags2.Important)) {
- el.style.setProperty(style, value, flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererStyleFlags2.Important ? 'important' : '');
- } else {
- el.style[style] = value;
- }
- }
- removeStyle(el, style, flags) {
- if (flags & _angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererStyleFlags2.DashCase) {
- el.style.removeProperty(style);
- } else {
- // IE requires '' instead of null
- // see https://github.com/angular/angular/issues/7916
- el.style[style] = '';
- }
- }
- setProperty(el, name, value) {
- NG_DEV_MODE$1 && checkNoSyntheticProp(name, 'property');
- el[name] = value;
- }
- setValue(node, value) {
- node.nodeValue = value;
- }
- listen(target, event, callback) {
- NG_DEV_MODE$1 && checkNoSyntheticProp(event, 'listener');
- if (typeof target === 'string') {
- return this.eventManager.addGlobalEventListener(target, event, decoratePreventDefault(callback));
- }
- return this.eventManager.addEventListener(target, event, decoratePreventDefault(callback));
- }
- }
- const AT_CHARCODE = (() => '@'.charCodeAt(0))();
- function checkNoSyntheticProp(name, nameKind) {
- if (name.charCodeAt(0) === AT_CHARCODE) {
- throw new Error(`Unexpected synthetic ${nameKind} ${name} found. Please make sure that:
- - Either \`BrowserAnimationsModule\` or \`NoopAnimationsModule\` are imported in your application.
- - 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).`);
- }
- }
- function isTemplateNode(node) {
- return node.tagName === 'TEMPLATE' && node.content !== undefined;
- }
- class EmulatedEncapsulationDomRenderer2 extends DefaultDomRenderer2 {
- constructor(eventManager, sharedStylesHost, component, appId) {
- super(eventManager);
- this.component = component;
- const styles = flattenStyles(appId + '-' + component.id, component.styles, []);
- sharedStylesHost.addStyles(styles);
- this.contentAttr = shimContentAttribute(appId + '-' + component.id);
- this.hostAttr = shimHostAttribute(appId + '-' + component.id);
- }
- applyToHost(element) {
- super.setAttribute(element, this.hostAttr, '');
- }
- createElement(parent, name) {
- const el = super.createElement(parent, name);
- super.setAttribute(el, this.contentAttr, '');
- return el;
- }
- }
- class ShadowDomRenderer extends DefaultDomRenderer2 {
- constructor(eventManager, sharedStylesHost, hostEl, component) {
- super(eventManager);
- this.sharedStylesHost = sharedStylesHost;
- this.hostEl = hostEl;
- this.shadowRoot = hostEl.attachShadow({
- mode: 'open'
- });
- this.sharedStylesHost.addHost(this.shadowRoot);
- const styles = flattenStyles(component.id, component.styles, []);
- for (let i = 0; i < styles.length; i++) {
- const styleEl = document.createElement('style');
- styleEl.textContent = styles[i];
- this.shadowRoot.appendChild(styleEl);
- }
- }
- nodeOrShadowRoot(node) {
- return node === this.hostEl ? this.shadowRoot : node;
- }
- destroy() {
- this.sharedStylesHost.removeHost(this.shadowRoot);
- }
- appendChild(parent, newChild) {
- return super.appendChild(this.nodeOrShadowRoot(parent), newChild);
- }
- insertBefore(parent, newChild, refChild) {
- return super.insertBefore(this.nodeOrShadowRoot(parent), newChild, refChild);
- }
- removeChild(parent, oldChild) {
- return super.removeChild(this.nodeOrShadowRoot(parent), oldChild);
- }
- parentNode(node) {
- return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(node)));
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class DomEventsPlugin extends EventManagerPlugin {
- constructor(doc) {
- super(doc);
- } // This plugin should come last in the list of plugins, because it accepts all
- // events.
- supports(eventName) {
- return true;
- }
- addEventListener(element, eventName, handler) {
- element.addEventListener(eventName, handler, false);
- return () => this.removeEventListener(element, eventName, handler);
- }
- removeEventListener(target, eventName, callback) {
- return target.removeEventListener(eventName, callback);
- }
- }
- DomEventsPlugin.ɵfac = function DomEventsPlugin_Factory(t) {
- return new (t || DomEventsPlugin)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- };
- DomEventsPlugin.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: DomEventsPlugin,
- factory: DomEventsPlugin.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomEventsPlugin, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Defines supported modifiers for key events.
- */
- const MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift']; // The following values are here for cross-browser compatibility and to match the W3C standard
- // cf https://www.w3.org/TR/DOM-Level-3-Events-key/
- const _keyMap = {
- '\b': 'Backspace',
- '\t': 'Tab',
- '\x7F': 'Delete',
- '\x1B': 'Escape',
- 'Del': 'Delete',
- 'Esc': 'Escape',
- 'Left': 'ArrowLeft',
- 'Right': 'ArrowRight',
- 'Up': 'ArrowUp',
- 'Down': 'ArrowDown',
- 'Menu': 'ContextMenu',
- 'Scroll': 'ScrollLock',
- 'Win': 'OS'
- };
- /**
- * Retrieves modifiers from key-event objects.
- */
- const MODIFIER_KEY_GETTERS = {
- 'alt': event => event.altKey,
- 'control': event => event.ctrlKey,
- 'meta': event => event.metaKey,
- 'shift': event => event.shiftKey
- };
- /**
- * @publicApi
- * A browser plug-in that provides support for handling of key events in Angular.
- */
- class KeyEventsPlugin extends EventManagerPlugin {
- /**
- * Initializes an instance of the browser plug-in.
- * @param doc The document in which key events will be detected.
- */
- constructor(doc) {
- super(doc);
- }
- /**
- * Reports whether a named key event is supported.
- * @param eventName The event name to query.
- * @return True if the named key event is supported.
- */
- supports(eventName) {
- return KeyEventsPlugin.parseEventName(eventName) != null;
- }
- /**
- * Registers a handler for a specific element and key event.
- * @param element The HTML element to receive event notifications.
- * @param eventName The name of the key event to listen for.
- * @param handler A function to call when the notification occurs. Receives the
- * event object as an argument.
- * @returns The key event that was registered.
- */
- addEventListener(element, eventName, handler) {
- const parsedEvent = KeyEventsPlugin.parseEventName(eventName);
- const outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());
- return this.manager.getZone().runOutsideAngular(() => {
- return (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);
- });
- }
- /**
- * Parses the user provided full keyboard event definition and normalizes it for
- * later internal use. It ensures the string is all lowercase, converts special
- * characters to a standard spelling, and orders all the values consistently.
- *
- * @param eventName The name of the key event to listen for.
- * @returns an object with the full, normalized string, and the dom event name
- * or null in the case when the event doesn't match a keyboard event.
- */
- static parseEventName(eventName) {
- const parts = eventName.toLowerCase().split('.');
- const domEventName = parts.shift();
- if (parts.length === 0 || !(domEventName === 'keydown' || domEventName === 'keyup')) {
- return null;
- }
- const key = KeyEventsPlugin._normalizeKey(parts.pop());
- let fullKey = '';
- let codeIX = parts.indexOf('code');
- if (codeIX > -1) {
- parts.splice(codeIX, 1);
- fullKey = 'code.';
- }
- MODIFIER_KEYS.forEach(modifierName => {
- const index = parts.indexOf(modifierName);
- if (index > -1) {
- parts.splice(index, 1);
- fullKey += modifierName + '.';
- }
- });
- fullKey += key;
- if (parts.length != 0 || key.length === 0) {
- // returning null instead of throwing to let another plugin process the event
- return null;
- } // NOTE: Please don't rewrite this as so, as it will break JSCompiler property renaming.
- // The code must remain in the `result['domEventName']` form.
- // return {domEventName, fullKey};
- const result = {};
- result['domEventName'] = domEventName;
- result['fullKey'] = fullKey;
- return result;
- }
- /**
- * Determines whether the actual keys pressed match the configured key code string.
- * The `fullKeyCode` event is normalized in the `parseEventName` method when the
- * event is attached to the DOM during the `addEventListener` call. This is unseen
- * by the end user and is normalized for internal consistency and parsing.
- *
- * @param event The keyboard event.
- * @param fullKeyCode The normalized user defined expected key event string
- * @returns boolean.
- */
- static matchEventFullKeyCode(event, fullKeyCode) {
- let keycode = _keyMap[event.key] || event.key;
- let key = '';
- if (fullKeyCode.indexOf('code.') > -1) {
- keycode = event.code;
- key = 'code.';
- } // the keycode could be unidentified so we have to check here
- if (keycode == null || !keycode) return false;
- keycode = keycode.toLowerCase();
- if (keycode === ' ') {
- keycode = 'space'; // for readability
- } else if (keycode === '.') {
- keycode = 'dot'; // because '.' is used as a separator in event names
- }
- MODIFIER_KEYS.forEach(modifierName => {
- if (modifierName !== keycode) {
- const modifierGetter = MODIFIER_KEY_GETTERS[modifierName];
- if (modifierGetter(event)) {
- key += modifierName + '.';
- }
- }
- });
- key += keycode;
- return key === fullKeyCode;
- }
- /**
- * Configures a handler callback for a key event.
- * @param fullKey The event name that combines all simultaneous keystrokes.
- * @param handler The function that responds to the key event.
- * @param zone The zone in which the event occurred.
- * @returns A callback function.
- */
- static eventCallback(fullKey, handler, zone) {
- return event => {
- if (KeyEventsPlugin.matchEventFullKeyCode(event, fullKey)) {
- zone.runGuarded(() => handler(event));
- }
- };
- }
- /** @internal */
- static _normalizeKey(keyName) {
- // TODO: switch to a Map if the mapping grows too much
- switch (keyName) {
- case 'esc':
- return 'escape';
- default:
- return keyName;
- }
- }
- }
- KeyEventsPlugin.ɵfac = function KeyEventsPlugin_Factory(t) {
- return new (t || KeyEventsPlugin)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- };
- KeyEventsPlugin.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: KeyEventsPlugin,
- factory: KeyEventsPlugin.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](KeyEventsPlugin, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || !!ngDevMode;
- /**
- * Bootstraps an instance of an Angular application and renders a standalone component as the
- * application's root component. More information about standalone components can be found in [this
- * guide](guide/standalone-components).
- *
- * @usageNotes
- * The root component passed into this function *must* be a standalone one (should have the
- * `standalone: true` flag in the `@Component` decorator config).
- *
- * ```typescript
- * @Component({
- * standalone: true,
- * template: 'Hello world!'
- * })
- * class RootComponent {}
- *
- * const appRef: ApplicationRef = await bootstrapApplication(RootComponent);
- * ```
- *
- * You can add the list of providers that should be available in the application injector by
- * specifying the `providers` field in an object passed as the second argument:
- *
- * ```typescript
- * await bootstrapApplication(RootComponent, {
- * providers: [
- * {provide: BACKEND_URL, useValue: 'https://yourdomain.com/api'}
- * ]
- * });
- * ```
- *
- * The `importProvidersFrom` helper method can be used to collect all providers from any
- * existing NgModule (and transitively from all NgModules that it imports):
- *
- * ```typescript
- * await bootstrapApplication(RootComponent, {
- * providers: [
- * importProvidersFrom(SomeNgModule)
- * ]
- * });
- * ```
- *
- * Note: the `bootstrapApplication` method doesn't include [Testability](api/core/Testability) by
- * default. You can add [Testability](api/core/Testability) by getting the list of necessary
- * providers using `provideProtractorTestingSupport()` function and adding them into the `providers`
- * array, for example:
- *
- * ```typescript
- * import {provideProtractorTestingSupport} from '@angular/platform-browser';
- *
- * await bootstrapApplication(RootComponent, {providers: [provideProtractorTestingSupport()]});
- * ```
- *
- * @param rootComponent A reference to a standalone component that should be rendered.
- * @param options Extra configuration for the bootstrap operation, see `ApplicationConfig` for
- * additional info.
- * @returns A promise that returns an `ApplicationRef` instance once resolved.
- *
- * @publicApi
- * @developerPreview
- */
- function bootstrapApplication(rootComponent, options) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵinternalCreateApplication"])(Object.assign({
- rootComponent
- }, createProvidersConfig(options)));
- }
- /**
- * Create an instance of an Angular application without bootstrapping any components. This is useful
- * for the situation where one wants to decouple application environment creation (a platform and
- * associated injectors) from rendering components on a screen. Components can be subsequently
- * bootstrapped on the returned `ApplicationRef`.
- *
- * @param options Extra configuration for the application environment, see `ApplicationConfig` for
- * additional info.
- * @returns A promise that returns an `ApplicationRef` instance once resolved.
- *
- * @publicApi
- * @developerPreview
- */
- function createApplication(options) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵinternalCreateApplication"])(createProvidersConfig(options));
- }
- function createProvidersConfig(options) {
- var _a;
- return {
- appProviders: [...BROWSER_MODULE_PROVIDERS, ...((_a = options === null || options === void 0 ? void 0 : options.providers) !== null && _a !== void 0 ? _a : [])],
- platformProviders: INTERNAL_BROWSER_PLATFORM_PROVIDERS
- };
- }
- /**
- * Returns a set of providers required to setup [Testability](api/core/Testability) for an
- * application bootstrapped using the `bootstrapApplication` function. The set of providers is
- * needed to support testing an application with Protractor (which relies on the Testability APIs
- * to be present).
- *
- * @returns An array of providers required to setup Testability for an application and make it
- * available for testing using Protractor.
- *
- * @developerPreview
- * @publicApi
- */
- function provideProtractorTestingSupport() {
- // Return a copy to prevent changes to the original array in case any in-place
- // alterations are performed to the `provideProtractorTestingSupport` call results in app code.
- return [...TESTABILITY_PROVIDERS];
- }
- function initDomAdapter() {
- BrowserDomAdapter.makeCurrent();
- }
- function errorHandler() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_1__.ErrorHandler();
- }
- function _document() {
- // Tell ivy about the global document
- (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetDocument"])(document);
- return document;
- }
- const INTERNAL_BROWSER_PLATFORM_PROVIDERS = [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID,
- useValue: _angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵPLATFORM_BROWSER_ID"]
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_INITIALIZER,
- useValue: initDomAdapter,
- multi: true
- }, {
- provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT,
- useFactory: _document,
- deps: []
- }];
- /**
- * A factory function that returns a `PlatformRef` instance associated with browser service
- * providers.
- *
- * @publicApi
- */
- const platformBrowser = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.createPlatformFactory)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
- /**
- * Internal marker to signal whether providers from the `BrowserModule` are already present in DI.
- * This is needed to avoid loading `BrowserModule` providers twice. We can't rely on the
- * `BrowserModule` presence itself, since the standalone-based bootstrap just imports
- * `BrowserModule` providers without referencing the module itself.
- */
- const BROWSER_MODULE_PROVIDERS_MARKER = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken(NG_DEV_MODE ? 'BrowserModule Providers Marker' : '');
- const TESTABILITY_PROVIDERS = [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵTESTABILITY_GETTER"],
- useClass: BrowserGetTestability,
- deps: []
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵTESTABILITY"],
- useClass: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Testability,
- deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone, _angular_core__WEBPACK_IMPORTED_MODULE_1__.TestabilityRegistry, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵTESTABILITY_GETTER"]]
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Testability,
- useClass: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Testability,
- deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone, _angular_core__WEBPACK_IMPORTED_MODULE_1__.TestabilityRegistry, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵTESTABILITY_GETTER"]]
- }];
- const BROWSER_MODULE_PROVIDERS = [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵINJECTOR_SCOPE"],
- useValue: 'root'
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ErrorHandler,
- useFactory: errorHandler,
- deps: []
- }, {
- provide: EVENT_MANAGER_PLUGINS,
- useClass: DomEventsPlugin,
- multi: true,
- deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT, _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone, _angular_core__WEBPACK_IMPORTED_MODULE_1__.PLATFORM_ID]
- }, {
- provide: EVENT_MANAGER_PLUGINS,
- useClass: KeyEventsPlugin,
- multi: true,
- deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }, {
- provide: DomRendererFactory2,
- useClass: DomRendererFactory2,
- deps: [EventManager, DomSharedStylesHost, _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID]
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.RendererFactory2,
- useExisting: DomRendererFactory2
- }, {
- provide: SharedStylesHost,
- useExisting: DomSharedStylesHost
- }, {
- provide: DomSharedStylesHost,
- useClass: DomSharedStylesHost,
- deps: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }, {
- provide: EventManager,
- useClass: EventManager,
- deps: [EVENT_MANAGER_PLUGINS, _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone]
- }, {
- provide: _angular_common__WEBPACK_IMPORTED_MODULE_0__.XhrFactory,
- useClass: BrowserXhr,
- deps: []
- }, NG_DEV_MODE ? {
- provide: BROWSER_MODULE_PROVIDERS_MARKER,
- useValue: true
- } : []];
- /**
- * Exports required infrastructure for all Angular apps.
- * Included by default in all Angular apps created with the CLI
- * `new` command.
- * Re-exports `CommonModule` and `ApplicationModule`, making their
- * exports and providers available to all apps.
- *
- * @publicApi
- */
- class BrowserModule {
- constructor(providersAlreadyPresent) {
- if (NG_DEV_MODE && providersAlreadyPresent) {
- 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.`);
- }
- }
- /**
- * Configures a browser-based app to transition from a server-rendered app, if
- * one is present on the page.
- *
- * @param params An object containing an identifier for the app to transition.
- * The ID must match between the client and server versions of the app.
- * @returns The reconfigured `BrowserModule` to import into the app's root `AppModule`.
- */
- static withServerTransition(params) {
- return {
- ngModule: BrowserModule,
- providers: [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID,
- useValue: params.appId
- }, {
- provide: TRANSITION_ID,
- useExisting: _angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID
- }, SERVER_TRANSITION_PROVIDERS]
- };
- }
- }
- BrowserModule.ɵfac = function BrowserModule_Factory(t) {
- return new (t || BrowserModule)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](BROWSER_MODULE_PROVIDERS_MARKER, 12));
- };
- BrowserModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
- type: BrowserModule,
- exports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.CommonModule, _angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationModule]
- });
- BrowserModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
- providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
- imports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.CommonModule, _angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationModule]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](BrowserModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule,
- args: [{
- providers: [...BROWSER_MODULE_PROVIDERS, ...TESTABILITY_PROVIDERS],
- exports: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.CommonModule, _angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationModule]
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.SkipSelf
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [BROWSER_MODULE_PROVIDERS_MARKER]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Factory to create a `Meta` service instance for the current DOM document.
- */
- function createMeta() {
- return new Meta((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- }
- /**
- * A service for managing HTML `<meta>` tags.
- *
- * Properties of the `MetaDefinition` object match the attributes of the
- * HTML `<meta>` tag. These tags define document metadata that is important for
- * things like configuring a Content Security Policy, defining browser compatibility
- * and security settings, setting HTTP Headers, defining rich content for social sharing,
- * and Search Engine Optimization (SEO).
- *
- * To identify specific `<meta>` tags in a document, use an attribute selection
- * string in the format `"tag_attribute='value string'"`.
- * For example, an `attrSelector` value of `"name='description'"` matches a tag
- * whose `name` attribute has the value `"description"`.
- * Selectors are used with the `querySelector()` Document method,
- * in the format `meta[{attrSelector}]`.
- *
- * @see [HTML meta tag](https://developer.mozilla.org/docs/Web/HTML/Element/meta)
- * @see [Document.querySelector()](https://developer.mozilla.org/docs/Web/API/Document/querySelector)
- *
- *
- * @publicApi
- */
- class Meta {
- constructor(_doc) {
- this._doc = _doc;
- this._dom = (0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])();
- }
- /**
- * Retrieves or creates a specific `<meta>` tag element in the current HTML document.
- * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute
- * values in the provided tag definition, and verifies that all other attribute values are equal.
- * If an existing element is found, it is returned and is not modified in any way.
- * @param tag The definition of a `<meta>` element to match or create.
- * @param forceCreation True to create a new element without checking whether one already exists.
- * @returns The existing element with the same attributes and values if found,
- * the new element if no match is found, or `null` if the tag parameter is not defined.
- */
- addTag(tag, forceCreation = false) {
- if (!tag) return null;
- return this._getOrCreateElement(tag, forceCreation);
- }
- /**
- * Retrieves or creates a set of `<meta>` tag elements in the current HTML document.
- * In searching for an existing tag, Angular attempts to match the `name` or `property` attribute
- * values in the provided tag definition, and verifies that all other attribute values are equal.
- * @param tags An array of tag definitions to match or create.
- * @param forceCreation True to create new elements without checking whether they already exist.
- * @returns The matching elements if found, or the new elements.
- */
- addTags(tags, forceCreation = false) {
- if (!tags) return [];
- return tags.reduce((result, tag) => {
- if (tag) {
- result.push(this._getOrCreateElement(tag, forceCreation));
- }
- return result;
- }, []);
- }
- /**
- * Retrieves a `<meta>` tag element in the current HTML document.
- * @param attrSelector The tag attribute and value to match against, in the format
- * `"tag_attribute='value string'"`.
- * @returns The matching element, if any.
- */
- getTag(attrSelector) {
- if (!attrSelector) return null;
- return this._doc.querySelector(`meta[${attrSelector}]`) || null;
- }
- /**
- * Retrieves a set of `<meta>` tag elements in the current HTML document.
- * @param attrSelector The tag attribute and value to match against, in the format
- * `"tag_attribute='value string'"`.
- * @returns The matching elements, if any.
- */
- getTags(attrSelector) {
- if (!attrSelector) return [];
- const list
- /*NodeList*/
- = this._doc.querySelectorAll(`meta[${attrSelector}]`);
- return list ? [].slice.call(list) : [];
- }
- /**
- * Modifies an existing `<meta>` tag element in the current HTML document.
- * @param tag The tag description with which to replace the existing tag content.
- * @param selector A tag attribute and value to match against, to identify
- * an existing tag. A string in the format `"tag_attribute=`value string`"`.
- * If not supplied, matches a tag with the same `name` or `property` attribute value as the
- * replacement tag.
- * @return The modified element.
- */
- updateTag(tag, selector) {
- if (!tag) return null;
- selector = selector || this._parseSelector(tag);
- const meta = this.getTag(selector);
- if (meta) {
- return this._setMetaElementAttributes(tag, meta);
- }
- return this._getOrCreateElement(tag, true);
- }
- /**
- * Removes an existing `<meta>` tag element from the current HTML document.
- * @param attrSelector A tag attribute and value to match against, to identify
- * an existing tag. A string in the format `"tag_attribute=`value string`"`.
- */
- removeTag(attrSelector) {
- this.removeTagElement(this.getTag(attrSelector));
- }
- /**
- * Removes an existing `<meta>` tag element from the current HTML document.
- * @param meta The tag definition to match against to identify an existing tag.
- */
- removeTagElement(meta) {
- if (meta) {
- this._dom.remove(meta);
- }
- }
- _getOrCreateElement(meta, forceCreation = false) {
- if (!forceCreation) {
- const selector = this._parseSelector(meta); // It's allowed to have multiple elements with the same name so it's not enough to
- // just check that element with the same name already present on the page. We also need to
- // check if element has tag attributes
- const elem = this.getTags(selector).filter(elem => this._containsAttributes(meta, elem))[0];
- if (elem !== undefined) return elem;
- }
- const element = this._dom.createElement('meta');
- this._setMetaElementAttributes(meta, element);
- const head = this._doc.getElementsByTagName('head')[0];
- head.appendChild(element);
- return element;
- }
- _setMetaElementAttributes(tag, el) {
- Object.keys(tag).forEach(prop => el.setAttribute(this._getMetaKeyMap(prop), tag[prop]));
- return el;
- }
- _parseSelector(tag) {
- const attr = tag.name ? 'name' : 'property';
- return `${attr}="${tag[attr]}"`;
- }
- _containsAttributes(tag, elem) {
- return Object.keys(tag).every(key => elem.getAttribute(this._getMetaKeyMap(key)) === tag[key]);
- }
- _getMetaKeyMap(prop) {
- return META_KEYS_MAP[prop] || prop;
- }
- }
- Meta.ɵfac = function Meta_Factory(t) {
- return new (t || Meta)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- };
- Meta.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: Meta,
- factory: function Meta_Factory(t) {
- let r = null;
- if (t) {
- r = new t();
- } else {
- r = createMeta();
- }
- return r;
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](Meta, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: createMeta,
- deps: []
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }]
- }];
- }, null);
- })();
- /**
- * Mapping for MetaDefinition properties with their correct meta attribute names
- */
- const META_KEYS_MAP = {
- httpEquiv: 'http-equiv'
- };
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Factory to create Title service.
- */
- function createTitle() {
- return new Title((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"])(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- }
- /**
- * A service that can be used to get and set the title of a current HTML document.
- *
- * Since an Angular application can't be bootstrapped on the entire HTML document (`<html>` tag)
- * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements
- * (representing the `<title>` tag). Instead, this service can be used to set and get the current
- * title value.
- *
- * @publicApi
- */
- class Title {
- constructor(_doc) {
- this._doc = _doc;
- }
- /**
- * Get the title of the current HTML document.
- */
- getTitle() {
- return this._doc.title;
- }
- /**
- * Set the title of the current HTML document.
- * @param newTitle
- */
- setTitle(newTitle) {
- this._doc.title = newTitle || '';
- }
- }
- Title.ɵfac = function Title_Factory(t) {
- return new (t || Title)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- };
- Title.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: Title,
- factory: function Title_Factory(t) {
- let r = null;
- if (t) {
- r = new t();
- } else {
- r = createTitle();
- }
- return r;
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](Title, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: createTitle,
- deps: []
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const CAMEL_CASE_REGEXP = /([A-Z])/g;
- const DASH_CASE_REGEXP = /-([a-z])/g;
- function camelCaseToDashCase(input) {
- return input.replace(CAMEL_CASE_REGEXP, (...m) => '-' + m[1].toLowerCase());
- }
- function dashCaseToCamelCase(input) {
- return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());
- }
- /**
- * Exports the value under a given `name` in the global property `ng`. For example `ng.probe` if
- * `name` is `'probe'`.
- * @param name Name under which it will be exported. Keep in mind this will be a property of the
- * global `ng` object.
- * @param value The value to export.
- */
- function exportNgVar(name, value) {
- if (typeof COMPILED === 'undefined' || !COMPILED) {
- // Note: we can't export `ng` when using closure enhanced optimization as:
- // - closure declares globals itself for minified names, which sometimes clobber our `ng` global
- // - we can't declare a closure extern as the namespace `ng` is already used within Google
- // for typings for angularJS (via `goog.provide('ng....')`).
- const ng = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].ng = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵglobal"].ng || {};
- ng[name] = value;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const win = typeof window !== 'undefined' && window || {};
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class ChangeDetectionPerfRecord {
- constructor(msPerTick, numTicks) {
- this.msPerTick = msPerTick;
- this.numTicks = numTicks;
- }
- }
- /**
- * Entry point for all Angular profiling-related debug tools. This object
- * corresponds to the `ng.profiler` in the dev console.
- */
- class AngularProfiler {
- constructor(ref) {
- this.appRef = ref.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__.ApplicationRef);
- } // tslint:disable:no-console
- /**
- * Exercises change detection in a loop and then prints the average amount of
- * time in milliseconds how long a single round of change detection takes for
- * the current state of the UI. It runs a minimum of 5 rounds for a minimum
- * of 500 milliseconds.
- *
- * Optionally, a user may pass a `config` parameter containing a map of
- * options. Supported options are:
- *
- * `record` (boolean) - causes the profiler to record a CPU profile while
- * it exercises the change detector. Example:
- *
- * ```
- * ng.profiler.timeChangeDetection({record: true})
- * ```
- */
- timeChangeDetection(config) {
- const record = config && config['record'];
- const profileName = 'Change Detection'; // Profiler is not available in Android browsers without dev tools opened
- const isProfilerAvailable = win.console.profile != null;
- if (record && isProfilerAvailable) {
- win.console.profile(profileName);
- }
- const start = performanceNow();
- let numTicks = 0;
- while (numTicks < 5 || performanceNow() - start < 500) {
- this.appRef.tick();
- numTicks++;
- }
- const end = performanceNow();
- if (record && isProfilerAvailable) {
- win.console.profileEnd(profileName);
- }
- const msPerTick = (end - start) / numTicks;
- win.console.log(`ran ${numTicks} change detection cycles`);
- win.console.log(`${msPerTick.toFixed(2)} ms per check`);
- return new ChangeDetectionPerfRecord(msPerTick, numTicks);
- }
- }
- function performanceNow() {
- return win.performance && win.performance.now ? win.performance.now() : new Date().getTime();
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const PROFILER_GLOBAL_NAME = 'profiler';
- /**
- * Enabled Angular debug tools that are accessible via your browser's
- * developer console.
- *
- * Usage:
- *
- * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)
- * 1. Type `ng.` (usually the console will show auto-complete suggestion)
- * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`
- * then hit Enter.
- *
- * @publicApi
- */
- function enableDebugTools(ref) {
- exportNgVar(PROFILER_GLOBAL_NAME, new AngularProfiler(ref));
- return ref;
- }
- /**
- * Disables Angular tools.
- *
- * @publicApi
- */
- function disableDebugTools() {
- exportNgVar(PROFILER_GLOBAL_NAME, null);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function escapeHtml(text) {
- const escapedText = {
- '&': '&a;',
- '"': '&q;',
- '\'': '&s;',
- '<': '&l;',
- '>': '&g;'
- };
- return text.replace(/[&"'<>]/g, s => escapedText[s]);
- }
- function unescapeHtml(text) {
- const unescapedText = {
- '&a;': '&',
- '&q;': '"',
- '&s;': '\'',
- '&l;': '<',
- '&g;': '>'
- };
- return text.replace(/&[^;]+;/g, s => unescapedText[s]);
- }
- /**
- * Create a `StateKey<T>` that can be used to store value of type T with `TransferState`.
- *
- * Example:
- *
- * ```
- * const COUNTER_KEY = makeStateKey<number>('counter');
- * let value = 10;
- *
- * transferState.set(COUNTER_KEY, value);
- * ```
- *
- * @publicApi
- */
- function makeStateKey(key) {
- return key;
- }
- /**
- * A key value store that is transferred from the application on the server side to the application
- * on the client side.
- *
- * The `TransferState` is available as an injectable token.
- * On the client, just inject this token using DI and use it, it will be lazily initialized.
- * On the server it's already included if `renderApplication` function is used. Otherwise, import
- * the `ServerTransferStateModule` module to make the `TransferState` available.
- *
- * The values in the store are serialized/deserialized using JSON.stringify/JSON.parse. So only
- * boolean, number, string, null and non-class objects will be serialized and deserialized in a
- * non-lossy manner.
- *
- * @publicApi
- */
- class TransferState {
- constructor() {
- this.store = {};
- this.onSerializeCallbacks = {};
- }
- /**
- * Get the value corresponding to a key. Return `defaultValue` if key is not found.
- */
- get(key, defaultValue) {
- return this.store[key] !== undefined ? this.store[key] : defaultValue;
- }
- /**
- * Set the value corresponding to a key.
- */
- set(key, value) {
- this.store[key] = value;
- }
- /**
- * Remove a key from the store.
- */
- remove(key) {
- delete this.store[key];
- }
- /**
- * Test whether a key exists in the store.
- */
- hasKey(key) {
- return this.store.hasOwnProperty(key);
- }
- /**
- * Indicates whether the state is empty.
- */
- get isEmpty() {
- return Object.keys(this.store).length === 0;
- }
- /**
- * Register a callback to provide the value for a key when `toJson` is called.
- */
- onSerialize(key, callback) {
- this.onSerializeCallbacks[key] = callback;
- }
- /**
- * Serialize the current state of the store to JSON.
- */
- toJson() {
- // Call the onSerialize callbacks and put those values into the store.
- for (const key in this.onSerializeCallbacks) {
- if (this.onSerializeCallbacks.hasOwnProperty(key)) {
- try {
- this.store[key] = this.onSerializeCallbacks[key]();
- } catch (e) {
- console.warn('Exception in onSerialize callback: ', e);
- }
- }
- }
- return JSON.stringify(this.store);
- }
- }
- TransferState.ɵfac = function TransferState_Factory(t) {
- return new (t || TransferState)();
- };
- TransferState.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: TransferState,
- factory: function () {
- return (() => {
- const doc = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT);
- const appId = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID);
- const state = new TransferState();
- state.store = retrieveTransferredState(doc, appId);
- return state;
- })();
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](TransferState, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: () => {
- const doc = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT);
- const appId = (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.APP_ID);
- const state = new TransferState();
- state.store = retrieveTransferredState(doc, appId);
- return state;
- }
- }]
- }], null, null);
- })();
- function retrieveTransferredState(doc, appId) {
- // Locate the script tag with the JSON data transferred from the server.
- // The id of the script tag is set to the Angular appId + 'state'.
- const script = doc.getElementById(appId + '-state');
- let initialState = {};
- if (script && script.textContent) {
- try {
- // Avoid using any here as it triggers lint errors in google3 (any is not allowed).
- initialState = JSON.parse(unescapeHtml(script.textContent));
- } catch (e) {
- console.warn('Exception while restoring TransferState for app ' + appId, e);
- }
- }
- return initialState;
- }
- /**
- * NgModule to install on the client side while using the `TransferState` to transfer state from
- * server to client.
- *
- * @publicApi
- * @deprecated no longer needed, you can inject the `TransferState` in an app without providing
- * this module.
- */
- class BrowserTransferStateModule {}
- BrowserTransferStateModule.ɵfac = function BrowserTransferStateModule_Factory(t) {
- return new (t || BrowserTransferStateModule)();
- };
- BrowserTransferStateModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
- type: BrowserTransferStateModule
- });
- BrowserTransferStateModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({});
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](BrowserTransferStateModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule,
- args: [{}]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Predicates for use with {@link DebugElement}'s query functions.
- *
- * @publicApi
- */
- class By {
- /**
- * Match all nodes.
- *
- * @usageNotes
- * ### Example
- *
- * {@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}
- */
- static all() {
- return () => true;
- }
- /**
- * Match elements by the given CSS selector.
- *
- * @usageNotes
- * ### Example
- *
- * {@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}
- */
- static css(selector) {
- return debugElement => {
- return debugElement.nativeElement != null ? elementMatches(debugElement.nativeElement, selector) : false;
- };
- }
- /**
- * Match nodes that have the given directive present.
- *
- * @usageNotes
- * ### Example
- *
- * {@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}
- */
- static directive(type) {
- return debugNode => debugNode.providerTokens.indexOf(type) !== -1;
- }
- }
- function elementMatches(n, selector) {
- if ((0,_angular_common__WEBPACK_IMPORTED_MODULE_0__["ɵgetDOM"])().isElementNode(n)) {
- return n.matches && n.matches(selector) || n.msMatchesSelector && n.msMatchesSelector(selector) || n.webkitMatchesSelector && n.webkitMatchesSelector(selector);
- }
- return false;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Supported HammerJS recognizer event names.
- */
- const EVENT_NAMES = {
- // pan
- 'pan': true,
- 'panstart': true,
- 'panmove': true,
- 'panend': true,
- 'pancancel': true,
- 'panleft': true,
- 'panright': true,
- 'panup': true,
- 'pandown': true,
- // pinch
- 'pinch': true,
- 'pinchstart': true,
- 'pinchmove': true,
- 'pinchend': true,
- 'pinchcancel': true,
- 'pinchin': true,
- 'pinchout': true,
- // press
- 'press': true,
- 'pressup': true,
- // rotate
- 'rotate': true,
- 'rotatestart': true,
- 'rotatemove': true,
- 'rotateend': true,
- 'rotatecancel': true,
- // swipe
- 'swipe': true,
- 'swipeleft': true,
- 'swiperight': true,
- 'swipeup': true,
- 'swipedown': true,
- // tap
- 'tap': true,
- 'doubletap': true
- };
- /**
- * DI token for providing [HammerJS](https://hammerjs.github.io/) support to Angular.
- * @see `HammerGestureConfig`
- *
- * @ngModule HammerModule
- * @publicApi
- */
- const HAMMER_GESTURE_CONFIG = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('HammerGestureConfig');
- /**
- * Injection token used to provide a {@link HammerLoader} to Angular.
- *
- * @publicApi
- */
- const HAMMER_LOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken('HammerLoader');
- /**
- * An injectable [HammerJS Manager](https://hammerjs.github.io/api/#hammermanager)
- * for gesture recognition. Configures specific event recognition.
- * @publicApi
- */
- class HammerGestureConfig {
- constructor() {
- /**
- * A set of supported event names for gestures to be used in Angular.
- * Angular supports all built-in recognizers, as listed in
- * [HammerJS documentation](https://hammerjs.github.io/).
- */
- this.events = [];
- /**
- * Maps gesture event names to a set of configuration options
- * that specify overrides to the default values for specific properties.
- *
- * The key is a supported event name to be configured,
- * and the options object contains a set of properties, with override values
- * to be applied to the named recognizer event.
- * For example, to disable recognition of the rotate event, specify
- * `{"rotate": {"enable": false}}`.
- *
- * Properties that are not present take the HammerJS default values.
- * For information about which properties are supported for which events,
- * and their allowed and default values, see
- * [HammerJS documentation](https://hammerjs.github.io/).
- *
- */
- this.overrides = {};
- }
- /**
- * Creates a [HammerJS Manager](https://hammerjs.github.io/api/#hammermanager)
- * and attaches it to a given HTML element.
- * @param element The element that will recognize gestures.
- * @returns A HammerJS event-manager object.
- */
- buildHammer(element) {
- const mc = new Hammer(element, this.options);
- mc.get('pinch').set({
- enable: true
- });
- mc.get('rotate').set({
- enable: true
- });
- for (const eventName in this.overrides) {
- mc.get(eventName).set(this.overrides[eventName]);
- }
- return mc;
- }
- }
- HammerGestureConfig.ɵfac = function HammerGestureConfig_Factory(t) {
- return new (t || HammerGestureConfig)();
- };
- HammerGestureConfig.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: HammerGestureConfig,
- factory: HammerGestureConfig.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](HammerGestureConfig, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], null, null);
- })();
- /**
- * Event plugin that adds Hammer support to an application.
- *
- * @ngModule HammerModule
- */
- class HammerGesturesPlugin extends EventManagerPlugin {
- constructor(doc, _config, console, loader) {
- super(doc);
- this._config = _config;
- this.console = console;
- this.loader = loader;
- this._loaderPromise = null;
- }
- supports(eventName) {
- if (!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase()) && !this.isCustomEvent(eventName)) {
- return false;
- }
- if (!window.Hammer && !this.loader) {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- this.console.warn(`The "${eventName}" event cannot be bound because Hammer.JS is not ` + `loaded and no custom loader has been specified.`);
- }
- return false;
- }
- return true;
- }
- addEventListener(element, eventName, handler) {
- const zone = this.manager.getZone();
- eventName = eventName.toLowerCase(); // If Hammer is not present but a loader is specified, we defer adding the event listener
- // until Hammer is loaded.
- if (!window.Hammer && this.loader) {
- this._loaderPromise = this._loaderPromise || zone.runOutsideAngular(() => this.loader()); // This `addEventListener` method returns a function to remove the added listener.
- // Until Hammer is loaded, the returned function needs to *cancel* the registration rather
- // than remove anything.
- let cancelRegistration = false;
- let deregister = () => {
- cancelRegistration = true;
- };
- zone.runOutsideAngular(() => this._loaderPromise.then(() => {
- // If Hammer isn't actually loaded when the custom loader resolves, give up.
- if (!window.Hammer) {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- this.console.warn(`The custom HAMMER_LOADER completed, but Hammer.JS is not present.`);
- }
- deregister = () => {};
- return;
- }
- if (!cancelRegistration) {
- // Now that Hammer is loaded and the listener is being loaded for real,
- // the deregistration function changes from canceling registration to
- // removal.
- deregister = this.addEventListener(element, eventName, handler);
- }
- }).catch(() => {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- this.console.warn(`The "${eventName}" event cannot be bound because the custom ` + `Hammer.JS loader failed.`);
- }
- deregister = () => {};
- })); // Return a function that *executes* `deregister` (and not `deregister` itself) so that we
- // can change the behavior of `deregister` once the listener is added. Using a closure in
- // this way allows us to avoid any additional data structures to track listener removal.
- return () => {
- deregister();
- };
- }
- return zone.runOutsideAngular(() => {
- // Creating the manager bind events, must be done outside of angular
- const mc = this._config.buildHammer(element);
- const callback = function (eventObj) {
- zone.runGuarded(function () {
- handler(eventObj);
- });
- };
- mc.on(eventName, callback);
- return () => {
- mc.off(eventName, callback); // destroy mc to prevent memory leak
- if (typeof mc.destroy === 'function') {
- mc.destroy();
- }
- };
- });
- }
- isCustomEvent(eventName) {
- return this._config.events.indexOf(eventName) > -1;
- }
- }
- HammerGesturesPlugin.ɵfac = function HammerGesturesPlugin_Factory(t) {
- 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));
- };
- HammerGesturesPlugin.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: HammerGesturesPlugin,
- factory: HammerGesturesPlugin.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](HammerGesturesPlugin, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }]
- }, {
- type: HammerGestureConfig,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [HAMMER_GESTURE_CONFIG]
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵConsole"]
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [HAMMER_LOADER]
- }]
- }];
- }, null);
- })();
- /**
- * Adds support for HammerJS.
- *
- * Import this module at the root of your application so that Angular can work with
- * HammerJS to detect gesture events.
- *
- * Note that applications still need to include the HammerJS script itself. This module
- * simply sets up the coordination layer between HammerJS and Angular's EventManager.
- *
- * @publicApi
- */
- class HammerModule {}
- HammerModule.ɵfac = function HammerModule_Factory(t) {
- return new (t || HammerModule)();
- };
- HammerModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
- type: HammerModule
- });
- HammerModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
- providers: [{
- provide: EVENT_MANAGER_PLUGINS,
- useClass: HammerGesturesPlugin,
- multi: true,
- 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]]
- }, {
- provide: HAMMER_GESTURE_CONFIG,
- useClass: HammerGestureConfig,
- deps: []
- }]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](HammerModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule,
- args: [{
- providers: [{
- provide: EVENT_MANAGER_PLUGINS,
- useClass: HammerGesturesPlugin,
- multi: true,
- 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]]
- }, {
- provide: HAMMER_GESTURE_CONFIG,
- useClass: HammerGestureConfig,
- deps: []
- }]
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing
- * values to be safe to use in the different DOM contexts.
- *
- * For example, when binding a URL in an `<a [href]="someValue">` hyperlink, `someValue` will be
- * sanitized so that an attacker cannot inject e.g. a `javascript:` URL that would execute code on
- * the website.
- *
- * In specific situations, it might be necessary to disable sanitization, for example if the
- * application genuinely needs to produce a `javascript:` style link with a dynamic value in it.
- * Users can bypass security by constructing a value with one of the `bypassSecurityTrust...`
- * methods, and then binding to that value from the template.
- *
- * These situations should be very rare, and extraordinary care must be taken to avoid creating a
- * Cross Site Scripting (XSS) security bug!
- *
- * When using `bypassSecurityTrust...`, make sure to call the method as early as possible and as
- * close as possible to the source of the value, to make it easy to verify no security bug is
- * created by its use.
- *
- * It is not required (and not recommended) to bypass security if the value is safe, e.g. a URL that
- * does not start with a suspicious protocol, or an HTML snippet that does not contain dangerous
- * code. The sanitizer leaves safe values intact.
- *
- * @security Calling any of the `bypassSecurityTrust...` APIs disables Angular's built-in
- * sanitization for the value passed in. Carefully check and audit all values and code paths going
- * into this call. Make sure any user data is appropriately escaped for this security context.
- * For more detail, see the [Security Guide](https://g.co/ng/security).
- *
- * @publicApi
- */
- class DomSanitizer {}
- DomSanitizer.ɵfac = function DomSanitizer_Factory(t) {
- return new (t || DomSanitizer)();
- };
- DomSanitizer.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: DomSanitizer,
- factory: function DomSanitizer_Factory(t) {
- let r = null;
- if (t) {
- r = new (t || DomSanitizer)();
- } else {
- r = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](DomSanitizerImpl);
- }
- return r;
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomSanitizer, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
- args: [{
- providedIn: 'root',
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(() => DomSanitizerImpl)
- }]
- }], null, null);
- })();
- function domSanitizerImplFactory(injector) {
- return new DomSanitizerImpl(injector.get(_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- }
- class DomSanitizerImpl extends DomSanitizer {
- constructor(_doc) {
- super();
- this._doc = _doc;
- }
- sanitize(ctx, value) {
- if (value == null) return null;
- switch (ctx) {
- case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.NONE:
- return value;
- case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.HTML:
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "HTML"
- /* BypassType.Html */
- )) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
- }
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵ_sanitizeHtml"])(this._doc, String(value)).toString();
- case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.STYLE:
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "Style"
- /* BypassType.Style */
- )) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
- }
- return value;
- case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.SCRIPT:
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "Script"
- /* BypassType.Script */
- )) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
- }
- throw new Error('unsafe value used in a script context');
- case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.URL:
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "URL"
- /* BypassType.Url */
- )) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
- }
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵ_sanitizeUrl"])(String(value));
- case _angular_core__WEBPACK_IMPORTED_MODULE_1__.SecurityContext.RESOURCE_URL:
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵallowSanitizationBypassAndThrow"])(value, "ResourceURL"
- /* BypassType.ResourceUrl */
- )) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunwrapSafeValue"])(value);
- }
- throw new Error('unsafe value used in a resource URL context (see https://g.co/ng/security#xss)');
- default:
- throw new Error(`Unexpected SecurityContext ${ctx} (see https://g.co/ng/security#xss)`);
- }
- }
- bypassSecurityTrustHtml(value) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustHtml"])(value);
- }
- bypassSecurityTrustStyle(value) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustStyle"])(value);
- }
- bypassSecurityTrustScript(value) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustScript"])(value);
- }
- bypassSecurityTrustUrl(value) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustUrl"])(value);
- }
- bypassSecurityTrustResourceUrl(value) {
- return (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵbypassSanitizationTrustResourceUrl"])(value);
- }
- }
- DomSanitizerImpl.ɵfac = function DomSanitizerImpl_Factory(t) {
- return new (t || DomSanitizerImpl)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT));
- };
- DomSanitizerImpl.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: DomSanitizerImpl,
- factory: function DomSanitizerImpl_Factory(t) {
- let r = null;
- if (t) {
- r = new t();
- } else {
- r = domSanitizerImplFactory(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector));
- }
- return r;
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](DomSanitizerImpl, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: domSanitizerImplFactory,
- deps: [_angular_core__WEBPACK_IMPORTED_MODULE_1__.Injector]
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject,
- args: [_angular_common__WEBPACK_IMPORTED_MODULE_0__.DOCUMENT]
- }]
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- */
- const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_1__.Version('14.2.7');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file only reexports content of the `src` folder. Keep it that way.
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 2816:
- /*!**********************************************************!*\
- !*** ./node_modules/@angular/router/fesm2015/router.mjs ***!
- \**********************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "ActivatedRoute": () => (/* binding */ ActivatedRoute),
- /* harmony export */ "ActivatedRouteSnapshot": () => (/* binding */ ActivatedRouteSnapshot),
- /* harmony export */ "ActivationEnd": () => (/* binding */ ActivationEnd),
- /* harmony export */ "ActivationStart": () => (/* binding */ ActivationStart),
- /* harmony export */ "BaseRouteReuseStrategy": () => (/* binding */ BaseRouteReuseStrategy),
- /* harmony export */ "ChildActivationEnd": () => (/* binding */ ChildActivationEnd),
- /* harmony export */ "ChildActivationStart": () => (/* binding */ ChildActivationStart),
- /* harmony export */ "ChildrenOutletContexts": () => (/* binding */ ChildrenOutletContexts),
- /* harmony export */ "DefaultTitleStrategy": () => (/* binding */ DefaultTitleStrategy),
- /* harmony export */ "DefaultUrlSerializer": () => (/* binding */ DefaultUrlSerializer),
- /* harmony export */ "GuardsCheckEnd": () => (/* binding */ GuardsCheckEnd),
- /* harmony export */ "GuardsCheckStart": () => (/* binding */ GuardsCheckStart),
- /* harmony export */ "NavigationCancel": () => (/* binding */ NavigationCancel),
- /* harmony export */ "NavigationEnd": () => (/* binding */ NavigationEnd),
- /* harmony export */ "NavigationError": () => (/* binding */ NavigationError),
- /* harmony export */ "NavigationStart": () => (/* binding */ NavigationStart),
- /* harmony export */ "NoPreloading": () => (/* binding */ NoPreloading),
- /* harmony export */ "OutletContext": () => (/* binding */ OutletContext),
- /* harmony export */ "PRIMARY_OUTLET": () => (/* binding */ PRIMARY_OUTLET),
- /* harmony export */ "PreloadAllModules": () => (/* binding */ PreloadAllModules),
- /* harmony export */ "PreloadingStrategy": () => (/* binding */ PreloadingStrategy),
- /* harmony export */ "ROUTER_CONFIGURATION": () => (/* binding */ ROUTER_CONFIGURATION),
- /* harmony export */ "ROUTER_INITIALIZER": () => (/* binding */ ROUTER_INITIALIZER),
- /* harmony export */ "ROUTES": () => (/* binding */ ROUTES),
- /* harmony export */ "ResolveEnd": () => (/* binding */ ResolveEnd),
- /* harmony export */ "ResolveStart": () => (/* binding */ ResolveStart),
- /* harmony export */ "RouteConfigLoadEnd": () => (/* binding */ RouteConfigLoadEnd),
- /* harmony export */ "RouteConfigLoadStart": () => (/* binding */ RouteConfigLoadStart),
- /* harmony export */ "RouteReuseStrategy": () => (/* binding */ RouteReuseStrategy),
- /* harmony export */ "Router": () => (/* binding */ Router),
- /* harmony export */ "RouterEvent": () => (/* binding */ RouterEvent),
- /* harmony export */ "RouterLink": () => (/* binding */ RouterLink),
- /* harmony export */ "RouterLinkActive": () => (/* binding */ RouterLinkActive),
- /* harmony export */ "RouterLinkWithHref": () => (/* binding */ RouterLinkWithHref),
- /* harmony export */ "RouterModule": () => (/* binding */ RouterModule),
- /* harmony export */ "RouterOutlet": () => (/* binding */ RouterOutlet),
- /* harmony export */ "RouterPreloader": () => (/* binding */ RouterPreloader),
- /* harmony export */ "RouterState": () => (/* binding */ RouterState),
- /* harmony export */ "RouterStateSnapshot": () => (/* binding */ RouterStateSnapshot),
- /* harmony export */ "RoutesRecognized": () => (/* binding */ RoutesRecognized),
- /* harmony export */ "Scroll": () => (/* binding */ Scroll),
- /* harmony export */ "TitleStrategy": () => (/* binding */ TitleStrategy),
- /* harmony export */ "UrlHandlingStrategy": () => (/* binding */ UrlHandlingStrategy),
- /* harmony export */ "UrlSegment": () => (/* binding */ UrlSegment),
- /* harmony export */ "UrlSegmentGroup": () => (/* binding */ UrlSegmentGroup),
- /* harmony export */ "UrlSerializer": () => (/* binding */ UrlSerializer),
- /* harmony export */ "UrlTree": () => (/* binding */ UrlTree),
- /* harmony export */ "VERSION": () => (/* binding */ VERSION),
- /* harmony export */ "convertToParamMap": () => (/* binding */ convertToParamMap),
- /* harmony export */ "createUrlTreeFromSnapshot": () => (/* binding */ createUrlTreeFromSnapshot),
- /* harmony export */ "defaultUrlMatcher": () => (/* binding */ defaultUrlMatcher),
- /* harmony export */ "provideRouter": () => (/* binding */ provideRouter),
- /* harmony export */ "provideRoutes": () => (/* binding */ provideRoutes),
- /* harmony export */ "withDebugTracing": () => (/* binding */ withDebugTracing),
- /* harmony export */ "withDisabledInitialNavigation": () => (/* binding */ withDisabledInitialNavigation),
- /* harmony export */ "withEnabledBlockingInitialNavigation": () => (/* binding */ withEnabledBlockingInitialNavigation),
- /* harmony export */ "withInMemoryScrolling": () => (/* binding */ withInMemoryScrolling),
- /* harmony export */ "withPreloading": () => (/* binding */ withPreloading),
- /* harmony export */ "withRouterConfig": () => (/* binding */ withRouterConfig),
- /* harmony export */ "ɵEmptyOutletComponent": () => (/* binding */ ɵEmptyOutletComponent),
- /* harmony export */ "ɵROUTER_PROVIDERS": () => (/* binding */ ROUTER_PROVIDERS),
- /* harmony export */ "ɵassignExtraOptionsToRouter": () => (/* binding */ assignExtraOptionsToRouter),
- /* harmony export */ "ɵflatten": () => (/* binding */ flatten),
- /* harmony export */ "ɵwithPreloading": () => (/* binding */ withPreloading)
- /* harmony export */ });
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 3184);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 4383);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs */ 4139);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs */ 4505);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rxjs */ 213);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 9193);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! rxjs */ 5828);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! rxjs */ 2160);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! rxjs */ 6800);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! rxjs */ 6587);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! rxjs */ 2378);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! rxjs */ 6439);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! rxjs */ 4483);
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! rxjs */ 2218);
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @angular/common */ 6362);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! rxjs/operators */ 6942);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rxjs/operators */ 9095);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs/operators */ 3910);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! rxjs/operators */ 5722);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs/operators */ 9151);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs/operators */ 522);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! rxjs/operators */ 5670);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! rxjs/operators */ 1133);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! rxjs/operators */ 8759);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! rxjs/operators */ 7418);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! rxjs/operators */ 2647);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! rxjs/operators */ 5690);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! rxjs/operators */ 5050);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! rxjs/operators */ 9701);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! rxjs/operators */ 7760);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! rxjs/operators */ 9361);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! rxjs/operators */ 4661);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! rxjs/operators */ 8331);
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! rxjs/operators */ 6675);
- /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @angular/platform-browser */ 318);
- /**
- * @license Angular v14.2.7
- * (c) 2010-2022 Google LLC. https://angular.io/
- * License: MIT
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * The primary routing outlet.
- *
- * @publicApi
- */
- const PRIMARY_OUTLET = 'primary';
- /**
- * A private symbol used to store the value of `Route.title` inside the `Route.data` if it is a
- * static string or `Route.resolve` if anything else. This allows us to reuse the existing route
- * data/resolvers to support the title feature without new instrumentation in the `Router` pipeline.
- */
- const RouteTitleKey = Symbol('RouteTitle');
- class ParamsAsMap {
- constructor(params) {
- this.params = params || {};
- }
- has(name) {
- return Object.prototype.hasOwnProperty.call(this.params, name);
- }
- get(name) {
- if (this.has(name)) {
- const v = this.params[name];
- return Array.isArray(v) ? v[0] : v;
- }
- return null;
- }
- getAll(name) {
- if (this.has(name)) {
- const v = this.params[name];
- return Array.isArray(v) ? v : [v];
- }
- return [];
- }
- get keys() {
- return Object.keys(this.params);
- }
- }
- /**
- * Converts a `Params` instance to a `ParamMap`.
- * @param params The instance to convert.
- * @returns The new map instance.
- *
- * @publicApi
- */
- function convertToParamMap(params) {
- return new ParamsAsMap(params);
- }
- /**
- * Matches the route configuration (`route`) against the actual URL (`segments`).
- *
- * When no matcher is defined on a `Route`, this is the matcher used by the Router by default.
- *
- * @param segments The remaining unmatched segments in the current navigation
- * @param segmentGroup The current segment group being matched
- * @param route The `Route` to match against.
- *
- * @see UrlMatchResult
- * @see Route
- *
- * @returns The resulting match information or `null` if the `route` should not match.
- * @publicApi
- */
- function defaultUrlMatcher(segments, segmentGroup, route) {
- const parts = route.path.split('/');
- if (parts.length > segments.length) {
- // The actual URL is shorter than the config, no match
- return null;
- }
- if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || parts.length < segments.length)) {
- // The config is longer than the actual URL but we are looking for a full match, return null
- return null;
- }
- const posParams = {}; // Check each config part against the actual URL
- for (let index = 0; index < parts.length; index++) {
- const part = parts[index];
- const segment = segments[index];
- const isParameter = part.startsWith(':');
- if (isParameter) {
- posParams[part.substring(1)] = segment;
- } else if (part !== segment.path) {
- // The actual URL part does not match the config, no match
- return null;
- }
- }
- return {
- consumed: segments.slice(0, parts.length),
- posParams
- };
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function shallowEqualArrays(a, b) {
- if (a.length !== b.length) return false;
- for (let i = 0; i < a.length; ++i) {
- if (!shallowEqual(a[i], b[i])) return false;
- }
- return true;
- }
- function shallowEqual(a, b) {
- // While `undefined` should never be possible, it would sometimes be the case in IE 11
- // and pre-chromium Edge. The check below accounts for this edge case.
- const k1 = a ? Object.keys(a) : undefined;
- const k2 = b ? Object.keys(b) : undefined;
- if (!k1 || !k2 || k1.length != k2.length) {
- return false;
- }
- let key;
- for (let i = 0; i < k1.length; i++) {
- key = k1[i];
- if (!equalArraysOrString(a[key], b[key])) {
- return false;
- }
- }
- return true;
- }
- /**
- * Test equality for arrays of strings or a string.
- */
- function equalArraysOrString(a, b) {
- if (Array.isArray(a) && Array.isArray(b)) {
- if (a.length !== b.length) return false;
- const aSorted = [...a].sort();
- const bSorted = [...b].sort();
- return aSorted.every((val, index) => bSorted[index] === val);
- } else {
- return a === b;
- }
- }
- /**
- * Flattens single-level nested arrays.
- */
- function flatten(arr) {
- return Array.prototype.concat.apply([], arr);
- }
- /**
- * Return the last element of an array.
- */
- function last(a) {
- return a.length > 0 ? a[a.length - 1] : null;
- }
- /**
- * Verifys all booleans in an array are `true`.
- */
- function and(bools) {
- return !bools.some(v => !v);
- }
- function forEach(map, callback) {
- for (const prop in map) {
- if (map.hasOwnProperty(prop)) {
- callback(map[prop], prop);
- }
- }
- }
- function wrapIntoObservable(value) {
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisObservable"])(value)) {
- return value;
- }
- if ((0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisPromise"])(value)) {
- // Use `Promise.resolve()` to wrap promise-like instances.
- // Required ie when a Resolver returns a AngularJS `$q` promise to correctly trigger the
- // change detection.
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(Promise.resolve(value));
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(value);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$9 = typeof ngDevMode === 'undefined' || ngDevMode;
- function createEmptyUrlTree() {
- return new UrlTree(new UrlSegmentGroup([], {}), {}, null);
- }
- const pathCompareMap = {
- 'exact': equalSegmentGroups,
- 'subset': containsSegmentGroup
- };
- const paramCompareMap = {
- 'exact': equalParams,
- 'subset': containsParams,
- 'ignored': () => true
- };
- function containsTree(container, containee, options) {
- return pathCompareMap[options.paths](container.root, containee.root, options.matrixParams) && paramCompareMap[options.queryParams](container.queryParams, containee.queryParams) && !(options.fragment === 'exact' && container.fragment !== containee.fragment);
- }
- function equalParams(container, containee) {
- // TODO: This does not handle array params correctly.
- return shallowEqual(container, containee);
- }
- function equalSegmentGroups(container, containee, matrixParams) {
- if (!equalPath(container.segments, containee.segments)) return false;
- if (!matrixParamsMatch(container.segments, containee.segments, matrixParams)) {
- return false;
- }
- if (container.numberOfChildren !== containee.numberOfChildren) return false;
- for (const c in containee.children) {
- if (!container.children[c]) return false;
- if (!equalSegmentGroups(container.children[c], containee.children[c], matrixParams)) return false;
- }
- return true;
- }
- function containsParams(container, containee) {
- return Object.keys(containee).length <= Object.keys(container).length && Object.keys(containee).every(key => equalArraysOrString(container[key], containee[key]));
- }
- function containsSegmentGroup(container, containee, matrixParams) {
- return containsSegmentGroupHelper(container, containee, containee.segments, matrixParams);
- }
- function containsSegmentGroupHelper(container, containee, containeePaths, matrixParams) {
- if (container.segments.length > containeePaths.length) {
- const current = container.segments.slice(0, containeePaths.length);
- if (!equalPath(current, containeePaths)) return false;
- if (containee.hasChildren()) return false;
- if (!matrixParamsMatch(current, containeePaths, matrixParams)) return false;
- return true;
- } else if (container.segments.length === containeePaths.length) {
- if (!equalPath(container.segments, containeePaths)) return false;
- if (!matrixParamsMatch(container.segments, containeePaths, matrixParams)) return false;
- for (const c in containee.children) {
- if (!container.children[c]) return false;
- if (!containsSegmentGroup(container.children[c], containee.children[c], matrixParams)) {
- return false;
- }
- }
- return true;
- } else {
- const current = containeePaths.slice(0, container.segments.length);
- const next = containeePaths.slice(container.segments.length);
- if (!equalPath(container.segments, current)) return false;
- if (!matrixParamsMatch(container.segments, current, matrixParams)) return false;
- if (!container.children[PRIMARY_OUTLET]) return false;
- return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next, matrixParams);
- }
- }
- function matrixParamsMatch(containerPaths, containeePaths, options) {
- return containeePaths.every((containeeSegment, i) => {
- return paramCompareMap[options](containerPaths[i].parameters, containeeSegment.parameters);
- });
- }
- /**
- * @description
- *
- * Represents the parsed URL.
- *
- * Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a
- * serialized tree.
- * UrlTree is a data structure that provides a lot of affordances in dealing with URLs
- *
- * @usageNotes
- * ### Example
- *
- * ```
- * @Component({templateUrl:'template.html'})
- * class MyComponent {
- * constructor(router: Router) {
- * const tree: UrlTree =
- * router.parseUrl('/team/33/(user/victor//support:help)?debug=true#fragment');
- * const f = tree.fragment; // return 'fragment'
- * const q = tree.queryParams; // returns {debug: 'true'}
- * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];
- * const s: UrlSegment[] = g.segments; // returns 2 segments 'team' and '33'
- * g.children[PRIMARY_OUTLET].segments; // returns 2 segments 'user' and 'victor'
- * g.children['support'].segments; // return 1 segment 'help'
- * }
- * }
- * ```
- *
- * @publicApi
- */
- class UrlTree {
- /** @internal */
- constructor(
- /** The root segment group of the URL tree */
- root,
- /** The query params of the URL */
- queryParams,
- /** The fragment of the URL */
- fragment) {
- this.root = root;
- this.queryParams = queryParams;
- this.fragment = fragment;
- }
- get queryParamMap() {
- if (!this._queryParamMap) {
- this._queryParamMap = convertToParamMap(this.queryParams);
- }
- return this._queryParamMap;
- }
- /** @docsNotRequired */
- toString() {
- return DEFAULT_SERIALIZER.serialize(this);
- }
- }
- /**
- * @description
- *
- * Represents the parsed URL segment group.
- *
- * See `UrlTree` for more information.
- *
- * @publicApi
- */
- class UrlSegmentGroup {
- constructor(
- /** The URL segments of this group. See `UrlSegment` for more information */
- segments,
- /** The list of children of this group */
- children) {
- this.segments = segments;
- this.children = children;
- /** The parent node in the url tree */
- this.parent = null;
- forEach(children, (v, k) => v.parent = this);
- }
- /** Whether the segment has child segments */
- hasChildren() {
- return this.numberOfChildren > 0;
- }
- /** Number of child segments */
- get numberOfChildren() {
- return Object.keys(this.children).length;
- }
- /** @docsNotRequired */
- toString() {
- return serializePaths(this);
- }
- }
- /**
- * @description
- *
- * Represents a single URL segment.
- *
- * A UrlSegment is a part of a URL between the two slashes. It contains a path and the matrix
- * parameters associated with the segment.
- *
- * @usageNotes
- * ### Example
- *
- * ```
- * @Component({templateUrl:'template.html'})
- * class MyComponent {
- * constructor(router: Router) {
- * const tree: UrlTree = router.parseUrl('/team;id=33');
- * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];
- * const s: UrlSegment[] = g.segments;
- * s[0].path; // returns 'team'
- * s[0].parameters; // returns {id: 33}
- * }
- * }
- * ```
- *
- * @publicApi
- */
- class UrlSegment {
- constructor(
- /** The path part of a URL segment */
- path,
- /** The matrix parameters associated with a segment */
- parameters) {
- this.path = path;
- this.parameters = parameters;
- }
- get parameterMap() {
- if (!this._parameterMap) {
- this._parameterMap = convertToParamMap(this.parameters);
- }
- return this._parameterMap;
- }
- /** @docsNotRequired */
- toString() {
- return serializePath(this);
- }
- }
- function equalSegments(as, bs) {
- return equalPath(as, bs) && as.every((a, i) => shallowEqual(a.parameters, bs[i].parameters));
- }
- function equalPath(as, bs) {
- if (as.length !== bs.length) return false;
- return as.every((a, i) => a.path === bs[i].path);
- }
- function mapChildrenIntoArray(segment, fn) {
- let res = [];
- forEach(segment.children, (child, childOutlet) => {
- if (childOutlet === PRIMARY_OUTLET) {
- res = res.concat(fn(child, childOutlet));
- }
- });
- forEach(segment.children, (child, childOutlet) => {
- if (childOutlet !== PRIMARY_OUTLET) {
- res = res.concat(fn(child, childOutlet));
- }
- });
- return res;
- }
- /**
- * @description
- *
- * Serializes and deserializes a URL string into a URL tree.
- *
- * The url serialization strategy is customizable. You can
- * make all URLs case insensitive by providing a custom UrlSerializer.
- *
- * See `DefaultUrlSerializer` for an example of a URL serializer.
- *
- * @publicApi
- */
- class UrlSerializer {}
- UrlSerializer.ɵfac = function UrlSerializer_Factory(t) {
- return new (t || UrlSerializer)();
- };
- UrlSerializer.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: UrlSerializer,
- factory: function () {
- return (() => new DefaultUrlSerializer())();
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](UrlSerializer, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: () => new DefaultUrlSerializer()
- }]
- }], null, null);
- })();
- /**
- * @description
- *
- * A default implementation of the `UrlSerializer`.
- *
- * Example URLs:
- *
- * ```
- * /inbox/33(popup:compose)
- * /inbox/33;open=true/messages/44
- * ```
- *
- * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the
- * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to
- * specify route specific parameters.
- *
- * @publicApi
- */
- class DefaultUrlSerializer {
- /** Parses a url into a `UrlTree` */
- parse(url) {
- const p = new UrlParser(url);
- return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment());
- }
- /** Converts a `UrlTree` into a url */
- serialize(tree) {
- const segment = `/${serializeSegment(tree.root, true)}`;
- const query = serializeQueryParams(tree.queryParams);
- const fragment = typeof tree.fragment === `string` ? `#${encodeUriFragment(tree.fragment)}` : '';
- return `${segment}${query}${fragment}`;
- }
- }
- const DEFAULT_SERIALIZER = new DefaultUrlSerializer();
- function serializePaths(segment) {
- return segment.segments.map(p => serializePath(p)).join('/');
- }
- function serializeSegment(segment, root) {
- if (!segment.hasChildren()) {
- return serializePaths(segment);
- }
- if (root) {
- const primary = segment.children[PRIMARY_OUTLET] ? serializeSegment(segment.children[PRIMARY_OUTLET], false) : '';
- const children = [];
- forEach(segment.children, (v, k) => {
- if (k !== PRIMARY_OUTLET) {
- children.push(`${k}:${serializeSegment(v, false)}`);
- }
- });
- return children.length > 0 ? `${primary}(${children.join('//')})` : primary;
- } else {
- const children = mapChildrenIntoArray(segment, (v, k) => {
- if (k === PRIMARY_OUTLET) {
- return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];
- }
- return [`${k}:${serializeSegment(v, false)}`];
- }); // use no parenthesis if the only child is a primary outlet route
- if (Object.keys(segment.children).length === 1 && segment.children[PRIMARY_OUTLET] != null) {
- return `${serializePaths(segment)}/${children[0]}`;
- }
- return `${serializePaths(segment)}/(${children.join('//')})`;
- }
- }
- /**
- * Encodes a URI string with the default encoding. This function will only ever be called from
- * `encodeUriQuery` or `encodeUriSegment` as it's the base set of encodings to be used. We need
- * a custom encoding because encodeURIComponent is too aggressive and encodes stuff that doesn't
- * have to be encoded per https://url.spec.whatwg.org.
- */
- function encodeUriString(s) {
- return encodeURIComponent(s).replace(/%40/g, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',');
- }
- /**
- * This function should be used to encode both keys and values in a query string key/value. In
- * the following URL, you need to call encodeUriQuery on "k" and "v":
- *
- * http://www.site.org/html;mk=mv?k=v#f
- */
- function encodeUriQuery(s) {
- return encodeUriString(s).replace(/%3B/gi, ';');
- }
- /**
- * This function should be used to encode a URL fragment. In the following URL, you need to call
- * encodeUriFragment on "f":
- *
- * http://www.site.org/html;mk=mv?k=v#f
- */
- function encodeUriFragment(s) {
- return encodeURI(s);
- }
- /**
- * This function should be run on any URI segment as well as the key and value in a key/value
- * pair for matrix params. In the following URL, you need to call encodeUriSegment on "html",
- * "mk", and "mv":
- *
- * http://www.site.org/html;mk=mv?k=v#f
- */
- function encodeUriSegment(s) {
- return encodeUriString(s).replace(/\(/g, '%28').replace(/\)/g, '%29').replace(/%26/gi, '&');
- }
- function decode(s) {
- return decodeURIComponent(s);
- } // Query keys/values should have the "+" replaced first, as "+" in a query string is " ".
- // decodeURIComponent function will not decode "+" as a space.
- function decodeQuery(s) {
- return decode(s.replace(/\+/g, '%20'));
- }
- function serializePath(path) {
- return `${encodeUriSegment(path.path)}${serializeMatrixParams(path.parameters)}`;
- }
- function serializeMatrixParams(params) {
- return Object.keys(params).map(key => `;${encodeUriSegment(key)}=${encodeUriSegment(params[key])}`).join('');
- }
- function serializeQueryParams(params) {
- const strParams = Object.keys(params).map(name => {
- const value = params[name];
- return Array.isArray(value) ? value.map(v => `${encodeUriQuery(name)}=${encodeUriQuery(v)}`).join('&') : `${encodeUriQuery(name)}=${encodeUriQuery(value)}`;
- }).filter(s => !!s);
- return strParams.length ? `?${strParams.join('&')}` : '';
- }
- const SEGMENT_RE = /^[^\/()?;=#]+/;
- function matchSegments(str) {
- const match = str.match(SEGMENT_RE);
- return match ? match[0] : '';
- }
- const QUERY_PARAM_RE = /^[^=?&#]+/; // Return the name of the query param at the start of the string or an empty string
- function matchQueryParams(str) {
- const match = str.match(QUERY_PARAM_RE);
- return match ? match[0] : '';
- }
- const QUERY_PARAM_VALUE_RE = /^[^&#]+/; // Return the value of the query param at the start of the string or an empty string
- function matchUrlQueryParamValue(str) {
- const match = str.match(QUERY_PARAM_VALUE_RE);
- return match ? match[0] : '';
- }
- class UrlParser {
- constructor(url) {
- this.url = url;
- this.remaining = url;
- }
- parseRootSegment() {
- this.consumeOptional('/');
- if (this.remaining === '' || this.peekStartsWith('?') || this.peekStartsWith('#')) {
- return new UrlSegmentGroup([], {});
- } // The root segment group never has segments
- return new UrlSegmentGroup([], this.parseChildren());
- }
- parseQueryParams() {
- const params = {};
- if (this.consumeOptional('?')) {
- do {
- this.parseQueryParam(params);
- } while (this.consumeOptional('&'));
- }
- return params;
- }
- parseFragment() {
- return this.consumeOptional('#') ? decodeURIComponent(this.remaining) : null;
- }
- parseChildren() {
- if (this.remaining === '') {
- return {};
- }
- this.consumeOptional('/');
- const segments = [];
- if (!this.peekStartsWith('(')) {
- segments.push(this.parseSegment());
- }
- while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {
- this.capture('/');
- segments.push(this.parseSegment());
- }
- let children = {};
- if (this.peekStartsWith('/(')) {
- this.capture('/');
- children = this.parseParens(true);
- }
- let res = {};
- if (this.peekStartsWith('(')) {
- res = this.parseParens(false);
- }
- if (segments.length > 0 || Object.keys(children).length > 0) {
- res[PRIMARY_OUTLET] = new UrlSegmentGroup(segments, children);
- }
- return res;
- } // parse a segment with its matrix parameters
- // ie `name;k1=v1;k2`
- parseSegment() {
- const path = matchSegments(this.remaining);
- if (path === '' && this.peekStartsWith(';')) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4009
- /* RuntimeErrorCode.EMPTY_PATH_WITH_PARAMS */
- , NG_DEV_MODE$9 && `Empty path url segment cannot have parameters: '${this.remaining}'.`);
- }
- this.capture(path);
- return new UrlSegment(decode(path), this.parseMatrixParams());
- }
- parseMatrixParams() {
- const params = {};
- while (this.consumeOptional(';')) {
- this.parseParam(params);
- }
- return params;
- }
- parseParam(params) {
- const key = matchSegments(this.remaining);
- if (!key) {
- return;
- }
- this.capture(key);
- let value = '';
- if (this.consumeOptional('=')) {
- const valueMatch = matchSegments(this.remaining);
- if (valueMatch) {
- value = valueMatch;
- this.capture(value);
- }
- }
- params[decode(key)] = decode(value);
- } // Parse a single query parameter `name[=value]`
- parseQueryParam(params) {
- const key = matchQueryParams(this.remaining);
- if (!key) {
- return;
- }
- this.capture(key);
- let value = '';
- if (this.consumeOptional('=')) {
- const valueMatch = matchUrlQueryParamValue(this.remaining);
- if (valueMatch) {
- value = valueMatch;
- this.capture(value);
- }
- }
- const decodedKey = decodeQuery(key);
- const decodedVal = decodeQuery(value);
- if (params.hasOwnProperty(decodedKey)) {
- // Append to existing values
- let currentVal = params[decodedKey];
- if (!Array.isArray(currentVal)) {
- currentVal = [currentVal];
- params[decodedKey] = currentVal;
- }
- currentVal.push(decodedVal);
- } else {
- // Create a new value
- params[decodedKey] = decodedVal;
- }
- } // parse `(a/b//outlet_name:c/d)`
- parseParens(allowPrimary) {
- const segments = {};
- this.capture('(');
- while (!this.consumeOptional(')') && this.remaining.length > 0) {
- const path = matchSegments(this.remaining);
- const next = this.remaining[path.length]; // if is is not one of these characters, then the segment was unescaped
- // or the group was not closed
- if (next !== '/' && next !== ')' && next !== ';') {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4010
- /* RuntimeErrorCode.UNPARSABLE_URL */
- , NG_DEV_MODE$9 && `Cannot parse url '${this.url}'`);
- }
- let outletName = undefined;
- if (path.indexOf(':') > -1) {
- outletName = path.slice(0, path.indexOf(':'));
- this.capture(outletName);
- this.capture(':');
- } else if (allowPrimary) {
- outletName = PRIMARY_OUTLET;
- }
- const children = this.parseChildren();
- segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] : new UrlSegmentGroup([], children);
- this.consumeOptional('//');
- }
- return segments;
- }
- peekStartsWith(str) {
- return this.remaining.startsWith(str);
- } // Consumes the prefix when it is present and returns whether it has been consumed
- consumeOptional(str) {
- if (this.peekStartsWith(str)) {
- this.remaining = this.remaining.substring(str.length);
- return true;
- }
- return false;
- }
- capture(str) {
- if (!this.consumeOptional(str)) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4011
- /* RuntimeErrorCode.UNEXPECTED_VALUE_IN_URL */
- , NG_DEV_MODE$9 && `Expected "${str}".`);
- }
- }
- }
- function createRoot(rootCandidate) {
- return rootCandidate.segments.length > 0 ? new UrlSegmentGroup([], {
- [PRIMARY_OUTLET]: rootCandidate
- }) : rootCandidate;
- }
- /**
- * Recursively merges primary segment children into their parents and also drops empty children
- * (those which have no segments and no children themselves). The latter prevents serializing a
- * group into something like `/a(aux:)`, where `aux` is an empty child segment.
- */
- function squashSegmentGroup(segmentGroup) {
- const newChildren = {};
- for (const childOutlet of Object.keys(segmentGroup.children)) {
- const child = segmentGroup.children[childOutlet];
- const childCandidate = squashSegmentGroup(child); // don't add empty children
- if (childCandidate.segments.length > 0 || childCandidate.hasChildren()) {
- newChildren[childOutlet] = childCandidate;
- }
- }
- const s = new UrlSegmentGroup(segmentGroup.segments, newChildren);
- return mergeTrivialChildren(s);
- }
- /**
- * When possible, merges the primary outlet child into the parent `UrlSegmentGroup`.
- *
- * When a segment group has only one child which is a primary outlet, merges that child into the
- * parent. That is, the child segment group's segments are merged into the `s` and the child's
- * children become the children of `s`. Think of this like a 'squash', merging the child segment
- * group into the parent.
- */
- function mergeTrivialChildren(s) {
- if (s.numberOfChildren === 1 && s.children[PRIMARY_OUTLET]) {
- const c = s.children[PRIMARY_OUTLET];
- return new UrlSegmentGroup(s.segments.concat(c.segments), c.children);
- }
- return s;
- }
- function isUrlTree(v) {
- return v instanceof UrlTree;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$8 = typeof ngDevMode === 'undefined' || ngDevMode;
- /**
- * Creates a `UrlTree` relative to an `ActivatedRouteSnapshot`.
- *
- * @publicApi
- *
- *
- * @param relativeTo The `ActivatedRouteSnapshot` to apply the commands to
- * @param commands An array of URL fragments with which to construct the new URL tree.
- * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path
- * segments, followed by the parameters for each segment.
- * The fragments are applied to the one provided in the `relativeTo` parameter.
- * @param queryParams The query parameters for the `UrlTree`. `null` if the `UrlTree` does not have
- * any query parameters.
- * @param fragment The fragment for the `UrlTree`. `null` if the `UrlTree` does not have a fragment.
- *
- * @usageNotes
- *
- * ```
- * // create /team/33/user/11
- * createUrlTreeFromSnapshot(snapshot, ['/team', 33, 'user', 11]);
- *
- * // create /team/33;expand=true/user/11
- * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {expand: true}, 'user', 11]);
- *
- * // you can collapse static segments like this (this works only with the first passed-in value):
- * createUrlTreeFromSnapshot(snapshot, ['/team/33/user', userId]);
- *
- * // If the first segment can contain slashes, and you do not want the router to split it,
- * // you can do the following:
- * createUrlTreeFromSnapshot(snapshot, [{segmentPath: '/one/two'}]);
- *
- * // create /team/33/(user/11//right:chat)
- * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {outlets: {primary: 'user/11', right:
- * 'chat'}}], null, null);
- *
- * // remove the right secondary node
- * createUrlTreeFromSnapshot(snapshot, ['/team', 33, {outlets: {primary: 'user/11', right: null}}]);
- *
- * // For the examples below, assume the current URL is for the `/team/33/user/11` and the
- * `ActivatedRouteSnapshot` points to `user/11`:
- *
- * // navigate to /team/33/user/11/details
- * createUrlTreeFromSnapshot(snapshot, ['details']);
- *
- * // navigate to /team/33/user/22
- * createUrlTreeFromSnapshot(snapshot, ['../22']);
- *
- * // navigate to /team/44/user/22
- * createUrlTreeFromSnapshot(snapshot, ['../../team/44/user/22']);
- * ```
- */
- function createUrlTreeFromSnapshot(relativeTo, commands, queryParams = null, fragment = null) {
- const relativeToUrlSegmentGroup = createSegmentGroupFromRoute(relativeTo);
- return createUrlTreeFromSegmentGroup(relativeToUrlSegmentGroup, commands, queryParams, fragment);
- }
- function createSegmentGroupFromRoute(route) {
- let targetGroup;
- function createSegmentGroupFromRouteRecursive(currentRoute) {
- const childOutlets = {};
- for (const childSnapshot of currentRoute.children) {
- const root = createSegmentGroupFromRouteRecursive(childSnapshot);
- childOutlets[childSnapshot.outlet] = root;
- }
- const segmentGroup = new UrlSegmentGroup(currentRoute.url, childOutlets);
- if (currentRoute === route) {
- targetGroup = segmentGroup;
- }
- return segmentGroup;
- }
- const rootCandidate = createSegmentGroupFromRouteRecursive(route.root);
- const rootSegmentGroup = createRoot(rootCandidate);
- return targetGroup !== null && targetGroup !== void 0 ? targetGroup : rootSegmentGroup;
- }
- function createUrlTreeFromSegmentGroup(relativeTo, commands, queryParams, fragment) {
- let root = relativeTo;
- while (root.parent) {
- root = root.parent;
- } // There are no commands so the `UrlTree` goes to the same path as the one created from the
- // `UrlSegmentGroup`. All we need to do is update the `queryParams` and `fragment` without
- // applying any other logic.
- if (commands.length === 0) {
- return tree(root, root, root, queryParams, fragment);
- }
- const nav = computeNavigation(commands);
- if (nav.toRoot()) {
- return tree(root, root, new UrlSegmentGroup([], {}), queryParams, fragment);
- }
- const position = findStartingPositionForTargetGroup(nav, root, relativeTo);
- const newSegmentGroup = position.processChildren ? updateSegmentGroupChildren(position.segmentGroup, position.index, nav.commands) : updateSegmentGroup(position.segmentGroup, position.index, nav.commands);
- return tree(root, position.segmentGroup, newSegmentGroup, queryParams, fragment);
- }
- function createUrlTree(route, urlTree, commands, queryParams, fragment) {
- var _a, _b;
- if (commands.length === 0) {
- return tree(urlTree.root, urlTree.root, urlTree.root, queryParams, fragment);
- }
- const nav = computeNavigation(commands);
- if (nav.toRoot()) {
- return tree(urlTree.root, urlTree.root, new UrlSegmentGroup([], {}), queryParams, fragment);
- }
- function createTreeUsingPathIndex(lastPathIndex) {
- var _a;
- const startingPosition = findStartingPosition(nav, urlTree, (_a = route.snapshot) === null || _a === void 0 ? void 0 : _a._urlSegment, lastPathIndex);
- const segmentGroup = startingPosition.processChildren ? updateSegmentGroupChildren(startingPosition.segmentGroup, startingPosition.index, nav.commands) : updateSegmentGroup(startingPosition.segmentGroup, startingPosition.index, nav.commands);
- return tree(urlTree.root, startingPosition.segmentGroup, segmentGroup, queryParams, fragment);
- } // Note: The types should disallow `snapshot` from being `undefined` but due to test mocks, this
- // may be the case. Since we try to access it at an earlier point before the refactor to add the
- // warning for `relativeLinkResolution: 'legacy'`, this may cause failures in tests where it
- // didn't before.
- const result = createTreeUsingPathIndex((_a = route.snapshot) === null || _a === void 0 ? void 0 : _a._lastPathIndex); // Check if application is relying on `relativeLinkResolution: 'legacy'`
- if (typeof ngDevMode === 'undefined' || !!ngDevMode) {
- const correctedResult = createTreeUsingPathIndex((_b = route.snapshot) === null || _b === void 0 ? void 0 : _b._correctedLastPathIndex);
- if (correctedResult.toString() !== result.toString()) {
- 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.`);
- }
- }
- return result;
- }
- function isMatrixParams(command) {
- return typeof command === 'object' && command != null && !command.outlets && !command.segmentPath;
- }
- /**
- * Determines if a given command has an `outlets` map. When we encounter a command
- * with an outlets k/v map, we need to apply each outlet individually to the existing segment.
- */
- function isCommandWithOutlets(command) {
- return typeof command === 'object' && command != null && command.outlets;
- }
- function tree(oldRoot, oldSegmentGroup, newSegmentGroup, queryParams, fragment) {
- let qp = {};
- if (queryParams) {
- forEach(queryParams, (value, name) => {
- qp[name] = Array.isArray(value) ? value.map(v => `${v}`) : `${value}`;
- });
- }
- let rootCandidate;
- if (oldRoot === oldSegmentGroup) {
- rootCandidate = newSegmentGroup;
- } else {
- rootCandidate = replaceSegment(oldRoot, oldSegmentGroup, newSegmentGroup);
- }
- const newRoot = createRoot(squashSegmentGroup(rootCandidate));
- return new UrlTree(newRoot, qp, fragment);
- }
- /**
- * Replaces the `oldSegment` which is located in some child of the `current` with the `newSegment`.
- * This also has the effect of creating new `UrlSegmentGroup` copies to update references. This
- * shouldn't be necessary but the fallback logic for an invalid ActivatedRoute in the creation uses
- * the Router's current url tree. If we don't create new segment groups, we end up modifying that
- * value.
- */
- function replaceSegment(current, oldSegment, newSegment) {
- const children = {};
- forEach(current.children, (c, outletName) => {
- if (c === oldSegment) {
- children[outletName] = newSegment;
- } else {
- children[outletName] = replaceSegment(c, oldSegment, newSegment);
- }
- });
- return new UrlSegmentGroup(current.segments, children);
- }
- class Navigation {
- constructor(isAbsolute, numberOfDoubleDots, commands) {
- this.isAbsolute = isAbsolute;
- this.numberOfDoubleDots = numberOfDoubleDots;
- this.commands = commands;
- if (isAbsolute && commands.length > 0 && isMatrixParams(commands[0])) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4003
- /* RuntimeErrorCode.ROOT_SEGMENT_MATRIX_PARAMS */
- , NG_DEV_MODE$8 && 'Root segment cannot have matrix parameters');
- }
- const cmdWithOutlet = commands.find(isCommandWithOutlets);
- if (cmdWithOutlet && cmdWithOutlet !== last(commands)) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4004
- /* RuntimeErrorCode.MISPLACED_OUTLETS_COMMAND */
- , NG_DEV_MODE$8 && '{outlets:{}} has to be the last command');
- }
- }
- toRoot() {
- return this.isAbsolute && this.commands.length === 1 && this.commands[0] == '/';
- }
- }
- /** Transforms commands to a normalized `Navigation` */
- function computeNavigation(commands) {
- if (typeof commands[0] === 'string' && commands.length === 1 && commands[0] === '/') {
- return new Navigation(true, 0, commands);
- }
- let numberOfDoubleDots = 0;
- let isAbsolute = false;
- const res = commands.reduce((res, cmd, cmdIdx) => {
- if (typeof cmd === 'object' && cmd != null) {
- if (cmd.outlets) {
- const outlets = {};
- forEach(cmd.outlets, (commands, name) => {
- outlets[name] = typeof commands === 'string' ? commands.split('/') : commands;
- });
- return [...res, {
- outlets
- }];
- }
- if (cmd.segmentPath) {
- return [...res, cmd.segmentPath];
- }
- }
- if (!(typeof cmd === 'string')) {
- return [...res, cmd];
- }
- if (cmdIdx === 0) {
- cmd.split('/').forEach((urlPart, partIndex) => {
- if (partIndex == 0 && urlPart === '.') {// skip './a'
- } else if (partIndex == 0 && urlPart === '') {
- // '/a'
- isAbsolute = true;
- } else if (urlPart === '..') {
- // '../a'
- numberOfDoubleDots++;
- } else if (urlPart != '') {
- res.push(urlPart);
- }
- });
- return res;
- }
- return [...res, cmd];
- }, []);
- return new Navigation(isAbsolute, numberOfDoubleDots, res);
- }
- class Position {
- constructor(segmentGroup, processChildren, index) {
- this.segmentGroup = segmentGroup;
- this.processChildren = processChildren;
- this.index = index;
- }
- }
- function findStartingPositionForTargetGroup(nav, root, target) {
- if (nav.isAbsolute) {
- return new Position(root, true, 0);
- }
- if (!target) {
- // `NaN` is used only to maintain backwards compatibility with incorrectly mocked
- // `ActivatedRouteSnapshot` in tests. In prior versions of this code, the position here was
- // determined based on an internal property that was rarely mocked, resulting in `NaN`. In
- // reality, this code path should _never_ be touched since `target` is not allowed to be falsey.
- return new Position(root, false, NaN);
- }
- if (target.parent === null) {
- return new Position(target, true, 0);
- }
- const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;
- const index = target.segments.length - 1 + modifier;
- return createPositionApplyingDoubleDots(target, index, nav.numberOfDoubleDots);
- }
- function findStartingPosition(nav, tree, segmentGroup, lastPathIndex) {
- if (nav.isAbsolute) {
- return new Position(tree.root, true, 0);
- }
- if (lastPathIndex === -1) {
- // Pathless ActivatedRoute has _lastPathIndex === -1 but should not process children
- // see issue #26224, #13011, #35687
- // However, if the ActivatedRoute is the root we should process children like above.
- const processChildren = segmentGroup === tree.root;
- return new Position(segmentGroup, processChildren, 0);
- }
- const modifier = isMatrixParams(nav.commands[0]) ? 0 : 1;
- const index = lastPathIndex + modifier;
- return createPositionApplyingDoubleDots(segmentGroup, index, nav.numberOfDoubleDots);
- }
- function createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {
- let g = group;
- let ci = index;
- let dd = numberOfDoubleDots;
- while (dd > ci) {
- dd -= ci;
- g = g.parent;
- if (!g) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4005
- /* RuntimeErrorCode.INVALID_DOUBLE_DOTS */
- , NG_DEV_MODE$8 && 'Invalid number of \'../\'');
- }
- ci = g.segments.length;
- }
- return new Position(g, false, ci - dd);
- }
- function getOutlets(commands) {
- if (isCommandWithOutlets(commands[0])) {
- return commands[0].outlets;
- }
- return {
- [PRIMARY_OUTLET]: commands
- };
- }
- function updateSegmentGroup(segmentGroup, startIndex, commands) {
- if (!segmentGroup) {
- segmentGroup = new UrlSegmentGroup([], {});
- }
- if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {
- return updateSegmentGroupChildren(segmentGroup, startIndex, commands);
- }
- const m = prefixedWith(segmentGroup, startIndex, commands);
- const slicedCommands = commands.slice(m.commandIndex);
- if (m.match && m.pathIndex < segmentGroup.segments.length) {
- const g = new UrlSegmentGroup(segmentGroup.segments.slice(0, m.pathIndex), {});
- g.children[PRIMARY_OUTLET] = new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);
- return updateSegmentGroupChildren(g, 0, slicedCommands);
- } else if (m.match && slicedCommands.length === 0) {
- return new UrlSegmentGroup(segmentGroup.segments, {});
- } else if (m.match && !segmentGroup.hasChildren()) {
- return createNewSegmentGroup(segmentGroup, startIndex, commands);
- } else if (m.match) {
- return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);
- } else {
- return createNewSegmentGroup(segmentGroup, startIndex, commands);
- }
- }
- function updateSegmentGroupChildren(segmentGroup, startIndex, commands) {
- if (commands.length === 0) {
- return new UrlSegmentGroup(segmentGroup.segments, {});
- } else {
- const outlets = getOutlets(commands);
- const children = {};
- forEach(outlets, (commands, outlet) => {
- if (typeof commands === 'string') {
- commands = [commands];
- }
- if (commands !== null) {
- children[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);
- }
- });
- forEach(segmentGroup.children, (child, childOutlet) => {
- if (outlets[childOutlet] === undefined) {
- children[childOutlet] = child;
- }
- });
- return new UrlSegmentGroup(segmentGroup.segments, children);
- }
- }
- function prefixedWith(segmentGroup, startIndex, commands) {
- let currentCommandIndex = 0;
- let currentPathIndex = startIndex;
- const noMatch = {
- match: false,
- pathIndex: 0,
- commandIndex: 0
- };
- while (currentPathIndex < segmentGroup.segments.length) {
- if (currentCommandIndex >= commands.length) return noMatch;
- const path = segmentGroup.segments[currentPathIndex];
- const command = commands[currentCommandIndex]; // Do not try to consume command as part of the prefixing if it has outlets because it can
- // contain outlets other than the one being processed. Consuming the outlets command would
- // result in other outlets being ignored.
- if (isCommandWithOutlets(command)) {
- break;
- }
- const curr = `${command}`;
- const next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;
- if (currentPathIndex > 0 && curr === undefined) break;
- if (curr && next && typeof next === 'object' && next.outlets === undefined) {
- if (!compare(curr, next, path)) return noMatch;
- currentCommandIndex += 2;
- } else {
- if (!compare(curr, {}, path)) return noMatch;
- currentCommandIndex++;
- }
- currentPathIndex++;
- }
- return {
- match: true,
- pathIndex: currentPathIndex,
- commandIndex: currentCommandIndex
- };
- }
- function createNewSegmentGroup(segmentGroup, startIndex, commands) {
- const paths = segmentGroup.segments.slice(0, startIndex);
- let i = 0;
- while (i < commands.length) {
- const command = commands[i];
- if (isCommandWithOutlets(command)) {
- const children = createNewSegmentChildren(command.outlets);
- return new UrlSegmentGroup(paths, children);
- } // if we start with an object literal, we need to reuse the path part from the segment
- if (i === 0 && isMatrixParams(commands[0])) {
- const p = segmentGroup.segments[startIndex];
- paths.push(new UrlSegment(p.path, stringify(commands[0])));
- i++;
- continue;
- }
- const curr = isCommandWithOutlets(command) ? command.outlets[PRIMARY_OUTLET] : `${command}`;
- const next = i < commands.length - 1 ? commands[i + 1] : null;
- if (curr && next && isMatrixParams(next)) {
- paths.push(new UrlSegment(curr, stringify(next)));
- i += 2;
- } else {
- paths.push(new UrlSegment(curr, {}));
- i++;
- }
- }
- return new UrlSegmentGroup(paths, {});
- }
- function createNewSegmentChildren(outlets) {
- const children = {};
- forEach(outlets, (commands, outlet) => {
- if (typeof commands === 'string') {
- commands = [commands];
- }
- if (commands !== null) {
- children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);
- }
- });
- return children;
- }
- function stringify(params) {
- const res = {};
- forEach(params, (v, k) => res[k] = `${v}`);
- return res;
- }
- function compare(path, params, segment) {
- return path == segment.path && shallowEqual(params, segment.parameters);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Base for events the router goes through, as opposed to events tied to a specific
- * route. Fired one time for any given navigation.
- *
- * The following code shows how a class subscribes to router events.
- *
- * ```ts
- * import {Event, RouterEvent, Router} from '@angular/router';
- *
- * class MyService {
- * constructor(public router: Router) {
- * router.events.pipe(
- * filter((e: Event): e is RouterEvent => e instanceof RouterEvent)
- * ).subscribe((e: RouterEvent) => {
- * // Do something
- * });
- * }
- * }
- * ```
- *
- * @see `Event`
- * @see [Router events summary](guide/router-reference#router-events)
- * @publicApi
- */
- class RouterEvent {
- constructor(
- /** A unique ID that the router assigns to every router navigation. */
- id,
- /** The URL that is the destination for this navigation. */
- url) {
- this.id = id;
- this.url = url;
- }
- }
- /**
- * An event triggered when a navigation starts.
- *
- * @publicApi
- */
- class NavigationStart extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /** @docsNotRequired */
- navigationTrigger = 'imperative',
- /** @docsNotRequired */
- restoredState = null) {
- super(id, url);
- this.type = 0
- /* EventType.NavigationStart */
- ;
- this.navigationTrigger = navigationTrigger;
- this.restoredState = restoredState;
- }
- /** @docsNotRequired */
- toString() {
- return `NavigationStart(id: ${this.id}, url: '${this.url}')`;
- }
- }
- /**
- * An event triggered when a navigation ends successfully.
- *
- * @see `NavigationStart`
- * @see `NavigationCancel`
- * @see `NavigationError`
- *
- * @publicApi
- */
- class NavigationEnd extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /** @docsNotRequired */
- urlAfterRedirects) {
- super(id, url);
- this.urlAfterRedirects = urlAfterRedirects;
- this.type = 1
- /* EventType.NavigationEnd */
- ;
- }
- /** @docsNotRequired */
- toString() {
- return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`;
- }
- }
- /**
- * An event triggered when a navigation is canceled, directly or indirectly.
- * This can happen for several reasons including when a route guard
- * returns `false` or initiates a redirect by returning a `UrlTree`.
- *
- * @see `NavigationStart`
- * @see `NavigationEnd`
- * @see `NavigationError`
- *
- * @publicApi
- */
- class NavigationCancel extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /**
- * A description of why the navigation was cancelled. For debug purposes only. Use `code`
- * instead for a stable cancellation reason that can be used in production.
- */
- reason,
- /**
- * A code to indicate why the navigation was canceled. This cancellation code is stable for
- * the reason and can be relied on whereas the `reason` string could change and should not be
- * used in production.
- */
- code) {
- super(id, url);
- this.reason = reason;
- this.code = code;
- this.type = 2
- /* EventType.NavigationCancel */
- ;
- }
- /** @docsNotRequired */
- toString() {
- return `NavigationCancel(id: ${this.id}, url: '${this.url}')`;
- }
- }
- /**
- * An event triggered when a navigation fails due to an unexpected error.
- *
- * @see `NavigationStart`
- * @see `NavigationEnd`
- * @see `NavigationCancel`
- *
- * @publicApi
- */
- class NavigationError extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /** @docsNotRequired */
- error,
- /**
- * The target of the navigation when the error occurred.
- *
- * Note that this can be `undefined` because an error could have occurred before the
- * `RouterStateSnapshot` was created for the navigation.
- */
- target) {
- super(id, url);
- this.error = error;
- this.target = target;
- this.type = 3
- /* EventType.NavigationError */
- ;
- }
- /** @docsNotRequired */
- toString() {
- return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`;
- }
- }
- /**
- * An event triggered when routes are recognized.
- *
- * @publicApi
- */
- class RoutesRecognized extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /** @docsNotRequired */
- urlAfterRedirects,
- /** @docsNotRequired */
- state) {
- super(id, url);
- this.urlAfterRedirects = urlAfterRedirects;
- this.state = state;
- this.type = 4
- /* EventType.RoutesRecognized */
- ;
- }
- /** @docsNotRequired */
- toString() {
- return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;
- }
- }
- /**
- * An event triggered at the start of the Guard phase of routing.
- *
- * @see `GuardsCheckEnd`
- *
- * @publicApi
- */
- class GuardsCheckStart extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /** @docsNotRequired */
- urlAfterRedirects,
- /** @docsNotRequired */
- state) {
- super(id, url);
- this.urlAfterRedirects = urlAfterRedirects;
- this.state = state;
- this.type = 7
- /* EventType.GuardsCheckStart */
- ;
- }
- toString() {
- return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;
- }
- }
- /**
- * An event triggered at the end of the Guard phase of routing.
- *
- * @see `GuardsCheckStart`
- *
- * @publicApi
- */
- class GuardsCheckEnd extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /** @docsNotRequired */
- urlAfterRedirects,
- /** @docsNotRequired */
- state,
- /** @docsNotRequired */
- shouldActivate) {
- super(id, url);
- this.urlAfterRedirects = urlAfterRedirects;
- this.state = state;
- this.shouldActivate = shouldActivate;
- this.type = 8
- /* EventType.GuardsCheckEnd */
- ;
- }
- toString() {
- return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`;
- }
- }
- /**
- * An event triggered at the start of the Resolve phase of routing.
- *
- * Runs in the "resolve" phase whether or not there is anything to resolve.
- * In future, may change to only run when there are things to be resolved.
- *
- * @see `ResolveEnd`
- *
- * @publicApi
- */
- class ResolveStart extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /** @docsNotRequired */
- urlAfterRedirects,
- /** @docsNotRequired */
- state) {
- super(id, url);
- this.urlAfterRedirects = urlAfterRedirects;
- this.state = state;
- this.type = 5
- /* EventType.ResolveStart */
- ;
- }
- toString() {
- return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;
- }
- }
- /**
- * An event triggered at the end of the Resolve phase of routing.
- * @see `ResolveStart`.
- *
- * @publicApi
- */
- class ResolveEnd extends RouterEvent {
- constructor(
- /** @docsNotRequired */
- id,
- /** @docsNotRequired */
- url,
- /** @docsNotRequired */
- urlAfterRedirects,
- /** @docsNotRequired */
- state) {
- super(id, url);
- this.urlAfterRedirects = urlAfterRedirects;
- this.state = state;
- this.type = 6
- /* EventType.ResolveEnd */
- ;
- }
- toString() {
- return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`;
- }
- }
- /**
- * An event triggered before lazy loading a route configuration.
- *
- * @see `RouteConfigLoadEnd`
- *
- * @publicApi
- */
- class RouteConfigLoadStart {
- constructor(
- /** @docsNotRequired */
- route) {
- this.route = route;
- this.type = 9
- /* EventType.RouteConfigLoadStart */
- ;
- }
- toString() {
- return `RouteConfigLoadStart(path: ${this.route.path})`;
- }
- }
- /**
- * An event triggered when a route has been lazy loaded.
- *
- * @see `RouteConfigLoadStart`
- *
- * @publicApi
- */
- class RouteConfigLoadEnd {
- constructor(
- /** @docsNotRequired */
- route) {
- this.route = route;
- this.type = 10
- /* EventType.RouteConfigLoadEnd */
- ;
- }
- toString() {
- return `RouteConfigLoadEnd(path: ${this.route.path})`;
- }
- }
- /**
- * An event triggered at the start of the child-activation
- * part of the Resolve phase of routing.
- * @see `ChildActivationEnd`
- * @see `ResolveStart`
- *
- * @publicApi
- */
- class ChildActivationStart {
- constructor(
- /** @docsNotRequired */
- snapshot) {
- this.snapshot = snapshot;
- this.type = 11
- /* EventType.ChildActivationStart */
- ;
- }
- toString() {
- const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';
- return `ChildActivationStart(path: '${path}')`;
- }
- }
- /**
- * An event triggered at the end of the child-activation part
- * of the Resolve phase of routing.
- * @see `ChildActivationStart`
- * @see `ResolveStart`
- * @publicApi
- */
- class ChildActivationEnd {
- constructor(
- /** @docsNotRequired */
- snapshot) {
- this.snapshot = snapshot;
- this.type = 12
- /* EventType.ChildActivationEnd */
- ;
- }
- toString() {
- const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';
- return `ChildActivationEnd(path: '${path}')`;
- }
- }
- /**
- * An event triggered at the start of the activation part
- * of the Resolve phase of routing.
- * @see `ActivationEnd`
- * @see `ResolveStart`
- *
- * @publicApi
- */
- class ActivationStart {
- constructor(
- /** @docsNotRequired */
- snapshot) {
- this.snapshot = snapshot;
- this.type = 13
- /* EventType.ActivationStart */
- ;
- }
- toString() {
- const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';
- return `ActivationStart(path: '${path}')`;
- }
- }
- /**
- * An event triggered at the end of the activation part
- * of the Resolve phase of routing.
- * @see `ActivationStart`
- * @see `ResolveStart`
- *
- * @publicApi
- */
- class ActivationEnd {
- constructor(
- /** @docsNotRequired */
- snapshot) {
- this.snapshot = snapshot;
- this.type = 14
- /* EventType.ActivationEnd */
- ;
- }
- toString() {
- const path = this.snapshot.routeConfig && this.snapshot.routeConfig.path || '';
- return `ActivationEnd(path: '${path}')`;
- }
- }
- /**
- * An event triggered by scrolling.
- *
- * @publicApi
- */
- class Scroll {
- constructor(
- /** @docsNotRequired */
- routerEvent,
- /** @docsNotRequired */
- position,
- /** @docsNotRequired */
- anchor) {
- this.routerEvent = routerEvent;
- this.position = position;
- this.anchor = anchor;
- this.type = 15
- /* EventType.Scroll */
- ;
- }
- toString() {
- const pos = this.position ? `${this.position[0]}, ${this.position[1]}` : null;
- return `Scroll(anchor: '${this.anchor}', position: '${pos}')`;
- }
- }
- function stringifyEvent(routerEvent) {
- var _a, _b, _c, _d;
- if (!('type' in routerEvent)) {
- return `Unknown Router Event: ${routerEvent.constructor.name}`;
- }
- switch (routerEvent.type) {
- case 14
- /* EventType.ActivationEnd */
- :
- return `ActivationEnd(path: '${((_a = routerEvent.snapshot.routeConfig) === null || _a === void 0 ? void 0 : _a.path) || ''}')`;
- case 13
- /* EventType.ActivationStart */
- :
- return `ActivationStart(path: '${((_b = routerEvent.snapshot.routeConfig) === null || _b === void 0 ? void 0 : _b.path) || ''}')`;
- case 12
- /* EventType.ChildActivationEnd */
- :
- return `ChildActivationEnd(path: '${((_c = routerEvent.snapshot.routeConfig) === null || _c === void 0 ? void 0 : _c.path) || ''}')`;
- case 11
- /* EventType.ChildActivationStart */
- :
- return `ChildActivationStart(path: '${((_d = routerEvent.snapshot.routeConfig) === null || _d === void 0 ? void 0 : _d.path) || ''}')`;
- case 8
- /* EventType.GuardsCheckEnd */
- :
- return `GuardsCheckEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state}, shouldActivate: ${routerEvent.shouldActivate})`;
- case 7
- /* EventType.GuardsCheckStart */
- :
- return `GuardsCheckStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
- case 2
- /* EventType.NavigationCancel */
- :
- return `NavigationCancel(id: ${routerEvent.id}, url: '${routerEvent.url}')`;
- case 1
- /* EventType.NavigationEnd */
- :
- return `NavigationEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}')`;
- case 3
- /* EventType.NavigationError */
- :
- return `NavigationError(id: ${routerEvent.id}, url: '${routerEvent.url}', error: ${routerEvent.error})`;
- case 0
- /* EventType.NavigationStart */
- :
- return `NavigationStart(id: ${routerEvent.id}, url: '${routerEvent.url}')`;
- case 6
- /* EventType.ResolveEnd */
- :
- return `ResolveEnd(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
- case 5
- /* EventType.ResolveStart */
- :
- return `ResolveStart(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
- case 10
- /* EventType.RouteConfigLoadEnd */
- :
- return `RouteConfigLoadEnd(path: ${routerEvent.route.path})`;
- case 9
- /* EventType.RouteConfigLoadStart */
- :
- return `RouteConfigLoadStart(path: ${routerEvent.route.path})`;
- case 4
- /* EventType.RoutesRecognized */
- :
- return `RoutesRecognized(id: ${routerEvent.id}, url: '${routerEvent.url}', urlAfterRedirects: '${routerEvent.urlAfterRedirects}', state: ${routerEvent.state})`;
- case 15
- /* EventType.Scroll */
- :
- const pos = routerEvent.position ? `${routerEvent.position[0]}, ${routerEvent.position[1]}` : null;
- return `Scroll(anchor: '${routerEvent.anchor}', position: '${pos}')`;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class Tree {
- constructor(root) {
- this._root = root;
- }
- get root() {
- return this._root.value;
- }
- /**
- * @internal
- */
- parent(t) {
- const p = this.pathFromRoot(t);
- return p.length > 1 ? p[p.length - 2] : null;
- }
- /**
- * @internal
- */
- children(t) {
- const n = findNode(t, this._root);
- return n ? n.children.map(t => t.value) : [];
- }
- /**
- * @internal
- */
- firstChild(t) {
- const n = findNode(t, this._root);
- return n && n.children.length > 0 ? n.children[0].value : null;
- }
- /**
- * @internal
- */
- siblings(t) {
- const p = findPath(t, this._root);
- if (p.length < 2) return [];
- const c = p[p.length - 2].children.map(c => c.value);
- return c.filter(cc => cc !== t);
- }
- /**
- * @internal
- */
- pathFromRoot(t) {
- return findPath(t, this._root).map(s => s.value);
- }
- } // DFS for the node matching the value
- function findNode(value, node) {
- if (value === node.value) return node;
- for (const child of node.children) {
- const node = findNode(value, child);
- if (node) return node;
- }
- return null;
- } // Return the path to the node with the given value using DFS
- function findPath(value, node) {
- if (value === node.value) return [node];
- for (const child of node.children) {
- const path = findPath(value, child);
- if (path.length) {
- path.unshift(node);
- return path;
- }
- }
- return [];
- }
- class TreeNode {
- constructor(value, children) {
- this.value = value;
- this.children = children;
- }
- toString() {
- return `TreeNode(${this.value})`;
- }
- } // Return the list of T indexed by outlet name
- function nodeChildrenAsMap(node) {
- const map = {};
- if (node) {
- node.children.forEach(child => map[child.value.outlet] = child);
- }
- return map;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Represents the state of the router as a tree of activated routes.
- *
- * @usageNotes
- *
- * Every node in the route tree is an `ActivatedRoute` instance
- * that knows about the "consumed" URL segments, the extracted parameters,
- * and the resolved data.
- * Use the `ActivatedRoute` properties to traverse the tree from any node.
- *
- * The following fragment shows how a component gets the root node
- * of the current state to establish its own route tree:
- *
- * ```
- * @Component({templateUrl:'template.html'})
- * class MyComponent {
- * constructor(router: Router) {
- * const state: RouterState = router.routerState;
- * const root: ActivatedRoute = state.root;
- * const child = root.firstChild;
- * const id: Observable<string> = child.params.map(p => p.id);
- * //...
- * }
- * }
- * ```
- *
- * @see `ActivatedRoute`
- * @see [Getting route information](guide/router#getting-route-information)
- *
- * @publicApi
- */
- class RouterState extends Tree {
- /** @internal */
- constructor(root,
- /** The current snapshot of the router state */
- snapshot) {
- super(root);
- this.snapshot = snapshot;
- setRouterState(this, root);
- }
- toString() {
- return this.snapshot.toString();
- }
- }
- function createEmptyState(urlTree, rootComponent) {
- const snapshot = createEmptyStateSnapshot(urlTree, rootComponent);
- const emptyUrl = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject([new UrlSegment('', {})]);
- const emptyParams = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject({});
- const emptyData = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject({});
- const emptyQueryParams = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject({});
- const fragment = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject('');
- const activated = new ActivatedRoute(emptyUrl, emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, snapshot.root);
- activated.snapshot = snapshot.root;
- return new RouterState(new TreeNode(activated, []), snapshot);
- }
- function createEmptyStateSnapshot(urlTree, rootComponent) {
- const emptyParams = {};
- const emptyData = {};
- const emptyQueryParams = {};
- const fragment = '';
- const activated = new ActivatedRouteSnapshot([], emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, null, urlTree.root, -1, {});
- return new RouterStateSnapshot('', new TreeNode(activated, []));
- }
- /**
- * Provides access to information about a route associated with a component
- * that is loaded in an outlet.
- * Use to traverse the `RouterState` tree and extract information from nodes.
- *
- * The following example shows how to construct a component using information from a
- * currently activated route.
- *
- * Note: the observables in this class only emit when the current and previous values differ based
- * on shallow equality. For example, changing deeply nested properties in resolved `data` will not
- * cause the `ActivatedRoute.data` `Observable` to emit a new value.
- *
- * {@example router/activated-route/module.ts region="activated-route"
- * header="activated-route.component.ts"}
- *
- * @see [Getting route information](guide/router#getting-route-information)
- *
- * @publicApi
- */
- class ActivatedRoute {
- /** @internal */
- constructor(
- /** An observable of the URL segments matched by this route. */
- url,
- /** An observable of the matrix parameters scoped to this route. */
- params,
- /** An observable of the query parameters shared by all the routes. */
- queryParams,
- /** An observable of the URL fragment shared by all the routes. */
- fragment,
- /** An observable of the static and resolved data of this route. */
- data,
- /** The outlet name of the route, a constant. */
- outlet,
- /** The component of the route, a constant. */
- component, futureSnapshot) {
- var _a, _b;
- this.url = url;
- this.params = params;
- this.queryParams = queryParams;
- this.fragment = fragment;
- this.data = data;
- this.outlet = outlet;
- this.component = component;
- /** An Observable of the resolved route title */
- 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);
- this._futureSnapshot = futureSnapshot;
- }
- /** The configuration used to match this route. */
- get routeConfig() {
- return this._futureSnapshot.routeConfig;
- }
- /** The root of the router state. */
- get root() {
- return this._routerState.root;
- }
- /** The parent of this route in the router state tree. */
- get parent() {
- return this._routerState.parent(this);
- }
- /** The first child of this route in the router state tree. */
- get firstChild() {
- return this._routerState.firstChild(this);
- }
- /** The children of this route in the router state tree. */
- get children() {
- return this._routerState.children(this);
- }
- /** The path from the root of the router state tree to this route. */
- get pathFromRoot() {
- return this._routerState.pathFromRoot(this);
- }
- /**
- * An Observable that contains a map of the required and optional parameters
- * specific to the route.
- * The map supports retrieving single and multiple values from the same parameter.
- */
- get paramMap() {
- if (!this._paramMap) {
- this._paramMap = this.params.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(p => convertToParamMap(p)));
- }
- return this._paramMap;
- }
- /**
- * An Observable that contains a map of the query parameters available to all routes.
- * The map supports retrieving single and multiple values from the query parameter.
- */
- get queryParamMap() {
- if (!this._queryParamMap) {
- this._queryParamMap = this.queryParams.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(p => convertToParamMap(p)));
- }
- return this._queryParamMap;
- }
- toString() {
- return this.snapshot ? this.snapshot.toString() : `Future(${this._futureSnapshot})`;
- }
- }
- /**
- * Returns the inherited params, data, and resolve for a given route.
- * By default, this only inherits values up to the nearest path-less or component-less route.
- * @internal
- */
- function inheritedParamsDataResolve(route, paramsInheritanceStrategy = 'emptyOnly') {
- const pathFromRoot = route.pathFromRoot;
- let inheritingStartingFrom = 0;
- if (paramsInheritanceStrategy !== 'always') {
- inheritingStartingFrom = pathFromRoot.length - 1;
- while (inheritingStartingFrom >= 1) {
- const current = pathFromRoot[inheritingStartingFrom];
- const parent = pathFromRoot[inheritingStartingFrom - 1]; // current route is an empty path => inherits its parent's params and data
- if (current.routeConfig && current.routeConfig.path === '') {
- inheritingStartingFrom--; // parent is componentless => current route should inherit its params and data
- } else if (!parent.component) {
- inheritingStartingFrom--;
- } else {
- break;
- }
- }
- }
- return flattenInherited(pathFromRoot.slice(inheritingStartingFrom));
- }
- /** @internal */
- function flattenInherited(pathFromRoot) {
- return pathFromRoot.reduce((res, curr) => {
- var _a;
- const params = Object.assign(Object.assign({}, res.params), curr.params);
- const data = Object.assign(Object.assign({}, res.data), curr.data);
- 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);
- return {
- params,
- data,
- resolve
- };
- }, {
- params: {},
- data: {},
- resolve: {}
- });
- }
- /**
- * @description
- *
- * Contains the information about a route associated with a component loaded in an
- * outlet at a particular moment in time. ActivatedRouteSnapshot can also be used to
- * traverse the router state tree.
- *
- * The following example initializes a component with route information extracted
- * from the snapshot of the root node at the time of creation.
- *
- * ```
- * @Component({templateUrl:'./my-component.html'})
- * class MyComponent {
- * constructor(route: ActivatedRoute) {
- * const id: string = route.snapshot.params.id;
- * const url: string = route.snapshot.url.join('');
- * const user = route.snapshot.data.user;
- * }
- * }
- * ```
- *
- * @publicApi
- */
- class ActivatedRouteSnapshot {
- /** @internal */
- constructor(
- /** The URL segments matched by this route */
- url,
- /**
- * The matrix parameters scoped to this route.
- *
- * You can compute all params (or data) in the router state or to get params outside
- * of an activated component by traversing the `RouterState` tree as in the following
- * example:
- * ```
- * collectRouteParams(router: Router) {
- * let params = {};
- * let stack: ActivatedRouteSnapshot[] = [router.routerState.snapshot.root];
- * while (stack.length > 0) {
- * const route = stack.pop()!;
- * params = {...params, ...route.params};
- * stack.push(...route.children);
- * }
- * return params;
- * }
- * ```
- */
- params,
- /** The query parameters shared by all the routes */
- queryParams,
- /** The URL fragment shared by all the routes */
- fragment,
- /** The static and resolved data of this route */
- data,
- /** The outlet name of the route */
- outlet,
- /** The component of the route */
- component, routeConfig, urlSegment, lastPathIndex, resolve, correctedLastPathIndex) {
- var _a;
- this.url = url;
- this.params = params;
- this.queryParams = queryParams;
- this.fragment = fragment;
- this.data = data;
- this.outlet = outlet;
- this.component = component;
- /** The resolved route title */
- this.title = (_a = this.data) === null || _a === void 0 ? void 0 : _a[RouteTitleKey];
- this.routeConfig = routeConfig;
- this._urlSegment = urlSegment;
- this._lastPathIndex = lastPathIndex;
- this._correctedLastPathIndex = correctedLastPathIndex !== null && correctedLastPathIndex !== void 0 ? correctedLastPathIndex : lastPathIndex;
- this._resolve = resolve;
- }
- /** The root of the router state */
- get root() {
- return this._routerState.root;
- }
- /** The parent of this route in the router state tree */
- get parent() {
- return this._routerState.parent(this);
- }
- /** The first child of this route in the router state tree */
- get firstChild() {
- return this._routerState.firstChild(this);
- }
- /** The children of this route in the router state tree */
- get children() {
- return this._routerState.children(this);
- }
- /** The path from the root of the router state tree to this route */
- get pathFromRoot() {
- return this._routerState.pathFromRoot(this);
- }
- get paramMap() {
- if (!this._paramMap) {
- this._paramMap = convertToParamMap(this.params);
- }
- return this._paramMap;
- }
- get queryParamMap() {
- if (!this._queryParamMap) {
- this._queryParamMap = convertToParamMap(this.queryParams);
- }
- return this._queryParamMap;
- }
- toString() {
- const url = this.url.map(segment => segment.toString()).join('/');
- const matched = this.routeConfig ? this.routeConfig.path : '';
- return `Route(url:'${url}', path:'${matched}')`;
- }
- }
- /**
- * @description
- *
- * Represents the state of the router at a moment in time.
- *
- * This is a tree of activated route snapshots. Every node in this tree knows about
- * the "consumed" URL segments, the extracted parameters, and the resolved data.
- *
- * The following example shows how a component is initialized with information
- * from the snapshot of the root node's state at the time of creation.
- *
- * ```
- * @Component({templateUrl:'template.html'})
- * class MyComponent {
- * constructor(router: Router) {
- * const state: RouterState = router.routerState;
- * const snapshot: RouterStateSnapshot = state.snapshot;
- * const root: ActivatedRouteSnapshot = snapshot.root;
- * const child = root.firstChild;
- * const id: Observable<string> = child.params.map(p => p.id);
- * //...
- * }
- * }
- * ```
- *
- * @publicApi
- */
- class RouterStateSnapshot extends Tree {
- /** @internal */
- constructor(
- /** The url from which this snapshot was created */
- url, root) {
- super(root);
- this.url = url;
- setRouterState(this, root);
- }
- toString() {
- return serializeNode(this._root);
- }
- }
- function setRouterState(state, node) {
- node.value._routerState = state;
- node.children.forEach(c => setRouterState(state, c));
- }
- function serializeNode(node) {
- const c = node.children.length > 0 ? ` { ${node.children.map(serializeNode).join(', ')} } ` : '';
- return `${node.value}${c}`;
- }
- /**
- * The expectation is that the activate route is created with the right set of parameters.
- * So we push new values into the observables only when they are not the initial values.
- * And we detect that by checking if the snapshot field is set.
- */
- function advanceActivatedRoute(route) {
- if (route.snapshot) {
- const currentSnapshot = route.snapshot;
- const nextSnapshot = route._futureSnapshot;
- route.snapshot = nextSnapshot;
- if (!shallowEqual(currentSnapshot.queryParams, nextSnapshot.queryParams)) {
- route.queryParams.next(nextSnapshot.queryParams);
- }
- if (currentSnapshot.fragment !== nextSnapshot.fragment) {
- route.fragment.next(nextSnapshot.fragment);
- }
- if (!shallowEqual(currentSnapshot.params, nextSnapshot.params)) {
- route.params.next(nextSnapshot.params);
- }
- if (!shallowEqualArrays(currentSnapshot.url, nextSnapshot.url)) {
- route.url.next(nextSnapshot.url);
- }
- if (!shallowEqual(currentSnapshot.data, nextSnapshot.data)) {
- route.data.next(nextSnapshot.data);
- }
- } else {
- route.snapshot = route._futureSnapshot; // this is for resolved data
- route.data.next(route._futureSnapshot.data);
- }
- }
- function equalParamsAndUrlSegments(a, b) {
- const equalUrlParams = shallowEqual(a.params, b.params) && equalSegments(a.url, b.url);
- const parentsMismatch = !a.parent !== !b.parent;
- return equalUrlParams && !parentsMismatch && (!a.parent || equalParamsAndUrlSegments(a.parent, b.parent));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function createRouterState(routeReuseStrategy, curr, prevState) {
- const root = createNode(routeReuseStrategy, curr._root, prevState ? prevState._root : undefined);
- return new RouterState(root, curr);
- }
- function createNode(routeReuseStrategy, curr, prevState) {
- // reuse an activated route that is currently displayed on the screen
- if (prevState && routeReuseStrategy.shouldReuseRoute(curr.value, prevState.value.snapshot)) {
- const value = prevState.value;
- value._futureSnapshot = curr.value;
- const children = createOrReuseChildren(routeReuseStrategy, curr, prevState);
- return new TreeNode(value, children);
- } else {
- if (routeReuseStrategy.shouldAttach(curr.value)) {
- // retrieve an activated route that is used to be displayed, but is not currently displayed
- const detachedRouteHandle = routeReuseStrategy.retrieve(curr.value);
- if (detachedRouteHandle !== null) {
- const tree = detachedRouteHandle.route;
- tree.value._futureSnapshot = curr.value;
- tree.children = curr.children.map(c => createNode(routeReuseStrategy, c));
- return tree;
- }
- }
- const value = createActivatedRoute(curr.value);
- const children = curr.children.map(c => createNode(routeReuseStrategy, c));
- return new TreeNode(value, children);
- }
- }
- function createOrReuseChildren(routeReuseStrategy, curr, prevState) {
- return curr.children.map(child => {
- for (const p of prevState.children) {
- if (routeReuseStrategy.shouldReuseRoute(child.value, p.value.snapshot)) {
- return createNode(routeReuseStrategy, child, p);
- }
- }
- return createNode(routeReuseStrategy, child);
- });
- }
- function createActivatedRoute(c) {
- 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);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NAVIGATION_CANCELING_ERROR = 'ngNavigationCancelingError';
- function redirectingNavigationError(urlSerializer, redirect) {
- const {
- redirectTo,
- navigationBehaviorOptions
- } = isUrlTree(redirect) ? {
- redirectTo: redirect,
- navigationBehaviorOptions: undefined
- } : redirect;
- const error = navigationCancelingError(ngDevMode && `Redirecting to "${urlSerializer.serialize(redirectTo)}"`, 0
- /* NavigationCancellationCode.Redirect */
- , redirect);
- error.url = redirectTo;
- error.navigationBehaviorOptions = navigationBehaviorOptions;
- return error;
- }
- function navigationCancelingError(message, code, redirectUrl) {
- const error = new Error('NavigationCancelingError: ' + (message || ''));
- error[NAVIGATION_CANCELING_ERROR] = true;
- error.cancellationCode = code;
- if (redirectUrl) {
- error.url = redirectUrl;
- }
- return error;
- }
- function isRedirectingNavigationCancelingError$1(error) {
- return isNavigationCancelingError$1(error) && isUrlTree(error.url);
- }
- function isNavigationCancelingError$1(error) {
- return error && error[NAVIGATION_CANCELING_ERROR];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Store contextual information about a `RouterOutlet`
- *
- * @publicApi
- */
- class OutletContext {
- constructor() {
- this.outlet = null;
- this.route = null;
- /**
- * @deprecated Passing a resolver to retrieve a component factory is not required and is
- * deprecated since v14.
- */
- this.resolver = null;
- this.injector = null;
- this.children = new ChildrenOutletContexts();
- this.attachRef = null;
- }
- }
- /**
- * Store contextual information about the children (= nested) `RouterOutlet`
- *
- * @publicApi
- */
- class ChildrenOutletContexts {
- constructor() {
- // contexts for child outlets, by name.
- this.contexts = new Map();
- }
- /** Called when a `RouterOutlet` directive is instantiated */
- onChildOutletCreated(childName, outlet) {
- const context = this.getOrCreateContext(childName);
- context.outlet = outlet;
- this.contexts.set(childName, context);
- }
- /**
- * Called when a `RouterOutlet` directive is destroyed.
- * We need to keep the context as the outlet could be destroyed inside a NgIf and might be
- * re-created later.
- */
- onChildOutletDestroyed(childName) {
- const context = this.getContext(childName);
- if (context) {
- context.outlet = null;
- context.attachRef = null;
- }
- }
- /**
- * Called when the corresponding route is deactivated during navigation.
- * Because the component get destroyed, all children outlet are destroyed.
- */
- onOutletDeactivated() {
- const contexts = this.contexts;
- this.contexts = new Map();
- return contexts;
- }
- onOutletReAttached(contexts) {
- this.contexts = contexts;
- }
- getOrCreateContext(childName) {
- let context = this.getContext(childName);
- if (!context) {
- context = new OutletContext();
- this.contexts.set(childName, context);
- }
- return context;
- }
- getContext(childName) {
- return this.contexts.get(childName) || null;
- }
- }
- ChildrenOutletContexts.ɵfac = function ChildrenOutletContexts_Factory(t) {
- return new (t || ChildrenOutletContexts)();
- };
- ChildrenOutletContexts.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: ChildrenOutletContexts,
- factory: ChildrenOutletContexts.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ChildrenOutletContexts, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$7 = typeof ngDevMode === 'undefined' || ngDevMode;
- /**
- * @description
- *
- * Acts as a placeholder that Angular dynamically fills based on the current router state.
- *
- * Each outlet can have a unique name, determined by the optional `name` attribute.
- * The name cannot be set or changed dynamically. If not set, default value is "primary".
- *
- * ```
- * <router-outlet></router-outlet>
- * <router-outlet name='left'></router-outlet>
- * <router-outlet name='right'></router-outlet>
- * ```
- *
- * Named outlets can be the targets of secondary routes.
- * The `Route` object for a secondary route has an `outlet` property to identify the target outlet:
- *
- * `{path: <base-path>, component: <component>, outlet: <target_outlet_name>}`
- *
- * Using named outlets and secondary routes, you can target multiple outlets in
- * the same `RouterLink` directive.
- *
- * The router keeps track of separate branches in a navigation tree for each named outlet and
- * generates a representation of that tree in the URL.
- * The URL for a secondary route uses the following syntax to specify both the primary and secondary
- * routes at the same time:
- *
- * `http://base-path/primary-route-path(outlet-name:route-path)`
- *
- * A router outlet emits an activate event when a new component is instantiated,
- * deactivate event when a component is destroyed.
- * An attached event emits when the `RouteReuseStrategy` instructs the outlet to reattach the
- * subtree, and the detached event emits when the `RouteReuseStrategy` instructs the outlet to
- * detach the subtree.
- *
- * ```
- * <router-outlet
- * (activate)='onActivate($event)'
- * (deactivate)='onDeactivate($event)'
- * (attach)='onAttach($event)'
- * (detach)='onDetach($event)'></router-outlet>
- * ```
- *
- * @see [Routing tutorial](guide/router-tutorial-toh#named-outlets "Example of a named
- * outlet and secondary route configuration").
- * @see `RouterLink`
- * @see `Route`
- * @ngModule RouterModule
- *
- * @publicApi
- */
- class RouterOutlet {
- constructor(parentContexts, location, name, changeDetector, environmentInjector) {
- this.parentContexts = parentContexts;
- this.location = location;
- this.changeDetector = changeDetector;
- this.environmentInjector = environmentInjector;
- this.activated = null;
- this._activatedRoute = null;
- this.activateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- this.deactivateEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- /**
- * Emits an attached component instance when the `RouteReuseStrategy` instructs to re-attach a
- * previously detached subtree.
- **/
- this.attachEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- /**
- * Emits a detached component instance when the `RouteReuseStrategy` instructs to detach the
- * subtree.
- */
- this.detachEvents = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- this.name = name || PRIMARY_OUTLET;
- parentContexts.onChildOutletCreated(this.name, this);
- }
- /** @nodoc */
- ngOnDestroy() {
- var _a; // Ensure that the registered outlet is this one before removing it on the context.
- if (((_a = this.parentContexts.getContext(this.name)) === null || _a === void 0 ? void 0 : _a.outlet) === this) {
- this.parentContexts.onChildOutletDestroyed(this.name);
- }
- }
- /** @nodoc */
- ngOnInit() {
- if (!this.activated) {
- // If the outlet was not instantiated at the time the route got activated we need to populate
- // the outlet when it is initialized (ie inside a NgIf)
- const context = this.parentContexts.getContext(this.name);
- if (context && context.route) {
- if (context.attachRef) {
- // `attachRef` is populated when there is an existing component to mount
- this.attach(context.attachRef, context.route);
- } else {
- // otherwise the component defined in the configuration is created
- this.activateWith(context.route, context.injector);
- }
- }
- }
- }
- get isActivated() {
- return !!this.activated;
- }
- /**
- * @returns The currently activated component instance.
- * @throws An error if the outlet is not activated.
- */
- get component() {
- if (!this.activated) throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4012
- /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */
- , NG_DEV_MODE$7 && 'Outlet is not activated');
- return this.activated.instance;
- }
- get activatedRoute() {
- if (!this.activated) throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4012
- /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */
- , NG_DEV_MODE$7 && 'Outlet is not activated');
- return this._activatedRoute;
- }
- get activatedRouteData() {
- if (this._activatedRoute) {
- return this._activatedRoute.snapshot.data;
- }
- return {};
- }
- /**
- * Called when the `RouteReuseStrategy` instructs to detach the subtree
- */
- detach() {
- if (!this.activated) throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4012
- /* RuntimeErrorCode.OUTLET_NOT_ACTIVATED */
- , NG_DEV_MODE$7 && 'Outlet is not activated');
- this.location.detach();
- const cmp = this.activated;
- this.activated = null;
- this._activatedRoute = null;
- this.detachEvents.emit(cmp.instance);
- return cmp;
- }
- /**
- * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree
- */
- attach(ref, activatedRoute) {
- this.activated = ref;
- this._activatedRoute = activatedRoute;
- this.location.insert(ref.hostView);
- this.attachEvents.emit(ref.instance);
- }
- deactivate() {
- if (this.activated) {
- const c = this.component;
- this.activated.destroy();
- this.activated = null;
- this._activatedRoute = null;
- this.deactivateEvents.emit(c);
- }
- }
- activateWith(activatedRoute, resolverOrInjector) {
- if (this.isActivated) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4013
- /* RuntimeErrorCode.OUTLET_ALREADY_ACTIVATED */
- , NG_DEV_MODE$7 && 'Cannot activate an already activated outlet');
- }
- this._activatedRoute = activatedRoute;
- const location = this.location;
- const snapshot = activatedRoute._futureSnapshot;
- const component = snapshot.component;
- const childContexts = this.parentContexts.getOrCreateContext(this.name).children;
- const injector = new OutletInjector(activatedRoute, childContexts, location.injector);
- if (resolverOrInjector && isComponentFactoryResolver(resolverOrInjector)) {
- const factory = resolverOrInjector.resolveComponentFactory(component);
- this.activated = location.createComponent(factory, location.length, injector);
- } else {
- const environmentInjector = resolverOrInjector !== null && resolverOrInjector !== void 0 ? resolverOrInjector : this.environmentInjector;
- this.activated = location.createComponent(component, {
- index: location.length,
- injector,
- environmentInjector
- });
- } // Calling `markForCheck` to make sure we will run the change detection when the
- // `RouterOutlet` is inside a `ChangeDetectionStrategy.OnPush` component.
- this.changeDetector.markForCheck();
- this.activateEvents.emit(this.activated.instance);
- }
- }
- RouterOutlet.ɵfac = function RouterOutlet_Factory(t) {
- 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));
- };
- RouterOutlet.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: RouterOutlet,
- selectors: [["router-outlet"]],
- outputs: {
- activateEvents: "activate",
- deactivateEvents: "deactivate",
- attachEvents: "attach",
- detachEvents: "detach"
- },
- exportAs: ["outlet"],
- standalone: true
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterOutlet, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'router-outlet',
- exportAs: 'outlet',
- standalone: true
- }]
- }], function () {
- return [{
- type: ChildrenOutletContexts
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewContainerRef
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Attribute,
- args: ['name']
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.EnvironmentInjector
- }];
- }, {
- activateEvents: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
- args: ['activate']
- }],
- deactivateEvents: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
- args: ['deactivate']
- }],
- attachEvents: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
- args: ['attach']
- }],
- detachEvents: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output,
- args: ['detach']
- }]
- });
- })();
- class OutletInjector {
- constructor(route, childContexts, parent) {
- this.route = route;
- this.childContexts = childContexts;
- this.parent = parent;
- }
- get(token, notFoundValue) {
- if (token === ActivatedRoute) {
- return this.route;
- }
- if (token === ChildrenOutletContexts) {
- return this.childContexts;
- }
- return this.parent.get(token, notFoundValue);
- }
- }
- function isComponentFactoryResolver(item) {
- return !!item.resolveComponentFactory;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * This component is used internally within the router to be a placeholder when an empty
- * router-outlet is needed. For example, with a config such as:
- *
- * `{path: 'parent', outlet: 'nav', children: [...]}`
- *
- * In order to render, there needs to be a component on this config, which will default
- * to this `EmptyOutletComponent`.
- */
- class ɵEmptyOutletComponent {}
- ɵEmptyOutletComponent.ɵfac = function ɵEmptyOutletComponent_Factory(t) {
- return new (t || ɵEmptyOutletComponent)();
- };
- ɵEmptyOutletComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
- type: ɵEmptyOutletComponent,
- selectors: [["ng-component"]],
- standalone: true,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵStandaloneFeature"]],
- decls: 1,
- vars: 0,
- template: function ɵEmptyOutletComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "router-outlet");
- }
- },
- dependencies: [RouterOutlet],
- encapsulation: 2
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](ɵEmptyOutletComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Component,
- args: [{
- template: `<router-outlet></router-outlet>`,
- imports: [RouterOutlet],
- standalone: true
- }]
- }], null, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Creates an `EnvironmentInjector` if the `Route` has providers and one does not already exist
- * and returns the injector. Otherwise, if the `Route` does not have `providers`, returns the
- * `currentInjector`.
- *
- * @param route The route that might have providers
- * @param currentInjector The parent injector of the `Route`
- */
- function getOrCreateRouteInjectorIfNeeded(route, currentInjector) {
- var _a;
- if (route.providers && !route._injector) {
- route._injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.createEnvironmentInjector)(route.providers, currentInjector, `Route: ${route.path}`);
- }
- return (_a = route._injector) !== null && _a !== void 0 ? _a : currentInjector;
- }
- function getLoadedRoutes(route) {
- return route._loadedRoutes;
- }
- function getLoadedInjector(route) {
- return route._loadedInjector;
- }
- function getLoadedComponent(route) {
- return route._loadedComponent;
- }
- function getProvidersInjector(route) {
- return route._injector;
- }
- function validateConfig(config, parentPath = '', requireStandaloneComponents = false) {
- // forEach doesn't iterate undefined values
- for (let i = 0; i < config.length; i++) {
- const route = config[i];
- const fullPath = getFullPath(parentPath, route);
- validateNode(route, fullPath, requireStandaloneComponents);
- }
- }
- function assertStandalone(fullPath, component) {
- if (component && !(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisStandalone"])(component)) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}'. The component must be standalone.`);
- }
- }
- function validateNode(route, fullPath, requireStandaloneComponents) {
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
- if (!route) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `
- Invalid configuration of route '${fullPath}': Encountered undefined route.
- The reason might be an extra comma.
- Example:
- const routes: Routes = [
- { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
- { path: 'dashboard', component: DashboardComponent },, << two commas
- { path: 'detail/:id', component: HeroDetailComponent }
- ];
- `);
- }
- if (Array.isArray(route)) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': Array cannot be specified`);
- }
- if (!route.component && !route.loadComponent && !route.children && !route.loadChildren && route.outlet && route.outlet !== PRIMARY_OUTLET) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': a componentless route without children or loadChildren cannot have a named outlet set`);
- }
- if (route.redirectTo && route.children) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': redirectTo and children cannot be used together`);
- }
- if (route.redirectTo && route.loadChildren) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': redirectTo and loadChildren cannot be used together`);
- }
- if (route.children && route.loadChildren) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': children and loadChildren cannot be used together`);
- }
- if (route.redirectTo && (route.component || route.loadComponent)) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': redirectTo and component/loadComponent cannot be used together`);
- }
- if (route.component && route.loadComponent) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': component and loadComponent cannot be used together`);
- }
- if (route.redirectTo && route.canActivate) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': redirectTo and canActivate cannot be used together. Redirects happen before activation ` + `so canActivate will never be executed.`);
- }
- if (route.path && route.matcher) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': path and matcher cannot be used together`);
- }
- if (route.redirectTo === void 0 && !route.component && !route.loadComponent && !route.children && !route.loadChildren) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}'. One of the following must be provided: component, loadComponent, redirectTo, children or loadChildren`);
- }
- if (route.path === void 0 && route.matcher === void 0) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': routes must have either a path or a matcher specified`);
- }
- if (typeof route.path === 'string' && route.path.charAt(0) === '/') {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '${fullPath}': path cannot start with a slash`);
- }
- if (route.path === '' && route.redirectTo !== void 0 && route.pathMatch === void 0) {
- const exp = `The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`;
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4014
- /* RuntimeErrorCode.INVALID_ROUTE_CONFIG */
- , `Invalid configuration of route '{path: "${fullPath}", redirectTo: "${route.redirectTo}"}': please provide 'pathMatch'. ${exp}`);
- }
- if (requireStandaloneComponents) {
- assertStandalone(fullPath, route.component);
- }
- }
- if (route.children) {
- validateConfig(route.children, fullPath, requireStandaloneComponents);
- }
- }
- function getFullPath(parentPath, currentRoute) {
- if (!currentRoute) {
- return parentPath;
- }
- if (!parentPath && !currentRoute.path) {
- return '';
- } else if (parentPath && !currentRoute.path) {
- return `${parentPath}/`;
- } else if (!parentPath && currentRoute.path) {
- return currentRoute.path;
- } else {
- return `${parentPath}/${currentRoute.path}`;
- }
- }
- /**
- * Makes a copy of the config and adds any default required properties.
- */
- function standardizeConfig(r) {
- const children = r.children && r.children.map(standardizeConfig);
- const c = children ? Object.assign(Object.assign({}, r), {
- children
- }) : Object.assign({}, r);
- if (!c.component && !c.loadComponent && (children || c.loadChildren) && c.outlet && c.outlet !== PRIMARY_OUTLET) {
- c.component = ɵEmptyOutletComponent;
- }
- return c;
- }
- /** Returns the `route.outlet` or PRIMARY_OUTLET if none exists. */
- function getOutlet(route) {
- return route.outlet || PRIMARY_OUTLET;
- }
- /**
- * Sorts the `routes` such that the ones with an outlet matching `outletName` come first.
- * The order of the configs is otherwise preserved.
- */
- function sortByMatchingOutlets(routes, outletName) {
- const sortedConfig = routes.filter(r => getOutlet(r) === outletName);
- sortedConfig.push(...routes.filter(r => getOutlet(r) !== outletName));
- return sortedConfig;
- }
- /**
- * Gets the first injector in the snapshot's parent tree.
- *
- * If the `Route` has a static list of providers, the returned injector will be the one created from
- * those. If it does not exist, the returned injector may come from the parents, which may be from a
- * loaded config or their static providers.
- *
- * Returns `null` if there is neither this nor any parents have a stored injector.
- *
- * Generally used for retrieving the injector to use for getting tokens for guards/resolvers and
- * also used for getting the correct injector to use for creating components.
- */
- function getClosestRouteInjector(snapshot) {
- var _a;
- if (!snapshot) return null; // If the current route has its own injector, which is created from the static providers on the
- // route itself, we should use that. Otherwise, we start at the parent since we do not want to
- // include the lazy loaded injector from this route.
- if ((_a = snapshot.routeConfig) === null || _a === void 0 ? void 0 : _a._injector) {
- return snapshot.routeConfig._injector;
- }
- for (let s = snapshot.parent; s; s = s.parent) {
- const route = s.routeConfig; // Note that the order here is important. `_loadedInjector` stored on the route with
- // `loadChildren: () => NgModule` so it applies to child routes with priority. The `_injector`
- // is created from the static providers on that parent route, so it applies to the children as
- // well, but only if there is no lazy loaded NgModuleRef injector.
- if (route === null || route === void 0 ? void 0 : route._loadedInjector) return route._loadedInjector;
- if (route === null || route === void 0 ? void 0 : route._injector) return route._injector;
- }
- return null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const activateRoutes = (rootContexts, routeReuseStrategy, forwardEvent) => (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(t => {
- new ActivateRoutes(routeReuseStrategy, t.targetRouterState, t.currentRouterState, forwardEvent).activate(rootContexts);
- return t;
- });
- class ActivateRoutes {
- constructor(routeReuseStrategy, futureState, currState, forwardEvent) {
- this.routeReuseStrategy = routeReuseStrategy;
- this.futureState = futureState;
- this.currState = currState;
- this.forwardEvent = forwardEvent;
- }
- activate(parentContexts) {
- const futureRoot = this.futureState._root;
- const currRoot = this.currState ? this.currState._root : null;
- this.deactivateChildRoutes(futureRoot, currRoot, parentContexts);
- advanceActivatedRoute(this.futureState.root);
- this.activateChildRoutes(futureRoot, currRoot, parentContexts);
- } // De-activate the child route that are not re-used for the future state
- deactivateChildRoutes(futureNode, currNode, contexts) {
- const children = nodeChildrenAsMap(currNode); // Recurse on the routes active in the future state to de-activate deeper children
- futureNode.children.forEach(futureChild => {
- const childOutletName = futureChild.value.outlet;
- this.deactivateRoutes(futureChild, children[childOutletName], contexts);
- delete children[childOutletName];
- }); // De-activate the routes that will not be re-used
- forEach(children, (v, childName) => {
- this.deactivateRouteAndItsChildren(v, contexts);
- });
- }
- deactivateRoutes(futureNode, currNode, parentContext) {
- const future = futureNode.value;
- const curr = currNode ? currNode.value : null;
- if (future === curr) {
- // Reusing the node, check to see if the children need to be de-activated
- if (future.component) {
- // If we have a normal route, we need to go through an outlet.
- const context = parentContext.getContext(future.outlet);
- if (context) {
- this.deactivateChildRoutes(futureNode, currNode, context.children);
- }
- } else {
- // if we have a componentless route, we recurse but keep the same outlet map.
- this.deactivateChildRoutes(futureNode, currNode, parentContext);
- }
- } else {
- if (curr) {
- // Deactivate the current route which will not be re-used
- this.deactivateRouteAndItsChildren(currNode, parentContext);
- }
- }
- }
- deactivateRouteAndItsChildren(route, parentContexts) {
- // If there is no component, the Route is never attached to an outlet (because there is no
- // component to attach).
- if (route.value.component && this.routeReuseStrategy.shouldDetach(route.value.snapshot)) {
- this.detachAndStoreRouteSubtree(route, parentContexts);
- } else {
- this.deactivateRouteAndOutlet(route, parentContexts);
- }
- }
- detachAndStoreRouteSubtree(route, parentContexts) {
- const context = parentContexts.getContext(route.value.outlet);
- const contexts = context && route.value.component ? context.children : parentContexts;
- const children = nodeChildrenAsMap(route);
- for (const childOutlet of Object.keys(children)) {
- this.deactivateRouteAndItsChildren(children[childOutlet], contexts);
- }
- if (context && context.outlet) {
- const componentRef = context.outlet.detach();
- const contexts = context.children.onOutletDeactivated();
- this.routeReuseStrategy.store(route.value.snapshot, {
- componentRef,
- route,
- contexts
- });
- }
- }
- deactivateRouteAndOutlet(route, parentContexts) {
- const context = parentContexts.getContext(route.value.outlet); // The context could be `null` if we are on a componentless route but there may still be
- // children that need deactivating.
- const contexts = context && route.value.component ? context.children : parentContexts;
- const children = nodeChildrenAsMap(route);
- for (const childOutlet of Object.keys(children)) {
- this.deactivateRouteAndItsChildren(children[childOutlet], contexts);
- }
- if (context && context.outlet) {
- // Destroy the component
- context.outlet.deactivate(); // Destroy the contexts for all the outlets that were in the component
- context.children.onOutletDeactivated(); // Clear the information about the attached component on the context but keep the reference to
- // the outlet.
- context.attachRef = null;
- context.resolver = null;
- context.route = null;
- }
- }
- activateChildRoutes(futureNode, currNode, contexts) {
- const children = nodeChildrenAsMap(currNode);
- futureNode.children.forEach(c => {
- this.activateRoutes(c, children[c.value.outlet], contexts);
- this.forwardEvent(new ActivationEnd(c.value.snapshot));
- });
- if (futureNode.children.length) {
- this.forwardEvent(new ChildActivationEnd(futureNode.value.snapshot));
- }
- }
- activateRoutes(futureNode, currNode, parentContexts) {
- var _a;
- const future = futureNode.value;
- const curr = currNode ? currNode.value : null;
- advanceActivatedRoute(future); // reusing the node
- if (future === curr) {
- if (future.component) {
- // If we have a normal route, we need to go through an outlet.
- const context = parentContexts.getOrCreateContext(future.outlet);
- this.activateChildRoutes(futureNode, currNode, context.children);
- } else {
- // if we have a componentless route, we recurse but keep the same outlet map.
- this.activateChildRoutes(futureNode, currNode, parentContexts);
- }
- } else {
- if (future.component) {
- // if we have a normal route, we need to place the component into the outlet and recurse.
- const context = parentContexts.getOrCreateContext(future.outlet);
- if (this.routeReuseStrategy.shouldAttach(future.snapshot)) {
- const stored = this.routeReuseStrategy.retrieve(future.snapshot);
- this.routeReuseStrategy.store(future.snapshot, null);
- context.children.onOutletReAttached(stored.contexts);
- context.attachRef = stored.componentRef;
- context.route = stored.route.value;
- if (context.outlet) {
- // Attach right away when the outlet has already been instantiated
- // Otherwise attach from `RouterOutlet.ngOnInit` when it is instantiated
- context.outlet.attach(stored.componentRef, stored.route.value);
- }
- advanceActivatedRoute(stored.route.value);
- this.activateChildRoutes(futureNode, null, context.children);
- } else {
- const injector = getClosestRouteInjector(future.snapshot);
- 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;
- context.attachRef = null;
- context.route = future;
- context.resolver = cmpFactoryResolver;
- context.injector = injector;
- if (context.outlet) {
- // Activate the outlet when it has already been instantiated
- // Otherwise it will get activated from its `ngOnInit` when instantiated
- context.outlet.activateWith(future, context.injector);
- }
- this.activateChildRoutes(futureNode, null, context.children);
- }
- } else {
- // if we have a componentless route, we recurse but keep the same outlet map.
- this.activateChildRoutes(futureNode, null, parentContexts);
- }
- }
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- class CanActivate {
- constructor(path) {
- this.path = path;
- this.route = this.path[this.path.length - 1];
- }
- }
- class CanDeactivate {
- constructor(component, route) {
- this.component = component;
- this.route = route;
- }
- }
- function getAllRouteGuards(future, curr, parentContexts) {
- const futureRoot = future._root;
- const currRoot = curr ? curr._root : null;
- return getChildRouteGuards(futureRoot, currRoot, parentContexts, [futureRoot.value]);
- }
- function getCanActivateChild(p) {
- const canActivateChild = p.routeConfig ? p.routeConfig.canActivateChild : null;
- if (!canActivateChild || canActivateChild.length === 0) return null;
- return {
- node: p,
- guards: canActivateChild
- };
- }
- function getTokenOrFunctionIdentity(tokenOrFunction, injector) {
- const NOT_FOUND = Symbol();
- const result = injector.get(tokenOrFunction, NOT_FOUND);
- if (result === NOT_FOUND) {
- if (typeof tokenOrFunction === 'function' && !(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵisInjectable"])(tokenOrFunction)) {
- // We think the token is just a function so return it as-is
- return tokenOrFunction;
- } else {
- // This will throw the not found error
- return injector.get(tokenOrFunction);
- }
- }
- return result;
- }
- function getChildRouteGuards(futureNode, currNode, contexts, futurePath, checks = {
- canDeactivateChecks: [],
- canActivateChecks: []
- }) {
- const prevChildren = nodeChildrenAsMap(currNode); // Process the children of the future route
- futureNode.children.forEach(c => {
- getRouteGuards(c, prevChildren[c.value.outlet], contexts, futurePath.concat([c.value]), checks);
- delete prevChildren[c.value.outlet];
- }); // Process any children left from the current route (not active for the future route)
- forEach(prevChildren, (v, k) => deactivateRouteAndItsChildren(v, contexts.getContext(k), checks));
- return checks;
- }
- function getRouteGuards(futureNode, currNode, parentContexts, futurePath, checks = {
- canDeactivateChecks: [],
- canActivateChecks: []
- }) {
- const future = futureNode.value;
- const curr = currNode ? currNode.value : null;
- const context = parentContexts ? parentContexts.getContext(futureNode.value.outlet) : null; // reusing the node
- if (curr && future.routeConfig === curr.routeConfig) {
- const shouldRun = shouldRunGuardsAndResolvers(curr, future, future.routeConfig.runGuardsAndResolvers);
- if (shouldRun) {
- checks.canActivateChecks.push(new CanActivate(futurePath));
- } else {
- // we need to set the data
- future.data = curr.data;
- future._resolvedData = curr._resolvedData;
- } // If we have a component, we need to go through an outlet.
- if (future.component) {
- getChildRouteGuards(futureNode, currNode, context ? context.children : null, futurePath, checks); // if we have a componentless route, we recurse but keep the same outlet map.
- } else {
- getChildRouteGuards(futureNode, currNode, parentContexts, futurePath, checks);
- }
- if (shouldRun && context && context.outlet && context.outlet.isActivated) {
- checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, curr));
- }
- } else {
- if (curr) {
- deactivateRouteAndItsChildren(currNode, context, checks);
- }
- checks.canActivateChecks.push(new CanActivate(futurePath)); // If we have a component, we need to go through an outlet.
- if (future.component) {
- getChildRouteGuards(futureNode, null, context ? context.children : null, futurePath, checks); // if we have a componentless route, we recurse but keep the same outlet map.
- } else {
- getChildRouteGuards(futureNode, null, parentContexts, futurePath, checks);
- }
- }
- return checks;
- }
- function shouldRunGuardsAndResolvers(curr, future, mode) {
- if (typeof mode === 'function') {
- return mode(curr, future);
- }
- switch (mode) {
- case 'pathParamsChange':
- return !equalPath(curr.url, future.url);
- case 'pathParamsOrQueryParamsChange':
- return !equalPath(curr.url, future.url) || !shallowEqual(curr.queryParams, future.queryParams);
- case 'always':
- return true;
- case 'paramsOrQueryParamsChange':
- return !equalParamsAndUrlSegments(curr, future) || !shallowEqual(curr.queryParams, future.queryParams);
- case 'paramsChange':
- default:
- return !equalParamsAndUrlSegments(curr, future);
- }
- }
- function deactivateRouteAndItsChildren(route, context, checks) {
- const children = nodeChildrenAsMap(route);
- const r = route.value;
- forEach(children, (node, childName) => {
- if (!r.component) {
- deactivateRouteAndItsChildren(node, context, checks);
- } else if (context) {
- deactivateRouteAndItsChildren(node, context.children.getContext(childName), checks);
- } else {
- deactivateRouteAndItsChildren(node, null, checks);
- }
- });
- if (!r.component) {
- checks.canDeactivateChecks.push(new CanDeactivate(null, r));
- } else if (context && context.outlet && context.outlet.isActivated) {
- checks.canDeactivateChecks.push(new CanDeactivate(context.outlet.component, r));
- } else {
- checks.canDeactivateChecks.push(new CanDeactivate(null, r));
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Simple function check, but generic so type inference will flow. Example:
- *
- * function product(a: number, b: number) {
- * return a * b;
- * }
- *
- * if (isFunction<product>(fn)) {
- * return fn(1, 2);
- * } else {
- * throw "Must provide the `product` function";
- * }
- */
- function isFunction(v) {
- return typeof v === 'function';
- }
- function isBoolean(v) {
- return typeof v === 'boolean';
- }
- function isCanLoad(guard) {
- return guard && isFunction(guard.canLoad);
- }
- function isCanActivate(guard) {
- return guard && isFunction(guard.canActivate);
- }
- function isCanActivateChild(guard) {
- return guard && isFunction(guard.canActivateChild);
- }
- function isCanDeactivate(guard) {
- return guard && isFunction(guard.canDeactivate);
- }
- function isCanMatch(guard) {
- return guard && isFunction(guard.canMatch);
- }
- function isRedirectingNavigationCancelingError(error) {
- return isNavigationCancelingError(error) && isUrlTree(error.url);
- }
- function isNavigationCancelingError(error) {
- return error && error[NAVIGATION_CANCELING_ERROR];
- }
- function isEmptyError(e) {
- return e instanceof rxjs__WEBPACK_IMPORTED_MODULE_5__.EmptyError || (e === null || e === void 0 ? void 0 : e.name) === 'EmptyError';
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const INITIAL_VALUE = Symbol('INITIAL_VALUE');
- function prioritizedGuardValue() {
- return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(obs => {
- 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 => {
- for (const result of results) {
- if (result === true) {
- // If result is true, check the next one
- continue;
- } else if (result === INITIAL_VALUE) {
- // If guard has not finished, we need to stop processing.
- return INITIAL_VALUE;
- } else if (result === false || result instanceof UrlTree) {
- // Result finished and was not true. Return the result.
- // Note that we only allow false/UrlTree. Other values are considered invalid and
- // ignored.
- return result;
- }
- } // Everything resolved to true. Return true.
- return true;
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(item => item !== INITIAL_VALUE), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.take)(1));
- });
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function checkGuards(injector, forwardEvent) {
- return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(t => {
- const {
- targetSnapshot,
- currentSnapshot,
- guards: {
- canActivateChecks,
- canDeactivateChecks
- }
- } = t;
- if (canDeactivateChecks.length === 0 && canActivateChecks.length === 0) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(Object.assign(Object.assign({}, t), {
- guardsResult: true
- }));
- }
- return runCanDeactivateChecks(canDeactivateChecks, targetSnapshot, currentSnapshot, injector).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(canDeactivate => {
- return canDeactivate && isBoolean(canDeactivate) ? runCanActivateChecks(targetSnapshot, canActivateChecks, injector, forwardEvent) : (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canDeactivate);
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(guardsResult => Object.assign(Object.assign({}, t), {
- guardsResult
- })));
- });
- }
- function runCanDeactivateChecks(checks, futureRSS, currRSS, injector) {
- 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 => {
- return result !== true;
- }, true));
- }
- function runCanActivateChecks(futureSnapshot, checks, injector, forwardEvent) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(checks).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(check => {
- 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));
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)(result => {
- return result !== true;
- }, true));
- }
- /**
- * This should fire off `ActivationStart` events for each route being activated at this
- * level.
- * In other words, if you're activating `a` and `b` below, `path` will contain the
- * `ActivatedRouteSnapshot`s for both and we will fire `ActivationStart` for both. Always
- * return
- * `true` so checks continue to run.
- */
- function fireActivationStart(snapshot, forwardEvent) {
- if (snapshot !== null && forwardEvent) {
- forwardEvent(new ActivationStart(snapshot));
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
- }
- /**
- * This should fire off `ChildActivationStart` events for each route being activated at this
- * level.
- * In other words, if you're activating `a` and `b` below, `path` will contain the
- * `ActivatedRouteSnapshot`s for both and we will fire `ChildActivationStart` for both. Always
- * return
- * `true` so checks continue to run.
- */
- function fireChildActivationStart(snapshot, forwardEvent) {
- if (snapshot !== null && forwardEvent) {
- forwardEvent(new ChildActivationStart(snapshot));
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
- }
- function runCanActivate(futureRSS, futureARS, injector) {
- const canActivate = futureARS.routeConfig ? futureARS.routeConfig.canActivate : null;
- if (!canActivate || canActivate.length === 0) return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
- const canActivateObservables = canActivate.map(canActivate => {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_15__.defer)(() => {
- var _a;
- const closestInjector = (_a = getClosestRouteInjector(futureARS)) !== null && _a !== void 0 ? _a : injector;
- const guard = getTokenOrFunctionIdentity(canActivate, closestInjector);
- const guardVal = isCanActivate(guard) ? guard.canActivate(futureARS, futureRSS) : closestInjector.runInContext(() => guard(futureARS, futureRSS));
- return wrapIntoObservable(guardVal).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)());
- });
- });
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canActivateObservables).pipe(prioritizedGuardValue());
- }
- function runCanActivateChild(futureRSS, path, injector) {
- const futureARS = path[path.length - 1];
- const canActivateChildGuards = path.slice(0, path.length - 1).reverse().map(p => getCanActivateChild(p)).filter(_ => _ !== null);
- const canActivateChildGuardsMapped = canActivateChildGuards.map(d => {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_15__.defer)(() => {
- const guardsMapped = d.guards.map(canActivateChild => {
- var _a;
- const closestInjector = (_a = getClosestRouteInjector(d.node)) !== null && _a !== void 0 ? _a : injector;
- const guard = getTokenOrFunctionIdentity(canActivateChild, closestInjector);
- const guardVal = isCanActivateChild(guard) ? guard.canActivateChild(futureARS, futureRSS) : closestInjector.runInContext(() => guard(futureARS, futureRSS));
- return wrapIntoObservable(guardVal).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)());
- });
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(guardsMapped).pipe(prioritizedGuardValue());
- });
- });
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canActivateChildGuardsMapped).pipe(prioritizedGuardValue());
- }
- function runCanDeactivate(component, currARS, currRSS, futureRSS, injector) {
- const canDeactivate = currARS && currARS.routeConfig ? currARS.routeConfig.canDeactivate : null;
- if (!canDeactivate || canDeactivate.length === 0) return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
- const canDeactivateObservables = canDeactivate.map(c => {
- var _a;
- const closestInjector = (_a = getClosestRouteInjector(currARS)) !== null && _a !== void 0 ? _a : injector;
- const guard = getTokenOrFunctionIdentity(c, closestInjector);
- const guardVal = isCanDeactivate(guard) ? guard.canDeactivate(component, currARS, currRSS, futureRSS) : closestInjector.runInContext(() => guard(component, currARS, currRSS, futureRSS));
- return wrapIntoObservable(guardVal).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)());
- });
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canDeactivateObservables).pipe(prioritizedGuardValue());
- }
- function runCanLoadGuards(injector, route, segments, urlSerializer) {
- const canLoad = route.canLoad;
- if (canLoad === undefined || canLoad.length === 0) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
- }
- const canLoadObservables = canLoad.map(injectionToken => {
- const guard = getTokenOrFunctionIdentity(injectionToken, injector);
- const guardVal = isCanLoad(guard) ? guard.canLoad(route, segments) : injector.runInContext(() => guard(route, segments));
- return wrapIntoObservable(guardVal);
- });
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canLoadObservables).pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));
- }
- function redirectIfUrlTree(urlSerializer) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_16__.pipe)((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(result => {
- if (!isUrlTree(result)) return;
- throw redirectingNavigationError(urlSerializer, result);
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(result => result === true));
- }
- function runCanMatchGuards(injector, route, segments, urlSerializer) {
- const canMatch = route.canMatch;
- if (!canMatch || canMatch.length === 0) return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(true);
- const canMatchObservables = canMatch.map(injectionToken => {
- const guard = getTokenOrFunctionIdentity(injectionToken, injector);
- const guardVal = isCanMatch(guard) ? guard.canMatch(route, segments) : injector.runInContext(() => guard(route, segments));
- return wrapIntoObservable(guardVal);
- });
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(canMatchObservables).pipe(prioritizedGuardValue(), redirectIfUrlTree(urlSerializer));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const noMatch$1 = {
- matched: false,
- consumedSegments: [],
- remainingSegments: [],
- parameters: {},
- positionalParamSegments: {}
- };
- function matchWithChecks(segmentGroup, route, segments, injector, urlSerializer) {
- const result = match(segmentGroup, route, segments);
- if (!result.matched) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(result);
- } // Only create the Route's `EnvironmentInjector` if it matches the attempted
- // navigation
- injector = getOrCreateRouteInjectorIfNeeded(route, injector);
- return runCanMatchGuards(injector, route, segments, urlSerializer).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(v => v === true ? result : Object.assign({}, noMatch$1)));
- }
- function match(segmentGroup, route, segments) {
- var _a;
- if (route.path === '') {
- if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {
- return Object.assign({}, noMatch$1);
- }
- return {
- matched: true,
- consumedSegments: [],
- remainingSegments: segments,
- parameters: {},
- positionalParamSegments: {}
- };
- }
- const matcher = route.matcher || defaultUrlMatcher;
- const res = matcher(segments, segmentGroup, route);
- if (!res) return Object.assign({}, noMatch$1);
- const posParams = {};
- forEach(res.posParams, (v, k) => {
- posParams[k] = v.path;
- });
- const parameters = res.consumed.length > 0 ? Object.assign(Object.assign({}, posParams), res.consumed[res.consumed.length - 1].parameters) : posParams;
- return {
- matched: true,
- consumedSegments: res.consumed,
- remainingSegments: segments.slice(res.consumed.length),
- // TODO(atscott): investigate combining parameters and positionalParamSegments
- parameters,
- positionalParamSegments: (_a = res.posParams) !== null && _a !== void 0 ? _a : {}
- };
- }
- function split(segmentGroup, consumedSegments, slicedSegments, config, relativeLinkResolution = 'corrected') {
- if (slicedSegments.length > 0 && containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {
- const s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(segmentGroup, consumedSegments, config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));
- s._sourceSegment = segmentGroup;
- s._segmentIndexShift = consumedSegments.length;
- return {
- segmentGroup: s,
- slicedSegments: []
- };
- }
- if (slicedSegments.length === 0 && containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {
- const s = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, config, segmentGroup.children, relativeLinkResolution));
- s._sourceSegment = segmentGroup;
- s._segmentIndexShift = consumedSegments.length;
- return {
- segmentGroup: s,
- slicedSegments
- };
- }
- const s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);
- s._sourceSegment = segmentGroup;
- s._segmentIndexShift = consumedSegments.length;
- return {
- segmentGroup: s,
- slicedSegments
- };
- }
- function addEmptyPathsToChildrenIfNeeded(segmentGroup, consumedSegments, slicedSegments, routes, children, relativeLinkResolution) {
- const res = {};
- for (const r of routes) {
- if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet(r)]) {
- const s = new UrlSegmentGroup([], {});
- s._sourceSegment = segmentGroup;
- if (relativeLinkResolution === 'legacy') {
- s._segmentIndexShift = segmentGroup.segments.length;
- if (typeof ngDevMode === 'undefined' || !!ngDevMode) {
- s._segmentIndexShiftCorrected = consumedSegments.length;
- }
- } else {
- s._segmentIndexShift = consumedSegments.length;
- }
- res[getOutlet(r)] = s;
- }
- }
- return Object.assign(Object.assign({}, children), res);
- }
- function createChildrenForEmptyPaths(segmentGroup, consumedSegments, routes, primarySegment) {
- const res = {};
- res[PRIMARY_OUTLET] = primarySegment;
- primarySegment._sourceSegment = segmentGroup;
- primarySegment._segmentIndexShift = consumedSegments.length;
- for (const r of routes) {
- if (r.path === '' && getOutlet(r) !== PRIMARY_OUTLET) {
- const s = new UrlSegmentGroup([], {});
- s._sourceSegment = segmentGroup;
- s._segmentIndexShift = consumedSegments.length;
- res[getOutlet(r)] = s;
- }
- }
- return res;
- }
- function containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {
- return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r) && getOutlet(r) !== PRIMARY_OUTLET);
- }
- function containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {
- return routes.some(r => emptyPathMatch(segmentGroup, slicedSegments, r));
- }
- function emptyPathMatch(segmentGroup, slicedSegments, r) {
- if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full') {
- return false;
- }
- return r.path === '';
- }
- /**
- * Determines if `route` is a path match for the `rawSegment`, `segments`, and `outlet` without
- * verifying that its children are a full match for the remainder of the `rawSegment` children as
- * well.
- */
- function isImmediateMatch(route, rawSegment, segments, outlet) {
- // We allow matches to empty paths when the outlets differ so we can match a url like `/(b:b)` to
- // a config like
- // * `{path: '', children: [{path: 'b', outlet: 'b'}]}`
- // or even
- // * `{path: '', outlet: 'a', children: [{path: 'b', outlet: 'b'}]`
- //
- // The exception here is when the segment outlet is for the primary outlet. This would
- // result in a match inside the named outlet because all children there are written as primary
- // outlets. So we need to prevent child named outlet matches in a url like `/b` in a config like
- // * `{path: '', outlet: 'x' children: [{path: 'b'}]}`
- // This should only match if the url is `/(x:b)`.
- if (getOutlet(route) !== outlet && (outlet === PRIMARY_OUTLET || !emptyPathMatch(rawSegment, segments, route))) {
- return false;
- }
- if (route.path === '**') {
- return true;
- }
- return match(rawSegment, route, segments).matched;
- }
- function noLeftoversInUrl(segmentGroup, segments, outlet) {
- return segments.length === 0 && !segmentGroup.children[outlet];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$6 = typeof ngDevMode === 'undefined' || ngDevMode;
- class NoMatch$1 {
- constructor(segmentGroup) {
- this.segmentGroup = segmentGroup || null;
- }
- }
- class AbsoluteRedirect {
- constructor(urlTree) {
- this.urlTree = urlTree;
- }
- }
- function noMatch(segmentGroup) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_18__.throwError)(new NoMatch$1(segmentGroup));
- }
- function absoluteRedirect(newTree) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_18__.throwError)(new AbsoluteRedirect(newTree));
- }
- function namedOutletsRedirect(redirectTo) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_18__.throwError)(new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4000
- /* RuntimeErrorCode.NAMED_OUTLET_REDIRECT */
- , NG_DEV_MODE$6 && `Only absolute redirects can have named outlets. redirectTo: '${redirectTo}'`));
- }
- function canLoadFails(route) {
- 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
- /* NavigationCancellationCode.GuardRejected */
- ));
- }
- /**
- * Returns the `UrlTree` with the redirection applied.
- *
- * Lazy modules are loaded along the way.
- */
- function applyRedirects$1(injector, configLoader, urlSerializer, urlTree, config) {
- return new ApplyRedirects(injector, configLoader, urlSerializer, urlTree, config).apply();
- }
- class ApplyRedirects {
- constructor(injector, configLoader, urlSerializer, urlTree, config) {
- this.injector = injector;
- this.configLoader = configLoader;
- this.urlSerializer = urlSerializer;
- this.urlTree = urlTree;
- this.config = config;
- this.allowRedirects = true;
- }
- apply() {
- const splitGroup = split(this.urlTree.root, [], [], this.config).segmentGroup; // TODO(atscott): creating a new segment removes the _sourceSegment _segmentIndexShift, which is
- // only necessary to prevent failures in tests which assert exact object matches. The `split` is
- // now shared between `applyRedirects` and `recognize` but only the `recognize` step needs these
- // properties. Before the implementations were merged, the `applyRedirects` would not assign
- // them. We should be able to remove this logic as a "breaking change" but should do some more
- // investigation into the failures first.
- const rootSegmentGroup = new UrlSegmentGroup(splitGroup.segments, splitGroup.children);
- const expanded$ = this.expandSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET);
- const urlTrees$ = expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(rootSegmentGroup => {
- return this.createUrlTree(squashSegmentGroup(rootSegmentGroup), this.urlTree.queryParams, this.urlTree.fragment);
- }));
- return urlTrees$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
- if (e instanceof AbsoluteRedirect) {
- // After an absolute redirect we do not apply any more redirects!
- // If this implementation changes, update the documentation note in `redirectTo`.
- this.allowRedirects = false; // we need to run matching, so we can fetch all lazy-loaded modules
- return this.match(e.urlTree);
- }
- if (e instanceof NoMatch$1) {
- throw this.noMatchError(e);
- }
- throw e;
- }));
- }
- match(tree) {
- const expanded$ = this.expandSegmentGroup(this.injector, this.config, tree.root, PRIMARY_OUTLET);
- const mapped$ = expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(rootSegmentGroup => {
- return this.createUrlTree(squashSegmentGroup(rootSegmentGroup), tree.queryParams, tree.fragment);
- }));
- return mapped$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
- if (e instanceof NoMatch$1) {
- throw this.noMatchError(e);
- }
- throw e;
- }));
- }
- noMatchError(e) {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4002
- /* RuntimeErrorCode.NO_MATCH */
- , NG_DEV_MODE$6 && `Cannot match any routes. URL Segment: '${e.segmentGroup}'`);
- }
- createUrlTree(rootCandidate, queryParams, fragment) {
- const root = createRoot(rootCandidate);
- return new UrlTree(root, queryParams, fragment);
- }
- expandSegmentGroup(injector, routes, segmentGroup, outlet) {
- if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {
- return this.expandChildren(injector, routes, segmentGroup).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => new UrlSegmentGroup([], children)));
- }
- return this.expandSegment(injector, segmentGroup, routes, segmentGroup.segments, outlet, true);
- } // Recursively expand segment groups for all the child outlets
- expandChildren(injector, routes, segmentGroup) {
- // Expand outlets one at a time, starting with the primary outlet. We need to do it this way
- // because an absolute redirect from the primary outlet takes precedence.
- const childOutlets = [];
- for (const child of Object.keys(segmentGroup.children)) {
- if (child === 'primary') {
- childOutlets.unshift(child);
- } else {
- childOutlets.push(child);
- }
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(childOutlets).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(childOutlet => {
- const child = segmentGroup.children[childOutlet]; // Sort the routes so routes with outlets that match the segment appear
- // first, followed by routes for other outlets, which might match if they have an
- // empty path.
- const sortedRoutes = sortByMatchingOutlets(routes, childOutlet);
- return this.expandSegmentGroup(injector, sortedRoutes, child, childOutlet).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(s => ({
- segment: s,
- outlet: childOutlet
- })));
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.scan)((children, expandedChild) => {
- children[expandedChild.outlet] = expandedChild.segment;
- return children;
- }, {}), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.last)());
- }
- expandSegment(injector, segmentGroup, routes, segments, outlet, allowRedirects) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(routes).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(r => {
- const expanded$ = this.expandSegmentAgainstRoute(injector, segmentGroup, routes, r, segments, outlet, allowRedirects);
- return expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
- if (e instanceof NoMatch$1) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
- }
- throw e;
- }));
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)(s => !!s), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)((e, _) => {
- if (isEmptyError(e)) {
- if (noLeftoversInUrl(segmentGroup, segments, outlet)) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(new UrlSegmentGroup([], {}));
- }
- return noMatch(segmentGroup);
- }
- throw e;
- }));
- }
- expandSegmentAgainstRoute(injector, segmentGroup, routes, route, paths, outlet, allowRedirects) {
- if (!isImmediateMatch(route, segmentGroup, paths, outlet)) {
- return noMatch(segmentGroup);
- }
- if (route.redirectTo === undefined) {
- return this.matchSegmentAgainstRoute(injector, segmentGroup, route, paths, outlet);
- }
- if (allowRedirects && this.allowRedirects) {
- return this.expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, paths, outlet);
- }
- return noMatch(segmentGroup);
- }
- expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {
- if (route.path === '**') {
- return this.expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet);
- }
- return this.expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet);
- }
- expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet) {
- const newTree = this.applyRedirectCommands([], route.redirectTo, {});
- if (route.redirectTo.startsWith('/')) {
- return absoluteRedirect(newTree);
- }
- return this.lineralizeSegments(route, newTree).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(newSegments => {
- const group = new UrlSegmentGroup(newSegments, {});
- return this.expandSegment(injector, group, routes, newSegments, outlet, false);
- }));
- }
- expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet) {
- const {
- matched,
- consumedSegments,
- remainingSegments,
- positionalParamSegments
- } = match(segmentGroup, route, segments);
- if (!matched) return noMatch(segmentGroup);
- const newTree = this.applyRedirectCommands(consumedSegments, route.redirectTo, positionalParamSegments);
- if (route.redirectTo.startsWith('/')) {
- return absoluteRedirect(newTree);
- }
- return this.lineralizeSegments(route, newTree).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(newSegments => {
- return this.expandSegment(injector, segmentGroup, routes, newSegments.concat(remainingSegments), outlet, false);
- }));
- }
- matchSegmentAgainstRoute(injector, rawSegmentGroup, route, segments, outlet) {
- if (route.path === '**') {
- // Only create the Route's `EnvironmentInjector` if it matches the attempted navigation
- injector = getOrCreateRouteInjectorIfNeeded(route, injector);
- if (route.loadChildren) {
- const loaded$ = route._loadedRoutes ? (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
- routes: route._loadedRoutes,
- injector: route._loadedInjector
- }) : this.configLoader.loadChildren(injector, route);
- return loaded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(cfg => {
- route._loadedRoutes = cfg.routes;
- route._loadedInjector = cfg.injector;
- return new UrlSegmentGroup(segments, {});
- }));
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(new UrlSegmentGroup(segments, {}));
- }
- return matchWithChecks(rawSegmentGroup, route, segments, injector, this.urlSerializer).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(({
- matched,
- consumedSegments,
- remainingSegments
- }) => {
- var _a;
- if (!matched) return noMatch(rawSegmentGroup); // If the route has an injector created from providers, we should start using that.
- injector = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;
- const childConfig$ = this.getChildConfig(injector, route, segments);
- return childConfig$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(routerConfig => {
- var _a;
- const childInjector = (_a = routerConfig.injector) !== null && _a !== void 0 ? _a : injector;
- const childConfig = routerConfig.routes;
- const {
- segmentGroup: splitSegmentGroup,
- slicedSegments
- } = split(rawSegmentGroup, consumedSegments, remainingSegments, childConfig); // See comment on the other call to `split` about why this is necessary.
- const segmentGroup = new UrlSegmentGroup(splitSegmentGroup.segments, splitSegmentGroup.children);
- if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {
- const expanded$ = this.expandChildren(childInjector, childConfig, segmentGroup);
- return expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => new UrlSegmentGroup(consumedSegments, children)));
- }
- if (childConfig.length === 0 && slicedSegments.length === 0) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(new UrlSegmentGroup(consumedSegments, {}));
- }
- const matchedOnOutlet = getOutlet(route) === outlet;
- const expanded$ = this.expandSegment(childInjector, segmentGroup, childConfig, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet, true);
- return expanded$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(cs => new UrlSegmentGroup(consumedSegments.concat(cs.segments), cs.children)));
- }));
- }));
- }
- getChildConfig(injector, route, segments) {
- if (route.children) {
- // The children belong to the same module
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
- routes: route.children,
- injector
- });
- }
- if (route.loadChildren) {
- // lazy children belong to the loaded module
- if (route._loadedRoutes !== undefined) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
- routes: route._loadedRoutes,
- injector: route._loadedInjector
- });
- }
- return runCanLoadGuards(injector, route, segments, this.urlSerializer).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(shouldLoadResult => {
- if (shouldLoadResult) {
- return this.configLoader.loadChildren(injector, route).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(cfg => {
- route._loadedRoutes = cfg.routes;
- route._loadedInjector = cfg.injector;
- }));
- }
- return canLoadFails(route);
- }));
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
- routes: [],
- injector
- });
- }
- lineralizeSegments(route, urlTree) {
- let res = [];
- let c = urlTree.root;
- while (true) {
- res = res.concat(c.segments);
- if (c.numberOfChildren === 0) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(res);
- }
- if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {
- return namedOutletsRedirect(route.redirectTo);
- }
- c = c.children[PRIMARY_OUTLET];
- }
- }
- applyRedirectCommands(segments, redirectTo, posParams) {
- return this.applyRedirectCreateUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);
- }
- applyRedirectCreateUrlTree(redirectTo, urlTree, segments, posParams) {
- const newRoot = this.createSegmentGroup(redirectTo, urlTree.root, segments, posParams);
- return new UrlTree(newRoot, this.createQueryParams(urlTree.queryParams, this.urlTree.queryParams), urlTree.fragment);
- }
- createQueryParams(redirectToParams, actualParams) {
- const res = {};
- forEach(redirectToParams, (v, k) => {
- const copySourceValue = typeof v === 'string' && v.startsWith(':');
- if (copySourceValue) {
- const sourceName = v.substring(1);
- res[k] = actualParams[sourceName];
- } else {
- res[k] = v;
- }
- });
- return res;
- }
- createSegmentGroup(redirectTo, group, segments, posParams) {
- const updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);
- let children = {};
- forEach(group.children, (child, name) => {
- children[name] = this.createSegmentGroup(redirectTo, child, segments, posParams);
- });
- return new UrlSegmentGroup(updatedSegments, children);
- }
- createSegments(redirectTo, redirectToSegments, actualSegments, posParams) {
- return redirectToSegments.map(s => s.path.startsWith(':') ? this.findPosParam(redirectTo, s, posParams) : this.findOrReturn(s, actualSegments));
- }
- findPosParam(redirectTo, redirectToUrlSegment, posParams) {
- const pos = posParams[redirectToUrlSegment.path.substring(1)];
- if (!pos) throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4001
- /* RuntimeErrorCode.MISSING_REDIRECT */
- , NG_DEV_MODE$6 && `Cannot redirect to '${redirectTo}'. Cannot find '${redirectToUrlSegment.path}'.`);
- return pos;
- }
- findOrReturn(redirectToUrlSegment, actualSegments) {
- let idx = 0;
- for (const s of actualSegments) {
- if (s.path === redirectToUrlSegment.path) {
- actualSegments.splice(idx);
- return s;
- }
- idx++;
- }
- return redirectToUrlSegment;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function applyRedirects(environmentInjector, configLoader, urlSerializer, config) {
- 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), {
- urlAfterRedirects
- }))));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$5 = typeof ngDevMode === 'undefined' || !!ngDevMode;
- class NoMatch {}
- function newObservableError(e) {
- // TODO(atscott): This pattern is used throughout the router code and can be `throwError` instead.
- return new rxjs__WEBPACK_IMPORTED_MODULE_22__.Observable(obs => obs.error(e));
- }
- function recognize$1(injector, rootComponentType, config, urlTree, url, urlSerializer, paramsInheritanceStrategy = 'emptyOnly', relativeLinkResolution = 'legacy') {
- return new Recognizer(injector, rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution, urlSerializer).recognize().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(result => {
- if (result === null) {
- return newObservableError(new NoMatch());
- } else {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(result);
- }
- }));
- }
- class Recognizer {
- constructor(injector, rootComponentType, config, urlTree, url, paramsInheritanceStrategy, relativeLinkResolution, urlSerializer) {
- this.injector = injector;
- this.rootComponentType = rootComponentType;
- this.config = config;
- this.urlTree = urlTree;
- this.url = url;
- this.paramsInheritanceStrategy = paramsInheritanceStrategy;
- this.relativeLinkResolution = relativeLinkResolution;
- this.urlSerializer = urlSerializer;
- }
- recognize() {
- const rootSegmentGroup = split(this.urlTree.root, [], [], this.config.filter(c => c.redirectTo === undefined), this.relativeLinkResolution).segmentGroup;
- return this.processSegmentGroup(this.injector, this.config, rootSegmentGroup, PRIMARY_OUTLET).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => {
- if (children === null) {
- return null;
- } // Use Object.freeze to prevent readers of the Router state from modifying it outside of a
- // navigation, resulting in the router being out of sync with the browser.
- 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, {});
- const rootNode = new TreeNode(root, children);
- const routeState = new RouterStateSnapshot(this.url, rootNode);
- this.inheritParamsAndData(routeState._root);
- return routeState;
- }));
- }
- inheritParamsAndData(routeNode) {
- const route = routeNode.value;
- const i = inheritedParamsDataResolve(route, this.paramsInheritanceStrategy);
- route.params = Object.freeze(i.params);
- route.data = Object.freeze(i.data);
- routeNode.children.forEach(n => this.inheritParamsAndData(n));
- }
- processSegmentGroup(injector, config, segmentGroup, outlet) {
- if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {
- return this.processChildren(injector, config, segmentGroup);
- }
- return this.processSegment(injector, config, segmentGroup, segmentGroup.segments, outlet);
- }
- /**
- * Matches every child outlet in the `segmentGroup` to a `Route` in the config. Returns `null` if
- * we cannot find a match for _any_ of the children.
- *
- * @param config - The `Routes` to match against
- * @param segmentGroup - The `UrlSegmentGroup` whose children need to be matched against the
- * config.
- */
- processChildren(injector, config, segmentGroup) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(Object.keys(segmentGroup.children)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(childOutlet => {
- const child = segmentGroup.children[childOutlet]; // Sort the config so that routes with outlets that match the one being activated
- // appear first, followed by routes for other outlets, which might match if they have
- // an empty path.
- const sortedConfig = sortByMatchingOutlets(config, childOutlet);
- return this.processSegmentGroup(injector, sortedConfig, child, childOutlet);
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.scan)((children, outletChildren) => {
- if (!children || !outletChildren) return null;
- children.push(...outletChildren);
- return children;
- }), (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 => {
- if (children === null) return null; // Because we may have matched two outlets to the same empty path segment, we can have
- // multiple activated results for the same outlet. We should merge the children of
- // these results so the final return value is only one `TreeNode` per outlet.
- const mergedChildren = mergeEmptyPathMatches(children);
- if (NG_DEV_MODE$5) {
- // This should really never happen - we are only taking the first match for each
- // outlet and merge the empty path matches.
- checkOutletNameUniqueness(mergedChildren);
- }
- sortActivatedRouteSnapshots(mergedChildren);
- return mergedChildren;
- }));
- }
- processSegment(injector, routes, segmentGroup, segments, outlet) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(routes).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.concatMap)(r => {
- var _a;
- return this.processSegmentAgainstRoute((_a = r._injector) !== null && _a !== void 0 ? _a : injector, r, segmentGroup, segments, outlet);
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.first)(x => !!x), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
- if (isEmptyError(e)) {
- if (noLeftoversInUrl(segmentGroup, segments, outlet)) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)([]);
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
- }
- throw e;
- }));
- }
- processSegmentAgainstRoute(injector, route, rawSegment, segments, outlet) {
- var _a, _b;
- if (route.redirectTo || !isImmediateMatch(route, rawSegment, segments, outlet)) return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
- let matchResult;
- if (route.path === '**') {
- const params = segments.length > 0 ? last(segments).parameters : {};
- const pathIndexShift = getPathIndexShift(rawSegment) + segments.length;
- 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
- // production bundle size. This value is intended only to surface a warning to users
- // depending on `relativeLinkResolution: 'legacy'` in dev mode.
- NG_DEV_MODE$5 ? getCorrectedPathIndexShift(rawSegment) + segments.length : pathIndexShift);
- matchResult = (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
- snapshot,
- consumedSegments: [],
- remainingSegments: []
- });
- } else {
- matchResult = matchWithChecks(rawSegment, route, segments, injector, this.urlSerializer).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(({
- matched,
- consumedSegments,
- remainingSegments,
- parameters
- }) => {
- var _a, _b;
- if (!matched) {
- return null;
- }
- const pathIndexShift = getPathIndexShift(rawSegment) + consumedSegments.length;
- 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);
- return {
- snapshot,
- consumedSegments,
- remainingSegments
- };
- }));
- }
- return matchResult.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(result => {
- var _a, _b;
- if (result === null) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
- }
- const {
- snapshot,
- consumedSegments,
- remainingSegments
- } = result; // If the route has an injector created from providers, we should start using that.
- injector = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;
- const childInjector = (_b = route._loadedInjector) !== null && _b !== void 0 ? _b : injector;
- const childConfig = getChildConfig(route);
- const {
- segmentGroup,
- slicedSegments
- } = split(rawSegment, consumedSegments, remainingSegments, // Filter out routes with redirectTo because we are trying to create activated route
- // snapshots and don't handle redirects here. That should have been done in
- // `applyRedirects`.
- childConfig.filter(c => c.redirectTo === undefined), this.relativeLinkResolution);
- if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {
- return this.processChildren(childInjector, childConfig, segmentGroup).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => {
- if (children === null) {
- return null;
- }
- return [new TreeNode(snapshot, children)];
- }));
- }
- if (childConfig.length === 0 && slicedSegments.length === 0) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)([new TreeNode(snapshot, [])]);
- }
- const matchedOnOutlet = getOutlet(route) === outlet; // If we matched a config due to empty path match on a different outlet, we need to
- // continue passing the current outlet for the segment rather than switch to PRIMARY.
- // Note that we switch to primary when we have a match because outlet configs look like
- // this: {path: 'a', outlet: 'a', children: [
- // {path: 'b', component: B},
- // {path: 'c', component: C},
- // ]}
- // Notice that the children of the named outlet are configured with the primary outlet
- return this.processSegment(childInjector, childConfig, segmentGroup, slicedSegments, matchedOnOutlet ? PRIMARY_OUTLET : outlet).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(children => {
- if (children === null) {
- return null;
- }
- return [new TreeNode(snapshot, children)];
- }));
- }));
- }
- }
- function sortActivatedRouteSnapshots(nodes) {
- nodes.sort((a, b) => {
- if (a.value.outlet === PRIMARY_OUTLET) return -1;
- if (b.value.outlet === PRIMARY_OUTLET) return 1;
- return a.value.outlet.localeCompare(b.value.outlet);
- });
- }
- function getChildConfig(route) {
- if (route.children) {
- return route.children;
- }
- if (route.loadChildren) {
- return route._loadedRoutes;
- }
- return [];
- }
- function hasEmptyPathConfig(node) {
- const config = node.value.routeConfig;
- return config && config.path === '' && config.redirectTo === undefined;
- }
- /**
- * Finds `TreeNode`s with matching empty path route configs and merges them into `TreeNode` with
- * the children from each duplicate. This is necessary because different outlets can match a
- * single empty path route config and the results need to then be merged.
- */
- function mergeEmptyPathMatches(nodes) {
- const result = []; // The set of nodes which contain children that were merged from two duplicate empty path nodes.
- const mergedNodes = new Set();
- for (const node of nodes) {
- if (!hasEmptyPathConfig(node)) {
- result.push(node);
- continue;
- }
- const duplicateEmptyPathNode = result.find(resultNode => node.value.routeConfig === resultNode.value.routeConfig);
- if (duplicateEmptyPathNode !== undefined) {
- duplicateEmptyPathNode.children.push(...node.children);
- mergedNodes.add(duplicateEmptyPathNode);
- } else {
- result.push(node);
- }
- } // For each node which has children from multiple sources, we need to recompute a new `TreeNode`
- // by also merging those children. This is necessary when there are multiple empty path configs
- // in a row. Put another way: whenever we combine children of two nodes, we need to also check
- // if any of those children can be combined into a single node as well.
- for (const mergedNode of mergedNodes) {
- const mergedChildren = mergeEmptyPathMatches(mergedNode.children);
- result.push(new TreeNode(mergedNode.value, mergedChildren));
- }
- return result.filter(n => !mergedNodes.has(n));
- }
- function checkOutletNameUniqueness(nodes) {
- const names = {};
- nodes.forEach(n => {
- const routeWithSameOutletName = names[n.value.outlet];
- if (routeWithSameOutletName) {
- const p = routeWithSameOutletName.url.map(s => s.toString()).join('/');
- const c = n.value.url.map(s => s.toString()).join('/');
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4006
- /* RuntimeErrorCode.TWO_SEGMENTS_WITH_SAME_OUTLET */
- , NG_DEV_MODE$5 && `Two segments cannot have the same outlet name: '${p}' and '${c}'.`);
- }
- names[n.value.outlet] = n.value;
- });
- }
- function getSourceSegmentGroup(segmentGroup) {
- let s = segmentGroup;
- while (s._sourceSegment) {
- s = s._sourceSegment;
- }
- return s;
- }
- function getPathIndexShift(segmentGroup) {
- var _a, _b;
- let s = segmentGroup;
- let res = (_a = s._segmentIndexShift) !== null && _a !== void 0 ? _a : 0;
- while (s._sourceSegment) {
- s = s._sourceSegment;
- res += (_b = s._segmentIndexShift) !== null && _b !== void 0 ? _b : 0;
- }
- return res - 1;
- }
- function getCorrectedPathIndexShift(segmentGroup) {
- var _a, _b, _c, _d;
- let s = segmentGroup;
- let res = (_b = (_a = s._segmentIndexShiftCorrected) !== null && _a !== void 0 ? _a : s._segmentIndexShift) !== null && _b !== void 0 ? _b : 0;
- while (s._sourceSegment) {
- s = s._sourceSegment;
- res += (_d = (_c = s._segmentIndexShiftCorrected) !== null && _c !== void 0 ? _c : s._segmentIndexShift) !== null && _d !== void 0 ? _d : 0;
- }
- return res - 1;
- }
- function getData(route) {
- return route.data || {};
- }
- function getResolve(route) {
- return route.resolve || {};
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function recognize(injector, rootComponentType, config, serializer, paramsInheritanceStrategy, relativeLinkResolution) {
- 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), {
- targetSnapshot
- }))));
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- function resolveData(paramsInheritanceStrategy, injector) {
- return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(t => {
- const {
- targetSnapshot,
- guards: {
- canActivateChecks
- }
- } = t;
- if (!canActivateChecks.length) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t);
- }
- let canActivateChecksResolved = 0;
- 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));
- });
- }
- function runResolve(futureARS, futureRSS, paramsInheritanceStrategy, injector) {
- const config = futureARS.routeConfig;
- const resolve = futureARS._resolve;
- if ((config === null || config === void 0 ? void 0 : config.title) !== undefined && !hasStaticTitle(config)) {
- resolve[RouteTitleKey] = config.title;
- }
- return resolveNode(resolve, futureARS, futureRSS, injector).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(resolvedData => {
- futureARS._resolvedData = resolvedData;
- futureARS.data = inheritedParamsDataResolve(futureARS, paramsInheritanceStrategy).resolve;
- if (config && hasStaticTitle(config)) {
- futureARS.data[RouteTitleKey] = config.title;
- }
- return null;
- }));
- }
- function resolveNode(resolve, futureARS, futureRSS, injector) {
- const keys = getDataKeys(resolve);
- if (keys.length === 0) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({});
- }
- const data = {};
- 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 => {
- data[key] = value;
- }))), (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)));
- }
- function getDataKeys(obj) {
- return [...Object.keys(obj), ...Object.getOwnPropertySymbols(obj)];
- }
- function getResolver(injectionToken, futureARS, futureRSS, injector) {
- var _a;
- const closestInjector = (_a = getClosestRouteInjector(futureARS)) !== null && _a !== void 0 ? _a : injector;
- const resolver = getTokenOrFunctionIdentity(injectionToken, closestInjector);
- const resolverValue = resolver.resolve ? resolver.resolve(futureARS, futureRSS) : closestInjector.runInContext(() => resolver(futureARS, futureRSS));
- return wrapIntoObservable(resolverValue);
- }
- function hasStaticTitle(config) {
- return typeof config.title === 'string' || config.title === null;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Perform a side effect through a switchMap for every emission on the source Observable,
- * but return an Observable that is identical to the source. It's essentially the same as
- * the `tap` operator, but if the side effectful `next` function returns an ObservableInput,
- * it will wait before continuing with the original value.
- */
- function switchTap(next) {
- return (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(v => {
- const nextResult = next(v);
- if (nextResult) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(nextResult).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(() => v));
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(v);
- });
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Provides a strategy for setting the page title after a router navigation.
- *
- * The built-in implementation traverses the router state snapshot and finds the deepest primary
- * outlet with `title` property. Given the `Routes` below, navigating to
- * `/base/child(popup:aux)` would result in the document title being set to "child".
- * ```
- * [
- * {path: 'base', title: 'base', children: [
- * {path: 'child', title: 'child'},
- * ],
- * {path: 'aux', outlet: 'popup', title: 'popupTitle'}
- * ]
- * ```
- *
- * This class can be used as a base class for custom title strategies. That is, you can create your
- * own class that extends the `TitleStrategy`. Note that in the above example, the `title`
- * from the named outlet is never used. However, a custom strategy might be implemented to
- * incorporate titles in named outlets.
- *
- * @publicApi
- * @see [Page title guide](guide/router#setting-the-page-title)
- */
- class TitleStrategy {
- /**
- * @returns The `title` of the deepest primary route.
- */
- buildTitle(snapshot) {
- var _a;
- let pageTitle;
- let route = snapshot.root;
- while (route !== undefined) {
- pageTitle = (_a = this.getResolvedTitleForRoute(route)) !== null && _a !== void 0 ? _a : pageTitle;
- route = route.children.find(child => child.outlet === PRIMARY_OUTLET);
- }
- return pageTitle;
- }
- /**
- * Given an `ActivatedRouteSnapshot`, returns the final value of the
- * `Route.title` property, which can either be a static string or a resolved value.
- */
- getResolvedTitleForRoute(snapshot) {
- return snapshot.data[RouteTitleKey];
- }
- }
- TitleStrategy.ɵfac = function TitleStrategy_Factory(t) {
- return new (t || TitleStrategy)();
- };
- TitleStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: TitleStrategy,
- factory: function () {
- return (() => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DefaultTitleStrategy))();
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](TitleStrategy, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: () => (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DefaultTitleStrategy)
- }]
- }], null, null);
- })();
- /**
- * The default `TitleStrategy` used by the router that updates the title using the `Title` service.
- */
- class DefaultTitleStrategy extends TitleStrategy {
- constructor(title) {
- super();
- this.title = title;
- }
- /**
- * Sets the title of the browser to the given value.
- *
- * @param title The `pageTitle` from the deepest primary route.
- */
- updateTitle(snapshot) {
- const title = this.buildTitle(snapshot);
- if (title !== undefined) {
- this.title.setTitle(title);
- }
- }
- }
- DefaultTitleStrategy.ɵfac = function DefaultTitleStrategy_Factory(t) {
- return new (t || DefaultTitleStrategy)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_28__.Title));
- };
- DefaultTitleStrategy.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: DefaultTitleStrategy,
- factory: DefaultTitleStrategy.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](DefaultTitleStrategy, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_28__.Title
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Exists to aid internal migration off of the deprecated relativeLinkResolution option.
- */
- function assignRelativeLinkResolution(router) {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- *
- * Provides a way to customize when activated routes get reused.
- *
- * @publicApi
- */
- class RouteReuseStrategy {}
- /**
- * @description
- *
- * This base route reuse strategy only reuses routes when the matched router configs are
- * identical. This prevents components from being destroyed and recreated
- * when just the route parameters, query parameters or fragment change
- * (that is, the existing component is _reused_).
- *
- * This strategy does not store any routes for later reuse.
- *
- * Angular uses this strategy by default.
- *
- *
- * It can be used as a base class for custom route reuse strategies, i.e. you can create your own
- * class that extends the `BaseRouteReuseStrategy` one.
- * @publicApi
- */
- class BaseRouteReuseStrategy {
- /**
- * Whether the given route should detach for later reuse.
- * Always returns false for `BaseRouteReuseStrategy`.
- * */
- shouldDetach(route) {
- return false;
- }
- /**
- * A no-op; the route is never stored since this strategy never detaches routes for later re-use.
- */
- store(route, detachedTree) {}
- /** Returns `false`, meaning the route (and its subtree) is never reattached */
- shouldAttach(route) {
- return false;
- }
- /** Returns `null` because this strategy does not store routes for later re-use. */
- retrieve(route) {
- return null;
- }
- /**
- * Determines if a route should be reused.
- * This strategy returns `true` when the future route config and current route config are
- * identical.
- */
- shouldReuseRoute(future, curr) {
- return future.routeConfig === curr.routeConfig;
- }
- }
- class DefaultRouteReuseStrategy extends BaseRouteReuseStrategy {}
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$4 = typeof ngDevMode === 'undefined' || !!ngDevMode;
- /**
- * A [DI token](guide/glossary/#di-token) for the router service.
- *
- * @publicApi
- */
- const ROUTER_CONFIGURATION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE$4 ? 'router config' : '', {
- providedIn: 'root',
- factory: () => ({})
- });
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$3 = typeof ngDevMode === 'undefined' || !!ngDevMode;
- /**
- * The [DI token](guide/glossary/#di-token) for a router configuration.
- *
- * `ROUTES` is a low level API for router configuration via dependency injection.
- *
- * We recommend that in almost all cases to use higher level APIs such as `RouterModule.forRoot()`,
- * `RouterModule.forChild()`, `provideRoutes`, or `Router.resetConfig()`.
- *
- * @publicApi
- */
- const ROUTES = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('ROUTES');
- class RouterConfigLoader {
- constructor(injector, compiler) {
- this.injector = injector;
- this.compiler = compiler;
- this.componentLoaders = new WeakMap();
- this.childrenLoaders = new WeakMap();
- }
- loadComponent(route) {
- if (this.componentLoaders.get(route)) {
- return this.componentLoaders.get(route);
- } else if (route._loadedComponent) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(route._loadedComponent);
- }
- if (this.onLoadStartListener) {
- this.onLoadStartListener(route);
- }
- const loadRunner = wrapIntoObservable(route.loadComponent()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(component => {
- var _a;
- if (this.onLoadEndListener) {
- this.onLoadEndListener(route);
- }
- NG_DEV_MODE$3 && assertStandalone((_a = route.path) !== null && _a !== void 0 ? _a : '', component);
- route._loadedComponent = component;
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_29__.finalize)(() => {
- this.componentLoaders.delete(route);
- })); // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much
- 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)());
- this.componentLoaders.set(route, loader);
- return loader;
- }
- loadChildren(parentInjector, route) {
- if (this.childrenLoaders.get(route)) {
- return this.childrenLoaders.get(route);
- } else if (route._loadedRoutes) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)({
- routes: route._loadedRoutes,
- injector: route._loadedInjector
- });
- }
- if (this.onLoadStartListener) {
- this.onLoadStartListener(route);
- }
- const moduleFactoryOrRoutes$ = this.loadModuleFactoryOrRoutes(route.loadChildren);
- const loadRunner = moduleFactoryOrRoutes$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(factoryOrRoutes => {
- if (this.onLoadEndListener) {
- this.onLoadEndListener(route);
- } // This injector comes from the `NgModuleRef` when lazy loading an `NgModule`. There is no
- // injector associated with lazy loading a `Route` array.
- let injector;
- let rawRoutes;
- let requireStandaloneComponents = false;
- if (Array.isArray(factoryOrRoutes)) {
- rawRoutes = factoryOrRoutes;
- requireStandaloneComponents = true;
- } else {
- injector = factoryOrRoutes.create(parentInjector).injector; // When loading a module that doesn't provide `RouterModule.forChild()` preloader
- // will get stuck in an infinite loop. The child module's Injector will look to
- // its parent `Injector` when it doesn't find any ROUTES so it will return routes
- // for it's parent module instead.
- rawRoutes = flatten(injector.get(ROUTES, [], _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectFlags.Self | _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectFlags.Optional));
- }
- const routes = rawRoutes.map(standardizeConfig);
- NG_DEV_MODE$3 && validateConfig(routes, route.path, requireStandaloneComponents);
- return {
- routes,
- injector
- };
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_29__.finalize)(() => {
- this.childrenLoaders.delete(route);
- })); // Use custom ConnectableObservable as share in runners pipe increasing the bundle size too much
- 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)());
- this.childrenLoaders.set(route, loader);
- return loader;
- }
- loadModuleFactoryOrRoutes(loadChildren) {
- return wrapIntoObservable(loadChildren()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(t => {
- if (t instanceof _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModuleFactory || Array.isArray(t)) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t);
- } else {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(this.compiler.compileModuleAsync(t));
- }
- }));
- }
- }
- RouterConfigLoader.ɵfac = function RouterConfigLoader_Factory(t) {
- 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));
- };
- RouterConfigLoader.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: RouterConfigLoader,
- factory: RouterConfigLoader.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterConfigLoader, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- *
- * Provides a way to migrate AngularJS applications to Angular.
- *
- * @publicApi
- */
- class UrlHandlingStrategy {}
- /**
- * @publicApi
- */
- class DefaultUrlHandlingStrategy {
- shouldProcessUrl(url) {
- return true;
- }
- extract(url) {
- return url;
- }
- merge(newUrlPart, wholeUrl) {
- return newUrlPart;
- }
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$2 = typeof ngDevMode === 'undefined' || !!ngDevMode;
- function defaultErrorHandler(error) {
- throw error;
- }
- function defaultMalformedUriErrorHandler(error, urlSerializer, url) {
- return urlSerializer.parse('/');
- }
- /**
- * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `true`
- * (exact = true).
- */
- const exactMatchOptions = {
- paths: 'exact',
- fragment: 'ignored',
- matrixParams: 'ignored',
- queryParams: 'exact'
- };
- /**
- * The equivalent `IsActiveMatchOptions` options for `Router.isActive` is called with `false`
- * (exact = false).
- */
- const subsetMatchOptions = {
- paths: 'subset',
- fragment: 'ignored',
- matrixParams: 'ignored',
- queryParams: 'subset'
- };
- function assignExtraOptionsToRouter(opts, router) {
- if (opts.errorHandler) {
- router.errorHandler = opts.errorHandler;
- }
- if (opts.malformedUriErrorHandler) {
- router.malformedUriErrorHandler = opts.malformedUriErrorHandler;
- }
- if (opts.onSameUrlNavigation) {
- router.onSameUrlNavigation = opts.onSameUrlNavigation;
- }
- if (opts.paramsInheritanceStrategy) {
- router.paramsInheritanceStrategy = opts.paramsInheritanceStrategy;
- }
- if (opts.relativeLinkResolution) {
- router.relativeLinkResolution = opts.relativeLinkResolution;
- }
- if (opts.urlUpdateStrategy) {
- router.urlUpdateStrategy = opts.urlUpdateStrategy;
- }
- if (opts.canceledNavigationResolution) {
- router.canceledNavigationResolution = opts.canceledNavigationResolution;
- }
- }
- function setupRouter() {
- var _a, _b;
- const urlSerializer = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(UrlSerializer);
- const contexts = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(ChildrenOutletContexts);
- const location = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_33__.Location);
- const injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector);
- const compiler = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler);
- const config = (_a = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(ROUTES, {
- optional: true
- })) !== null && _a !== void 0 ? _a : [];
- const opts = (_b = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(ROUTER_CONFIGURATION, {
- optional: true
- })) !== null && _b !== void 0 ? _b : {};
- const defaultTitleStrategy = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(DefaultTitleStrategy);
- const titleStrategy = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(TitleStrategy, {
- optional: true
- });
- const urlHandlingStrategy = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(UrlHandlingStrategy, {
- optional: true
- });
- const routeReuseStrategy = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(RouteReuseStrategy, {
- optional: true
- });
- const router = new Router(null, urlSerializer, contexts, location, injector, compiler, flatten(config));
- if (urlHandlingStrategy) {
- router.urlHandlingStrategy = urlHandlingStrategy;
- }
- if (routeReuseStrategy) {
- router.routeReuseStrategy = routeReuseStrategy;
- }
- router.titleStrategy = titleStrategy !== null && titleStrategy !== void 0 ? titleStrategy : defaultTitleStrategy;
- assignExtraOptionsToRouter(opts, router);
- assignRelativeLinkResolution(router);
- return router;
- }
- /**
- * @description
- *
- * A service that provides navigation among views and URL manipulation capabilities.
- *
- * @see `Route`.
- * @see [Routing and Navigation Guide](guide/router).
- *
- * @ngModule RouterModule
- *
- * @publicApi
- */
- class Router {
- /**
- * Creates the router service.
- */
- // TODO: vsavkin make internal after the final is out.
- constructor(rootComponentType, urlSerializer, rootContexts, location, injector, compiler, config) {
- this.rootComponentType = rootComponentType;
- this.urlSerializer = urlSerializer;
- this.rootContexts = rootContexts;
- this.location = location;
- this.config = config;
- this.lastSuccessfulNavigation = null;
- this.currentNavigation = null;
- this.disposed = false;
- this.navigationId = 0;
- /**
- * The id of the currently active page in the router.
- * Updated to the transition's target id on a successful navigation.
- *
- * This is used to track what page the router last activated. When an attempted navigation fails,
- * the router can then use this to compute how to restore the state back to the previously active
- * page.
- */
- this.currentPageId = 0;
- this.isNgZoneEnabled = false;
- /**
- * An event stream for routing events in this NgModule.
- */
- this.events = new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject();
- /**
- * A handler for navigation errors in this NgModule.
- */
- this.errorHandler = defaultErrorHandler;
- /**
- * A handler for errors thrown by `Router.parseUrl(url)`
- * when `url` contains an invalid character.
- * The most common case is a `%` sign
- * that's not encoded and is not part of a percent encoded sequence.
- */
- this.malformedUriErrorHandler = defaultMalformedUriErrorHandler;
- /**
- * True if at least one navigation event has occurred,
- * false otherwise.
- */
- this.navigated = false;
- this.lastSuccessfulId = -1;
- /**
- * Hook that enables you to pause navigation after the preactivation phase.
- * Used by `RouterModule`.
- *
- * @internal
- */
- this.afterPreactivation = () => (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(void 0);
- /**
- * A strategy for extracting and merging URLs.
- * Used for AngularJS to Angular migrations.
- */
- this.urlHandlingStrategy = new DefaultUrlHandlingStrategy();
- /**
- * A strategy for re-using routes.
- */
- this.routeReuseStrategy = new DefaultRouteReuseStrategy();
- /**
- * How to handle a navigation request to the current URL. One of:
- *
- * - `'ignore'` : The router ignores the request.
- * - `'reload'` : The router reloads the URL. Use to implement a "refresh" feature.
- *
- * Note that this only configures whether the Route reprocesses the URL and triggers related
- * action and events like redirects, guards, and resolvers. By default, the router re-uses a
- * component instance when it re-navigates to the same component type without visiting a different
- * component first. This behavior is configured by the `RouteReuseStrategy`. In order to reload
- * routed components on same url navigation, you need to set `onSameUrlNavigation` to `'reload'`
- * _and_ provide a `RouteReuseStrategy` which returns `false` for `shouldReuseRoute`.
- */
- this.onSameUrlNavigation = 'ignore';
- /**
- * How to merge parameters, data, resolved data, and title from parent to child
- * routes. One of:
- *
- * - `'emptyOnly'` : Inherit parent parameters, data, and resolved data
- * for path-less or component-less routes.
- * - `'always'` : Inherit parent parameters, data, and resolved data
- * for all child routes.
- */
- this.paramsInheritanceStrategy = 'emptyOnly';
- /**
- * Determines when the router updates the browser URL.
- * By default (`"deferred"`), updates the browser URL after navigation has finished.
- * Set to `'eager'` to update the browser URL at the beginning of navigation.
- * You can choose to update early so that, if navigation fails,
- * you can show an error message with the URL that failed.
- */
- this.urlUpdateStrategy = 'deferred';
- /**
- * Enables a bug fix that corrects relative link resolution in components with empty paths.
- * @see `RouterModule`
- *
- * @deprecated
- */
- this.relativeLinkResolution = 'corrected';
- /**
- * Configures how the Router attempts to restore state when a navigation is cancelled.
- *
- * 'replace' - Always uses `location.replaceState` to set the browser state to the state of the
- * router before the navigation started. This means that if the URL of the browser is updated
- * _before_ the navigation is canceled, the Router will simply replace the item in history rather
- * than trying to restore to the previous location in the session history. This happens most
- * frequently with `urlUpdateStrategy: 'eager'` and navigations with the browser back/forward
- * buttons.
- *
- * 'computed' - Will attempt to return to the same index in the session history that corresponds
- * to the Angular route when the navigation gets cancelled. For example, if the browser back
- * button is clicked and the navigation is cancelled, the Router will trigger a forward navigation
- * and vice versa.
- *
- * Note: the 'computed' option is incompatible with any `UrlHandlingStrategy` which only
- * handles a portion of the URL because the history restoration navigates to the previous place in
- * the browser history rather than simply resetting a portion of the URL.
- *
- * The default value is `replace`.
- *
- */
- this.canceledNavigationResolution = 'replace';
- const onLoadStart = r => this.triggerEvent(new RouteConfigLoadStart(r));
- const onLoadEnd = r => this.triggerEvent(new RouteConfigLoadEnd(r));
- this.configLoader = injector.get(RouterConfigLoader);
- this.configLoader.onLoadEndListener = onLoadEnd;
- this.configLoader.onLoadStartListener = onLoadStart;
- this.ngModule = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModuleRef);
- this.console = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵConsole"]);
- const ngZone = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone);
- this.isNgZoneEnabled = ngZone instanceof _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone && _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone.isInAngularZone();
- this.resetConfig(config);
- this.currentUrlTree = createEmptyUrlTree();
- this.rawUrlTree = this.currentUrlTree;
- this.browserUrlTree = this.currentUrlTree;
- this.routerState = createEmptyState(this.currentUrlTree, this.rootComponentType);
- this.transitions = new rxjs__WEBPACK_IMPORTED_MODULE_3__.BehaviorSubject({
- id: 0,
- targetPageId: 0,
- currentUrlTree: this.currentUrlTree,
- currentRawUrl: this.currentUrlTree,
- extractedUrl: this.urlHandlingStrategy.extract(this.currentUrlTree),
- urlAfterRedirects: this.urlHandlingStrategy.extract(this.currentUrlTree),
- rawUrl: this.currentUrlTree,
- extras: {},
- resolve: null,
- reject: null,
- promise: Promise.resolve(true),
- source: 'imperative',
- restoredState: null,
- currentSnapshot: this.routerState.snapshot,
- targetSnapshot: null,
- currentRouterState: this.routerState,
- targetRouterState: null,
- guards: {
- canActivateChecks: [],
- canDeactivateChecks: []
- },
- guardsResult: null
- });
- this.navigations = this.setupNavigations(this.transitions);
- this.processNavigations();
- }
- /**
- * The ɵrouterPageId of whatever page is currently active in the browser history. This is
- * important for computing the target page id for new navigations because we need to ensure each
- * page id in the browser history is 1 more than the previous entry.
- */
- get browserPageId() {
- var _a;
- return (_a = this.location.getState()) === null || _a === void 0 ? void 0 : _a.ɵrouterPageId;
- }
- setupNavigations(transitions) {
- const eventsSubject = this.events;
- return transitions.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(t => t.id !== 0), // Extract URL
- (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(t => Object.assign(Object.assign({}, t), {
- extractedUrl: this.urlHandlingStrategy.extract(t.rawUrl)
- })), // Using switchMap so we cancel executing navigations when a new one comes in
- (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(overallTransitionState => {
- let completed = false;
- let errored = false;
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(overallTransitionState).pipe( // Store the Navigation object
- (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
- this.currentNavigation = {
- id: t.id,
- initialUrl: t.rawUrl,
- extractedUrl: t.extractedUrl,
- trigger: t.source,
- extras: t.extras,
- previousNavigation: this.lastSuccessfulNavigation ? Object.assign(Object.assign({}, this.lastSuccessfulNavigation), {
- previousNavigation: null
- }) : null
- };
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(t => {
- const browserUrlTree = this.browserUrlTree.toString();
- const urlTransition = !this.navigated || t.extractedUrl.toString() !== browserUrlTree || // Navigations which succeed or ones which fail and are cleaned up
- // correctly should result in `browserUrlTree` and `currentUrlTree`
- // matching. If this is not the case, assume something went wrong and
- // try processing the URL again.
- browserUrlTree !== this.currentUrlTree.toString();
- const processCurrentUrl = (this.onSameUrlNavigation === 'reload' ? true : urlTransition) && this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl);
- if (processCurrentUrl) {
- // If the source of the navigation is from a browser event, the URL is
- // already updated. We already need to sync the internal state.
- if (isBrowserTriggeredNavigation(t.source)) {
- this.browserUrlTree = t.extractedUrl;
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t).pipe( // Fire NavigationStart event
- (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(t => {
- const transition = this.transitions.getValue();
- eventsSubject.next(new NavigationStart(t.id, this.serializeUrl(t.extractedUrl), t.source, t.restoredState));
- if (transition !== this.transitions.getValue()) {
- return rxjs__WEBPACK_IMPORTED_MODULE_26__.EMPTY;
- } // This delay is required to match old behavior that forced
- // navigation to always be async
- return Promise.resolve(t);
- }), // ApplyRedirects
- applyRedirects(this.ngModule.injector, this.configLoader, this.urlSerializer, this.config), // Update the currentNavigation
- // `urlAfterRedirects` is guaranteed to be set after this point
- (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
- this.currentNavigation = Object.assign(Object.assign({}, this.currentNavigation), {
- finalUrl: t.urlAfterRedirects
- });
- overallTransitionState.urlAfterRedirects = t.urlAfterRedirects;
- }), // Recognize
- recognize(this.ngModule.injector, this.rootComponentType, this.config, this.urlSerializer, this.paramsInheritanceStrategy, this.relativeLinkResolution), // Update URL if in `eager` update mode
- (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
- overallTransitionState.targetSnapshot = t.targetSnapshot;
- if (this.urlUpdateStrategy === 'eager') {
- if (!t.extras.skipLocationChange) {
- const rawUrl = this.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);
- this.setBrowserUrl(rawUrl, t);
- }
- this.browserUrlTree = t.urlAfterRedirects;
- } // Fire RoutesRecognized
- const routesRecognized = new RoutesRecognized(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);
- eventsSubject.next(routesRecognized);
- }));
- } else {
- const processPreviousUrl = urlTransition && this.rawUrlTree && this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree);
- /* When the current URL shouldn't be processed, but the previous one
- * was, we handle this "error condition" by navigating to the
- * previously successful URL, but leaving the URL intact.*/
- if (processPreviousUrl) {
- const {
- id,
- extractedUrl,
- source,
- restoredState,
- extras
- } = t;
- const navStart = new NavigationStart(id, this.serializeUrl(extractedUrl), source, restoredState);
- eventsSubject.next(navStart);
- const targetSnapshot = createEmptyState(extractedUrl, this.rootComponentType).snapshot;
- overallTransitionState = Object.assign(Object.assign({}, t), {
- targetSnapshot,
- urlAfterRedirects: extractedUrl,
- extras: Object.assign(Object.assign({}, extras), {
- skipLocationChange: false,
- replaceUrl: false
- })
- });
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(overallTransitionState);
- } else {
- /* When neither the current or previous URL can be processed, do
- * nothing other than update router's internal reference to the
- * current "settled" URL. This way the next navigation will be coming
- * from the current URL in the browser.
- */
- this.rawUrlTree = t.rawUrl;
- t.resolve(null);
- return rxjs__WEBPACK_IMPORTED_MODULE_26__.EMPTY;
- }
- }
- }), // --- GUARDS ---
- (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
- const guardsStart = new GuardsCheckStart(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);
- this.triggerEvent(guardsStart);
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(t => {
- overallTransitionState = Object.assign(Object.assign({}, t), {
- guards: getAllRouteGuards(t.targetSnapshot, t.currentSnapshot, this.rootContexts)
- });
- return overallTransitionState;
- }), checkGuards(this.ngModule.injector, evt => this.triggerEvent(evt)), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
- overallTransitionState.guardsResult = t.guardsResult;
- if (isUrlTree(t.guardsResult)) {
- throw redirectingNavigationError(this.urlSerializer, t.guardsResult);
- }
- const guardsEnd = new GuardsCheckEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot, !!t.guardsResult);
- this.triggerEvent(guardsEnd);
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(t => {
- if (!t.guardsResult) {
- this.restoreHistory(t);
- this.cancelNavigationTransition(t, '', 3
- /* NavigationCancellationCode.GuardRejected */
- );
- return false;
- }
- return true;
- }), // --- RESOLVE ---
- switchTap(t => {
- if (t.guards.canActivateChecks.length) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
- const resolveStart = new ResolveStart(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);
- this.triggerEvent(resolveStart);
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.switchMap)(t => {
- let dataResolved = false;
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(t).pipe(resolveData(this.paramsInheritanceStrategy, this.ngModule.injector), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)({
- next: () => dataResolved = true,
- complete: () => {
- if (!dataResolved) {
- this.restoreHistory(t);
- this.cancelNavigationTransition(t, NG_DEV_MODE$2 ? `At least one route resolver didn't emit any value.` : '', 2
- /* NavigationCancellationCode.NoDataFromResolver */
- );
- }
- }
- }));
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
- const resolveEnd = new ResolveEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(t.urlAfterRedirects), t.targetSnapshot);
- this.triggerEvent(resolveEnd);
- }));
- }
- return undefined;
- }), // --- LOAD COMPONENTS ---
- switchTap(t => {
- const loadComponents = route => {
- var _a;
- const loaders = [];
- if (((_a = route.routeConfig) === null || _a === void 0 ? void 0 : _a.loadComponent) && !route.routeConfig._loadedComponent) {
- loaders.push(this.configLoader.loadComponent(route.routeConfig).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(loadedComponent => {
- route.component = loadedComponent;
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(() => void 0)));
- }
- for (const child of route.children) {
- loaders.push(...loadComponents(child));
- }
- return loaders;
- };
- 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));
- }), switchTap(() => this.afterPreactivation()), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.map)(t => {
- const targetRouterState = createRouterState(this.routeReuseStrategy, t.targetSnapshot, t.currentRouterState);
- overallTransitionState = Object.assign(Object.assign({}, t), {
- targetRouterState
- });
- return overallTransitionState;
- }),
- /* Once here, we are about to activate synchronously. The assumption is
- this will succeed, and user code may read from the Router service.
- Therefore before activation, we need to update router properties storing
- the current URL and the RouterState, as well as updated the browser URL.
- All this should happen *before* activating. */
- (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)(t => {
- this.currentUrlTree = t.urlAfterRedirects;
- this.rawUrlTree = this.urlHandlingStrategy.merge(t.urlAfterRedirects, t.rawUrl);
- this.routerState = t.targetRouterState;
- if (this.urlUpdateStrategy === 'deferred') {
- if (!t.extras.skipLocationChange) {
- this.setBrowserUrl(this.rawUrlTree, t);
- }
- this.browserUrlTree = t.urlAfterRedirects;
- }
- }), activateRoutes(this.rootContexts, this.routeReuseStrategy, evt => this.triggerEvent(evt)), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.tap)({
- next() {
- completed = true;
- },
- complete() {
- completed = true;
- }
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_29__.finalize)(() => {
- var _a;
- /* When the navigation stream finishes either through error or success,
- * we set the `completed` or `errored` flag. However, there are some
- * situations where we could get here without either of those being set.
- * For instance, a redirect during NavigationStart. Therefore, this is a
- * catch-all to make sure the NavigationCancel event is fired when a
- * navigation gets cancelled but not caught by other means. */
- if (!completed && !errored) {
- const cancelationReason = NG_DEV_MODE$2 ? `Navigation ID ${overallTransitionState.id} is not equal to the current navigation id ${this.navigationId}` : '';
- this.cancelNavigationTransition(overallTransitionState, cancelationReason, 1
- /* NavigationCancellationCode.SupersededByNewNavigation */
- );
- } // Only clear current navigation if it is still set to the one that
- // finalized.
- if (((_a = this.currentNavigation) === null || _a === void 0 ? void 0 : _a.id) === overallTransitionState.id) {
- this.currentNavigation = null;
- }
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(e => {
- var _a;
- errored = true;
- /* This error type is issued during Redirect, and is handled as a
- * cancellation rather than an error. */
- if (isNavigationCancelingError$1(e)) {
- if (!isRedirectingNavigationCancelingError$1(e)) {
- // Set property only if we're not redirecting. If we landed on a page
- // and redirect to `/` route, the new navigation is going to see the
- // `/` isn't a change from the default currentUrlTree and won't
- // navigate. This is only applicable with initial navigation, so
- // setting `navigated` only when not redirecting resolves this
- // scenario.
- this.navigated = true;
- this.restoreHistory(overallTransitionState, true);
- }
- const navCancel = new NavigationCancel(overallTransitionState.id, this.serializeUrl(overallTransitionState.extractedUrl), e.message, e.cancellationCode);
- eventsSubject.next(navCancel); // When redirecting, we need to delay resolving the navigation
- // promise and push it to the redirect navigation
- if (!isRedirectingNavigationCancelingError$1(e)) {
- overallTransitionState.resolve(false);
- } else {
- const mergedTree = this.urlHandlingStrategy.merge(e.url, this.rawUrlTree);
- const extras = {
- skipLocationChange: overallTransitionState.extras.skipLocationChange,
- // The URL is already updated at this point if we have 'eager' URL
- // updates or if the navigation was triggered by the browser (back
- // button, URL bar, etc). We want to replace that item in history
- // if the navigation is rejected.
- replaceUrl: this.urlUpdateStrategy === 'eager' || isBrowserTriggeredNavigation(overallTransitionState.source)
- };
- this.scheduleNavigation(mergedTree, 'imperative', null, extras, {
- resolve: overallTransitionState.resolve,
- reject: overallTransitionState.reject,
- promise: overallTransitionState.promise
- });
- }
- /* All other errors should reset to the router's internal URL reference
- * to the pre-error state. */
- } else {
- this.restoreHistory(overallTransitionState, true);
- const navError = new NavigationError(overallTransitionState.id, this.serializeUrl(overallTransitionState.extractedUrl), e, (_a = overallTransitionState.targetSnapshot) !== null && _a !== void 0 ? _a : undefined);
- eventsSubject.next(navError);
- try {
- overallTransitionState.resolve(this.errorHandler(e));
- } catch (ee) {
- overallTransitionState.reject(ee);
- }
- }
- return rxjs__WEBPACK_IMPORTED_MODULE_26__.EMPTY;
- })); // TODO(jasonaden): remove cast once g3 is on updated TypeScript
- }));
- }
- /**
- * @internal
- * TODO: this should be removed once the constructor of the router made internal
- */
- resetRootComponentType(rootComponentType) {
- this.rootComponentType = rootComponentType; // TODO: vsavkin router 4.0 should make the root component set to null
- // this will simplify the lifecycle of the router.
- this.routerState.root.component = this.rootComponentType;
- }
- setTransition(t) {
- this.transitions.next(Object.assign(Object.assign({}, this.transitions.value), t));
- }
- /**
- * Sets up the location change listener and performs the initial navigation.
- */
- initialNavigation() {
- this.setUpLocationChangeListener();
- if (this.navigationId === 0) {
- this.navigateByUrl(this.location.path(true), {
- replaceUrl: true
- });
- }
- }
- /**
- * Sets up the location change listener. This listener detects navigations triggered from outside
- * the Router (the browser back/forward buttons, for example) and schedules a corresponding Router
- * navigation so that the correct events, guards, etc. are triggered.
- */
- setUpLocationChangeListener() {
- // Don't need to use Zone.wrap any more, because zone.js
- // already patch onPopState, so location change callback will
- // run into ngZone
- if (!this.locationSubscription) {
- this.locationSubscription = this.location.subscribe(event => {
- const source = event['type'] === 'popstate' ? 'popstate' : 'hashchange';
- if (source === 'popstate') {
- // The `setTimeout` was added in #12160 and is likely to support Angular/AngularJS
- // hybrid apps.
- setTimeout(() => {
- var _a;
- const extras = {
- replaceUrl: true
- }; // Navigations coming from Angular router have a navigationId state
- // property. When this exists, restore the state.
- const state = ((_a = event.state) === null || _a === void 0 ? void 0 : _a.navigationId) ? event.state : null;
- if (state) {
- const stateCopy = Object.assign({}, state);
- delete stateCopy.navigationId;
- delete stateCopy.ɵrouterPageId;
- if (Object.keys(stateCopy).length !== 0) {
- extras.state = stateCopy;
- }
- }
- const urlTree = this.parseUrl(event['url']);
- this.scheduleNavigation(urlTree, source, state, extras);
- }, 0);
- }
- });
- }
- }
- /** The current URL. */
- get url() {
- return this.serializeUrl(this.currentUrlTree);
- }
- /**
- * Returns the current `Navigation` object when the router is navigating,
- * and `null` when idle.
- */
- getCurrentNavigation() {
- return this.currentNavigation;
- }
- /** @internal */
- triggerEvent(event) {
- this.events.next(event);
- }
- /**
- * Resets the route configuration used for navigation and generating links.
- *
- * @param config The route array for the new configuration.
- *
- * @usageNotes
- *
- * ```
- * router.resetConfig([
- * { path: 'team/:id', component: TeamCmp, children: [
- * { path: 'simple', component: SimpleCmp },
- * { path: 'user/:name', component: UserCmp }
- * ]}
- * ]);
- * ```
- */
- resetConfig(config) {
- NG_DEV_MODE$2 && validateConfig(config);
- this.config = config.map(standardizeConfig);
- this.navigated = false;
- this.lastSuccessfulId = -1;
- }
- /** @nodoc */
- ngOnDestroy() {
- this.dispose();
- }
- /** Disposes of the router. */
- dispose() {
- this.transitions.complete();
- if (this.locationSubscription) {
- this.locationSubscription.unsubscribe();
- this.locationSubscription = undefined;
- }
- this.disposed = true;
- }
- /**
- * Appends URL segments to the current URL tree to create a new URL tree.
- *
- * @param commands An array of URL fragments with which to construct the new URL tree.
- * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path
- * segments, followed by the parameters for each segment.
- * The fragments are applied to the current URL tree or the one provided in the `relativeTo`
- * property of the options object, if supplied.
- * @param navigationExtras Options that control the navigation strategy.
- * @returns The new URL tree.
- *
- * @usageNotes
- *
- * ```
- * // create /team/33/user/11
- * router.createUrlTree(['/team', 33, 'user', 11]);
- *
- * // create /team/33;expand=true/user/11
- * router.createUrlTree(['/team', 33, {expand: true}, 'user', 11]);
- *
- * // you can collapse static segments like this (this works only with the first passed-in value):
- * router.createUrlTree(['/team/33/user', userId]);
- *
- * // If the first segment can contain slashes, and you do not want the router to split it,
- * // you can do the following:
- * router.createUrlTree([{segmentPath: '/one/two'}]);
- *
- * // create /team/33/(user/11//right:chat)
- * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: 'chat'}}]);
- *
- * // remove the right secondary node
- * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: null}}]);
- *
- * // assuming the current url is `/team/33/user/11` and the route points to `user/11`
- *
- * // navigate to /team/33/user/11/details
- * router.createUrlTree(['details'], {relativeTo: route});
- *
- * // navigate to /team/33/user/22
- * router.createUrlTree(['../22'], {relativeTo: route});
- *
- * // navigate to /team/44/user/22
- * router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});
- *
- * Note that a value of `null` or `undefined` for `relativeTo` indicates that the
- * tree should be created relative to the root.
- * ```
- */
- createUrlTree(commands, navigationExtras = {}) {
- const {
- relativeTo,
- queryParams,
- fragment,
- queryParamsHandling,
- preserveFragment
- } = navigationExtras;
- const a = relativeTo || this.routerState.root;
- const f = preserveFragment ? this.currentUrlTree.fragment : fragment;
- let q = null;
- switch (queryParamsHandling) {
- case 'merge':
- q = Object.assign(Object.assign({}, this.currentUrlTree.queryParams), queryParams);
- break;
- case 'preserve':
- q = this.currentUrlTree.queryParams;
- break;
- default:
- q = queryParams || null;
- }
- if (q !== null) {
- q = this.removeEmptyProps(q);
- }
- return createUrlTree(a, this.currentUrlTree, commands, q, f !== null && f !== void 0 ? f : null);
- }
- /**
- * Navigates to a view using an absolute route path.
- *
- * @param url An absolute path for a defined route. The function does not apply any delta to the
- * current URL.
- * @param extras An object containing properties that modify the navigation strategy.
- *
- * @returns A Promise that resolves to 'true' when navigation succeeds,
- * to 'false' when navigation fails, or is rejected on error.
- *
- * @usageNotes
- *
- * The following calls request navigation to an absolute path.
- *
- * ```
- * router.navigateByUrl("/team/33/user/11");
- *
- * // Navigate without updating the URL
- * router.navigateByUrl("/team/33/user/11", { skipLocationChange: true });
- * ```
- *
- * @see [Routing and Navigation guide](guide/router)
- *
- */
- navigateByUrl(url, extras = {
- skipLocationChange: false
- }) {
- if (typeof ngDevMode === 'undefined' || ngDevMode && this.isNgZoneEnabled && !_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone.isInAngularZone()) {
- this.console.warn(`Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?`);
- }
- const urlTree = isUrlTree(url) ? url : this.parseUrl(url);
- const mergedTree = this.urlHandlingStrategy.merge(urlTree, this.rawUrlTree);
- return this.scheduleNavigation(mergedTree, 'imperative', null, extras);
- }
- /**
- * Navigate based on the provided array of commands and a starting point.
- * If no starting route is provided, the navigation is absolute.
- *
- * @param commands An array of URL fragments with which to construct the target URL.
- * If the path is static, can be the literal URL string. For a dynamic path, pass an array of path
- * segments, followed by the parameters for each segment.
- * The fragments are applied to the current URL or the one provided in the `relativeTo` property
- * of the options object, if supplied.
- * @param extras An options object that determines how the URL should be constructed or
- * interpreted.
- *
- * @returns A Promise that resolves to `true` when navigation succeeds, to `false` when navigation
- * fails,
- * or is rejected on error.
- *
- * @usageNotes
- *
- * The following calls request navigation to a dynamic route path relative to the current URL.
- *
- * ```
- * router.navigate(['team', 33, 'user', 11], {relativeTo: route});
- *
- * // Navigate without updating the URL, overriding the default behavior
- * router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true});
- * ```
- *
- * @see [Routing and Navigation guide](guide/router)
- *
- */
- navigate(commands, extras = {
- skipLocationChange: false
- }) {
- validateCommands(commands);
- return this.navigateByUrl(this.createUrlTree(commands, extras), extras);
- }
- /** Serializes a `UrlTree` into a string */
- serializeUrl(url) {
- return this.urlSerializer.serialize(url);
- }
- /** Parses a string into a `UrlTree` */
- parseUrl(url) {
- let urlTree;
- try {
- urlTree = this.urlSerializer.parse(url);
- } catch (e) {
- urlTree = this.malformedUriErrorHandler(e, this.urlSerializer, url);
- }
- return urlTree;
- }
- isActive(url, matchOptions) {
- let options;
- if (matchOptions === true) {
- options = Object.assign({}, exactMatchOptions);
- } else if (matchOptions === false) {
- options = Object.assign({}, subsetMatchOptions);
- } else {
- options = matchOptions;
- }
- if (isUrlTree(url)) {
- return containsTree(this.currentUrlTree, url, options);
- }
- const urlTree = this.parseUrl(url);
- return containsTree(this.currentUrlTree, urlTree, options);
- }
- removeEmptyProps(params) {
- return Object.keys(params).reduce((result, key) => {
- const value = params[key];
- if (value !== null && value !== undefined) {
- result[key] = value;
- }
- return result;
- }, {});
- }
- processNavigations() {
- this.navigations.subscribe(t => {
- var _a;
- this.navigated = true;
- this.lastSuccessfulId = t.id;
- this.currentPageId = t.targetPageId;
- this.events.next(new NavigationEnd(t.id, this.serializeUrl(t.extractedUrl), this.serializeUrl(this.currentUrlTree)));
- this.lastSuccessfulNavigation = this.currentNavigation;
- (_a = this.titleStrategy) === null || _a === void 0 ? void 0 : _a.updateTitle(this.routerState.snapshot);
- t.resolve(true);
- }, e => {
- this.console.warn(`Unhandled Navigation Error: ${e}`);
- });
- }
- scheduleNavigation(rawUrl, source, restoredState, extras, priorPromise) {
- var _a, _b;
- if (this.disposed) {
- return Promise.resolve(false);
- }
- let resolve;
- let reject;
- let promise;
- if (priorPromise) {
- resolve = priorPromise.resolve;
- reject = priorPromise.reject;
- promise = priorPromise.promise;
- } else {
- promise = new Promise((res, rej) => {
- resolve = res;
- reject = rej;
- });
- }
- const id = ++this.navigationId;
- let targetPageId;
- if (this.canceledNavigationResolution === 'computed') {
- const isInitialPage = this.currentPageId === 0;
- if (isInitialPage) {
- restoredState = this.location.getState();
- } // If the `ɵrouterPageId` exist in the state then `targetpageId` should have the value of
- // `ɵrouterPageId`. This is the case for something like a page refresh where we assign the
- // target id to the previously set value for that page.
- if (restoredState && restoredState.ɵrouterPageId) {
- targetPageId = restoredState.ɵrouterPageId;
- } else {
- // If we're replacing the URL or doing a silent navigation, we do not want to increment the
- // page id because we aren't pushing a new entry to history.
- if (extras.replaceUrl || extras.skipLocationChange) {
- targetPageId = (_a = this.browserPageId) !== null && _a !== void 0 ? _a : 0;
- } else {
- targetPageId = ((_b = this.browserPageId) !== null && _b !== void 0 ? _b : 0) + 1;
- }
- }
- } else {
- // This is unused when `canceledNavigationResolution` is not computed.
- targetPageId = 0;
- }
- this.setTransition({
- id,
- targetPageId,
- source,
- restoredState,
- currentUrlTree: this.currentUrlTree,
- currentRawUrl: this.rawUrlTree,
- rawUrl,
- extras,
- resolve,
- reject,
- promise,
- currentSnapshot: this.routerState.snapshot,
- currentRouterState: this.routerState
- }); // Make sure that the error is propagated even though `processNavigations` catch
- // handler does not rethrow
- return promise.catch(e => {
- return Promise.reject(e);
- });
- }
- setBrowserUrl(url, t) {
- const path = this.urlSerializer.serialize(url);
- const state = Object.assign(Object.assign({}, t.extras.state), this.generateNgRouterState(t.id, t.targetPageId));
- if (this.location.isCurrentPathEqualTo(path) || !!t.extras.replaceUrl) {
- this.location.replaceState(path, '', state);
- } else {
- this.location.go(path, '', state);
- }
- }
- /**
- * Performs the necessary rollback action to restore the browser URL to the
- * state before the transition.
- */
- restoreHistory(t, restoringFromCaughtError = false) {
- var _a, _b;
- if (this.canceledNavigationResolution === 'computed') {
- const targetPagePosition = this.currentPageId - t.targetPageId; // The navigator change the location before triggered the browser event,
- // so we need to go back to the current url if the navigation is canceled.
- // Also, when navigation gets cancelled while using url update strategy eager, then we need to
- // go back. Because, when `urlUpdateStrategy` is `eager`; `setBrowserUrl` method is called
- // before any verification.
- const browserUrlUpdateOccurred = t.source === 'popstate' || this.urlUpdateStrategy === 'eager' || this.currentUrlTree === ((_a = this.currentNavigation) === null || _a === void 0 ? void 0 : _a.finalUrl);
- if (browserUrlUpdateOccurred && targetPagePosition !== 0) {
- this.location.historyGo(targetPagePosition);
- } else if (this.currentUrlTree === ((_b = this.currentNavigation) === null || _b === void 0 ? void 0 : _b.finalUrl) && targetPagePosition === 0) {
- // We got to the activation stage (where currentUrlTree is set to the navigation's
- // finalUrl), but we weren't moving anywhere in history (skipLocationChange or replaceUrl).
- // We still need to reset the router state back to what it was when the navigation started.
- this.resetState(t); // TODO(atscott): resetting the `browserUrlTree` should really be done in `resetState`.
- // Investigate if this can be done by running TGP.
- this.browserUrlTree = t.currentUrlTree;
- this.resetUrlToCurrentUrlTree();
- } else {// The browser URL and router state was not updated before the navigation cancelled so
- // there's no restoration needed.
- }
- } else if (this.canceledNavigationResolution === 'replace') {
- // TODO(atscott): It seems like we should _always_ reset the state here. It would be a no-op
- // for `deferred` navigations that haven't change the internal state yet because guards
- // reject. For 'eager' navigations, it seems like we also really should reset the state
- // because the navigation was cancelled. Investigate if this can be done by running TGP.
- if (restoringFromCaughtError) {
- this.resetState(t);
- }
- this.resetUrlToCurrentUrlTree();
- }
- }
- resetState(t) {
- this.routerState = t.currentRouterState;
- this.currentUrlTree = t.currentUrlTree; // Note here that we use the urlHandlingStrategy to get the reset `rawUrlTree` because it may be
- // configured to handle only part of the navigation URL. This means we would only want to reset
- // the part of the navigation handled by the Angular router rather than the whole URL. In
- // addition, the URLHandlingStrategy may be configured to specifically preserve parts of the URL
- // when merging, such as the query params so they are not lost on a refresh.
- this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, t.rawUrl);
- }
- resetUrlToCurrentUrlTree() {
- this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree), '', this.generateNgRouterState(this.lastSuccessfulId, this.currentPageId));
- }
- cancelNavigationTransition(t, reason, code) {
- const navCancel = new NavigationCancel(t.id, this.serializeUrl(t.extractedUrl), reason, code);
- this.triggerEvent(navCancel);
- t.resolve(false);
- }
- generateNgRouterState(navigationId, routerPageId) {
- if (this.canceledNavigationResolution === 'computed') {
- return {
- navigationId,
- ɵrouterPageId: routerPageId
- };
- }
- return {
- navigationId
- };
- }
- }
- Router.ɵfac = function Router_Factory(t) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinvalidFactory"]();
- };
- Router.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: Router,
- factory: function () {
- return setupRouter();
- },
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](Router, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root',
- useFactory: setupRouter
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Type
- }, {
- type: UrlSerializer
- }, {
- type: ChildrenOutletContexts
- }, {
- type: _angular_common__WEBPACK_IMPORTED_MODULE_33__.Location
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler
- }, {
- type: undefined
- }];
- }, null);
- })();
- function validateCommands(commands) {
- for (let i = 0; i < commands.length; i++) {
- const cmd = commands[i];
- if (cmd == null) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4008
- /* RuntimeErrorCode.NULLISH_COMMAND */
- , NG_DEV_MODE$2 && `The requested path contains ${cmd} segment at index ${i}`);
- }
- }
- }
- function isBrowserTriggeredNavigation(source) {
- return source !== 'imperative';
- }
- /**
- * @description
- *
- * When applied to an element in a template, makes that element a link
- * that initiates navigation to a route. Navigation opens one or more routed components
- * in one or more `<router-outlet>` locations on the page.
- *
- * Given a route configuration `[{ path: 'user/:name', component: UserCmp }]`,
- * the following creates a static link to the route:
- * `<a routerLink="/user/bob">link to user component</a>`
- *
- * You can use dynamic values to generate the link.
- * For a dynamic link, pass an array of path segments,
- * followed by the params for each segment.
- * For example, `['/team', teamId, 'user', userName, {details: true}]`
- * generates a link to `/team/11/user/bob;details=true`.
- *
- * Multiple static segments can be merged into one term and combined with dynamic segments.
- * For example, `['/team/11/user', userName, {details: true}]`
- *
- * The input that you provide to the link is treated as a delta to the current URL.
- * For instance, suppose the current URL is `/user/(box//aux:team)`.
- * The link `<a [routerLink]="['/user/jim']">Jim</a>` creates the URL
- * `/user/(jim//aux:team)`.
- * See {@link Router#createUrlTree createUrlTree} for more information.
- *
- * @usageNotes
- *
- * You can use absolute or relative paths in a link, set query parameters,
- * control how parameters are handled, and keep a history of navigation states.
- *
- * ### Relative link paths
- *
- * The first segment name can be prepended with `/`, `./`, or `../`.
- * * If the first segment begins with `/`, the router looks up the route from the root of the
- * app.
- * * If the first segment begins with `./`, or doesn't begin with a slash, the router
- * looks in the children of the current activated route.
- * * If the first segment begins with `../`, the router goes up one level in the route tree.
- *
- * ### Setting and handling query params and fragments
- *
- * The following link adds a query parameter and a fragment to the generated URL:
- *
- * ```
- * <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" fragment="education">
- * link to user component
- * </a>
- * ```
- * By default, the directive constructs the new URL using the given query parameters.
- * The example generates the link: `/user/bob?debug=true#education`.
- *
- * You can instruct the directive to handle query parameters differently
- * by specifying the `queryParamsHandling` option in the link.
- * Allowed values are:
- *
- * - `'merge'`: Merge the given `queryParams` into the current query params.
- * - `'preserve'`: Preserve the current query params.
- *
- * For example:
- *
- * ```
- * <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" queryParamsHandling="merge">
- * link to user component
- * </a>
- * ```
- *
- * See {@link UrlCreationOptions.queryParamsHandling UrlCreationOptions#queryParamsHandling}.
- *
- * ### Preserving navigation history
- *
- * You can provide a `state` value to be persisted to the browser's
- * [`History.state` property](https://developer.mozilla.org/en-US/docs/Web/API/History#Properties).
- * For example:
- *
- * ```
- * <a [routerLink]="['/user/bob']" [state]="{tracingId: 123}">
- * link to user component
- * </a>
- * ```
- *
- * Use {@link Router.getCurrentNavigation() Router#getCurrentNavigation} to retrieve a saved
- * navigation-state value. For example, to capture the `tracingId` during the `NavigationStart`
- * event:
- *
- * ```
- * // Get NavigationStart events
- * router.events.pipe(filter(e => e instanceof NavigationStart)).subscribe(e => {
- * const navigation = router.getCurrentNavigation();
- * tracingService.trace({id: navigation.extras.state.tracingId});
- * });
- * ```
- *
- * @ngModule RouterModule
- *
- * @publicApi
- */
- class RouterLink {
- constructor(router, route, tabIndexAttribute, renderer, el) {
- this.router = router;
- this.route = route;
- this.tabIndexAttribute = tabIndexAttribute;
- this.renderer = renderer;
- this.el = el;
- this._preserveFragment = false;
- this._skipLocationChange = false;
- this._replaceUrl = false;
- this.commands = null;
- /** @internal */
- this.onChanges = new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject();
- this.setTabIndexIfNotOnNativeEl('0');
- }
- /**
- * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the
- * `UrlCreationOptions`.
- * @see {@link UrlCreationOptions#preserveFragment UrlCreationOptions#preserveFragment}
- * @see {@link Router#createUrlTree Router#createUrlTree}
- */
- set preserveFragment(preserveFragment) {
- this._preserveFragment = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(preserveFragment);
- }
- get preserveFragment() {
- return this._preserveFragment;
- }
- /**
- * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the
- * `NavigationBehaviorOptions`.
- * @see {@link NavigationBehaviorOptions#skipLocationChange NavigationBehaviorOptions#skipLocationChange}
- * @see {@link Router#navigateByUrl Router#navigateByUrl}
- */
- set skipLocationChange(skipLocationChange) {
- this._skipLocationChange = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(skipLocationChange);
- }
- get skipLocationChange() {
- return this._skipLocationChange;
- }
- /**
- * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the
- * `NavigationBehaviorOptions`.
- * @see {@link NavigationBehaviorOptions#replaceUrl NavigationBehaviorOptions#replaceUrl}
- * @see {@link Router#navigateByUrl Router#navigateByUrl}
- */
- set replaceUrl(replaceUrl) {
- this._replaceUrl = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(replaceUrl);
- }
- get replaceUrl() {
- return this._replaceUrl;
- }
- /**
- * Modifies the tab index if there was not a tabindex attribute on the element during
- * instantiation.
- */
- setTabIndexIfNotOnNativeEl(newTabIndex) {
- if (this.tabIndexAttribute != null
- /* both `null` and `undefined` */
- ) {
- return;
- }
- const renderer = this.renderer;
- const nativeElement = this.el.nativeElement;
- if (newTabIndex !== null) {
- renderer.setAttribute(nativeElement, 'tabindex', newTabIndex);
- } else {
- renderer.removeAttribute(nativeElement, 'tabindex');
- }
- }
- /** @nodoc */
- ngOnChanges(changes) {
- // This is subscribed to by `RouterLinkActive` so that it knows to update when there are changes
- // to the RouterLinks it's tracking.
- this.onChanges.next(this);
- }
- /**
- * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
- * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
- * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
- * - **null|undefined**: effectively disables the `routerLink`
- * @see {@link Router#createUrlTree Router#createUrlTree}
- */
- set routerLink(commands) {
- if (commands != null) {
- this.commands = Array.isArray(commands) ? commands : [commands];
- this.setTabIndexIfNotOnNativeEl('0');
- } else {
- this.commands = null;
- this.setTabIndexIfNotOnNativeEl(null);
- }
- }
- /** @nodoc */
- onClick() {
- if (this.urlTree === null) {
- return true;
- }
- const extras = {
- skipLocationChange: this.skipLocationChange,
- replaceUrl: this.replaceUrl,
- state: this.state
- };
- this.router.navigateByUrl(this.urlTree, extras);
- return true;
- }
- get urlTree() {
- if (this.commands === null) {
- return null;
- }
- return this.router.createUrlTree(this.commands, {
- // If the `relativeTo` input is not defined, we want to use `this.route` by default.
- // Otherwise, we should use the value provided by the user in the input.
- relativeTo: this.relativeTo !== undefined ? this.relativeTo : this.route,
- queryParams: this.queryParams,
- fragment: this.fragment,
- queryParamsHandling: this.queryParamsHandling,
- preserveFragment: this.preserveFragment
- });
- }
- }
- RouterLink.ɵfac = function RouterLink_Factory(t) {
- 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));
- };
- RouterLink.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: RouterLink,
- selectors: [["", "routerLink", "", 5, "a", 5, "area"]],
- hostBindings: function RouterLink_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function RouterLink_click_HostBindingHandler() {
- return ctx.onClick();
- });
- }
- },
- inputs: {
- queryParams: "queryParams",
- fragment: "fragment",
- queryParamsHandling: "queryParamsHandling",
- state: "state",
- relativeTo: "relativeTo",
- preserveFragment: "preserveFragment",
- skipLocationChange: "skipLocationChange",
- replaceUrl: "replaceUrl",
- routerLink: "routerLink"
- },
- standalone: true,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterLink, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: ':not(a):not(area)[routerLink]',
- standalone: true
- }]
- }], function () {
- return [{
- type: Router
- }, {
- type: ActivatedRoute
- }, {
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Attribute,
- args: ['tabindex']
- }]
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }];
- }, {
- queryParams: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- fragment: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- queryParamsHandling: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- state: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- relativeTo: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- preserveFragment: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- skipLocationChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- replaceUrl: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- routerLink: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- onClick: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.HostListener,
- args: ['click']
- }]
- });
- })();
- /**
- * @description
- *
- * Lets you link to specific routes in your app.
- *
- * See `RouterLink` for more information.
- *
- * @ngModule RouterModule
- *
- * @publicApi
- */
- class RouterLinkWithHref {
- constructor(router, route, locationStrategy) {
- this.router = router;
- this.route = route;
- this.locationStrategy = locationStrategy;
- this._preserveFragment = false;
- this._skipLocationChange = false;
- this._replaceUrl = false;
- this.commands = null; // the url displayed on the anchor element.
- // @HostBinding('attr.href') is used rather than @HostBinding() because it removes the
- // href attribute when it becomes `null`.
- this.href = null;
- /** @internal */
- this.onChanges = new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject();
- this.subscription = router.events.subscribe(s => {
- if (s instanceof NavigationEnd) {
- this.updateTargetUrlAndHref();
- }
- });
- }
- /**
- * Passed to {@link Router#createUrlTree Router#createUrlTree} as part of the
- * `UrlCreationOptions`.
- * @see {@link UrlCreationOptions#preserveFragment UrlCreationOptions#preserveFragment}
- * @see {@link Router#createUrlTree Router#createUrlTree}
- */
- set preserveFragment(preserveFragment) {
- this._preserveFragment = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(preserveFragment);
- }
- get preserveFragment() {
- return this._preserveFragment;
- }
- /**
- * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the
- * `NavigationBehaviorOptions`.
- * @see {@link NavigationBehaviorOptions#skipLocationChange NavigationBehaviorOptions#skipLocationChange}
- * @see {@link Router#navigateByUrl Router#navigateByUrl}
- */
- set skipLocationChange(skipLocationChange) {
- this._skipLocationChange = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(skipLocationChange);
- }
- get skipLocationChange() {
- return this._skipLocationChange;
- }
- /**
- * Passed to {@link Router#navigateByUrl Router#navigateByUrl} as part of the
- * `NavigationBehaviorOptions`.
- * @see {@link NavigationBehaviorOptions#replaceUrl NavigationBehaviorOptions#replaceUrl}
- * @see {@link Router#navigateByUrl Router#navigateByUrl}
- */
- set replaceUrl(replaceUrl) {
- this._replaceUrl = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcoerceToBoolean"])(replaceUrl);
- }
- get replaceUrl() {
- return this._replaceUrl;
- }
- /**
- * Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
- * - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
- * - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
- * - **null|undefined**: Disables the link by removing the `href`
- * @see {@link Router#createUrlTree Router#createUrlTree}
- */
- set routerLink(commands) {
- if (commands != null) {
- this.commands = Array.isArray(commands) ? commands : [commands];
- } else {
- this.commands = null;
- }
- }
- /** @nodoc */
- ngOnChanges(changes) {
- this.updateTargetUrlAndHref();
- this.onChanges.next(this);
- }
- /** @nodoc */
- ngOnDestroy() {
- this.subscription.unsubscribe();
- }
- /** @nodoc */
- onClick(button, ctrlKey, shiftKey, altKey, metaKey) {
- if (button !== 0 || ctrlKey || shiftKey || altKey || metaKey) {
- return true;
- }
- if (typeof this.target === 'string' && this.target != '_self' || this.urlTree === null) {
- return true;
- }
- const extras = {
- skipLocationChange: this.skipLocationChange,
- replaceUrl: this.replaceUrl,
- state: this.state
- };
- this.router.navigateByUrl(this.urlTree, extras);
- return false;
- }
- updateTargetUrlAndHref() {
- this.href = this.urlTree !== null ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)) : null;
- }
- get urlTree() {
- if (this.commands === null) {
- return null;
- }
- return this.router.createUrlTree(this.commands, {
- // If the `relativeTo` input is not defined, we want to use `this.route` by default.
- // Otherwise, we should use the value provided by the user in the input.
- relativeTo: this.relativeTo !== undefined ? this.relativeTo : this.route,
- queryParams: this.queryParams,
- fragment: this.fragment,
- queryParamsHandling: this.queryParamsHandling,
- preserveFragment: this.preserveFragment
- });
- }
- }
- RouterLinkWithHref.ɵfac = function RouterLinkWithHref_Factory(t) {
- 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));
- };
- RouterLinkWithHref.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: RouterLinkWithHref,
- selectors: [["a", "routerLink", ""], ["area", "routerLink", ""]],
- hostVars: 2,
- hostBindings: function RouterLinkWithHref_HostBindings(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function RouterLinkWithHref_click_HostBindingHandler($event) {
- return ctx.onClick($event.button, $event.ctrlKey, $event.shiftKey, $event.altKey, $event.metaKey);
- });
- }
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("target", ctx.target)("href", ctx.href, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeUrl"]);
- }
- },
- inputs: {
- target: "target",
- queryParams: "queryParams",
- fragment: "fragment",
- queryParamsHandling: "queryParamsHandling",
- state: "state",
- relativeTo: "relativeTo",
- preserveFragment: "preserveFragment",
- skipLocationChange: "skipLocationChange",
- replaceUrl: "replaceUrl",
- routerLink: "routerLink"
- },
- standalone: true,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterLinkWithHref, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: 'a[routerLink],area[routerLink]',
- standalone: true
- }]
- }], function () {
- return [{
- type: Router
- }, {
- type: ActivatedRoute
- }, {
- type: _angular_common__WEBPACK_IMPORTED_MODULE_33__.LocationStrategy
- }];
- }, {
- target: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.HostBinding,
- args: ['attr.target']
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- queryParams: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- fragment: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- queryParamsHandling: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- state: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- relativeTo: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- href: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.HostBinding,
- args: ['attr.href']
- }],
- preserveFragment: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- skipLocationChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- replaceUrl: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- routerLink: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- onClick: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.HostListener,
- args: ['click', ['$event.button', '$event.ctrlKey', '$event.shiftKey', '$event.altKey', '$event.metaKey']]
- }]
- });
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- *
- * @description
- *
- * Tracks whether the linked route of an element is currently active, and allows you
- * to specify one or more CSS classes to add to the element when the linked route
- * is active.
- *
- * Use this directive to create a visual distinction for elements associated with an active route.
- * For example, the following code highlights the word "Bob" when the router
- * activates the associated route:
- *
- * ```
- * <a routerLink="/user/bob" routerLinkActive="active-link">Bob</a>
- * ```
- *
- * Whenever the URL is either '/user' or '/user/bob', the "active-link" class is
- * added to the anchor tag. If the URL changes, the class is removed.
- *
- * You can set more than one class using a space-separated string or an array.
- * For example:
- *
- * ```
- * <a routerLink="/user/bob" routerLinkActive="class1 class2">Bob</a>
- * <a routerLink="/user/bob" [routerLinkActive]="['class1', 'class2']">Bob</a>
- * ```
- *
- * To add the classes only when the URL matches the link exactly, add the option `exact: true`:
- *
- * ```
- * <a routerLink="/user/bob" routerLinkActive="active-link" [routerLinkActiveOptions]="{exact:
- * true}">Bob</a>
- * ```
- *
- * To directly check the `isActive` status of the link, assign the `RouterLinkActive`
- * instance to a template variable.
- * For example, the following checks the status without assigning any CSS classes:
- *
- * ```
- * <a routerLink="/user/bob" routerLinkActive #rla="routerLinkActive">
- * Bob {{ rla.isActive ? '(already open)' : ''}}
- * </a>
- * ```
- *
- * You can apply the `RouterLinkActive` directive to an ancestor of linked elements.
- * For example, the following sets the active-link class on the `<div>` parent tag
- * when the URL is either '/user/jim' or '/user/bob'.
- *
- * ```
- * <div routerLinkActive="active-link" [routerLinkActiveOptions]="{exact: true}">
- * <a routerLink="/user/jim">Jim</a>
- * <a routerLink="/user/bob">Bob</a>
- * </div>
- * ```
- *
- * The `RouterLinkActive` directive can also be used to set the aria-current attribute
- * to provide an alternative distinction for active elements to visually impaired users.
- *
- * For example, the following code adds the 'active' class to the Home Page link when it is
- * indeed active and in such case also sets its aria-current attribute to 'page':
- *
- * ```
- * <a routerLink="/" routerLinkActive="active" ariaCurrentWhenActive="page">Home Page</a>
- * ```
- *
- * @ngModule RouterModule
- *
- * @publicApi
- */
- class RouterLinkActive {
- constructor(router, element, renderer, cdr, link, linkWithHref) {
- this.router = router;
- this.element = element;
- this.renderer = renderer;
- this.cdr = cdr;
- this.link = link;
- this.linkWithHref = linkWithHref;
- this.classes = [];
- this.isActive = false;
- /**
- * Options to configure how to determine if the router link is active.
- *
- * These options are passed to the `Router.isActive()` function.
- *
- * @see Router.isActive
- */
- this.routerLinkActiveOptions = {
- exact: false
- };
- /**
- *
- * You can use the output `isActiveChange` to get notified each time the link becomes
- * active or inactive.
- *
- * Emits:
- * true -> Route is active
- * false -> Route is inactive
- *
- * ```
- * <a
- * routerLink="/user/bob"
- * routerLinkActive="active-link"
- * (isActiveChange)="this.onRouterLinkActive($event)">Bob</a>
- * ```
- */
- this.isActiveChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
- this.routerEventsSubscription = router.events.subscribe(s => {
- if (s instanceof NavigationEnd) {
- this.update();
- }
- });
- }
- /** @nodoc */
- ngAfterContentInit() {
- // `of(null)` is used to force subscribe body to execute once immediately (like `startWith`).
- (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(_ => {
- this.update();
- this.subscribeToEachLinkOnChanges();
- });
- }
- subscribeToEachLinkOnChanges() {
- var _a;
- (_a = this.linkInputChangesSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
- const allLinkChanges = [...this.links.toArray(), ...this.linksWithHrefs.toArray(), this.link, this.linkWithHref].filter(link => !!link).map(link => link.onChanges);
- this.linkInputChangesSubscription = (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(allLinkChanges).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_34__.mergeAll)()).subscribe(link => {
- if (this.isActive !== this.isLinkActive(this.router)(link)) {
- this.update();
- }
- });
- }
- set routerLinkActive(data) {
- const classes = Array.isArray(data) ? data : data.split(' ');
- this.classes = classes.filter(c => !!c);
- }
- /** @nodoc */
- ngOnChanges(changes) {
- this.update();
- }
- /** @nodoc */
- ngOnDestroy() {
- var _a;
- this.routerEventsSubscription.unsubscribe();
- (_a = this.linkInputChangesSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
- }
- update() {
- if (!this.links || !this.linksWithHrefs || !this.router.navigated) return;
- Promise.resolve().then(() => {
- const hasActiveLinks = this.hasActiveLinks();
- if (this.isActive !== hasActiveLinks) {
- this.isActive = hasActiveLinks;
- this.cdr.markForCheck();
- this.classes.forEach(c => {
- if (hasActiveLinks) {
- this.renderer.addClass(this.element.nativeElement, c);
- } else {
- this.renderer.removeClass(this.element.nativeElement, c);
- }
- });
- if (hasActiveLinks && this.ariaCurrentWhenActive !== undefined) {
- this.renderer.setAttribute(this.element.nativeElement, 'aria-current', this.ariaCurrentWhenActive.toString());
- } else {
- this.renderer.removeAttribute(this.element.nativeElement, 'aria-current');
- } // Emit on isActiveChange after classes are updated
- this.isActiveChange.emit(hasActiveLinks);
- }
- });
- }
- isLinkActive(router) {
- const options = isActiveMatchOptions(this.routerLinkActiveOptions) ? this.routerLinkActiveOptions : // While the types should disallow `undefined` here, it's possible without strict inputs
- this.routerLinkActiveOptions.exact || false;
- return link => link.urlTree ? router.isActive(link.urlTree, options) : false;
- }
- hasActiveLinks() {
- const isActiveCheckFn = this.isLinkActive(this.router);
- return this.link && isActiveCheckFn(this.link) || this.linkWithHref && isActiveCheckFn(this.linkWithHref) || this.links.some(isActiveCheckFn) || this.linksWithHrefs.some(isActiveCheckFn);
- }
- }
- RouterLinkActive.ɵfac = function RouterLinkActive_Factory(t) {
- 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));
- };
- RouterLinkActive.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
- type: RouterLinkActive,
- selectors: [["", "routerLinkActive", ""]],
- contentQueries: function RouterLinkActive_ContentQueries(rf, ctx, dirIndex) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, RouterLink, 5);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵcontentQuery"](dirIndex, RouterLinkWithHref, 5);
- }
- if (rf & 2) {
- let _t;
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.links = _t);
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx.linksWithHrefs = _t);
- }
- },
- inputs: {
- routerLinkActiveOptions: "routerLinkActiveOptions",
- ariaCurrentWhenActive: "ariaCurrentWhenActive",
- routerLinkActive: "routerLinkActive"
- },
- outputs: {
- isActiveChange: "isActiveChange"
- },
- exportAs: ["routerLinkActive"],
- standalone: true,
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterLinkActive, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
- args: [{
- selector: '[routerLinkActive]',
- exportAs: 'routerLinkActive',
- standalone: true
- }]
- }], function () {
- return [{
- type: Router
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Renderer2
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
- }, {
- type: RouterLink,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }]
- }, {
- type: RouterLinkWithHref,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }]
- }];
- }, {
- links: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ContentChildren,
- args: [RouterLink, {
- descendants: true
- }]
- }],
- linksWithHrefs: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ContentChildren,
- args: [RouterLinkWithHref, {
- descendants: true
- }]
- }],
- routerLinkActiveOptions: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- ariaCurrentWhenActive: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }],
- isActiveChange: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output
- }],
- routerLinkActive: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
- }]
- });
- })();
- /**
- * Use instead of `'paths' in options` to be compatible with property renaming
- */
- function isActiveMatchOptions(options) {
- return !!options.paths;
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @description
- *
- * Provides a preloading strategy.
- *
- * @publicApi
- */
- class PreloadingStrategy {}
- /**
- * @description
- *
- * Provides a preloading strategy that preloads all modules as quickly as possible.
- *
- * ```
- * RouterModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})
- * ```
- *
- * @publicApi
- */
- class PreloadAllModules {
- preload(route, fn) {
- return fn().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.catchError)(() => (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null)));
- }
- }
- PreloadAllModules.ɵfac = function PreloadAllModules_Factory(t) {
- return new (t || PreloadAllModules)();
- };
- PreloadAllModules.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: PreloadAllModules,
- factory: PreloadAllModules.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](PreloadAllModules, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /**
- * @description
- *
- * Provides a preloading strategy that does not preload any modules.
- *
- * This strategy is enabled by default.
- *
- * @publicApi
- */
- class NoPreloading {
- preload(route, fn) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
- }
- }
- NoPreloading.ɵfac = function NoPreloading_Factory(t) {
- return new (t || NoPreloading)();
- };
- NoPreloading.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: NoPreloading,
- factory: NoPreloading.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NoPreloading, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- /**
- * The preloader optimistically loads all router configurations to
- * make navigations into lazily-loaded sections of the application faster.
- *
- * The preloader runs in the background. When the router bootstraps, the preloader
- * starts listening to all navigation events. After every such event, the preloader
- * will check if any configurations can be loaded lazily.
- *
- * If a route is protected by `canLoad` guards, the preloaded will not load it.
- *
- * @publicApi
- */
- class RouterPreloader {
- constructor(router, compiler, injector, preloadingStrategy, loader) {
- this.router = router;
- this.injector = injector;
- this.preloadingStrategy = preloadingStrategy;
- this.loader = loader;
- }
- setUpPreloading() {
- 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(() => {});
- }
- preload() {
- return this.processRoutes(this.injector, this.router.config);
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this.subscription) {
- this.subscription.unsubscribe();
- }
- }
- processRoutes(injector, routes) {
- var _a, _b, _c;
- const res = [];
- for (const route of routes) {
- if (route.providers && !route._injector) {
- route._injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.createEnvironmentInjector)(route.providers, injector, `Route: ${route.path}`);
- }
- const injectorForCurrentRoute = (_a = route._injector) !== null && _a !== void 0 ? _a : injector;
- 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
- // `loadComponent`. `canLoad` guards only block loading of child routes by design. This
- // happens as a consequence of needing to descend into children for route matching immediately
- // while component loading is deferred until route activation. Because `canLoad` guards can
- // have side effects, we cannot execute them here so we instead skip preloading altogether
- // when present. Lastly, it remains to be decided whether `canLoad` should behave this way
- // at all. Code splitting and lazy loading is separate from client-side authorization checks
- // and should not be used as a security measure to prevent loading of code.
- if (route.loadChildren && !route._loadedRoutes && route.canLoad === undefined || route.loadComponent && !route._loadedComponent) {
- res.push(this.preloadConfig(injectorForCurrentRoute, route));
- } else if (route.children || route._loadedRoutes) {
- res.push(this.processRoutes(injectorForChildren, (_c = route.children) !== null && _c !== void 0 ? _c : route._loadedRoutes));
- }
- }
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)(res).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_34__.mergeAll)());
- }
- preloadConfig(injector, route) {
- return this.preloadingStrategy.preload(route, () => {
- let loadedChildren$;
- if (route.loadChildren && route.canLoad === undefined) {
- loadedChildren$ = this.loader.loadChildren(injector, route);
- } else {
- loadedChildren$ = (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(null);
- }
- const recursiveLoadChildren$ = loadedChildren$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.mergeMap)(config => {
- var _a;
- if (config === null) {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(void 0);
- }
- route._loadedRoutes = config.routes;
- route._loadedInjector = config.injector; // If the loaded config was a module, use that as the module/module injector going
- // forward. Otherwise, continue using the current module/module injector.
- return this.processRoutes((_a = config.injector) !== null && _a !== void 0 ? _a : injector, config.routes);
- }));
- if (route.loadComponent && !route._loadedComponent) {
- const loadComponent$ = this.loader.loadComponent(route);
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_1__.from)([recursiveLoadChildren$, loadComponent$]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_34__.mergeAll)());
- } else {
- return recursiveLoadChildren$;
- }
- });
- }
- }
- RouterPreloader.ɵfac = function RouterPreloader_Factory(t) {
- 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));
- };
- RouterPreloader.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: RouterPreloader,
- factory: RouterPreloader.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterPreloader, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], function () {
- return [{
- type: Router
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Compiler
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.EnvironmentInjector
- }, {
- type: PreloadingStrategy
- }, {
- type: RouterConfigLoader
- }];
- }, null);
- })();
- const ROUTER_SCROLLER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('');
- class RouterScroller {
- constructor(router,
- /** @docsNotRequired */
- viewportScroller, options = {}) {
- this.router = router;
- this.viewportScroller = viewportScroller;
- this.options = options;
- this.lastId = 0;
- this.lastSource = 'imperative';
- this.restoredId = 0;
- this.store = {}; // Default both options to 'disabled'
- options.scrollPositionRestoration = options.scrollPositionRestoration || 'disabled';
- options.anchorScrolling = options.anchorScrolling || 'disabled';
- }
- init() {
- // we want to disable the automatic scrolling because having two places
- // responsible for scrolling results race conditions, especially given
- // that browser don't implement this behavior consistently
- if (this.options.scrollPositionRestoration !== 'disabled') {
- this.viewportScroller.setHistoryScrollRestoration('manual');
- }
- this.routerEventsSubscription = this.createScrollEvents();
- this.scrollEventsSubscription = this.consumeScrollEvents();
- }
- createScrollEvents() {
- return this.router.events.subscribe(e => {
- if (e instanceof NavigationStart) {
- // store the scroll position of the current stable navigations.
- this.store[this.lastId] = this.viewportScroller.getScrollPosition();
- this.lastSource = e.navigationTrigger;
- this.restoredId = e.restoredState ? e.restoredState.navigationId : 0;
- } else if (e instanceof NavigationEnd) {
- this.lastId = e.id;
- this.scheduleScrollEvent(e, this.router.parseUrl(e.urlAfterRedirects).fragment);
- }
- });
- }
- consumeScrollEvents() {
- return this.router.events.subscribe(e => {
- if (!(e instanceof Scroll)) return; // a popstate event. The pop state event will always ignore anchor scrolling.
- if (e.position) {
- if (this.options.scrollPositionRestoration === 'top') {
- this.viewportScroller.scrollToPosition([0, 0]);
- } else if (this.options.scrollPositionRestoration === 'enabled') {
- this.viewportScroller.scrollToPosition(e.position);
- } // imperative navigation "forward"
- } else {
- if (e.anchor && this.options.anchorScrolling === 'enabled') {
- this.viewportScroller.scrollToAnchor(e.anchor);
- } else if (this.options.scrollPositionRestoration !== 'disabled') {
- this.viewportScroller.scrollToPosition([0, 0]);
- }
- }
- });
- }
- scheduleScrollEvent(routerEvent, anchor) {
- this.router.triggerEvent(new Scroll(routerEvent, this.lastSource === 'popstate' ? this.store[this.restoredId] : null, anchor));
- }
- /** @nodoc */
- ngOnDestroy() {
- if (this.routerEventsSubscription) {
- this.routerEventsSubscription.unsubscribe();
- }
- if (this.scrollEventsSubscription) {
- this.scrollEventsSubscription.unsubscribe();
- }
- }
- }
- RouterScroller.ɵfac = function RouterScroller_Factory(t) {
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinvalidFactory"]();
- };
- RouterScroller.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
- token: RouterScroller,
- factory: RouterScroller.ɵfac
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterScroller, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable
- }], function () {
- return [{
- type: Router
- }, {
- type: _angular_common__WEBPACK_IMPORTED_MODULE_33__.ViewportScroller
- }, {
- type: undefined
- }];
- }, null);
- })();
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE$1 = typeof ngDevMode === 'undefined' || ngDevMode;
- /**
- * Sets up providers necessary to enable `Router` functionality for the application.
- * Allows to configure a set of routes as well as extra features that should be enabled.
- *
- * @usageNotes
- *
- * Basic example of how you can add a Router to your application:
- * ```
- * const appRoutes: Routes = [];
- * bootstrapApplication(AppComponent, {
- * providers: [provideRouter(appRoutes)]
- * });
- * ```
- *
- * You can also enable optional features in the Router by adding functions from the `RouterFeatures`
- * type:
- * ```
- * const appRoutes: Routes = [];
- * bootstrapApplication(AppComponent,
- * {
- * providers: [
- * provideRouter(appRoutes,
- * withDebugTracing(),
- * withRouterConfig({paramsInheritanceStrategy: 'always'}))
- * ]
- * }
- * );
- * ```
- *
- * @see `RouterFeatures`
- *
- * @publicApi
- * @developerPreview
- * @param routes A set of `Route`s to use for the application routing table.
- * @param features Optional features to configure additional router behaviors.
- * @returns A set of providers to setup a Router.
- */
- function provideRouter(routes, ...features) {
- return [provideRoutes(routes), {
- provide: ActivatedRoute,
- useFactory: rootRoute,
- deps: [Router]
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_BOOTSTRAP_LISTENER,
- multi: true,
- useFactory: getBootstrapListener
- }, features.map(feature => feature.ɵproviders) // TODO: All options used by the `assignExtraOptionsToRouter` factory need to be reviewed for
- // how we want them to be configured. This API doesn't currently have a way to configure them
- // and we should decide what the _best_ way to do that is rather than just sticking with the
- // status quo of how it's done today.
- ];
- }
- function rootRoute(router) {
- return router.routerState.root;
- }
- /**
- * Helper function to create an object that represents a Router feature.
- */
- function routerFeature(kind, providers) {
- return {
- ɵkind: kind,
- ɵproviders: providers
- };
- }
- /**
- * Registers a [DI provider](guide/glossary#provider) for a set of routes.
- * @param routes The route configuration to provide.
- *
- * @usageNotes
- *
- * ```
- * @NgModule({
- * providers: [provideRoutes(ROUTES)]
- * })
- * class LazyLoadedChildModule {}
- * ```
- *
- * @publicApi
- */
- function provideRoutes(routes) {
- return [{
- provide: ROUTES,
- multi: true,
- useValue: routes
- }];
- }
- /**
- * Enables customizable scrolling behavior for router navigations.
- *
- * @usageNotes
- *
- * Basic example of how you can enable scrolling feature:
- * ```
- * const appRoutes: Routes = [];
- * bootstrapApplication(AppComponent,
- * {
- * providers: [
- * provideRouter(appRoutes, withInMemoryScrolling())
- * ]
- * }
- * );
- * ```
- *
- * @see `provideRouter`
- * @see `ViewportScroller`
- *
- * @publicApi
- * @developerPreview
- * @param options Set of configuration parameters to customize scrolling behavior, see
- * `InMemoryScrollingOptions` for additional information.
- * @returns A set of providers for use with `provideRouter`.
- */
- function withInMemoryScrolling(options = {}) {
- const providers = [{
- provide: ROUTER_SCROLLER,
- useFactory: () => {
- const router = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(Router);
- const viewportScroller = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_33__.ViewportScroller);
- return new RouterScroller(router, viewportScroller, options);
- }
- }];
- return routerFeature(4
- /* RouterFeatureKind.InMemoryScrollingFeature */
- , providers);
- }
- function getBootstrapListener() {
- const injector = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector);
- return bootstrappedComponentRef => {
- var _a, _b;
- const ref = injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ApplicationRef);
- if (bootstrappedComponentRef !== ref.components[0]) {
- return;
- }
- const router = injector.get(Router);
- const bootstrapDone = injector.get(BOOTSTRAP_DONE);
- if (injector.get(INITIAL_NAVIGATION) === 1
- /* InitialNavigation.EnabledNonBlocking */
- ) {
- router.initialNavigation();
- }
- (_a = injector.get(ROUTER_PRELOADER, null, _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectFlags.Optional)) === null || _a === void 0 ? void 0 : _a.setUpPreloading();
- (_b = injector.get(ROUTER_SCROLLER, null, _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectFlags.Optional)) === null || _b === void 0 ? void 0 : _b.init();
- router.resetRootComponentType(ref.componentTypes[0]);
- bootstrapDone.next();
- bootstrapDone.complete();
- };
- }
- /**
- * A subject used to indicate that the bootstrapping phase is done. When initial navigation is
- * `enabledBlocking`, the first navigation waits until bootstrapping is finished before continuing
- * to the activation phase.
- */
- const BOOTSTRAP_DONE = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE$1 ? 'bootstrap done indicator' : '', {
- factory: () => {
- return new rxjs__WEBPACK_IMPORTED_MODULE_31__.Subject();
- }
- });
- const INITIAL_NAVIGATION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE$1 ? 'initial navigation' : '', {
- providedIn: 'root',
- factory: () => 1
- /* InitialNavigation.EnabledNonBlocking */
- });
- /**
- * Configures initial navigation to start before the root component is created.
- *
- * The bootstrap is blocked until the initial navigation is complete. This value is required for
- * [server-side rendering](guide/universal) to work.
- *
- * @usageNotes
- *
- * Basic example of how you can enable this navigation behavior:
- * ```
- * const appRoutes: Routes = [];
- * bootstrapApplication(AppComponent,
- * {
- * providers: [
- * provideRouter(appRoutes, withEnabledBlockingInitialNavigation())
- * ]
- * }
- * );
- * ```
- *
- * @see `provideRouter`
- *
- * @publicApi
- * @developerPreview
- * @returns A set of providers for use with `provideRouter`.
- */
- function withEnabledBlockingInitialNavigation() {
- const providers = [{
- provide: INITIAL_NAVIGATION,
- useValue: 0
- /* InitialNavigation.EnabledBlocking */
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_INITIALIZER,
- multi: true,
- deps: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injector],
- useFactory: injector => {
- const locationInitialized = injector.get(_angular_common__WEBPACK_IMPORTED_MODULE_33__.LOCATION_INITIALIZED, Promise.resolve());
- let initNavigation = false;
- /**
- * Performs the given action once the router finishes its next/current navigation.
- *
- * If the navigation is canceled or errors without a redirect, the navigation is considered
- * complete. If the `NavigationEnd` event emits, the navigation is also considered complete.
- */
- function afterNextNavigation(action) {
- const router = injector.get(Router);
- 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 => {
- if (e instanceof NavigationEnd) {
- // Navigation assumed to succeed if we get `ActivationStart`
- return true;
- }
- const redirecting = e instanceof NavigationCancel ? e.code === 0
- /* NavigationCancellationCode.Redirect */
- || e.code === 1
- /* NavigationCancellationCode.SupersededByNewNavigation */
- : false;
- return redirecting ? null : false;
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.filter)(result => result !== null), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.take)(1)).subscribe(() => {
- action();
- });
- }
- return () => {
- return locationInitialized.then(() => {
- return new Promise(resolve => {
- const router = injector.get(Router);
- const bootstrapDone = injector.get(BOOTSTRAP_DONE);
- afterNextNavigation(() => {
- // Unblock APP_INITIALIZER in case the initial navigation was canceled or errored
- // without a redirect.
- resolve(true);
- initNavigation = true;
- });
- router.afterPreactivation = () => {
- // Unblock APP_INITIALIZER once we get to `afterPreactivation`. At this point, we
- // assume activation will complete successfully (even though this is not
- // guaranteed).
- resolve(true); // only the initial navigation should be delayed until bootstrapping is done.
- if (!initNavigation) {
- return bootstrapDone.closed ? (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(void 0) : bootstrapDone; // subsequent navigations should not be delayed
- } else {
- return (0,rxjs__WEBPACK_IMPORTED_MODULE_2__.of)(void 0);
- }
- };
- router.initialNavigation();
- });
- });
- };
- }
- }];
- return routerFeature(2
- /* RouterFeatureKind.EnabledBlockingInitialNavigationFeature */
- , providers);
- }
- /**
- * Disables initial navigation.
- *
- * Use if there is a reason to have more control over when the router starts its initial navigation
- * due to some complex initialization logic.
- *
- * @usageNotes
- *
- * Basic example of how you can disable initial navigation:
- * ```
- * const appRoutes: Routes = [];
- * bootstrapApplication(AppComponent,
- * {
- * providers: [
- * provideRouter(appRoutes, withDisabledInitialNavigation())
- * ]
- * }
- * );
- * ```
- *
- * @see `provideRouter`
- *
- * @returns A set of providers for use with `provideRouter`.
- *
- * @publicApi
- * @developerPreview
- */
- function withDisabledInitialNavigation() {
- const providers = [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_INITIALIZER,
- multi: true,
- useFactory: () => {
- const router = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(Router);
- return () => {
- router.setUpLocationChangeListener();
- };
- }
- }, {
- provide: INITIAL_NAVIGATION,
- useValue: 2
- /* InitialNavigation.Disabled */
- }];
- return routerFeature(3
- /* RouterFeatureKind.DisabledInitialNavigationFeature */
- , providers);
- }
- /**
- * Enables logging of all internal navigation events to the console.
- * Extra logging might be useful for debugging purposes to inspect Router event sequence.
- *
- * @usageNotes
- *
- * Basic example of how you can enable debug tracing:
- * ```
- * const appRoutes: Routes = [];
- * bootstrapApplication(AppComponent,
- * {
- * providers: [
- * provideRouter(appRoutes, withDebugTracing())
- * ]
- * }
- * );
- * ```
- *
- * @see `provideRouter`
- *
- * @returns A set of providers for use with `provideRouter`.
- *
- * @publicApi
- * @developerPreview
- */
- function withDebugTracing() {
- let providers = [];
- if (NG_DEV_MODE$1) {
- providers = [{
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ENVIRONMENT_INITIALIZER,
- multi: true,
- useFactory: () => {
- const router = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(Router);
- return () => router.events.subscribe(e => {
- var _a, _b; // tslint:disable:no-console
- (_a = console.group) === null || _a === void 0 ? void 0 : _a.call(console, `Router Event: ${e.constructor.name}`);
- console.log(stringifyEvent(e));
- console.log(e);
- (_b = console.groupEnd) === null || _b === void 0 ? void 0 : _b.call(console); // tslint:enable:no-console
- });
- }
- }];
- } else {
- providers = [];
- }
- return routerFeature(1
- /* RouterFeatureKind.DebugTracingFeature */
- , providers);
- }
- const ROUTER_PRELOADER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE$1 ? 'router preloader' : '');
- /**
- * Allows to configure a preloading strategy to use. The strategy is configured by providing a
- * reference to a class that implements a `PreloadingStrategy`.
- *
- * @usageNotes
- *
- * Basic example of how you can configure preloading:
- * ```
- * const appRoutes: Routes = [];
- * bootstrapApplication(AppComponent,
- * {
- * providers: [
- * provideRouter(appRoutes, withPreloading(PreloadAllModules))
- * ]
- * }
- * );
- * ```
- *
- * @see `provideRouter`
- *
- * @param preloadingStrategy A reference to a class that implements a `PreloadingStrategy` that
- * should be used.
- * @returns A set of providers for use with `provideRouter`.
- *
- * @publicApi
- * @developerPreview
- */
- function withPreloading(preloadingStrategy) {
- const providers = [{
- provide: ROUTER_PRELOADER,
- useExisting: RouterPreloader
- }, {
- provide: PreloadingStrategy,
- useExisting: preloadingStrategy
- }];
- return routerFeature(0
- /* RouterFeatureKind.PreloadingFeature */
- , providers);
- }
- /**
- * Allows to provide extra parameters to configure Router.
- *
- * @usageNotes
- *
- * Basic example of how you can provide extra configuration options:
- * ```
- * const appRoutes: Routes = [];
- * bootstrapApplication(AppComponent,
- * {
- * providers: [
- * provideRouter(appRoutes, withRouterConfig({
- * onSameUrlNavigation: 'reload'
- * }))
- * ]
- * }
- * );
- * ```
- *
- * @see `provideRouter`
- *
- * @param options A set of parameters to configure Router, see `RouterConfigOptions` for
- * additional information.
- * @returns A set of providers for use with `provideRouter`.
- *
- * @publicApi
- * @developerPreview
- */
- function withRouterConfig(options) {
- const providers = [{
- provide: ROUTER_CONFIGURATION,
- useValue: options
- }];
- return routerFeature(5
- /* RouterFeatureKind.RouterConfigurationFeature */
- , providers);
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- const NG_DEV_MODE = typeof ngDevMode === 'undefined' || ngDevMode;
- /**
- * The directives defined in the `RouterModule`.
- */
- const ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent];
- /**
- * @docsNotRequired
- */
- 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
- // here to avoid a breaking change whereby the provider order matters based on where the
- // `RouterModule`/`RouterTestingModule` is imported. These can/should be removed as a "breaking"
- // change in a major version.
- const ROUTER_PROVIDERS = [_angular_common__WEBPACK_IMPORTED_MODULE_33__.Location, {
- provide: UrlSerializer,
- useClass: DefaultUrlSerializer
- }, {
- provide: Router,
- useFactory: setupRouter
- }, ChildrenOutletContexts, {
- provide: ActivatedRoute,
- useFactory: rootRoute,
- deps: [Router]
- }, RouterConfigLoader];
- function routerNgProbeToken() {
- return new _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgProbeToken('Router', Router);
- }
- /**
- * @description
- *
- * Adds directives and providers for in-app navigation among views defined in an application.
- * Use the Angular `Router` service to declaratively specify application states and manage state
- * transitions.
- *
- * You can import this NgModule multiple times, once for each lazy-loaded bundle.
- * However, only one `Router` service can be active.
- * To ensure this, there are two ways to register routes when importing this module:
- *
- * * The `forRoot()` method creates an `NgModule` that contains all the directives, the given
- * routes, and the `Router` service itself.
- * * The `forChild()` method creates an `NgModule` that contains all the directives and the given
- * routes, but does not include the `Router` service.
- *
- * @see [Routing and Navigation guide](guide/router) for an
- * overview of how the `Router` service should be used.
- *
- * @publicApi
- */
- class RouterModule {
- constructor(guard) {}
- /**
- * Creates and configures a module with all the router providers and directives.
- * Optionally sets up an application listener to perform an initial navigation.
- *
- * When registering the NgModule at the root, import as follows:
- *
- * ```
- * @NgModule({
- * imports: [RouterModule.forRoot(ROUTES)]
- * })
- * class MyNgModule {}
- * ```
- *
- * @param routes An array of `Route` objects that define the navigation paths for the application.
- * @param config An `ExtraOptions` configuration object that controls how navigation is performed.
- * @return The new `NgModule`.
- *
- */
- static forRoot(routes, config) {
- return {
- ngModule: RouterModule,
- providers: [ROUTER_PROVIDERS, NG_DEV_MODE ? (config === null || config === void 0 ? void 0 : config.enableTracing) ? withDebugTracing().ɵproviders : [] : [], provideRoutes(routes), {
- provide: ROUTER_FORROOT_GUARD,
- useFactory: provideForRootGuard,
- deps: [[Router, new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional(), new _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf()]]
- }, {
- provide: ROUTER_CONFIGURATION,
- useValue: config ? config : {}
- }, (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 : [], {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgProbeToken,
- multi: true,
- useFactory: routerNgProbeToken
- }, (config === null || config === void 0 ? void 0 : config.initialNavigation) ? provideInitialNavigation(config) : [], provideRouterInitializer()]
- };
- }
- /**
- * Creates a module with all the router directives and a provider registering routes,
- * without creating a new Router service.
- * When registering for submodules and lazy-loaded submodules, create the NgModule as follows:
- *
- * ```
- * @NgModule({
- * imports: [RouterModule.forChild(ROUTES)]
- * })
- * class MyNgModule {}
- * ```
- *
- * @param routes An array of `Route` objects that define the navigation paths for the submodule.
- * @return The new NgModule.
- *
- */
- static forChild(routes) {
- return {
- ngModule: RouterModule,
- providers: [provideRoutes(routes)]
- };
- }
- }
- RouterModule.ɵfac = function RouterModule_Factory(t) {
- return new (t || RouterModule)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](ROUTER_FORROOT_GUARD, 8));
- };
- RouterModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
- type: RouterModule,
- imports: [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent],
- exports: [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive, ɵEmptyOutletComponent]
- });
- RouterModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
- imports: [ɵEmptyOutletComponent]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RouterModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
- args: [{
- imports: ROUTER_DIRECTIVES,
- exports: ROUTER_DIRECTIVES
- }]
- }], function () {
- return [{
- type: undefined,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
- args: [ROUTER_FORROOT_GUARD]
- }]
- }];
- }, null);
- })();
- /**
- * For internal use by `RouterModule` only. Note that this differs from `withInMemoryRouterScroller`
- * because it reads from the `ExtraOptions` which should not be used in the standalone world.
- */
- function provideRouterScroller() {
- return {
- provide: ROUTER_SCROLLER,
- useFactory: () => {
- const router = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(Router);
- const viewportScroller = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(_angular_common__WEBPACK_IMPORTED_MODULE_33__.ViewportScroller);
- const config = (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.inject)(ROUTER_CONFIGURATION);
- if (config.scrollOffset) {
- viewportScroller.setOffset(config.scrollOffset);
- }
- return new RouterScroller(router, viewportScroller, config);
- }
- };
- } // Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` should
- // provide hash location directly via `{provide: LocationStrategy, useClass: HashLocationStrategy}`.
- function provideHashLocationStrategy() {
- return {
- provide: _angular_common__WEBPACK_IMPORTED_MODULE_33__.LocationStrategy,
- useClass: _angular_common__WEBPACK_IMPORTED_MODULE_33__.HashLocationStrategy
- };
- } // Note: For internal use only with `RouterModule`. Standalone setup via `provideRouter` does not
- // need this at all because `PathLocationStrategy` is the default factory for `LocationStrategy`.
- function providePathLocationStrategy() {
- return {
- provide: _angular_common__WEBPACK_IMPORTED_MODULE_33__.LocationStrategy,
- useClass: _angular_common__WEBPACK_IMPORTED_MODULE_33__.PathLocationStrategy
- };
- }
- function provideForRootGuard(router) {
- if (NG_DEV_MODE && router) {
- throw new _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵRuntimeError"](4007
- /* RuntimeErrorCode.FOR_ROOT_CALLED_TWICE */
- , `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.`);
- }
- return 'guarded';
- } // Note: For internal use only with `RouterModule`. Standalone router setup with `provideRouter`
- // users call `withXInitialNavigation` directly.
- function provideInitialNavigation(config) {
- return [config.initialNavigation === 'disabled' ? withDisabledInitialNavigation().ɵproviders : [], config.initialNavigation === 'enabledBlocking' ? withEnabledBlockingInitialNavigation().ɵproviders : []];
- } // TODO(atscott): This should not be in the public API
- /**
- * A [DI token](guide/glossary/#di-token) for the router initializer that
- * is called after the app is bootstrapped.
- *
- * @publicApi
- */
- const ROUTER_INITIALIZER = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken(NG_DEV_MODE ? 'Router Initializer' : '');
- function provideRouterInitializer() {
- return [// ROUTER_INITIALIZER token should be removed. It's public API but shouldn't be. We can just
- // have `getBootstrapListener` directly attached to APP_BOOTSTRAP_LISTENER.
- {
- provide: ROUTER_INITIALIZER,
- useFactory: getBootstrapListener
- }, {
- provide: _angular_core__WEBPACK_IMPORTED_MODULE_0__.APP_BOOTSTRAP_LISTENER,
- multi: true,
- useExisting: ROUTER_INITIALIZER
- }];
- }
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @publicApi
- */
- const VERSION = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Version('14.2.7');
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- // This file only reexports content of the `src` folder. Keep it that way.
- /**
- * @license
- * Copyright Google LLC All Rights Reserved.
- *
- * Use of this source code is governed by an MIT-style license that can be
- * found in the LICENSE file at https://angular.io/license
- */
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 9397:
- /*!****************************************************************************************!*\
- !*** ./node_modules/@fortawesome/angular-fontawesome/fesm2015/angular-fontawesome.mjs ***!
- \****************************************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "FaConfig": () => (/* binding */ FaConfig),
- /* harmony export */ "FaDuotoneIconComponent": () => (/* binding */ FaDuotoneIconComponent),
- /* harmony export */ "FaIconComponent": () => (/* binding */ FaIconComponent),
- /* harmony export */ "FaIconLibrary": () => (/* binding */ FaIconLibrary),
- /* harmony export */ "FaLayersComponent": () => (/* binding */ FaLayersComponent),
- /* harmony export */ "FaLayersCounterComponent": () => (/* binding */ FaLayersCounterComponent),
- /* harmony export */ "FaLayersTextComponent": () => (/* binding */ FaLayersTextComponent),
- /* harmony export */ "FaStackComponent": () => (/* binding */ FaStackComponent),
- /* harmony export */ "FaStackItemSizeDirective": () => (/* binding */ FaStackItemSizeDirective),
- /* harmony export */ "FontAwesomeModule": () => (/* binding */ FontAwesomeModule)
- /* harmony export */ });
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 3184);
- /* harmony import */ var _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @fortawesome/fontawesome-svg-core */ 8722);
- /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ 318);
- const _c0 = ["*"];
- const faWarnIfIconDefinitionMissing = iconSpec => {
- throw new Error(`Could not find icon with iconName=${iconSpec.iconName} and prefix=${iconSpec.prefix} in the icon library.`);
- };
- const faWarnIfIconSpecMissing = () => {
- throw new Error('Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.');
- };
- /**
- * Fontawesome class list.
- * Returns classes array by props.
- */
- const faClassList = props => {
- const classes = {
- 'fa-spin': props.spin,
- 'fa-pulse': props.pulse,
- 'fa-fw': props.fixedWidth,
- 'fa-border': props.border,
- 'fa-inverse': props.inverse,
- 'fa-layers-counter': props.counter,
- 'fa-flip-horizontal': props.flip === 'horizontal' || props.flip === 'both',
- 'fa-flip-vertical': props.flip === 'vertical' || props.flip === 'both',
- [`fa-${props.size}`]: props.size !== null,
- [`fa-rotate-${props.rotate}`]: props.rotate !== null,
- [`fa-pull-${props.pull}`]: props.pull !== null,
- [`fa-stack-${props.stackItemSize}`]: props.stackItemSize != null
- };
- return Object.keys(classes).map(key => classes[key] ? key : null).filter(key => key);
- };
- /**
- * Returns if is IconLookup or not.
- */
- const isIconLookup = i => i.prefix !== undefined && i.iconName !== undefined;
- /**
- * Normalizing icon spec.
- */
- const faNormalizeIconSpec = (iconSpec, defaultPrefix) => {
- if (isIconLookup(iconSpec)) {
- return iconSpec;
- }
- if (Array.isArray(iconSpec) && iconSpec.length === 2) {
- return {
- prefix: iconSpec[0],
- iconName: iconSpec[1]
- };
- }
- if (typeof iconSpec === 'string') {
- return {
- prefix: defaultPrefix,
- iconName: iconSpec
- };
- }
- };
- class FaConfig {
- constructor() {
- /**
- * Default prefix to use, when one is not provided with the icon name.
- *
- * @default 'fas'
- */
- this.defaultPrefix = 'fas';
- /**
- * Provides a fallback icon to use whilst main icon is being loaded asynchronously.
- * When value is null, then fa-icon component will throw an error if icon input is missing.
- * When value is not null, then the provided icon will be used as a fallback icon if icon input is missing.
- *
- * @default null
- */
- this.fallbackIcon = null;
- }
- }
- FaConfig.ɵfac = function FaConfig_Factory(t) {
- return new (t || FaConfig)();
- };
- FaConfig.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: FaConfig,
- factory: FaConfig.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaConfig, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- class FaIconLibrary {
- constructor() {
- this.definitions = {};
- }
- addIcons(...icons) {
- for (const icon of icons) {
- if (!(icon.prefix in this.definitions)) {
- this.definitions[icon.prefix] = {};
- }
- this.definitions[icon.prefix][icon.iconName] = icon;
- for (const alias of icon.icon[2]) {
- if (typeof alias === 'string') {
- this.definitions[icon.prefix][alias] = icon;
- }
- }
- }
- }
- addIconPacks(...packs) {
- for (const pack of packs) {
- const icons = Object.keys(pack).map(key => pack[key]);
- this.addIcons(...icons);
- }
- }
- getIconDefinition(prefix, name) {
- if (prefix in this.definitions && name in this.definitions[prefix]) {
- return this.definitions[prefix][name];
- }
- return null;
- }
- }
- FaIconLibrary.ɵfac = function FaIconLibrary_Factory(t) {
- return new (t || FaIconLibrary)();
- };
- FaIconLibrary.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
- token: FaIconLibrary,
- factory: FaIconLibrary.ɵfac,
- providedIn: 'root'
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaIconLibrary, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Injectable,
- args: [{
- providedIn: 'root'
- }]
- }], null, null);
- })();
- class FaStackItemSizeDirective {
- constructor() {
- /**
- * Specify whether icon inside {@link FaStackComponent} should be rendered in
- * regular size (1x) or as a larger icon (2x).
- */
- this.stackItemSize = '1x';
- }
- ngOnChanges(changes) {
- if ('size' in changes) {
- 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>.');
- }
- }
- }
- FaStackItemSizeDirective.ɵfac = function FaStackItemSizeDirective_Factory(t) {
- return new (t || FaStackItemSizeDirective)();
- };
- FaStackItemSizeDirective.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineDirective"]({
- type: FaStackItemSizeDirective,
- selectors: [["fa-icon", "stackItemSize", ""], ["fa-duotone-icon", "stackItemSize", ""]],
- inputs: {
- stackItemSize: "stackItemSize",
- size: "size"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]]
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaStackItemSizeDirective, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Directive,
- args: [{
- // eslint-disable-next-line @angular-eslint/directive-selector
- selector: 'fa-icon[stackItemSize],fa-duotone-icon[stackItemSize]'
- }]
- }], null, {
- stackItemSize: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- size: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }]
- });
- })();
- class FaStackComponent {
- constructor(renderer, elementRef) {
- this.renderer = renderer;
- this.elementRef = elementRef;
- }
- ngOnInit() {
- this.renderer.addClass(this.elementRef.nativeElement, 'fa-stack');
- }
- ngOnChanges(changes) {
- if ('size' in changes) {
- if (changes.size.currentValue != null) {
- this.renderer.addClass(this.elementRef.nativeElement, `fa-${changes.size.currentValue}`);
- }
- if (changes.size.previousValue != null) {
- this.renderer.removeClass(this.elementRef.nativeElement, `fa-${changes.size.previousValue}`);
- }
- }
- }
- }
- FaStackComponent.ɵfac = function FaStackComponent_Factory(t) {
- 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));
- };
- FaStackComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: FaStackComponent,
- selectors: [["fa-stack"]],
- inputs: {
- size: "size"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function FaStackComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaStackComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
- args: [{
- selector: 'fa-stack',
- template: `<ng-content></ng-content>`
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Renderer2
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef
- }];
- }, {
- size: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }]
- });
- })();
- class FaIconComponent {
- constructor(sanitizer, config, iconLibrary, stackItem, stack) {
- this.sanitizer = sanitizer;
- this.config = config;
- this.iconLibrary = iconLibrary;
- this.stackItem = stackItem;
- this.classes = [];
- if (stack != null && stackItem == null) {
- 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>.');
- }
- }
- ngOnChanges(changes) {
- if (this.icon == null && this.config.fallbackIcon == null) {
- return faWarnIfIconSpecMissing();
- }
- let iconToBeRendered = null;
- if (this.icon == null) {
- iconToBeRendered = this.config.fallbackIcon;
- } else {
- iconToBeRendered = this.icon;
- }
- if (changes) {
- const iconDefinition = this.findIconDefinition(iconToBeRendered);
- if (iconDefinition != null) {
- const params = this.buildParams();
- this.renderIcon(iconDefinition, params);
- }
- }
- }
- /**
- * Programmatically trigger rendering of the icon.
- *
- * This method is useful, when creating {@link FaIconComponent} dynamically or
- * changing its inputs programmatically as in these cases icon won't be
- * re-rendered automatically.
- */
- render() {
- this.ngOnChanges({});
- }
- findIconDefinition(i) {
- const lookup = faNormalizeIconSpec(i, this.config.defaultPrefix);
- if ('icon' in lookup) {
- return lookup;
- }
- const definition = this.iconLibrary.getIconDefinition(lookup.prefix, lookup.iconName);
- if (definition != null) {
- return definition;
- }
- faWarnIfIconDefinitionMissing(lookup);
- return null;
- }
- buildParams() {
- const classOpts = {
- flip: this.flip,
- spin: this.spin,
- pulse: this.pulse,
- border: this.border,
- inverse: this.inverse,
- size: this.size || null,
- pull: this.pull || null,
- rotate: this.rotate || null,
- fixedWidth: typeof this.fixedWidth === 'boolean' ? this.fixedWidth : this.config.fixedWidth,
- stackItemSize: this.stackItem != null ? this.stackItem.stackItemSize : null
- };
- const parsedTransform = typeof this.transform === 'string' ? _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.parse.transform(this.transform) : this.transform;
- return {
- title: this.title,
- transform: parsedTransform,
- classes: [...faClassList(classOpts), ...this.classes],
- mask: this.mask != null ? this.findIconDefinition(this.mask) : null,
- styles: this.styles != null ? this.styles : {},
- symbol: this.symbol,
- attributes: {
- role: this.a11yRole
- }
- };
- }
- renderIcon(definition, params) {
- const renderedIcon = (0,_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.icon)(definition, params);
- this.renderedIconHTML = this.sanitizer.bypassSecurityTrustHtml(renderedIcon.html.join('\n'));
- }
- }
- FaIconComponent.ɵfac = function FaIconComponent_Factory(t) {
- 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));
- };
- FaIconComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: FaIconComponent,
- selectors: [["fa-icon"]],
- hostAttrs: [1, "ng-fa-icon"],
- hostVars: 2,
- hostBindings: function FaIconComponent_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵhostProperty"]("innerHTML", ctx.renderedIconHTML, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeHtml"]);
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵattribute"]("title", ctx.title);
- }
- },
- inputs: {
- icon: "icon",
- title: "title",
- spin: "spin",
- pulse: "pulse",
- mask: "mask",
- styles: "styles",
- flip: "flip",
- size: "size",
- pull: "pull",
- border: "border",
- inverse: "inverse",
- symbol: "symbol",
- rotate: "rotate",
- fixedWidth: "fixedWidth",
- classes: "classes",
- transform: "transform",
- a11yRole: "a11yRole"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
- decls: 0,
- vars: 0,
- template: function FaIconComponent_Template(rf, ctx) {},
- encapsulation: 2
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaIconComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
- args: [{
- selector: 'fa-icon',
- template: ``,
- host: {
- class: 'ng-fa-icon',
- '[attr.title]': 'title'
- }
- }]
- }], function () {
- return [{
- type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer
- }, {
- type: FaConfig
- }, {
- type: FaIconLibrary
- }, {
- type: FaStackItemSizeDirective,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
- }]
- }, {
- type: FaStackComponent,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
- }]
- }];
- }, {
- icon: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- title: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- spin: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- pulse: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- mask: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- styles: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- flip: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- size: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- pull: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- border: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- inverse: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- symbol: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- rotate: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- fixedWidth: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- classes: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- transform: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- a11yRole: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- renderedIconHTML: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.HostBinding,
- args: ['innerHTML']
- }]
- });
- })();
- class FaDuotoneIconComponent extends FaIconComponent {
- findIconDefinition(i) {
- const definition = super.findIconDefinition(i);
- if (definition != null && !Array.isArray(definition.icon[4])) {
- 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.`);
- }
- return definition;
- }
- buildParams() {
- const params = super.buildParams();
- if (this.swapOpacity === true || this.swapOpacity === 'true') {
- params.classes.push('fa-swap-opacity');
- }
- if (this.primaryOpacity != null) {
- params.styles['--fa-primary-opacity'] = this.primaryOpacity.toString();
- }
- if (this.secondaryOpacity != null) {
- params.styles['--fa-secondary-opacity'] = this.secondaryOpacity.toString();
- }
- if (this.primaryColor != null) {
- params.styles['--fa-primary-color'] = this.primaryColor;
- }
- if (this.secondaryColor != null) {
- params.styles['--fa-secondary-color'] = this.secondaryColor;
- }
- return params;
- }
- }
- FaDuotoneIconComponent.ɵfac = /* @__PURE__ */function () {
- let ɵFaDuotoneIconComponent_BaseFactory;
- return function FaDuotoneIconComponent_Factory(t) {
- return (ɵFaDuotoneIconComponent_BaseFactory || (ɵFaDuotoneIconComponent_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetInheritedFactory"](FaDuotoneIconComponent)))(t || FaDuotoneIconComponent);
- };
- }();
- FaDuotoneIconComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: FaDuotoneIconComponent,
- selectors: [["fa-duotone-icon"]],
- inputs: {
- swapOpacity: "swapOpacity",
- primaryOpacity: "primaryOpacity",
- secondaryOpacity: "secondaryOpacity",
- primaryColor: "primaryColor",
- secondaryColor: "secondaryColor"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵInheritDefinitionFeature"]],
- decls: 0,
- vars: 0,
- template: function FaDuotoneIconComponent_Template(rf, ctx) {},
- encapsulation: 2
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaDuotoneIconComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
- args: [{
- selector: 'fa-duotone-icon',
- template: ``
- }]
- }], null, {
- swapOpacity: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- primaryOpacity: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- secondaryOpacity: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- primaryColor: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- secondaryColor: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }]
- });
- })();
- /**
- * Warns if parent component not existing.
- */
- const faWarnIfParentNotExist = (parent, parentName, childName) => {
- if (!parent) {
- throw new Error(`${childName} should be used as child of ${parentName} only.`);
- }
- };
- /**
- * Fontawesome layers.
- */
- class FaLayersComponent {
- constructor(renderer, elementRef, config) {
- this.renderer = renderer;
- this.elementRef = elementRef;
- this.config = config;
- }
- ngOnInit() {
- this.renderer.addClass(this.elementRef.nativeElement, 'fa-layers');
- this.fixedWidth = typeof this.fixedWidth === 'boolean' ? this.fixedWidth : this.config.fixedWidth;
- }
- ngOnChanges(changes) {
- if ('size' in changes) {
- if (changes.size.currentValue != null) {
- this.renderer.addClass(this.elementRef.nativeElement, `fa-${changes.size.currentValue}`);
- }
- if (changes.size.previousValue != null) {
- this.renderer.removeClass(this.elementRef.nativeElement, `fa-${changes.size.previousValue}`);
- }
- }
- }
- }
- FaLayersComponent.ɵfac = function FaLayersComponent_Factory(t) {
- 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));
- };
- FaLayersComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: FaLayersComponent,
- selectors: [["fa-layers"]],
- hostVars: 2,
- hostBindings: function FaLayersComponent_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵclassProp"]("fa-fw", ctx.fixedWidth);
- }
- },
- inputs: {
- size: "size",
- fixedWidth: "fixedWidth"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
- ngContentSelectors: _c0,
- decls: 1,
- vars: 0,
- template: function FaLayersComponent_Template(rf, ctx) {
- if (rf & 1) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojectionDef"]();
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵprojection"](0);
- }
- },
- encapsulation: 2
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaLayersComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
- args: [{
- selector: 'fa-layers',
- template: `<ng-content></ng-content>`
- }]
- }], function () {
- return [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Renderer2
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef
- }, {
- type: FaConfig
- }];
- }, {
- size: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- fixedWidth: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }, {
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.HostBinding,
- args: ['class.fa-fw']
- }]
- });
- })();
- class FaLayersCounterComponent {
- constructor(parent, sanitizer) {
- this.parent = parent;
- this.sanitizer = sanitizer;
- this.classes = [];
- faWarnIfParentNotExist(this.parent, 'FaLayersComponent', this.constructor.name);
- }
- ngOnChanges(changes) {
- if (changes) {
- const params = this.buildParams();
- this.updateContent(params);
- }
- }
- buildParams() {
- const classes = [];
- if (this.classes != null) {
- classes.push(...this.classes);
- }
- if (this.position != null) {
- classes.push(`fa-layers-${this.position}`);
- }
- return {
- title: this.title,
- classes,
- styles: this.styles
- };
- }
- updateContent(params) {
- this.renderedHTML = this.sanitizer.bypassSecurityTrustHtml((0,_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.counter)(this.content || '', params).html.join(''));
- }
- }
- FaLayersCounterComponent.ɵfac = function FaLayersCounterComponent_Factory(t) {
- 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));
- };
- FaLayersCounterComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: FaLayersCounterComponent,
- selectors: [["fa-layers-counter"]],
- hostAttrs: [1, "ng-fa-layers-counter"],
- hostVars: 1,
- hostBindings: function FaLayersCounterComponent_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵhostProperty"]("innerHTML", ctx.renderedHTML, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeHtml"]);
- }
- },
- inputs: {
- content: "content",
- title: "title",
- styles: "styles",
- classes: "classes",
- position: "position"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
- decls: 0,
- vars: 0,
- template: function FaLayersCounterComponent_Template(rf, ctx) {},
- encapsulation: 2
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaLayersCounterComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
- args: [{
- selector: 'fa-layers-counter',
- template: '',
- host: {
- class: 'ng-fa-layers-counter'
- }
- }]
- }], function () {
- return [{
- type: FaLayersComponent,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
- }]
- }, {
- type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer
- }];
- }, {
- content: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- title: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- styles: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- classes: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- position: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- renderedHTML: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.HostBinding,
- args: ['innerHTML']
- }]
- });
- })();
- class FaLayersTextComponent {
- constructor(parent, sanitizer) {
- this.parent = parent;
- this.sanitizer = sanitizer;
- this.classes = [];
- faWarnIfParentNotExist(this.parent, 'FaLayersComponent', this.constructor.name);
- }
- ngOnChanges(changes) {
- if (changes) {
- const params = this.buildParams();
- this.updateContent(params);
- }
- }
- /**
- * Updating params by component props.
- */
- buildParams() {
- const classOpts = {
- flip: this.flip,
- spin: this.spin,
- pulse: this.pulse,
- border: this.border,
- inverse: this.inverse,
- size: this.size || null,
- pull: this.pull || null,
- rotate: this.rotate || null,
- fixedWidth: this.fixedWidth
- };
- const parsedTransform = typeof this.transform === 'string' ? _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.parse.transform(this.transform) : this.transform;
- return {
- transform: parsedTransform,
- classes: [...faClassList(classOpts), ...this.classes],
- title: this.title,
- styles: this.styles
- };
- }
- updateContent(params) {
- this.renderedHTML = this.sanitizer.bypassSecurityTrustHtml((0,_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_0__.text)(this.content || '', params).html.join('\n'));
- }
- }
- FaLayersTextComponent.ɵfac = function FaLayersTextComponent_Factory(t) {
- 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));
- };
- FaLayersTextComponent.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
- type: FaLayersTextComponent,
- selectors: [["fa-layers-text"]],
- hostAttrs: [1, "ng-fa-layers-text"],
- hostVars: 1,
- hostBindings: function FaLayersTextComponent_HostBindings(rf, ctx) {
- if (rf & 2) {
- _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵhostProperty"]("innerHTML", ctx.renderedHTML, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsanitizeHtml"]);
- }
- },
- inputs: {
- content: "content",
- title: "title",
- styles: "styles",
- classes: "classes",
- spin: "spin",
- pulse: "pulse",
- flip: "flip",
- size: "size",
- pull: "pull",
- border: "border",
- inverse: "inverse",
- rotate: "rotate",
- fixedWidth: "fixedWidth",
- transform: "transform"
- },
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵNgOnChangesFeature"]],
- decls: 0,
- vars: 0,
- template: function FaLayersTextComponent_Template(rf, ctx) {},
- encapsulation: 2
- });
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FaLayersTextComponent, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Component,
- args: [{
- selector: 'fa-layers-text',
- template: '',
- host: {
- class: 'ng-fa-layers-text'
- }
- }]
- }], function () {
- return [{
- type: FaLayersComponent,
- decorators: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Optional
- }]
- }, {
- type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__.DomSanitizer
- }];
- }, {
- content: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- title: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- styles: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- classes: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- spin: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- pulse: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- flip: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- size: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- pull: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- border: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- inverse: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- rotate: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- fixedWidth: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- transform: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.Input
- }],
- renderedHTML: [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.HostBinding,
- args: ['innerHTML']
- }]
- });
- })();
- class FontAwesomeModule {}
- FontAwesomeModule.ɵfac = function FontAwesomeModule_Factory(t) {
- return new (t || FontAwesomeModule)();
- };
- FontAwesomeModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
- type: FontAwesomeModule,
- declarations: [FaIconComponent, FaDuotoneIconComponent, FaLayersComponent, FaLayersTextComponent, FaLayersCounterComponent, FaStackComponent, FaStackItemSizeDirective],
- exports: [FaIconComponent, FaDuotoneIconComponent, FaLayersComponent, FaLayersTextComponent, FaLayersCounterComponent, FaStackComponent, FaStackItemSizeDirective]
- });
- FontAwesomeModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({});
- (function () {
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](FontAwesomeModule, [{
- type: _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgModule,
- args: [{
- declarations: [FaIconComponent, FaDuotoneIconComponent, FaLayersComponent, FaLayersTextComponent, FaLayersCounterComponent, FaStackComponent, FaStackItemSizeDirective],
- exports: [FaIconComponent, FaDuotoneIconComponent, FaLayersComponent, FaLayersTextComponent, FaLayersCounterComponent, FaStackComponent, FaStackItemSizeDirective]
- }]
- }], null, null);
- })();
- /**
- * Generated bundle index. Do not edit.
- */
- /***/ }),
- /***/ 8722:
- /*!******************************************************************!*\
- !*** ./node_modules/@fortawesome/fontawesome-svg-core/index.mjs ***!
- \******************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "api": () => (/* binding */ api),
- /* harmony export */ "config": () => (/* binding */ config$1),
- /* harmony export */ "counter": () => (/* binding */ counter),
- /* harmony export */ "dom": () => (/* binding */ dom$1),
- /* harmony export */ "findIconDefinition": () => (/* binding */ findIconDefinition$1),
- /* harmony export */ "icon": () => (/* binding */ icon),
- /* harmony export */ "layer": () => (/* binding */ layer),
- /* harmony export */ "library": () => (/* binding */ library$1),
- /* harmony export */ "noAuto": () => (/* binding */ noAuto$1),
- /* harmony export */ "parse": () => (/* binding */ parse$1),
- /* harmony export */ "text": () => (/* binding */ text),
- /* harmony export */ "toHtml": () => (/* binding */ toHtml$1)
- /* harmony export */ });
- function ownKeys(object, enumerableOnly) {
- var keys = Object.keys(object);
- if (Object.getOwnPropertySymbols) {
- var symbols = Object.getOwnPropertySymbols(object);
- enumerableOnly && (symbols = symbols.filter(function (sym) {
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
- })), keys.push.apply(keys, symbols);
- }
- return keys;
- }
- function _objectSpread2(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = null != arguments[i] ? arguments[i] : {};
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
- _defineProperty(target, key, source[key]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
- });
- }
- return target;
- }
- function _typeof(obj) {
- "@babel/helpers - typeof";
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
- return typeof obj;
- } : function (obj) {
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
- }, _typeof(obj);
- }
- function _wrapRegExp() {
- _wrapRegExp = function (re, groups) {
- return new BabelRegExp(re, void 0, groups);
- };
- var _super = RegExp.prototype,
- _groups = new WeakMap();
- function BabelRegExp(re, flags, groups) {
- var _this = new RegExp(re, flags);
- return _groups.set(_this, groups || _groups.get(re)), _setPrototypeOf(_this, BabelRegExp.prototype);
- }
- function buildGroups(result, re) {
- var g = _groups.get(re);
- return Object.keys(g).reduce(function (groups, name) {
- return groups[name] = result[g[name]], groups;
- }, Object.create(null));
- }
- return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) {
- var result = _super.exec.call(this, str);
- return result && (result.groups = buildGroups(result, this)), result;
- }, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
- if ("string" == typeof substitution) {
- var groups = _groups.get(this);
- return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
- return "$" + groups[name];
- }));
- }
- if ("function" == typeof substitution) {
- var _this = this;
- return _super[Symbol.replace].call(this, str, function () {
- var args = arguments;
- return "object" != typeof args[args.length - 1] && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args);
- });
- }
- return _super[Symbol.replace].call(this, str, substitution);
- }, _wrapRegExp.apply(this, arguments);
- }
- function _classCallCheck(instance, Constructor) {
- if (!(instance instanceof Constructor)) {
- throw new TypeError("Cannot call a class as a function");
- }
- }
- function _defineProperties(target, props) {
- for (var i = 0; i < props.length; i++) {
- var descriptor = props[i];
- descriptor.enumerable = descriptor.enumerable || false;
- descriptor.configurable = true;
- if ("value" in descriptor) descriptor.writable = true;
- Object.defineProperty(target, descriptor.key, descriptor);
- }
- }
- function _createClass(Constructor, protoProps, staticProps) {
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
- if (staticProps) _defineProperties(Constructor, staticProps);
- Object.defineProperty(Constructor, "prototype", {
- writable: false
- });
- return Constructor;
- }
- function _defineProperty(obj, key, value) {
- if (key in obj) {
- Object.defineProperty(obj, key, {
- value: value,
- enumerable: true,
- configurable: true,
- writable: true
- });
- } else {
- obj[key] = value;
- }
- return obj;
- }
- function _inherits(subClass, superClass) {
- if (typeof superClass !== "function" && superClass !== null) {
- throw new TypeError("Super expression must either be null or a function");
- }
- subClass.prototype = Object.create(superClass && superClass.prototype, {
- constructor: {
- value: subClass,
- writable: true,
- configurable: true
- }
- });
- Object.defineProperty(subClass, "prototype", {
- writable: false
- });
- if (superClass) _setPrototypeOf(subClass, superClass);
- }
- function _setPrototypeOf(o, p) {
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
- o.__proto__ = p;
- return o;
- };
- return _setPrototypeOf(o, p);
- }
- function _slicedToArray(arr, i) {
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
- }
- function _toConsumableArray(arr) {
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
- }
- function _arrayWithoutHoles(arr) {
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
- }
- function _arrayWithHoles(arr) {
- if (Array.isArray(arr)) return arr;
- }
- function _iterableToArray(iter) {
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
- }
- function _iterableToArrayLimit(arr, i) {
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
- if (_i == null) return;
- var _arr = [];
- var _n = true;
- var _d = false;
- var _s, _e;
- try {
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
- _arr.push(_s.value);
- if (i && _arr.length === i) break;
- }
- } catch (err) {
- _d = true;
- _e = err;
- } finally {
- try {
- if (!_n && _i["return"] != null) _i["return"]();
- } finally {
- if (_d) throw _e;
- }
- }
- return _arr;
- }
- function _unsupportedIterableToArray(o, minLen) {
- if (!o) return;
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
- var n = Object.prototype.toString.call(o).slice(8, -1);
- if (n === "Object" && o.constructor) n = o.constructor.name;
- if (n === "Map" || n === "Set") return Array.from(o);
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
- }
- function _arrayLikeToArray(arr, len) {
- if (len == null || len > arr.length) len = arr.length;
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
- return arr2;
- }
- function _nonIterableSpread() {
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
- }
- function _nonIterableRest() {
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
- }
- var noop = function noop() {};
- var _WINDOW = {};
- var _DOCUMENT = {};
- var _MUTATION_OBSERVER = null;
- var _PERFORMANCE = {
- mark: noop,
- measure: noop
- };
- try {
- if (typeof window !== 'undefined') _WINDOW = window;
- if (typeof document !== 'undefined') _DOCUMENT = document;
- if (typeof MutationObserver !== 'undefined') _MUTATION_OBSERVER = MutationObserver;
- if (typeof performance !== 'undefined') _PERFORMANCE = performance;
- } catch (e) {}
- var _ref = _WINDOW.navigator || {},
- _ref$userAgent = _ref.userAgent,
- userAgent = _ref$userAgent === void 0 ? '' : _ref$userAgent;
- var WINDOW = _WINDOW;
- var DOCUMENT = _DOCUMENT;
- var MUTATION_OBSERVER = _MUTATION_OBSERVER;
- var PERFORMANCE = _PERFORMANCE;
- var IS_BROWSER = !!WINDOW.document;
- var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function';
- var IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/');
- var _familyProxy, _familyProxy2, _familyProxy3, _familyProxy4, _familyProxy5;
- var NAMESPACE_IDENTIFIER = '___FONT_AWESOME___';
- var UNITS_IN_GRID = 16;
- var DEFAULT_CSS_PREFIX = 'fa';
- var DEFAULT_REPLACEMENT_CLASS = 'svg-inline--fa';
- var DATA_FA_I2SVG = 'data-fa-i2svg';
- var DATA_FA_PSEUDO_ELEMENT = 'data-fa-pseudo-element';
- var DATA_FA_PSEUDO_ELEMENT_PENDING = 'data-fa-pseudo-element-pending';
- var DATA_PREFIX = 'data-prefix';
- var DATA_ICON = 'data-icon';
- var HTML_CLASS_I2SVG_BASE_CLASS = 'fontawesome-i2svg';
- var MUTATION_APPROACH_ASYNC = 'async';
- var TAGNAMES_TO_SKIP_FOR_PSEUDOELEMENTS = ['HTML', 'HEAD', 'STYLE', 'SCRIPT'];
- var PRODUCTION = function () {
- try {
- return "development" === 'production';
- } catch (e) {
- return false;
- }
- }();
- var FAMILY_CLASSIC = 'classic';
- var FAMILY_SHARP = 'sharp';
- var FAMILIES = [FAMILY_CLASSIC, FAMILY_SHARP];
- function familyProxy(obj) {
- // Defaults to the classic family if family is not available
- return new Proxy(obj, {
- get: function get(target, prop) {
- return prop in target ? target[prop] : target[FAMILY_CLASSIC];
- }
- });
- }
- var PREFIX_TO_STYLE = familyProxy((_familyProxy = {}, _defineProperty(_familyProxy, FAMILY_CLASSIC, {
- 'fa': 'solid',
- 'fas': 'solid',
- 'fa-solid': 'solid',
- 'far': 'regular',
- 'fa-regular': 'regular',
- 'fal': 'light',
- 'fa-light': 'light',
- 'fat': 'thin',
- 'fa-thin': 'thin',
- 'fad': 'duotone',
- 'fa-duotone': 'duotone',
- 'fab': 'brands',
- 'fa-brands': 'brands',
- 'fak': 'kit',
- 'fa-kit': 'kit'
- }), _defineProperty(_familyProxy, FAMILY_SHARP, {
- 'fa': 'solid',
- 'fass': 'solid',
- 'fa-solid': 'solid'
- }), _familyProxy));
- var STYLE_TO_PREFIX = familyProxy((_familyProxy2 = {}, _defineProperty(_familyProxy2, FAMILY_CLASSIC, {
- 'solid': 'fas',
- 'regular': 'far',
- 'light': 'fal',
- 'thin': 'fat',
- 'duotone': 'fad',
- 'brands': 'fab',
- 'kit': 'fak'
- }), _defineProperty(_familyProxy2, FAMILY_SHARP, {
- 'solid': 'fass'
- }), _familyProxy2));
- var PREFIX_TO_LONG_STYLE = familyProxy((_familyProxy3 = {}, _defineProperty(_familyProxy3, FAMILY_CLASSIC, {
- 'fab': 'fa-brands',
- 'fad': 'fa-duotone',
- 'fak': 'fa-kit',
- 'fal': 'fa-light',
- 'far': 'fa-regular',
- 'fas': 'fa-solid',
- 'fat': 'fa-thin'
- }), _defineProperty(_familyProxy3, FAMILY_SHARP, {
- 'fass': 'fa-solid'
- }), _familyProxy3));
- var LONG_STYLE_TO_PREFIX = familyProxy((_familyProxy4 = {}, _defineProperty(_familyProxy4, FAMILY_CLASSIC, {
- 'fa-brands': 'fab',
- 'fa-duotone': 'fad',
- 'fa-kit': 'fak',
- 'fa-light': 'fal',
- 'fa-regular': 'far',
- 'fa-solid': 'fas',
- 'fa-thin': 'fat'
- }), _defineProperty(_familyProxy4, FAMILY_SHARP, {
- 'fa-solid': 'fass'
- }), _familyProxy4));
- var ICON_SELECTION_SYNTAX_PATTERN = /fa(s|r|l|t|d|b|k|ss)?[\-\ ]/; // eslint-disable-line no-useless-escape
- var LAYERS_TEXT_CLASSNAME = 'fa-layers-text';
- var FONT_FAMILY_PATTERN = /Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i; // TODO: this needs to support fass
- // TODO: do we need to handle font-weight for kit SVG pseudo-elements?
- var FONT_WEIGHT_TO_PREFIX = familyProxy((_familyProxy5 = {}, _defineProperty(_familyProxy5, FAMILY_CLASSIC, {
- '900': 'fas',
- '400': 'far',
- 'normal': 'far',
- '300': 'fal',
- '100': 'fat'
- }), _defineProperty(_familyProxy5, FAMILY_SHARP, {
- '900': 'fass'
- }), _familyProxy5));
- var oneToTen = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
- var oneToTwenty = oneToTen.concat([11, 12, 13, 14, 15, 16, 17, 18, 19, 20]);
- var ATTRIBUTES_WATCHED_FOR_MUTATION = ['class', 'data-prefix', 'data-icon', 'data-fa-transform', 'data-fa-mask'];
- var DUOTONE_CLASSES = {
- GROUP: 'duotone-group',
- SWAP_OPACITY: 'swap-opacity',
- PRIMARY: 'primary',
- SECONDARY: 'secondary'
- };
- var prefixes = new Set();
- Object.keys(STYLE_TO_PREFIX[FAMILY_CLASSIC]).map(prefixes.add.bind(prefixes));
- Object.keys(STYLE_TO_PREFIX[FAMILY_SHARP]).map(prefixes.add.bind(prefixes));
- 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) {
- return "".concat(n, "x");
- })).concat(oneToTwenty.map(function (n) {
- return "w-".concat(n);
- }));
- var initial = WINDOW.FontAwesomeConfig || {};
- function getAttrConfig(attr) {
- var element = DOCUMENT.querySelector('script[' + attr + ']');
- if (element) {
- return element.getAttribute(attr);
- }
- }
- function coerce(val) {
- // Getting an empty string will occur if the attribute is set on the HTML tag but without a value
- // We'll assume that this is an indication that it should be toggled to true
- if (val === '') return true;
- if (val === 'false') return false;
- if (val === 'true') return true;
- return val;
- }
- if (DOCUMENT && typeof DOCUMENT.querySelector === 'function') {
- 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']];
- attrs.forEach(function (_ref) {
- var _ref2 = _slicedToArray(_ref, 2),
- attr = _ref2[0],
- key = _ref2[1];
- var val = coerce(getAttrConfig(attr));
- if (val !== undefined && val !== null) {
- initial[key] = val;
- }
- });
- }
- var _default = {
- styleDefault: 'solid',
- familyDefault: 'classic',
- cssPrefix: DEFAULT_CSS_PREFIX,
- replacementClass: DEFAULT_REPLACEMENT_CLASS,
- autoReplaceSvg: true,
- autoAddCss: true,
- autoA11y: true,
- searchPseudoElements: false,
- observeMutations: true,
- mutateApproach: 'async',
- keepOriginalSource: true,
- measurePerformance: false,
- showMissingIcons: true
- }; // familyPrefix is deprecated but we must still support it if present
- if (initial.familyPrefix) {
- initial.cssPrefix = initial.familyPrefix;
- }
- var _config = _objectSpread2(_objectSpread2({}, _default), initial);
- if (!_config.autoReplaceSvg) _config.observeMutations = false;
- var config = {};
- Object.keys(_default).forEach(function (key) {
- Object.defineProperty(config, key, {
- enumerable: true,
- set: function set(val) {
- _config[key] = val;
- _onChangeCb.forEach(function (cb) {
- return cb(config);
- });
- },
- get: function get() {
- return _config[key];
- }
- });
- }); // familyPrefix is deprecated as of 6.2.0 and should be removed in 7.0.0
- Object.defineProperty(config, 'familyPrefix', {
- enumerable: true,
- set: function set(val) {
- _config.cssPrefix = val;
- _onChangeCb.forEach(function (cb) {
- return cb(config);
- });
- },
- get: function get() {
- return _config.cssPrefix;
- }
- });
- WINDOW.FontAwesomeConfig = config;
- var _onChangeCb = [];
- function onChange(cb) {
- _onChangeCb.push(cb);
- return function () {
- _onChangeCb.splice(_onChangeCb.indexOf(cb), 1);
- };
- }
- var d = UNITS_IN_GRID;
- var meaninglessTransform = {
- size: 16,
- x: 0,
- y: 0,
- rotate: 0,
- flipX: false,
- flipY: false
- };
- function insertCss(css) {
- if (!css || !IS_DOM) {
- return;
- }
- var style = DOCUMENT.createElement('style');
- style.setAttribute('type', 'text/css');
- style.innerHTML = css;
- var headChildren = DOCUMENT.head.childNodes;
- var beforeChild = null;
- for (var i = headChildren.length - 1; i > -1; i--) {
- var child = headChildren[i];
- var tagName = (child.tagName || '').toUpperCase();
- if (['STYLE', 'LINK'].indexOf(tagName) > -1) {
- beforeChild = child;
- }
- }
- DOCUMENT.head.insertBefore(style, beforeChild);
- return css;
- }
- var idPool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
- function nextUniqueId() {
- var size = 12;
- var id = '';
- while (size-- > 0) {
- id += idPool[Math.random() * 62 | 0];
- }
- return id;
- }
- function toArray(obj) {
- var array = [];
- for (var i = (obj || []).length >>> 0; i--;) {
- array[i] = obj[i];
- }
- return array;
- }
- function classArray(node) {
- if (node.classList) {
- return toArray(node.classList);
- } else {
- return (node.getAttribute('class') || '').split(' ').filter(function (i) {
- return i;
- });
- }
- }
- function htmlEscape(str) {
- return "".concat(str).replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, ''').replace(/</g, '<').replace(/>/g, '>');
- }
- function joinAttributes(attributes) {
- return Object.keys(attributes || {}).reduce(function (acc, attributeName) {
- return acc + "".concat(attributeName, "=\"").concat(htmlEscape(attributes[attributeName]), "\" ");
- }, '').trim();
- }
- function joinStyles(styles) {
- return Object.keys(styles || {}).reduce(function (acc, styleName) {
- return acc + "".concat(styleName, ": ").concat(styles[styleName].trim(), ";");
- }, '');
- }
- function transformIsMeaningful(transform) {
- return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
- }
- function transformForSvg(_ref) {
- var transform = _ref.transform,
- containerWidth = _ref.containerWidth,
- iconWidth = _ref.iconWidth;
- var outer = {
- transform: "translate(".concat(containerWidth / 2, " 256)")
- };
- var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
- var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
- var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
- var inner = {
- transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
- };
- var path = {
- transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
- };
- return {
- outer: outer,
- inner: inner,
- path: path
- };
- }
- function transformForCss(_ref2) {
- var transform = _ref2.transform,
- _ref2$width = _ref2.width,
- width = _ref2$width === void 0 ? UNITS_IN_GRID : _ref2$width,
- _ref2$height = _ref2.height,
- height = _ref2$height === void 0 ? UNITS_IN_GRID : _ref2$height,
- _ref2$startCentered = _ref2.startCentered,
- startCentered = _ref2$startCentered === void 0 ? false : _ref2$startCentered;
- var val = '';
- if (startCentered && IS_IE) {
- val += "translate(".concat(transform.x / d - width / 2, "em, ").concat(transform.y / d - height / 2, "em) ");
- } else if (startCentered) {
- val += "translate(calc(-50% + ".concat(transform.x / d, "em), calc(-50% + ").concat(transform.y / d, "em)) ");
- } else {
- val += "translate(".concat(transform.x / d, "em, ").concat(transform.y / d, "em) ");
- }
- val += "scale(".concat(transform.size / d * (transform.flipX ? -1 : 1), ", ").concat(transform.size / d * (transform.flipY ? -1 : 1), ") ");
- val += "rotate(".concat(transform.rotate, "deg) ");
- return val;
- }
- 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}";
- function css() {
- var dcp = DEFAULT_CSS_PREFIX;
- var drc = DEFAULT_REPLACEMENT_CLASS;
- var fp = config.cssPrefix;
- var rc = config.replacementClass;
- var s = baseStyles;
- if (fp !== dcp || rc !== drc) {
- var dPatt = new RegExp("\\.".concat(dcp, "\\-"), 'g');
- var customPropPatt = new RegExp("\\--".concat(dcp, "\\-"), 'g');
- var rPatt = new RegExp("\\.".concat(drc), 'g');
- s = s.replace(dPatt, ".".concat(fp, "-")).replace(customPropPatt, "--".concat(fp, "-")).replace(rPatt, ".".concat(rc));
- }
- return s;
- }
- var _cssInserted = false;
- function ensureCss() {
- if (config.autoAddCss && !_cssInserted) {
- insertCss(css());
- _cssInserted = true;
- }
- }
- var InjectCSS = {
- mixout: function mixout() {
- return {
- dom: {
- css: css,
- insertCss: ensureCss
- }
- };
- },
- hooks: function hooks() {
- return {
- beforeDOMElementCreation: function beforeDOMElementCreation() {
- ensureCss();
- },
- beforeI2svg: function beforeI2svg() {
- ensureCss();
- }
- };
- }
- };
- var w = WINDOW || {};
- if (!w[NAMESPACE_IDENTIFIER]) w[NAMESPACE_IDENTIFIER] = {};
- if (!w[NAMESPACE_IDENTIFIER].styles) w[NAMESPACE_IDENTIFIER].styles = {};
- if (!w[NAMESPACE_IDENTIFIER].hooks) w[NAMESPACE_IDENTIFIER].hooks = {};
- if (!w[NAMESPACE_IDENTIFIER].shims) w[NAMESPACE_IDENTIFIER].shims = [];
- var namespace = w[NAMESPACE_IDENTIFIER];
- var functions = [];
- var listener = function listener() {
- DOCUMENT.removeEventListener('DOMContentLoaded', listener);
- loaded = 1;
- functions.map(function (fn) {
- return fn();
- });
- };
- var loaded = false;
- if (IS_DOM) {
- loaded = (DOCUMENT.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(DOCUMENT.readyState);
- if (!loaded) DOCUMENT.addEventListener('DOMContentLoaded', listener);
- }
- function domready(fn) {
- if (!IS_DOM) return;
- loaded ? setTimeout(fn, 0) : functions.push(fn);
- }
- function toHtml(abstractNodes) {
- var tag = abstractNodes.tag,
- _abstractNodes$attrib = abstractNodes.attributes,
- attributes = _abstractNodes$attrib === void 0 ? {} : _abstractNodes$attrib,
- _abstractNodes$childr = abstractNodes.children,
- children = _abstractNodes$childr === void 0 ? [] : _abstractNodes$childr;
- if (typeof abstractNodes === 'string') {
- return htmlEscape(abstractNodes);
- } else {
- return "<".concat(tag, " ").concat(joinAttributes(attributes), ">").concat(children.map(toHtml).join(''), "</").concat(tag, ">");
- }
- }
- function iconFromMapping(mapping, prefix, iconName) {
- if (mapping && mapping[prefix] && mapping[prefix][iconName]) {
- return {
- prefix: prefix,
- iconName: iconName,
- icon: mapping[prefix][iconName]
- };
- }
- }
- /**
- * Internal helper to bind a function known to have 4 arguments
- * to a given context.
- */
- var bindInternal4 = function bindInternal4(func, thisContext) {
- return function (a, b, c, d) {
- return func.call(thisContext, a, b, c, d);
- };
- };
- /**
- * # Reduce
- *
- * A fast object `.reduce()` implementation.
- *
- * @param {Object} subject The object to reduce over.
- * @param {Function} fn The reducer function.
- * @param {mixed} initialValue The initial value for the reducer, defaults to subject[0].
- * @param {Object} thisContext The context for the reducer.
- * @return {mixed} The final result.
- */
- var reduce = function fastReduceObject(subject, fn, initialValue, thisContext) {
- var keys = Object.keys(subject),
- length = keys.length,
- iterator = thisContext !== undefined ? bindInternal4(fn, thisContext) : fn,
- i,
- key,
- result;
- if (initialValue === undefined) {
- i = 1;
- result = subject[keys[0]];
- } else {
- i = 0;
- result = initialValue;
- }
- for (; i < length; i++) {
- key = keys[i];
- result = iterator(result, subject[key], key, subject);
- }
- return result;
- };
- /**
- * ucs2decode() and codePointAt() are both works of Mathias Bynens and licensed under MIT
- *
- * Copyright Mathias Bynens <https://mathiasbynens.be/>
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- */
- function ucs2decode(string) {
- var output = [];
- var counter = 0;
- var length = string.length;
- while (counter < length) {
- var value = string.charCodeAt(counter++);
- if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
- var extra = string.charCodeAt(counter++);
- if ((extra & 0xFC00) == 0xDC00) {
- // eslint-disable-line eqeqeq
- output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
- } else {
- output.push(value);
- counter--;
- }
- } else {
- output.push(value);
- }
- }
- return output;
- }
- function toHex(unicode) {
- var decoded = ucs2decode(unicode);
- return decoded.length === 1 ? decoded[0].toString(16) : null;
- }
- function codePointAt(string, index) {
- var size = string.length;
- var first = string.charCodeAt(index);
- var second;
- if (first >= 0xD800 && first <= 0xDBFF && size > index + 1) {
- second = string.charCodeAt(index + 1);
- if (second >= 0xDC00 && second <= 0xDFFF) {
- return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
- }
- }
- return first;
- }
- function normalizeIcons(icons) {
- return Object.keys(icons).reduce(function (acc, iconName) {
- var icon = icons[iconName];
- var expanded = !!icon.icon;
- if (expanded) {
- acc[icon.iconName] = icon.icon;
- } else {
- acc[iconName] = icon;
- }
- return acc;
- }, {});
- }
- function defineIcons(prefix, icons) {
- var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
- var _params$skipHooks = params.skipHooks,
- skipHooks = _params$skipHooks === void 0 ? false : _params$skipHooks;
- var normalized = normalizeIcons(icons);
- if (typeof namespace.hooks.addPack === 'function' && !skipHooks) {
- namespace.hooks.addPack(prefix, normalizeIcons(icons));
- } else {
- namespace.styles[prefix] = _objectSpread2(_objectSpread2({}, namespace.styles[prefix] || {}), normalized);
- }
- /**
- * Font Awesome 4 used the prefix of `fa` for all icons. With the introduction
- * of new styles we needed to differentiate between them. Prefix `fa` is now an alias
- * for `fas` so we'll ease the upgrade process for our users by automatically defining
- * this as well.
- */
- if (prefix === 'fas') {
- defineIcons('fa', icons);
- }
- }
- var duotonePathRe = [/*#__PURE__*/_wrapRegExp(/path d="((?:(?!")[\s\S])+)".*path d="((?:(?!")[\s\S])+)"/, {
- d1: 1,
- d2: 2
- }), /*#__PURE__*/_wrapRegExp(/path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)".*path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)"/, {
- cls1: 1,
- d1: 2,
- cls2: 3,
- d2: 4
- }), /*#__PURE__*/_wrapRegExp(/path class="((?:(?!")[\s\S])+)".*d="((?:(?!")[\s\S])+)"/, {
- cls1: 1,
- d1: 2
- })];
- var _LONG_STYLE, _PREFIXES, _PREFIXES_FOR_FAMILY;
- var styles = namespace.styles,
- shims = namespace.shims;
- 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);
- var _defaultUsablePrefix = null;
- var _byUnicode = {};
- var _byLigature = {};
- var _byOldName = {};
- var _byOldUnicode = {};
- var _byAlias = {};
- 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);
- function isReserved(name) {
- return ~RESERVED_CLASSES.indexOf(name);
- }
- function getIconName(cssPrefix, cls) {
- var parts = cls.split('-');
- var prefix = parts[0];
- var iconName = parts.slice(1).join('-');
- if (prefix === cssPrefix && iconName !== '' && !isReserved(iconName)) {
- return iconName;
- } else {
- return null;
- }
- }
- var build = function build() {
- var lookup = function lookup(reducer) {
- return reduce(styles, function (o, style, prefix) {
- o[prefix] = reduce(style, reducer, {});
- return o;
- }, {});
- };
- _byUnicode = lookup(function (acc, icon, iconName) {
- if (icon[3]) {
- acc[icon[3]] = iconName;
- }
- if (icon[2]) {
- var aliases = icon[2].filter(function (a) {
- return typeof a === 'number';
- });
- aliases.forEach(function (alias) {
- acc[alias.toString(16)] = iconName;
- });
- }
- return acc;
- });
- _byLigature = lookup(function (acc, icon, iconName) {
- acc[iconName] = iconName;
- if (icon[2]) {
- var aliases = icon[2].filter(function (a) {
- return typeof a === 'string';
- });
- aliases.forEach(function (alias) {
- acc[alias] = iconName;
- });
- }
- return acc;
- });
- _byAlias = lookup(function (acc, icon, iconName) {
- var aliases = icon[2];
- acc[iconName] = iconName;
- aliases.forEach(function (alias) {
- acc[alias] = iconName;
- });
- return acc;
- }); // If we have a Kit, we can't determine if regular is available since we
- // could be auto-fetching it. We'll have to assume that it is available.
- var hasRegular = 'far' in styles || config.autoFetchSvg;
- var shimLookups = reduce(shims, function (acc, shim) {
- var maybeNameMaybeUnicode = shim[0];
- var prefix = shim[1];
- var iconName = shim[2];
- if (prefix === 'far' && !hasRegular) {
- prefix = 'fas';
- }
- if (typeof maybeNameMaybeUnicode === 'string') {
- acc.names[maybeNameMaybeUnicode] = {
- prefix: prefix,
- iconName: iconName
- };
- }
- if (typeof maybeNameMaybeUnicode === 'number') {
- acc.unicodes[maybeNameMaybeUnicode.toString(16)] = {
- prefix: prefix,
- iconName: iconName
- };
- }
- return acc;
- }, {
- names: {},
- unicodes: {}
- });
- _byOldName = shimLookups.names;
- _byOldUnicode = shimLookups.unicodes;
- _defaultUsablePrefix = getCanonicalPrefix(config.styleDefault, {
- family: config.familyDefault
- });
- };
- onChange(function (c) {
- _defaultUsablePrefix = getCanonicalPrefix(c.styleDefault, {
- family: config.familyDefault
- });
- });
- build();
- function byUnicode(prefix, unicode) {
- return (_byUnicode[prefix] || {})[unicode];
- }
- function byLigature(prefix, ligature) {
- return (_byLigature[prefix] || {})[ligature];
- }
- function byAlias(prefix, alias) {
- return (_byAlias[prefix] || {})[alias];
- }
- function byOldName(name) {
- return _byOldName[name] || {
- prefix: null,
- iconName: null
- };
- }
- function byOldUnicode(unicode) {
- var oldUnicode = _byOldUnicode[unicode];
- var newUnicode = byUnicode('fas', unicode);
- return oldUnicode || (newUnicode ? {
- prefix: 'fas',
- iconName: newUnicode
- } : null) || {
- prefix: null,
- iconName: null
- };
- }
- function getDefaultUsablePrefix() {
- return _defaultUsablePrefix;
- }
- var emptyCanonicalIcon = function emptyCanonicalIcon() {
- return {
- prefix: null,
- iconName: null,
- rest: []
- };
- };
- function getCanonicalPrefix(styleOrPrefix) {
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var _params$family = params.family,
- family = _params$family === void 0 ? FAMILY_CLASSIC : _params$family;
- var style = PREFIX_TO_STYLE[family][styleOrPrefix];
- var prefix = STYLE_TO_PREFIX[family][styleOrPrefix] || STYLE_TO_PREFIX[family][style];
- var defined = styleOrPrefix in namespace.styles ? styleOrPrefix : null;
- return prefix || defined || null;
- }
- 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);
- function getCanonicalIcon(values) {
- var _famProps;
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var _params$skipLookups = params.skipLookups,
- skipLookups = _params$skipLookups === void 0 ? false : _params$skipLookups;
- var famProps = (_famProps = {}, _defineProperty(_famProps, FAMILY_CLASSIC, "".concat(config.cssPrefix, "-").concat(FAMILY_CLASSIC)), _defineProperty(_famProps, FAMILY_SHARP, "".concat(config.cssPrefix, "-").concat(FAMILY_SHARP)), _famProps);
- var givenPrefix = null;
- var family = FAMILY_CLASSIC;
- if (values.includes(famProps[FAMILY_CLASSIC]) || values.some(function (v) {
- return PREFIXES_FOR_FAMILY[FAMILY_CLASSIC].includes(v);
- })) {
- family = FAMILY_CLASSIC;
- }
- if (values.includes(famProps[FAMILY_SHARP]) || values.some(function (v) {
- return PREFIXES_FOR_FAMILY[FAMILY_SHARP].includes(v);
- })) {
- family = FAMILY_SHARP;
- }
- var canonical = values.reduce(function (acc, cls) {
- var iconName = getIconName(config.cssPrefix, cls);
- if (styles[cls]) {
- cls = LONG_STYLE[family].includes(cls) ? LONG_STYLE_TO_PREFIX[family][cls] : cls;
- givenPrefix = cls;
- acc.prefix = cls;
- } else if (PREFIXES[family].indexOf(cls) > -1) {
- givenPrefix = cls;
- acc.prefix = getCanonicalPrefix(cls, {
- family: family
- });
- } else if (iconName) {
- acc.iconName = iconName;
- } else if (cls !== config.replacementClass && cls !== famProps[FAMILY_CLASSIC] && cls !== famProps[FAMILY_SHARP]) {
- acc.rest.push(cls);
- }
- if (!skipLookups && acc.prefix && acc.iconName) {
- var shim = givenPrefix === 'fa' ? byOldName(acc.iconName) : {};
- var aliasIconName = byAlias(acc.prefix, acc.iconName);
- if (shim.prefix) {
- givenPrefix = null;
- }
- acc.iconName = shim.iconName || aliasIconName || acc.iconName;
- acc.prefix = shim.prefix || acc.prefix;
- if (acc.prefix === 'far' && !styles['far'] && styles['fas'] && !config.autoFetchSvg) {
- // Allow a fallback from the regular style to solid if regular is not available
- // but only if we aren't auto-fetching SVGs
- acc.prefix = 'fas';
- }
- }
- return acc;
- }, emptyCanonicalIcon());
- if (values.includes('fa-brands') || values.includes('fab')) {
- canonical.prefix = 'fab';
- }
- if (values.includes('fa-duotone') || values.includes('fad')) {
- canonical.prefix = 'fad';
- }
- if (!canonical.prefix && family === FAMILY_SHARP && (styles['fass'] || config.autoFetchSvg)) {
- canonical.prefix = 'fass';
- canonical.iconName = byAlias(canonical.prefix, canonical.iconName) || canonical.iconName;
- }
- if (canonical.prefix === 'fa' || givenPrefix === 'fa') {
- // The fa prefix is not canonical. So if it has made it through until this point
- // we will shift it to the correct prefix.
- canonical.prefix = getDefaultUsablePrefix() || 'fas';
- }
- return canonical;
- }
- var Library = /*#__PURE__*/function () {
- function Library() {
- _classCallCheck(this, Library);
- this.definitions = {};
- }
- _createClass(Library, [{
- key: "add",
- value: function add() {
- var _this = this;
- for (var _len = arguments.length, definitions = new Array(_len), _key = 0; _key < _len; _key++) {
- definitions[_key] = arguments[_key];
- }
- var additions = definitions.reduce(this._pullDefinitions, {});
- Object.keys(additions).forEach(function (key) {
- _this.definitions[key] = _objectSpread2(_objectSpread2({}, _this.definitions[key] || {}), additions[key]);
- 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
- var longPrefix = PREFIX_TO_LONG_STYLE[FAMILY_CLASSIC][key];
- if (longPrefix) defineIcons(longPrefix, additions[key]);
- build();
- });
- }
- }, {
- key: "reset",
- value: function reset() {
- this.definitions = {};
- }
- }, {
- key: "_pullDefinitions",
- value: function _pullDefinitions(additions, definition) {
- var normalized = definition.prefix && definition.iconName && definition.icon ? {
- 0: definition
- } : definition;
- Object.keys(normalized).map(function (key) {
- var _normalized$key = normalized[key],
- prefix = _normalized$key.prefix,
- iconName = _normalized$key.iconName,
- icon = _normalized$key.icon;
- var aliases = icon[2];
- if (!additions[prefix]) additions[prefix] = {};
- if (aliases.length > 0) {
- aliases.forEach(function (alias) {
- if (typeof alias === 'string') {
- additions[prefix][alias] = icon;
- }
- });
- }
- additions[prefix][iconName] = icon;
- });
- return additions;
- }
- }]);
- return Library;
- }();
- var _plugins = [];
- var _hooks = {};
- var providers = {};
- var defaultProviderKeys = Object.keys(providers);
- function registerPlugins(nextPlugins, _ref) {
- var obj = _ref.mixoutsTo;
- _plugins = nextPlugins;
- _hooks = {};
- Object.keys(providers).forEach(function (k) {
- if (defaultProviderKeys.indexOf(k) === -1) {
- delete providers[k];
- }
- });
- _plugins.forEach(function (plugin) {
- var mixout = plugin.mixout ? plugin.mixout() : {};
- Object.keys(mixout).forEach(function (tk) {
- if (typeof mixout[tk] === 'function') {
- obj[tk] = mixout[tk];
- }
- if (_typeof(mixout[tk]) === 'object') {
- Object.keys(mixout[tk]).forEach(function (sk) {
- if (!obj[tk]) {
- obj[tk] = {};
- }
- obj[tk][sk] = mixout[tk][sk];
- });
- }
- });
- if (plugin.hooks) {
- var hooks = plugin.hooks();
- Object.keys(hooks).forEach(function (hook) {
- if (!_hooks[hook]) {
- _hooks[hook] = [];
- }
- _hooks[hook].push(hooks[hook]);
- });
- }
- if (plugin.provides) {
- plugin.provides(providers);
- }
- });
- return obj;
- }
- function chainHooks(hook, accumulator) {
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
- args[_key - 2] = arguments[_key];
- }
- var hookFns = _hooks[hook] || [];
- hookFns.forEach(function (hookFn) {
- accumulator = hookFn.apply(null, [accumulator].concat(args)); // eslint-disable-line no-useless-call
- });
- return accumulator;
- }
- function callHooks(hook) {
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
- args[_key2 - 1] = arguments[_key2];
- }
- var hookFns = _hooks[hook] || [];
- hookFns.forEach(function (hookFn) {
- hookFn.apply(null, args);
- });
- return undefined;
- }
- function callProvided() {
- var hook = arguments[0];
- var args = Array.prototype.slice.call(arguments, 1);
- return providers[hook] ? providers[hook].apply(null, args) : undefined;
- }
- function findIconDefinition(iconLookup) {
- if (iconLookup.prefix === 'fa') {
- iconLookup.prefix = 'fas';
- }
- var iconName = iconLookup.iconName;
- var prefix = iconLookup.prefix || getDefaultUsablePrefix();
- if (!iconName) return;
- iconName = byAlias(prefix, iconName) || iconName;
- return iconFromMapping(library.definitions, prefix, iconName) || iconFromMapping(namespace.styles, prefix, iconName);
- }
- var library = new Library();
- var noAuto = function noAuto() {
- config.autoReplaceSvg = false;
- config.observeMutations = false;
- callHooks('noAuto');
- };
- var dom = {
- i2svg: function i2svg() {
- var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- if (IS_DOM) {
- callHooks('beforeI2svg', params);
- callProvided('pseudoElements2svg', params);
- return callProvided('i2svg', params);
- } else {
- return Promise.reject('Operation requires a DOM of some kind.');
- }
- },
- watch: function watch() {
- var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- var autoReplaceSvgRoot = params.autoReplaceSvgRoot;
- if (config.autoReplaceSvg === false) {
- config.autoReplaceSvg = true;
- }
- config.observeMutations = true;
- domready(function () {
- autoReplace({
- autoReplaceSvgRoot: autoReplaceSvgRoot
- });
- callHooks('watch', params);
- });
- }
- };
- var parse = {
- icon: function icon(_icon) {
- if (_icon === null) {
- return null;
- }
- if (_typeof(_icon) === 'object' && _icon.prefix && _icon.iconName) {
- return {
- prefix: _icon.prefix,
- iconName: byAlias(_icon.prefix, _icon.iconName) || _icon.iconName
- };
- }
- if (Array.isArray(_icon) && _icon.length === 2) {
- var iconName = _icon[1].indexOf('fa-') === 0 ? _icon[1].slice(3) : _icon[1];
- var prefix = getCanonicalPrefix(_icon[0]);
- return {
- prefix: prefix,
- iconName: byAlias(prefix, iconName) || iconName
- };
- }
- if (typeof _icon === 'string' && (_icon.indexOf("".concat(config.cssPrefix, "-")) > -1 || _icon.match(ICON_SELECTION_SYNTAX_PATTERN))) {
- var canonicalIcon = getCanonicalIcon(_icon.split(' '), {
- skipLookups: true
- });
- return {
- prefix: canonicalIcon.prefix || getDefaultUsablePrefix(),
- iconName: byAlias(canonicalIcon.prefix, canonicalIcon.iconName) || canonicalIcon.iconName
- };
- }
- if (typeof _icon === 'string') {
- var _prefix = getDefaultUsablePrefix();
- return {
- prefix: _prefix,
- iconName: byAlias(_prefix, _icon) || _icon
- };
- }
- }
- };
- var api = {
- noAuto: noAuto,
- config: config,
- dom: dom,
- parse: parse,
- library: library,
- findIconDefinition: findIconDefinition,
- toHtml: toHtml
- };
- var autoReplace = function autoReplace() {
- var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
- var _params$autoReplaceSv = params.autoReplaceSvgRoot,
- autoReplaceSvgRoot = _params$autoReplaceSv === void 0 ? DOCUMENT : _params$autoReplaceSv;
- if ((Object.keys(namespace.styles).length > 0 || config.autoFetchSvg) && IS_DOM && config.autoReplaceSvg) api.dom.i2svg({
- node: autoReplaceSvgRoot
- });
- };
- function domVariants(val, abstractCreator) {
- Object.defineProperty(val, 'abstract', {
- get: abstractCreator
- });
- Object.defineProperty(val, 'html', {
- get: function get() {
- return val.abstract.map(function (a) {
- return toHtml(a);
- });
- }
- });
- Object.defineProperty(val, 'node', {
- get: function get() {
- if (!IS_DOM) return;
- var container = DOCUMENT.createElement('div');
- container.innerHTML = val.html;
- return container.children;
- }
- });
- return val;
- }
- function asIcon(_ref) {
- var children = _ref.children,
- main = _ref.main,
- mask = _ref.mask,
- attributes = _ref.attributes,
- styles = _ref.styles,
- transform = _ref.transform;
- if (transformIsMeaningful(transform) && main.found && !mask.found) {
- var width = main.width,
- height = main.height;
- var offset = {
- x: width / height / 2,
- y: 0.5
- };
- attributes['style'] = joinStyles(_objectSpread2(_objectSpread2({}, styles), {}, {
- 'transform-origin': "".concat(offset.x + transform.x / 16, "em ").concat(offset.y + transform.y / 16, "em")
- }));
- }
- return [{
- tag: 'svg',
- attributes: attributes,
- children: children
- }];
- }
- function asSymbol(_ref) {
- var prefix = _ref.prefix,
- iconName = _ref.iconName,
- children = _ref.children,
- attributes = _ref.attributes,
- symbol = _ref.symbol;
- var id = symbol === true ? "".concat(prefix, "-").concat(config.cssPrefix, "-").concat(iconName) : symbol;
- return [{
- tag: 'svg',
- attributes: {
- style: 'display: none;'
- },
- children: [{
- tag: 'symbol',
- attributes: _objectSpread2(_objectSpread2({}, attributes), {}, {
- id: id
- }),
- children: children
- }]
- }];
- }
- function makeInlineSvgAbstract(params) {
- var _params$icons = params.icons,
- main = _params$icons.main,
- mask = _params$icons.mask,
- prefix = params.prefix,
- iconName = params.iconName,
- transform = params.transform,
- symbol = params.symbol,
- title = params.title,
- maskId = params.maskId,
- titleId = params.titleId,
- extra = params.extra,
- _params$watchable = params.watchable,
- watchable = _params$watchable === void 0 ? false : _params$watchable;
- var _ref = mask.found ? mask : main,
- width = _ref.width,
- height = _ref.height;
- var isUploadedIcon = prefix === 'fak';
- var attrClass = [config.replacementClass, iconName ? "".concat(config.cssPrefix, "-").concat(iconName) : ''].filter(function (c) {
- return extra.classes.indexOf(c) === -1;
- }).filter(function (c) {
- return c !== '' || !!c;
- }).concat(extra.classes).join(' ');
- var content = {
- children: [],
- attributes: _objectSpread2(_objectSpread2({}, extra.attributes), {}, {
- 'data-prefix': prefix,
- 'data-icon': iconName,
- 'class': attrClass,
- 'role': extra.attributes.role || 'img',
- 'xmlns': 'http://www.w3.org/2000/svg',
- 'viewBox': "0 0 ".concat(width, " ").concat(height)
- })
- };
- var uploadedIconWidthStyle = isUploadedIcon && !~extra.classes.indexOf('fa-fw') ? {
- width: "".concat(width / height * 16 * 0.0625, "em")
- } : {};
- if (watchable) {
- content.attributes[DATA_FA_I2SVG] = '';
- }
- if (title) {
- content.children.push({
- tag: 'title',
- attributes: {
- id: content.attributes['aria-labelledby'] || "title-".concat(titleId || nextUniqueId())
- },
- children: [title]
- });
- delete content.attributes.title;
- }
- var args = _objectSpread2(_objectSpread2({}, content), {}, {
- prefix: prefix,
- iconName: iconName,
- main: main,
- mask: mask,
- maskId: maskId,
- transform: transform,
- symbol: symbol,
- styles: _objectSpread2(_objectSpread2({}, uploadedIconWidthStyle), extra.styles)
- });
- var _ref2 = mask.found && main.found ? callProvided('generateAbstractMask', args) || {
- children: [],
- attributes: {}
- } : callProvided('generateAbstractIcon', args) || {
- children: [],
- attributes: {}
- },
- children = _ref2.children,
- attributes = _ref2.attributes;
- args.children = children;
- args.attributes = attributes;
- if (symbol) {
- return asSymbol(args);
- } else {
- return asIcon(args);
- }
- }
- function makeLayersTextAbstract(params) {
- var content = params.content,
- width = params.width,
- height = params.height,
- transform = params.transform,
- title = params.title,
- extra = params.extra,
- _params$watchable2 = params.watchable,
- watchable = _params$watchable2 === void 0 ? false : _params$watchable2;
- var attributes = _objectSpread2(_objectSpread2(_objectSpread2({}, extra.attributes), title ? {
- 'title': title
- } : {}), {}, {
- 'class': extra.classes.join(' ')
- });
- if (watchable) {
- attributes[DATA_FA_I2SVG] = '';
- }
- var styles = _objectSpread2({}, extra.styles);
- if (transformIsMeaningful(transform)) {
- styles['transform'] = transformForCss({
- transform: transform,
- startCentered: true,
- width: width,
- height: height
- });
- styles['-webkit-transform'] = styles['transform'];
- }
- var styleString = joinStyles(styles);
- if (styleString.length > 0) {
- attributes['style'] = styleString;
- }
- var val = [];
- val.push({
- tag: 'span',
- attributes: attributes,
- children: [content]
- });
- if (title) {
- val.push({
- tag: 'span',
- attributes: {
- class: 'sr-only'
- },
- children: [title]
- });
- }
- return val;
- }
- function makeLayersCounterAbstract(params) {
- var content = params.content,
- title = params.title,
- extra = params.extra;
- var attributes = _objectSpread2(_objectSpread2(_objectSpread2({}, extra.attributes), title ? {
- 'title': title
- } : {}), {}, {
- 'class': extra.classes.join(' ')
- });
- var styleString = joinStyles(extra.styles);
- if (styleString.length > 0) {
- attributes['style'] = styleString;
- }
- var val = [];
- val.push({
- tag: 'span',
- attributes: attributes,
- children: [content]
- });
- if (title) {
- val.push({
- tag: 'span',
- attributes: {
- class: 'sr-only'
- },
- children: [title]
- });
- }
- return val;
- }
- var styles$1 = namespace.styles;
- function asFoundIcon(icon) {
- var width = icon[0];
- var height = icon[1];
- var _icon$slice = icon.slice(4),
- _icon$slice2 = _slicedToArray(_icon$slice, 1),
- vectorData = _icon$slice2[0];
- var element = null;
- if (Array.isArray(vectorData)) {
- element = {
- tag: 'g',
- attributes: {
- class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.GROUP)
- },
- children: [{
- tag: 'path',
- attributes: {
- class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.SECONDARY),
- fill: 'currentColor',
- d: vectorData[0]
- }
- }, {
- tag: 'path',
- attributes: {
- class: "".concat(config.cssPrefix, "-").concat(DUOTONE_CLASSES.PRIMARY),
- fill: 'currentColor',
- d: vectorData[1]
- }
- }]
- };
- } else {
- element = {
- tag: 'path',
- attributes: {
- fill: 'currentColor',
- d: vectorData
- }
- };
- }
- return {
- found: true,
- width: width,
- height: height,
- icon: element
- };
- }
- var missingIconResolutionMixin = {
- found: false,
- width: 512,
- height: 512
- };
- function maybeNotifyMissing(iconName, prefix) {
- if (!PRODUCTION && !config.showMissingIcons && iconName) {
- console.error("Icon with name \"".concat(iconName, "\" and prefix \"").concat(prefix, "\" is missing."));
- }
- }
- function findIcon(iconName, prefix) {
- var givenPrefix = prefix;
- if (prefix === 'fa' && config.styleDefault !== null) {
- prefix = getDefaultUsablePrefix();
- }
- return new Promise(function (resolve, reject) {
- var val = {
- found: false,
- width: 512,
- height: 512,
- icon: callProvided('missingIconAbstract') || {}
- };
- if (givenPrefix === 'fa') {
- var shim = byOldName(iconName) || {};
- iconName = shim.iconName || iconName;
- prefix = shim.prefix || prefix;
- }
- if (iconName && prefix && styles$1[prefix] && styles$1[prefix][iconName]) {
- var icon = styles$1[prefix][iconName];
- return resolve(asFoundIcon(icon));
- }
- maybeNotifyMissing(iconName, prefix);
- resolve(_objectSpread2(_objectSpread2({}, missingIconResolutionMixin), {}, {
- icon: config.showMissingIcons && iconName ? callProvided('missingIconAbstract') || {} : {}
- }));
- });
- }
- var noop$1 = function noop() {};
- var p = config.measurePerformance && PERFORMANCE && PERFORMANCE.mark && PERFORMANCE.measure ? PERFORMANCE : {
- mark: noop$1,
- measure: noop$1
- };
- var preamble = "FA \"6.2.0\"";
- var begin = function begin(name) {
- p.mark("".concat(preamble, " ").concat(name, " begins"));
- return function () {
- return end(name);
- };
- };
- var end = function end(name) {
- p.mark("".concat(preamble, " ").concat(name, " ends"));
- p.measure("".concat(preamble, " ").concat(name), "".concat(preamble, " ").concat(name, " begins"), "".concat(preamble, " ").concat(name, " ends"));
- };
- var perf = {
- begin: begin,
- end: end
- };
- var noop$2 = function noop() {};
- function isWatched(node) {
- var i2svg = node.getAttribute ? node.getAttribute(DATA_FA_I2SVG) : null;
- return typeof i2svg === 'string';
- }
- function hasPrefixAndIcon(node) {
- var prefix = node.getAttribute ? node.getAttribute(DATA_PREFIX) : null;
- var icon = node.getAttribute ? node.getAttribute(DATA_ICON) : null;
- return prefix && icon;
- }
- function hasBeenReplaced(node) {
- return node && node.classList && node.classList.contains && node.classList.contains(config.replacementClass);
- }
- function getMutator() {
- if (config.autoReplaceSvg === true) {
- return mutators.replace;
- }
- var mutator = mutators[config.autoReplaceSvg];
- return mutator || mutators.replace;
- }
- function createElementNS(tag) {
- return DOCUMENT.createElementNS('http://www.w3.org/2000/svg', tag);
- }
- function createElement(tag) {
- return DOCUMENT.createElement(tag);
- }
- function convertSVG(abstractObj) {
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var _params$ceFn = params.ceFn,
- ceFn = _params$ceFn === void 0 ? abstractObj.tag === 'svg' ? createElementNS : createElement : _params$ceFn;
- if (typeof abstractObj === 'string') {
- return DOCUMENT.createTextNode(abstractObj);
- }
- var tag = ceFn(abstractObj.tag);
- Object.keys(abstractObj.attributes || []).forEach(function (key) {
- tag.setAttribute(key, abstractObj.attributes[key]);
- });
- var children = abstractObj.children || [];
- children.forEach(function (child) {
- tag.appendChild(convertSVG(child, {
- ceFn: ceFn
- }));
- });
- return tag;
- }
- function nodeAsComment(node) {
- var comment = " ".concat(node.outerHTML, " ");
- /* BEGIN.ATTRIBUTION */
- comment = "".concat(comment, "Font Awesome fontawesome.com ");
- /* END.ATTRIBUTION */
- return comment;
- }
- var mutators = {
- replace: function replace(mutation) {
- var node = mutation[0];
- if (node.parentNode) {
- mutation[1].forEach(function (abstract) {
- node.parentNode.insertBefore(convertSVG(abstract), node);
- });
- if (node.getAttribute(DATA_FA_I2SVG) === null && config.keepOriginalSource) {
- var comment = DOCUMENT.createComment(nodeAsComment(node));
- node.parentNode.replaceChild(comment, node);
- } else {
- node.remove();
- }
- }
- },
- nest: function nest(mutation) {
- var node = mutation[0];
- var abstract = mutation[1]; // If we already have a replaced node we do not want to continue nesting within it.
- // Short-circuit to the standard replacement
- if (~classArray(node).indexOf(config.replacementClass)) {
- return mutators.replace(mutation);
- }
- var forSvg = new RegExp("".concat(config.cssPrefix, "-.*"));
- delete abstract[0].attributes.id;
- if (abstract[0].attributes.class) {
- var splitClasses = abstract[0].attributes.class.split(' ').reduce(function (acc, cls) {
- if (cls === config.replacementClass || cls.match(forSvg)) {
- acc.toSvg.push(cls);
- } else {
- acc.toNode.push(cls);
- }
- return acc;
- }, {
- toNode: [],
- toSvg: []
- });
- abstract[0].attributes.class = splitClasses.toSvg.join(' ');
- if (splitClasses.toNode.length === 0) {
- node.removeAttribute('class');
- } else {
- node.setAttribute('class', splitClasses.toNode.join(' '));
- }
- }
- var newInnerHTML = abstract.map(function (a) {
- return toHtml(a);
- }).join('\n');
- node.setAttribute(DATA_FA_I2SVG, '');
- node.innerHTML = newInnerHTML;
- }
- };
- function performOperationSync(op) {
- op();
- }
- function perform(mutations, callback) {
- var callbackFunction = typeof callback === 'function' ? callback : noop$2;
- if (mutations.length === 0) {
- callbackFunction();
- } else {
- var frame = performOperationSync;
- if (config.mutateApproach === MUTATION_APPROACH_ASYNC) {
- frame = WINDOW.requestAnimationFrame || performOperationSync;
- }
- frame(function () {
- var mutator = getMutator();
- var mark = perf.begin('mutate');
- mutations.map(mutator);
- mark();
- callbackFunction();
- });
- }
- }
- var disabled = false;
- function disableObservation() {
- disabled = true;
- }
- function enableObservation() {
- disabled = false;
- }
- var mo = null;
- function observe(options) {
- if (!MUTATION_OBSERVER) {
- return;
- }
- if (!config.observeMutations) {
- return;
- }
- var _options$treeCallback = options.treeCallback,
- treeCallback = _options$treeCallback === void 0 ? noop$2 : _options$treeCallback,
- _options$nodeCallback = options.nodeCallback,
- nodeCallback = _options$nodeCallback === void 0 ? noop$2 : _options$nodeCallback,
- _options$pseudoElemen = options.pseudoElementsCallback,
- pseudoElementsCallback = _options$pseudoElemen === void 0 ? noop$2 : _options$pseudoElemen,
- _options$observeMutat = options.observeMutationsRoot,
- observeMutationsRoot = _options$observeMutat === void 0 ? DOCUMENT : _options$observeMutat;
- mo = new MUTATION_OBSERVER(function (objects) {
- if (disabled) return;
- var defaultPrefix = getDefaultUsablePrefix();
- toArray(objects).forEach(function (mutationRecord) {
- if (mutationRecord.type === 'childList' && mutationRecord.addedNodes.length > 0 && !isWatched(mutationRecord.addedNodes[0])) {
- if (config.searchPseudoElements) {
- pseudoElementsCallback(mutationRecord.target);
- }
- treeCallback(mutationRecord.target);
- }
- if (mutationRecord.type === 'attributes' && mutationRecord.target.parentNode && config.searchPseudoElements) {
- pseudoElementsCallback(mutationRecord.target.parentNode);
- }
- if (mutationRecord.type === 'attributes' && isWatched(mutationRecord.target) && ~ATTRIBUTES_WATCHED_FOR_MUTATION.indexOf(mutationRecord.attributeName)) {
- if (mutationRecord.attributeName === 'class' && hasPrefixAndIcon(mutationRecord.target)) {
- var _getCanonicalIcon = getCanonicalIcon(classArray(mutationRecord.target)),
- prefix = _getCanonicalIcon.prefix,
- iconName = _getCanonicalIcon.iconName;
- mutationRecord.target.setAttribute(DATA_PREFIX, prefix || defaultPrefix);
- if (iconName) mutationRecord.target.setAttribute(DATA_ICON, iconName);
- } else if (hasBeenReplaced(mutationRecord.target)) {
- nodeCallback(mutationRecord.target);
- }
- }
- });
- });
- if (!IS_DOM) return;
- mo.observe(observeMutationsRoot, {
- childList: true,
- attributes: true,
- characterData: true,
- subtree: true
- });
- }
- function disconnect() {
- if (!mo) return;
- mo.disconnect();
- }
- function styleParser(node) {
- var style = node.getAttribute('style');
- var val = [];
- if (style) {
- val = style.split(';').reduce(function (acc, style) {
- var styles = style.split(':');
- var prop = styles[0];
- var value = styles.slice(1);
- if (prop && value.length > 0) {
- acc[prop] = value.join(':').trim();
- }
- return acc;
- }, {});
- }
- return val;
- }
- function classParser(node) {
- var existingPrefix = node.getAttribute('data-prefix');
- var existingIconName = node.getAttribute('data-icon');
- var innerText = node.innerText !== undefined ? node.innerText.trim() : '';
- var val = getCanonicalIcon(classArray(node));
- if (!val.prefix) {
- val.prefix = getDefaultUsablePrefix();
- }
- if (existingPrefix && existingIconName) {
- val.prefix = existingPrefix;
- val.iconName = existingIconName;
- }
- if (val.iconName && val.prefix) {
- return val;
- }
- if (val.prefix && innerText.length > 0) {
- val.iconName = byLigature(val.prefix, node.innerText) || byUnicode(val.prefix, toHex(node.innerText));
- }
- if (!val.iconName && config.autoFetchSvg && node.firstChild && node.firstChild.nodeType === Node.TEXT_NODE) {
- val.iconName = node.firstChild.data;
- }
- return val;
- }
- function attributesParser(node) {
- var extraAttributes = toArray(node.attributes).reduce(function (acc, attr) {
- if (acc.name !== 'class' && acc.name !== 'style') {
- acc[attr.name] = attr.value;
- }
- return acc;
- }, {});
- var title = node.getAttribute('title');
- var titleId = node.getAttribute('data-fa-title-id');
- if (config.autoA11y) {
- if (title) {
- extraAttributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(titleId || nextUniqueId());
- } else {
- extraAttributes['aria-hidden'] = 'true';
- extraAttributes['focusable'] = 'false';
- }
- }
- return extraAttributes;
- }
- function blankMeta() {
- return {
- iconName: null,
- title: null,
- titleId: null,
- prefix: null,
- transform: meaninglessTransform,
- symbol: false,
- mask: {
- iconName: null,
- prefix: null,
- rest: []
- },
- maskId: null,
- extra: {
- classes: [],
- styles: {},
- attributes: {}
- }
- };
- }
- function parseMeta(node) {
- var parser = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
- styleParser: true
- };
- var _classParser = classParser(node),
- iconName = _classParser.iconName,
- prefix = _classParser.prefix,
- extraClasses = _classParser.rest;
- var extraAttributes = attributesParser(node);
- var pluginMeta = chainHooks('parseNodeAttributes', {}, node);
- var extraStyles = parser.styleParser ? styleParser(node) : [];
- return _objectSpread2({
- iconName: iconName,
- title: node.getAttribute('title'),
- titleId: node.getAttribute('data-fa-title-id'),
- prefix: prefix,
- transform: meaninglessTransform,
- mask: {
- iconName: null,
- prefix: null,
- rest: []
- },
- maskId: null,
- symbol: false,
- extra: {
- classes: extraClasses,
- styles: extraStyles,
- attributes: extraAttributes
- }
- }, pluginMeta);
- }
- var styles$2 = namespace.styles;
- function generateMutation(node) {
- var nodeMeta = config.autoReplaceSvg === 'nest' ? parseMeta(node, {
- styleParser: false
- }) : parseMeta(node);
- if (~nodeMeta.extra.classes.indexOf(LAYERS_TEXT_CLASSNAME)) {
- return callProvided('generateLayersText', node, nodeMeta);
- } else {
- return callProvided('generateSvgReplacementMutation', node, nodeMeta);
- }
- }
- var knownPrefixes = new Set();
- FAMILIES.map(function (family) {
- knownPrefixes.add("fa-".concat(family));
- });
- Object.keys(PREFIX_TO_STYLE[FAMILY_CLASSIC]).map(knownPrefixes.add.bind(knownPrefixes));
- Object.keys(PREFIX_TO_STYLE[FAMILY_SHARP]).map(knownPrefixes.add.bind(knownPrefixes));
- knownPrefixes = _toConsumableArray(knownPrefixes);
- function onTree(root) {
- var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
- if (!IS_DOM) return Promise.resolve();
- var htmlClassList = DOCUMENT.documentElement.classList;
- var hclAdd = function hclAdd(suffix) {
- return htmlClassList.add("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
- };
- var hclRemove = function hclRemove(suffix) {
- return htmlClassList.remove("".concat(HTML_CLASS_I2SVG_BASE_CLASS, "-").concat(suffix));
- };
- var prefixes = config.autoFetchSvg ? knownPrefixes : FAMILIES.map(function (f) {
- return "fa-".concat(f);
- }).concat(Object.keys(styles$2));
- if (!prefixes.includes('fa')) {
- prefixes.push('fa');
- }
- var prefixesDomQuery = [".".concat(LAYERS_TEXT_CLASSNAME, ":not([").concat(DATA_FA_I2SVG, "])")].concat(prefixes.map(function (p) {
- return ".".concat(p, ":not([").concat(DATA_FA_I2SVG, "])");
- })).join(', ');
- if (prefixesDomQuery.length === 0) {
- return Promise.resolve();
- }
- var candidates = [];
- try {
- candidates = toArray(root.querySelectorAll(prefixesDomQuery));
- } catch (e) {// noop
- }
- if (candidates.length > 0) {
- hclAdd('pending');
- hclRemove('complete');
- } else {
- return Promise.resolve();
- }
- var mark = perf.begin('onTree');
- var mutations = candidates.reduce(function (acc, node) {
- try {
- var mutation = generateMutation(node);
- if (mutation) {
- acc.push(mutation);
- }
- } catch (e) {
- if (!PRODUCTION) {
- if (e.name === 'MissingIcon') {
- console.error(e);
- }
- }
- }
- return acc;
- }, []);
- return new Promise(function (resolve, reject) {
- Promise.all(mutations).then(function (resolvedMutations) {
- perform(resolvedMutations, function () {
- hclAdd('active');
- hclAdd('complete');
- hclRemove('pending');
- if (typeof callback === 'function') callback();
- mark();
- resolve();
- });
- }).catch(function (e) {
- mark();
- reject(e);
- });
- });
- }
- function onNode(node) {
- var callback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
- generateMutation(node).then(function (mutation) {
- if (mutation) {
- perform([mutation], callback);
- }
- });
- }
- function resolveIcons(next) {
- return function (maybeIconDefinition) {
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var iconDefinition = (maybeIconDefinition || {}).icon ? maybeIconDefinition : findIconDefinition(maybeIconDefinition || {});
- var mask = params.mask;
- if (mask) {
- mask = (mask || {}).icon ? mask : findIconDefinition(mask || {});
- }
- return next(iconDefinition, _objectSpread2(_objectSpread2({}, params), {}, {
- mask: mask
- }));
- };
- }
- var render = function render(iconDefinition) {
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var _params$transform = params.transform,
- transform = _params$transform === void 0 ? meaninglessTransform : _params$transform,
- _params$symbol = params.symbol,
- symbol = _params$symbol === void 0 ? false : _params$symbol,
- _params$mask = params.mask,
- mask = _params$mask === void 0 ? null : _params$mask,
- _params$maskId = params.maskId,
- maskId = _params$maskId === void 0 ? null : _params$maskId,
- _params$title = params.title,
- title = _params$title === void 0 ? null : _params$title,
- _params$titleId = params.titleId,
- titleId = _params$titleId === void 0 ? null : _params$titleId,
- _params$classes = params.classes,
- classes = _params$classes === void 0 ? [] : _params$classes,
- _params$attributes = params.attributes,
- attributes = _params$attributes === void 0 ? {} : _params$attributes,
- _params$styles = params.styles,
- styles = _params$styles === void 0 ? {} : _params$styles;
- if (!iconDefinition) return;
- var prefix = iconDefinition.prefix,
- iconName = iconDefinition.iconName,
- icon = iconDefinition.icon;
- return domVariants(_objectSpread2({
- type: 'icon'
- }, iconDefinition), function () {
- callHooks('beforeDOMElementCreation', {
- iconDefinition: iconDefinition,
- params: params
- });
- if (config.autoA11y) {
- if (title) {
- attributes['aria-labelledby'] = "".concat(config.replacementClass, "-title-").concat(titleId || nextUniqueId());
- } else {
- attributes['aria-hidden'] = 'true';
- attributes['focusable'] = 'false';
- }
- }
- return makeInlineSvgAbstract({
- icons: {
- main: asFoundIcon(icon),
- mask: mask ? asFoundIcon(mask.icon) : {
- found: false,
- width: null,
- height: null,
- icon: {}
- }
- },
- prefix: prefix,
- iconName: iconName,
- transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
- symbol: symbol,
- title: title,
- maskId: maskId,
- titleId: titleId,
- extra: {
- attributes: attributes,
- styles: styles,
- classes: classes
- }
- });
- });
- };
- var ReplaceElements = {
- mixout: function mixout() {
- return {
- icon: resolveIcons(render)
- };
- },
- hooks: function hooks() {
- return {
- mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) {
- accumulator.treeCallback = onTree;
- accumulator.nodeCallback = onNode;
- return accumulator;
- }
- };
- },
- provides: function provides(providers$$1) {
- providers$$1.i2svg = function (params) {
- var _params$node = params.node,
- node = _params$node === void 0 ? DOCUMENT : _params$node,
- _params$callback = params.callback,
- callback = _params$callback === void 0 ? function () {} : _params$callback;
- return onTree(node, callback);
- };
- providers$$1.generateSvgReplacementMutation = function (node, nodeMeta) {
- var iconName = nodeMeta.iconName,
- title = nodeMeta.title,
- titleId = nodeMeta.titleId,
- prefix = nodeMeta.prefix,
- transform = nodeMeta.transform,
- symbol = nodeMeta.symbol,
- mask = nodeMeta.mask,
- maskId = nodeMeta.maskId,
- extra = nodeMeta.extra;
- return new Promise(function (resolve, reject) {
- Promise.all([findIcon(iconName, prefix), mask.iconName ? findIcon(mask.iconName, mask.prefix) : Promise.resolve({
- found: false,
- width: 512,
- height: 512,
- icon: {}
- })]).then(function (_ref) {
- var _ref2 = _slicedToArray(_ref, 2),
- main = _ref2[0],
- mask = _ref2[1];
- resolve([node, makeInlineSvgAbstract({
- icons: {
- main: main,
- mask: mask
- },
- prefix: prefix,
- iconName: iconName,
- transform: transform,
- symbol: symbol,
- maskId: maskId,
- title: title,
- titleId: titleId,
- extra: extra,
- watchable: true
- })]);
- }).catch(reject);
- });
- };
- providers$$1.generateAbstractIcon = function (_ref3) {
- var children = _ref3.children,
- attributes = _ref3.attributes,
- main = _ref3.main,
- transform = _ref3.transform,
- styles = _ref3.styles;
- var styleString = joinStyles(styles);
- if (styleString.length > 0) {
- attributes['style'] = styleString;
- }
- var nextChild;
- if (transformIsMeaningful(transform)) {
- nextChild = callProvided('generateAbstractTransformGrouping', {
- main: main,
- transform: transform,
- containerWidth: main.width,
- iconWidth: main.width
- });
- }
- children.push(nextChild || main.icon);
- return {
- children: children,
- attributes: attributes
- };
- };
- }
- };
- var Layers = {
- mixout: function mixout() {
- return {
- layer: function layer(assembler) {
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var _params$classes = params.classes,
- classes = _params$classes === void 0 ? [] : _params$classes;
- return domVariants({
- type: 'layer'
- }, function () {
- callHooks('beforeDOMElementCreation', {
- assembler: assembler,
- params: params
- });
- var children = [];
- assembler(function (args) {
- Array.isArray(args) ? args.map(function (a) {
- children = children.concat(a.abstract);
- }) : children = children.concat(args.abstract);
- });
- return [{
- tag: 'span',
- attributes: {
- class: ["".concat(config.cssPrefix, "-layers")].concat(_toConsumableArray(classes)).join(' ')
- },
- children: children
- }];
- });
- }
- };
- }
- };
- var LayersCounter = {
- mixout: function mixout() {
- return {
- counter: function counter(content) {
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var _params$title = params.title,
- title = _params$title === void 0 ? null : _params$title,
- _params$classes = params.classes,
- classes = _params$classes === void 0 ? [] : _params$classes,
- _params$attributes = params.attributes,
- attributes = _params$attributes === void 0 ? {} : _params$attributes,
- _params$styles = params.styles,
- styles = _params$styles === void 0 ? {} : _params$styles;
- return domVariants({
- type: 'counter',
- content: content
- }, function () {
- callHooks('beforeDOMElementCreation', {
- content: content,
- params: params
- });
- return makeLayersCounterAbstract({
- content: content.toString(),
- title: title,
- extra: {
- attributes: attributes,
- styles: styles,
- classes: ["".concat(config.cssPrefix, "-layers-counter")].concat(_toConsumableArray(classes))
- }
- });
- });
- }
- };
- }
- };
- var LayersText = {
- mixout: function mixout() {
- return {
- text: function text(content) {
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
- var _params$transform = params.transform,
- transform = _params$transform === void 0 ? meaninglessTransform : _params$transform,
- _params$title = params.title,
- title = _params$title === void 0 ? null : _params$title,
- _params$classes = params.classes,
- classes = _params$classes === void 0 ? [] : _params$classes,
- _params$attributes = params.attributes,
- attributes = _params$attributes === void 0 ? {} : _params$attributes,
- _params$styles = params.styles,
- styles = _params$styles === void 0 ? {} : _params$styles;
- return domVariants({
- type: 'text',
- content: content
- }, function () {
- callHooks('beforeDOMElementCreation', {
- content: content,
- params: params
- });
- return makeLayersTextAbstract({
- content: content,
- transform: _objectSpread2(_objectSpread2({}, meaninglessTransform), transform),
- title: title,
- extra: {
- attributes: attributes,
- styles: styles,
- classes: ["".concat(config.cssPrefix, "-layers-text")].concat(_toConsumableArray(classes))
- }
- });
- });
- }
- };
- },
- provides: function provides(providers$$1) {
- providers$$1.generateLayersText = function (node, nodeMeta) {
- var title = nodeMeta.title,
- transform = nodeMeta.transform,
- extra = nodeMeta.extra;
- var width = null;
- var height = null;
- if (IS_IE) {
- var computedFontSize = parseInt(getComputedStyle(node).fontSize, 10);
- var boundingClientRect = node.getBoundingClientRect();
- width = boundingClientRect.width / computedFontSize;
- height = boundingClientRect.height / computedFontSize;
- }
- if (config.autoA11y && !title) {
- extra.attributes['aria-hidden'] = 'true';
- }
- return Promise.resolve([node, makeLayersTextAbstract({
- content: node.innerHTML,
- width: width,
- height: height,
- transform: transform,
- title: title,
- extra: extra,
- watchable: true
- })]);
- };
- }
- };
- var CLEAN_CONTENT_PATTERN = new RegExp("\"", 'ug');
- var SECONDARY_UNICODE_RANGE = [1105920, 1112319];
- function hexValueFromContent(content) {
- var cleaned = content.replace(CLEAN_CONTENT_PATTERN, '');
- var codePoint = codePointAt(cleaned, 0);
- var isPrependTen = codePoint >= SECONDARY_UNICODE_RANGE[0] && codePoint <= SECONDARY_UNICODE_RANGE[1];
- var isDoubled = cleaned.length === 2 ? cleaned[0] === cleaned[1] : false;
- return {
- value: isDoubled ? toHex(cleaned[0]) : toHex(cleaned),
- isSecondary: isPrependTen || isDoubled
- };
- }
- function replaceForPosition(node, position) {
- var pendingAttribute = "".concat(DATA_FA_PSEUDO_ELEMENT_PENDING).concat(position.replace(':', '-'));
- return new Promise(function (resolve, reject) {
- if (node.getAttribute(pendingAttribute) !== null) {
- // This node is already being processed
- return resolve();
- }
- var children = toArray(node.children);
- var alreadyProcessedPseudoElement = children.filter(function (c) {
- return c.getAttribute(DATA_FA_PSEUDO_ELEMENT) === position;
- })[0];
- var styles = WINDOW.getComputedStyle(node, position);
- var fontFamily = styles.getPropertyValue('font-family').match(FONT_FAMILY_PATTERN);
- var fontWeight = styles.getPropertyValue('font-weight');
- var content = styles.getPropertyValue('content');
- if (alreadyProcessedPseudoElement && !fontFamily) {
- // If we've already processed it but the current computed style does not result in a font-family,
- // that probably means that a class name that was previously present to make the icon has been
- // removed. So we now should delete the icon.
- node.removeChild(alreadyProcessedPseudoElement);
- return resolve();
- } else if (fontFamily && content !== 'none' && content !== '') {
- var _content = styles.getPropertyValue('content');
- var family = ~['Sharp'].indexOf(fontFamily[2]) ? FAMILY_SHARP : FAMILY_CLASSIC;
- 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];
- var _hexValueFromContent = hexValueFromContent(_content),
- hexValue = _hexValueFromContent.value,
- isSecondary = _hexValueFromContent.isSecondary;
- var isV4 = fontFamily[0].startsWith('FontAwesome');
- var iconName = byUnicode(prefix, hexValue);
- var iconIdentifier = iconName;
- if (isV4) {
- var iconName4 = byOldUnicode(hexValue);
- if (iconName4.iconName && iconName4.prefix) {
- iconName = iconName4.iconName;
- prefix = iconName4.prefix;
- }
- } // Only convert the pseudo element in this ::before/::after position into an icon if we haven't
- // already done so with the same prefix and iconName
- if (iconName && !isSecondary && (!alreadyProcessedPseudoElement || alreadyProcessedPseudoElement.getAttribute(DATA_PREFIX) !== prefix || alreadyProcessedPseudoElement.getAttribute(DATA_ICON) !== iconIdentifier)) {
- node.setAttribute(pendingAttribute, iconIdentifier);
- if (alreadyProcessedPseudoElement) {
- // Delete the old one, since we're replacing it with a new one
- node.removeChild(alreadyProcessedPseudoElement);
- }
- var meta = blankMeta();
- var extra = meta.extra;
- extra.attributes[DATA_FA_PSEUDO_ELEMENT] = position;
- findIcon(iconName, prefix).then(function (main) {
- var abstract = makeInlineSvgAbstract(_objectSpread2(_objectSpread2({}, meta), {}, {
- icons: {
- main: main,
- mask: emptyCanonicalIcon()
- },
- prefix: prefix,
- iconName: iconIdentifier,
- extra: extra,
- watchable: true
- }));
- var element = DOCUMENT.createElement('svg');
- if (position === '::before') {
- node.insertBefore(element, node.firstChild);
- } else {
- node.appendChild(element);
- }
- element.outerHTML = abstract.map(function (a) {
- return toHtml(a);
- }).join('\n');
- node.removeAttribute(pendingAttribute);
- resolve();
- }).catch(reject);
- } else {
- resolve();
- }
- } else {
- resolve();
- }
- });
- }
- function replace(node) {
- return Promise.all([replaceForPosition(node, '::before'), replaceForPosition(node, '::after')]);
- }
- function processable(node) {
- 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');
- }
- function searchPseudoElements(root) {
- if (!IS_DOM) return;
- return new Promise(function (resolve, reject) {
- var operations = toArray(root.querySelectorAll('*')).filter(processable).map(replace);
- var end = perf.begin('searchPseudoElements');
- disableObservation();
- Promise.all(operations).then(function () {
- end();
- enableObservation();
- resolve();
- }).catch(function () {
- end();
- enableObservation();
- reject();
- });
- });
- }
- var PseudoElements = {
- hooks: function hooks() {
- return {
- mutationObserverCallbacks: function mutationObserverCallbacks(accumulator) {
- accumulator.pseudoElementsCallback = searchPseudoElements;
- return accumulator;
- }
- };
- },
- provides: function provides(providers$$1) {
- providers$$1.pseudoElements2svg = function (params) {
- var _params$node = params.node,
- node = _params$node === void 0 ? DOCUMENT : _params$node;
- if (config.searchPseudoElements) {
- searchPseudoElements(node);
- }
- };
- }
- };
- var _unwatched = false;
- var MutationObserver$1 = {
- mixout: function mixout() {
- return {
- dom: {
- unwatch: function unwatch() {
- disableObservation();
- _unwatched = true;
- }
- }
- };
- },
- hooks: function hooks() {
- return {
- bootstrap: function bootstrap() {
- observe(chainHooks('mutationObserverCallbacks', {}));
- },
- noAuto: function noAuto() {
- disconnect();
- },
- watch: function watch(params) {
- var observeMutationsRoot = params.observeMutationsRoot;
- if (_unwatched) {
- enableObservation();
- } else {
- observe(chainHooks('mutationObserverCallbacks', {
- observeMutationsRoot: observeMutationsRoot
- }));
- }
- }
- };
- }
- };
- var parseTransformString = function parseTransformString(transformString) {
- var transform = {
- size: 16,
- x: 0,
- y: 0,
- flipX: false,
- flipY: false,
- rotate: 0
- };
- return transformString.toLowerCase().split(' ').reduce(function (acc, n) {
- var parts = n.toLowerCase().split('-');
- var first = parts[0];
- var rest = parts.slice(1).join('-');
- if (first && rest === 'h') {
- acc.flipX = true;
- return acc;
- }
- if (first && rest === 'v') {
- acc.flipY = true;
- return acc;
- }
- rest = parseFloat(rest);
- if (isNaN(rest)) {
- return acc;
- }
- switch (first) {
- case 'grow':
- acc.size = acc.size + rest;
- break;
- case 'shrink':
- acc.size = acc.size - rest;
- break;
- case 'left':
- acc.x = acc.x - rest;
- break;
- case 'right':
- acc.x = acc.x + rest;
- break;
- case 'up':
- acc.y = acc.y - rest;
- break;
- case 'down':
- acc.y = acc.y + rest;
- break;
- case 'rotate':
- acc.rotate = acc.rotate + rest;
- break;
- }
- return acc;
- }, transform);
- };
- var PowerTransforms = {
- mixout: function mixout() {
- return {
- parse: {
- transform: function transform(transformString) {
- return parseTransformString(transformString);
- }
- }
- };
- },
- hooks: function hooks() {
- return {
- parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
- var transformString = node.getAttribute('data-fa-transform');
- if (transformString) {
- accumulator.transform = parseTransformString(transformString);
- }
- return accumulator;
- }
- };
- },
- provides: function provides(providers) {
- providers.generateAbstractTransformGrouping = function (_ref) {
- var main = _ref.main,
- transform = _ref.transform,
- containerWidth = _ref.containerWidth,
- iconWidth = _ref.iconWidth;
- var outer = {
- transform: "translate(".concat(containerWidth / 2, " 256)")
- };
- var innerTranslate = "translate(".concat(transform.x * 32, ", ").concat(transform.y * 32, ") ");
- var innerScale = "scale(".concat(transform.size / 16 * (transform.flipX ? -1 : 1), ", ").concat(transform.size / 16 * (transform.flipY ? -1 : 1), ") ");
- var innerRotate = "rotate(".concat(transform.rotate, " 0 0)");
- var inner = {
- transform: "".concat(innerTranslate, " ").concat(innerScale, " ").concat(innerRotate)
- };
- var path = {
- transform: "translate(".concat(iconWidth / 2 * -1, " -256)")
- };
- var operations = {
- outer: outer,
- inner: inner,
- path: path
- };
- return {
- tag: 'g',
- attributes: _objectSpread2({}, operations.outer),
- children: [{
- tag: 'g',
- attributes: _objectSpread2({}, operations.inner),
- children: [{
- tag: main.icon.tag,
- children: main.icon.children,
- attributes: _objectSpread2(_objectSpread2({}, main.icon.attributes), operations.path)
- }]
- }]
- };
- };
- }
- };
- var ALL_SPACE = {
- x: 0,
- y: 0,
- width: '100%',
- height: '100%'
- };
- function fillBlack(abstract) {
- var force = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
- if (abstract.attributes && (abstract.attributes.fill || force)) {
- abstract.attributes.fill = 'black';
- }
- return abstract;
- }
- function deGroup(abstract) {
- if (abstract.tag === 'g') {
- return abstract.children;
- } else {
- return [abstract];
- }
- }
- var Masks = {
- hooks: function hooks() {
- return {
- parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
- var maskData = node.getAttribute('data-fa-mask');
- var mask = !maskData ? emptyCanonicalIcon() : getCanonicalIcon(maskData.split(' ').map(function (i) {
- return i.trim();
- }));
- if (!mask.prefix) {
- mask.prefix = getDefaultUsablePrefix();
- }
- accumulator.mask = mask;
- accumulator.maskId = node.getAttribute('data-fa-mask-id');
- return accumulator;
- }
- };
- },
- provides: function provides(providers) {
- providers.generateAbstractMask = function (_ref) {
- var children = _ref.children,
- attributes = _ref.attributes,
- main = _ref.main,
- mask = _ref.mask,
- explicitMaskId = _ref.maskId,
- transform = _ref.transform;
- var mainWidth = main.width,
- mainPath = main.icon;
- var maskWidth = mask.width,
- maskPath = mask.icon;
- var trans = transformForSvg({
- transform: transform,
- containerWidth: maskWidth,
- iconWidth: mainWidth
- });
- var maskRect = {
- tag: 'rect',
- attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
- fill: 'white'
- })
- };
- var maskInnerGroupChildrenMixin = mainPath.children ? {
- children: mainPath.children.map(fillBlack)
- } : {};
- var maskInnerGroup = {
- tag: 'g',
- attributes: _objectSpread2({}, trans.inner),
- children: [fillBlack(_objectSpread2({
- tag: mainPath.tag,
- attributes: _objectSpread2(_objectSpread2({}, mainPath.attributes), trans.path)
- }, maskInnerGroupChildrenMixin))]
- };
- var maskOuterGroup = {
- tag: 'g',
- attributes: _objectSpread2({}, trans.outer),
- children: [maskInnerGroup]
- };
- var maskId = "mask-".concat(explicitMaskId || nextUniqueId());
- var clipId = "clip-".concat(explicitMaskId || nextUniqueId());
- var maskTag = {
- tag: 'mask',
- attributes: _objectSpread2(_objectSpread2({}, ALL_SPACE), {}, {
- id: maskId,
- maskUnits: 'userSpaceOnUse',
- maskContentUnits: 'userSpaceOnUse'
- }),
- children: [maskRect, maskOuterGroup]
- };
- var defs = {
- tag: 'defs',
- children: [{
- tag: 'clipPath',
- attributes: {
- id: clipId
- },
- children: deGroup(maskPath)
- }, maskTag]
- };
- children.push(defs, {
- tag: 'rect',
- attributes: _objectSpread2({
- fill: 'currentColor',
- 'clip-path': "url(#".concat(clipId, ")"),
- mask: "url(#".concat(maskId, ")")
- }, ALL_SPACE)
- });
- return {
- children: children,
- attributes: attributes
- };
- };
- }
- };
- var MissingIconIndicator = {
- provides: function provides(providers) {
- var reduceMotion = false;
- if (WINDOW.matchMedia) {
- reduceMotion = WINDOW.matchMedia('(prefers-reduced-motion: reduce)').matches;
- }
- providers.missingIconAbstract = function () {
- var gChildren = [];
- var FILL = {
- fill: 'currentColor'
- };
- var ANIMATION_BASE = {
- attributeType: 'XML',
- repeatCount: 'indefinite',
- dur: '2s'
- }; // Ring
- gChildren.push({
- tag: 'path',
- attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
- 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'
- })
- });
- var OPACITY_ANIMATE = _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
- attributeName: 'opacity'
- });
- var dot = {
- tag: 'circle',
- attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
- cx: '256',
- cy: '364',
- r: '28'
- }),
- children: []
- };
- if (!reduceMotion) {
- dot.children.push({
- tag: 'animate',
- attributes: _objectSpread2(_objectSpread2({}, ANIMATION_BASE), {}, {
- attributeName: 'r',
- values: '28;14;28;28;14;28;'
- })
- }, {
- tag: 'animate',
- attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
- values: '1;0;1;1;0;1;'
- })
- });
- }
- gChildren.push(dot);
- gChildren.push({
- tag: 'path',
- attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
- opacity: '1',
- 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'
- }),
- children: reduceMotion ? [] : [{
- tag: 'animate',
- attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
- values: '1;0;0;0;0;1;'
- })
- }]
- });
- if (!reduceMotion) {
- // Exclamation
- gChildren.push({
- tag: 'path',
- attributes: _objectSpread2(_objectSpread2({}, FILL), {}, {
- opacity: '0',
- 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'
- }),
- children: [{
- tag: 'animate',
- attributes: _objectSpread2(_objectSpread2({}, OPACITY_ANIMATE), {}, {
- values: '0;0;1;1;0;0;'
- })
- }]
- });
- }
- return {
- tag: 'g',
- attributes: {
- 'class': 'missing'
- },
- children: gChildren
- };
- };
- }
- };
- var SvgSymbols = {
- hooks: function hooks() {
- return {
- parseNodeAttributes: function parseNodeAttributes(accumulator, node) {
- var symbolData = node.getAttribute('data-fa-symbol');
- var symbol = symbolData === null ? false : symbolData === '' ? true : symbolData;
- accumulator['symbol'] = symbol;
- return accumulator;
- }
- };
- }
- };
- var plugins = [InjectCSS, ReplaceElements, Layers, LayersCounter, LayersText, PseudoElements, MutationObserver$1, PowerTransforms, Masks, MissingIconIndicator, SvgSymbols];
- registerPlugins(plugins, {
- mixoutsTo: api
- });
- var noAuto$1 = api.noAuto;
- var config$1 = api.config;
- var library$1 = api.library;
- var dom$1 = api.dom;
- var parse$1 = api.parse;
- var findIconDefinition$1 = api.findIconDefinition;
- var toHtml$1 = api.toHtml;
- var icon = api.icon;
- var layer = api.layer;
- var text = api.text;
- var counter = api.counter;
- /***/ }),
- /***/ 2257:
- /*!*******************************************************************!*\
- !*** ./node_modules/@fortawesome/free-brands-svg-icons/index.mjs ***!
- \*******************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "fa42Group": () => (/* binding */ fa42Group),
- /* harmony export */ "fa500px": () => (/* binding */ fa500px),
- /* harmony export */ "faAccessibleIcon": () => (/* binding */ faAccessibleIcon),
- /* harmony export */ "faAccusoft": () => (/* binding */ faAccusoft),
- /* harmony export */ "faAdn": () => (/* binding */ faAdn),
- /* harmony export */ "faAdversal": () => (/* binding */ faAdversal),
- /* harmony export */ "faAffiliatetheme": () => (/* binding */ faAffiliatetheme),
- /* harmony export */ "faAirbnb": () => (/* binding */ faAirbnb),
- /* harmony export */ "faAlgolia": () => (/* binding */ faAlgolia),
- /* harmony export */ "faAlipay": () => (/* binding */ faAlipay),
- /* harmony export */ "faAmazon": () => (/* binding */ faAmazon),
- /* harmony export */ "faAmazonPay": () => (/* binding */ faAmazonPay),
- /* harmony export */ "faAmilia": () => (/* binding */ faAmilia),
- /* harmony export */ "faAndroid": () => (/* binding */ faAndroid),
- /* harmony export */ "faAngellist": () => (/* binding */ faAngellist),
- /* harmony export */ "faAngrycreative": () => (/* binding */ faAngrycreative),
- /* harmony export */ "faAngular": () => (/* binding */ faAngular),
- /* harmony export */ "faAppStore": () => (/* binding */ faAppStore),
- /* harmony export */ "faAppStoreIos": () => (/* binding */ faAppStoreIos),
- /* harmony export */ "faApper": () => (/* binding */ faApper),
- /* harmony export */ "faApple": () => (/* binding */ faApple),
- /* harmony export */ "faApplePay": () => (/* binding */ faApplePay),
- /* harmony export */ "faArtstation": () => (/* binding */ faArtstation),
- /* harmony export */ "faAsymmetrik": () => (/* binding */ faAsymmetrik),
- /* harmony export */ "faAtlassian": () => (/* binding */ faAtlassian),
- /* harmony export */ "faAudible": () => (/* binding */ faAudible),
- /* harmony export */ "faAutoprefixer": () => (/* binding */ faAutoprefixer),
- /* harmony export */ "faAvianex": () => (/* binding */ faAvianex),
- /* harmony export */ "faAviato": () => (/* binding */ faAviato),
- /* harmony export */ "faAws": () => (/* binding */ faAws),
- /* harmony export */ "faBandcamp": () => (/* binding */ faBandcamp),
- /* harmony export */ "faBattleNet": () => (/* binding */ faBattleNet),
- /* harmony export */ "faBehance": () => (/* binding */ faBehance),
- /* harmony export */ "faBehanceSquare": () => (/* binding */ faBehanceSquare),
- /* harmony export */ "faBilibili": () => (/* binding */ faBilibili),
- /* harmony export */ "faBimobject": () => (/* binding */ faBimobject),
- /* harmony export */ "faBitbucket": () => (/* binding */ faBitbucket),
- /* harmony export */ "faBitcoin": () => (/* binding */ faBitcoin),
- /* harmony export */ "faBity": () => (/* binding */ faBity),
- /* harmony export */ "faBlackTie": () => (/* binding */ faBlackTie),
- /* harmony export */ "faBlackberry": () => (/* binding */ faBlackberry),
- /* harmony export */ "faBlogger": () => (/* binding */ faBlogger),
- /* harmony export */ "faBloggerB": () => (/* binding */ faBloggerB),
- /* harmony export */ "faBluetooth": () => (/* binding */ faBluetooth),
- /* harmony export */ "faBluetoothB": () => (/* binding */ faBluetoothB),
- /* harmony export */ "faBootstrap": () => (/* binding */ faBootstrap),
- /* harmony export */ "faBots": () => (/* binding */ faBots),
- /* harmony export */ "faBtc": () => (/* binding */ faBtc),
- /* harmony export */ "faBuffer": () => (/* binding */ faBuffer),
- /* harmony export */ "faBuromobelexperte": () => (/* binding */ faBuromobelexperte),
- /* harmony export */ "faBuyNLarge": () => (/* binding */ faBuyNLarge),
- /* harmony export */ "faBuysellads": () => (/* binding */ faBuysellads),
- /* harmony export */ "faCanadianMapleLeaf": () => (/* binding */ faCanadianMapleLeaf),
- /* harmony export */ "faCcAmazonPay": () => (/* binding */ faCcAmazonPay),
- /* harmony export */ "faCcAmex": () => (/* binding */ faCcAmex),
- /* harmony export */ "faCcApplePay": () => (/* binding */ faCcApplePay),
- /* harmony export */ "faCcDinersClub": () => (/* binding */ faCcDinersClub),
- /* harmony export */ "faCcDiscover": () => (/* binding */ faCcDiscover),
- /* harmony export */ "faCcJcb": () => (/* binding */ faCcJcb),
- /* harmony export */ "faCcMastercard": () => (/* binding */ faCcMastercard),
- /* harmony export */ "faCcPaypal": () => (/* binding */ faCcPaypal),
- /* harmony export */ "faCcStripe": () => (/* binding */ faCcStripe),
- /* harmony export */ "faCcVisa": () => (/* binding */ faCcVisa),
- /* harmony export */ "faCentercode": () => (/* binding */ faCentercode),
- /* harmony export */ "faCentos": () => (/* binding */ faCentos),
- /* harmony export */ "faChrome": () => (/* binding */ faChrome),
- /* harmony export */ "faChromecast": () => (/* binding */ faChromecast),
- /* harmony export */ "faCloudflare": () => (/* binding */ faCloudflare),
- /* harmony export */ "faCloudscale": () => (/* binding */ faCloudscale),
- /* harmony export */ "faCloudsmith": () => (/* binding */ faCloudsmith),
- /* harmony export */ "faCloudversify": () => (/* binding */ faCloudversify),
- /* harmony export */ "faCmplid": () => (/* binding */ faCmplid),
- /* harmony export */ "faCodepen": () => (/* binding */ faCodepen),
- /* harmony export */ "faCodiepie": () => (/* binding */ faCodiepie),
- /* harmony export */ "faConfluence": () => (/* binding */ faConfluence),
- /* harmony export */ "faConnectdevelop": () => (/* binding */ faConnectdevelop),
- /* harmony export */ "faContao": () => (/* binding */ faContao),
- /* harmony export */ "faCottonBureau": () => (/* binding */ faCottonBureau),
- /* harmony export */ "faCpanel": () => (/* binding */ faCpanel),
- /* harmony export */ "faCreativeCommons": () => (/* binding */ faCreativeCommons),
- /* harmony export */ "faCreativeCommonsBy": () => (/* binding */ faCreativeCommonsBy),
- /* harmony export */ "faCreativeCommonsNc": () => (/* binding */ faCreativeCommonsNc),
- /* harmony export */ "faCreativeCommonsNcEu": () => (/* binding */ faCreativeCommonsNcEu),
- /* harmony export */ "faCreativeCommonsNcJp": () => (/* binding */ faCreativeCommonsNcJp),
- /* harmony export */ "faCreativeCommonsNd": () => (/* binding */ faCreativeCommonsNd),
- /* harmony export */ "faCreativeCommonsPd": () => (/* binding */ faCreativeCommonsPd),
- /* harmony export */ "faCreativeCommonsPdAlt": () => (/* binding */ faCreativeCommonsPdAlt),
- /* harmony export */ "faCreativeCommonsRemix": () => (/* binding */ faCreativeCommonsRemix),
- /* harmony export */ "faCreativeCommonsSa": () => (/* binding */ faCreativeCommonsSa),
- /* harmony export */ "faCreativeCommonsSampling": () => (/* binding */ faCreativeCommonsSampling),
- /* harmony export */ "faCreativeCommonsSamplingPlus": () => (/* binding */ faCreativeCommonsSamplingPlus),
- /* harmony export */ "faCreativeCommonsShare": () => (/* binding */ faCreativeCommonsShare),
- /* harmony export */ "faCreativeCommonsZero": () => (/* binding */ faCreativeCommonsZero),
- /* harmony export */ "faCriticalRole": () => (/* binding */ faCriticalRole),
- /* harmony export */ "faCss3": () => (/* binding */ faCss3),
- /* harmony export */ "faCss3Alt": () => (/* binding */ faCss3Alt),
- /* harmony export */ "faCuttlefish": () => (/* binding */ faCuttlefish),
- /* harmony export */ "faDAndD": () => (/* binding */ faDAndD),
- /* harmony export */ "faDAndDBeyond": () => (/* binding */ faDAndDBeyond),
- /* harmony export */ "faDailymotion": () => (/* binding */ faDailymotion),
- /* harmony export */ "faDashcube": () => (/* binding */ faDashcube),
- /* harmony export */ "faDeezer": () => (/* binding */ faDeezer),
- /* harmony export */ "faDelicious": () => (/* binding */ faDelicious),
- /* harmony export */ "faDeploydog": () => (/* binding */ faDeploydog),
- /* harmony export */ "faDeskpro": () => (/* binding */ faDeskpro),
- /* harmony export */ "faDev": () => (/* binding */ faDev),
- /* harmony export */ "faDeviantart": () => (/* binding */ faDeviantart),
- /* harmony export */ "faDhl": () => (/* binding */ faDhl),
- /* harmony export */ "faDiaspora": () => (/* binding */ faDiaspora),
- /* harmony export */ "faDigg": () => (/* binding */ faDigg),
- /* harmony export */ "faDigitalOcean": () => (/* binding */ faDigitalOcean),
- /* harmony export */ "faDiscord": () => (/* binding */ faDiscord),
- /* harmony export */ "faDiscourse": () => (/* binding */ faDiscourse),
- /* harmony export */ "faDochub": () => (/* binding */ faDochub),
- /* harmony export */ "faDocker": () => (/* binding */ faDocker),
- /* harmony export */ "faDraft2digital": () => (/* binding */ faDraft2digital),
- /* harmony export */ "faDribbble": () => (/* binding */ faDribbble),
- /* harmony export */ "faDribbbleSquare": () => (/* binding */ faDribbbleSquare),
- /* harmony export */ "faDropbox": () => (/* binding */ faDropbox),
- /* harmony export */ "faDrupal": () => (/* binding */ faDrupal),
- /* harmony export */ "faDyalog": () => (/* binding */ faDyalog),
- /* harmony export */ "faEarlybirds": () => (/* binding */ faEarlybirds),
- /* harmony export */ "faEbay": () => (/* binding */ faEbay),
- /* harmony export */ "faEdge": () => (/* binding */ faEdge),
- /* harmony export */ "faEdgeLegacy": () => (/* binding */ faEdgeLegacy),
- /* harmony export */ "faElementor": () => (/* binding */ faElementor),
- /* harmony export */ "faEllo": () => (/* binding */ faEllo),
- /* harmony export */ "faEmber": () => (/* binding */ faEmber),
- /* harmony export */ "faEmpire": () => (/* binding */ faEmpire),
- /* harmony export */ "faEnvira": () => (/* binding */ faEnvira),
- /* harmony export */ "faErlang": () => (/* binding */ faErlang),
- /* harmony export */ "faEthereum": () => (/* binding */ faEthereum),
- /* harmony export */ "faEtsy": () => (/* binding */ faEtsy),
- /* harmony export */ "faEvernote": () => (/* binding */ faEvernote),
- /* harmony export */ "faExpeditedssl": () => (/* binding */ faExpeditedssl),
- /* harmony export */ "faFacebook": () => (/* binding */ faFacebook),
- /* harmony export */ "faFacebookF": () => (/* binding */ faFacebookF),
- /* harmony export */ "faFacebookMessenger": () => (/* binding */ faFacebookMessenger),
- /* harmony export */ "faFacebookSquare": () => (/* binding */ faFacebookSquare),
- /* harmony export */ "faFantasyFlightGames": () => (/* binding */ faFantasyFlightGames),
- /* harmony export */ "faFedex": () => (/* binding */ faFedex),
- /* harmony export */ "faFedora": () => (/* binding */ faFedora),
- /* harmony export */ "faFigma": () => (/* binding */ faFigma),
- /* harmony export */ "faFirefox": () => (/* binding */ faFirefox),
- /* harmony export */ "faFirefoxBrowser": () => (/* binding */ faFirefoxBrowser),
- /* harmony export */ "faFirstOrder": () => (/* binding */ faFirstOrder),
- /* harmony export */ "faFirstOrderAlt": () => (/* binding */ faFirstOrderAlt),
- /* harmony export */ "faFirstdraft": () => (/* binding */ faFirstdraft),
- /* harmony export */ "faFlickr": () => (/* binding */ faFlickr),
- /* harmony export */ "faFlipboard": () => (/* binding */ faFlipboard),
- /* harmony export */ "faFly": () => (/* binding */ faFly),
- /* harmony export */ "faFontAwesome": () => (/* binding */ faFontAwesome),
- /* harmony export */ "faFontAwesomeAlt": () => (/* binding */ faFontAwesomeAlt),
- /* harmony export */ "faFontAwesomeFlag": () => (/* binding */ faFontAwesomeFlag),
- /* harmony export */ "faFontAwesomeLogoFull": () => (/* binding */ faFontAwesomeLogoFull),
- /* harmony export */ "faFonticons": () => (/* binding */ faFonticons),
- /* harmony export */ "faFonticonsFi": () => (/* binding */ faFonticonsFi),
- /* harmony export */ "faFortAwesome": () => (/* binding */ faFortAwesome),
- /* harmony export */ "faFortAwesomeAlt": () => (/* binding */ faFortAwesomeAlt),
- /* harmony export */ "faForumbee": () => (/* binding */ faForumbee),
- /* harmony export */ "faFoursquare": () => (/* binding */ faFoursquare),
- /* harmony export */ "faFreeCodeCamp": () => (/* binding */ faFreeCodeCamp),
- /* harmony export */ "faFreebsd": () => (/* binding */ faFreebsd),
- /* harmony export */ "faFulcrum": () => (/* binding */ faFulcrum),
- /* harmony export */ "faGalacticRepublic": () => (/* binding */ faGalacticRepublic),
- /* harmony export */ "faGalacticSenate": () => (/* binding */ faGalacticSenate),
- /* harmony export */ "faGetPocket": () => (/* binding */ faGetPocket),
- /* harmony export */ "faGg": () => (/* binding */ faGg),
- /* harmony export */ "faGgCircle": () => (/* binding */ faGgCircle),
- /* harmony export */ "faGit": () => (/* binding */ faGit),
- /* harmony export */ "faGitAlt": () => (/* binding */ faGitAlt),
- /* harmony export */ "faGitSquare": () => (/* binding */ faGitSquare),
- /* harmony export */ "faGithub": () => (/* binding */ faGithub),
- /* harmony export */ "faGithubAlt": () => (/* binding */ faGithubAlt),
- /* harmony export */ "faGithubSquare": () => (/* binding */ faGithubSquare),
- /* harmony export */ "faGitkraken": () => (/* binding */ faGitkraken),
- /* harmony export */ "faGitlab": () => (/* binding */ faGitlab),
- /* harmony export */ "faGitlabSquare": () => (/* binding */ faGitlabSquare),
- /* harmony export */ "faGitter": () => (/* binding */ faGitter),
- /* harmony export */ "faGlide": () => (/* binding */ faGlide),
- /* harmony export */ "faGlideG": () => (/* binding */ faGlideG),
- /* harmony export */ "faGofore": () => (/* binding */ faGofore),
- /* harmony export */ "faGolang": () => (/* binding */ faGolang),
- /* harmony export */ "faGoodreads": () => (/* binding */ faGoodreads),
- /* harmony export */ "faGoodreadsG": () => (/* binding */ faGoodreadsG),
- /* harmony export */ "faGoogle": () => (/* binding */ faGoogle),
- /* harmony export */ "faGoogleDrive": () => (/* binding */ faGoogleDrive),
- /* harmony export */ "faGooglePay": () => (/* binding */ faGooglePay),
- /* harmony export */ "faGooglePlay": () => (/* binding */ faGooglePlay),
- /* harmony export */ "faGooglePlus": () => (/* binding */ faGooglePlus),
- /* harmony export */ "faGooglePlusG": () => (/* binding */ faGooglePlusG),
- /* harmony export */ "faGooglePlusSquare": () => (/* binding */ faGooglePlusSquare),
- /* harmony export */ "faGoogleWallet": () => (/* binding */ faGoogleWallet),
- /* harmony export */ "faGratipay": () => (/* binding */ faGratipay),
- /* harmony export */ "faGrav": () => (/* binding */ faGrav),
- /* harmony export */ "faGripfire": () => (/* binding */ faGripfire),
- /* harmony export */ "faGrunt": () => (/* binding */ faGrunt),
- /* harmony export */ "faGuilded": () => (/* binding */ faGuilded),
- /* harmony export */ "faGulp": () => (/* binding */ faGulp),
- /* harmony export */ "faHackerNews": () => (/* binding */ faHackerNews),
- /* harmony export */ "faHackerNewsSquare": () => (/* binding */ faHackerNewsSquare),
- /* harmony export */ "faHackerrank": () => (/* binding */ faHackerrank),
- /* harmony export */ "faHashnode": () => (/* binding */ faHashnode),
- /* harmony export */ "faHips": () => (/* binding */ faHips),
- /* harmony export */ "faHireAHelper": () => (/* binding */ faHireAHelper),
- /* harmony export */ "faHive": () => (/* binding */ faHive),
- /* harmony export */ "faHooli": () => (/* binding */ faHooli),
- /* harmony export */ "faHornbill": () => (/* binding */ faHornbill),
- /* harmony export */ "faHotjar": () => (/* binding */ faHotjar),
- /* harmony export */ "faHouzz": () => (/* binding */ faHouzz),
- /* harmony export */ "faHtml5": () => (/* binding */ faHtml5),
- /* harmony export */ "faHubspot": () => (/* binding */ faHubspot),
- /* harmony export */ "faIdeal": () => (/* binding */ faIdeal),
- /* harmony export */ "faImdb": () => (/* binding */ faImdb),
- /* harmony export */ "faInnosoft": () => (/* binding */ faInnosoft),
- /* harmony export */ "faInstagram": () => (/* binding */ faInstagram),
- /* harmony export */ "faInstagramSquare": () => (/* binding */ faInstagramSquare),
- /* harmony export */ "faInstalod": () => (/* binding */ faInstalod),
- /* harmony export */ "faIntercom": () => (/* binding */ faIntercom),
- /* harmony export */ "faInternetExplorer": () => (/* binding */ faInternetExplorer),
- /* harmony export */ "faInvision": () => (/* binding */ faInvision),
- /* harmony export */ "faIoxhost": () => (/* binding */ faIoxhost),
- /* harmony export */ "faItchIo": () => (/* binding */ faItchIo),
- /* harmony export */ "faItunes": () => (/* binding */ faItunes),
- /* harmony export */ "faItunesNote": () => (/* binding */ faItunesNote),
- /* harmony export */ "faJava": () => (/* binding */ faJava),
- /* harmony export */ "faJediOrder": () => (/* binding */ faJediOrder),
- /* harmony export */ "faJenkins": () => (/* binding */ faJenkins),
- /* harmony export */ "faJira": () => (/* binding */ faJira),
- /* harmony export */ "faJoget": () => (/* binding */ faJoget),
- /* harmony export */ "faJoomla": () => (/* binding */ faJoomla),
- /* harmony export */ "faJs": () => (/* binding */ faJs),
- /* harmony export */ "faJsSquare": () => (/* binding */ faJsSquare),
- /* harmony export */ "faJsfiddle": () => (/* binding */ faJsfiddle),
- /* harmony export */ "faKaggle": () => (/* binding */ faKaggle),
- /* harmony export */ "faKeybase": () => (/* binding */ faKeybase),
- /* harmony export */ "faKeycdn": () => (/* binding */ faKeycdn),
- /* harmony export */ "faKickstarter": () => (/* binding */ faKickstarter),
- /* harmony export */ "faKickstarterK": () => (/* binding */ faKickstarterK),
- /* harmony export */ "faKorvue": () => (/* binding */ faKorvue),
- /* harmony export */ "faLaravel": () => (/* binding */ faLaravel),
- /* harmony export */ "faLastfm": () => (/* binding */ faLastfm),
- /* harmony export */ "faLastfmSquare": () => (/* binding */ faLastfmSquare),
- /* harmony export */ "faLeanpub": () => (/* binding */ faLeanpub),
- /* harmony export */ "faLess": () => (/* binding */ faLess),
- /* harmony export */ "faLine": () => (/* binding */ faLine),
- /* harmony export */ "faLinkedin": () => (/* binding */ faLinkedin),
- /* harmony export */ "faLinkedinIn": () => (/* binding */ faLinkedinIn),
- /* harmony export */ "faLinode": () => (/* binding */ faLinode),
- /* harmony export */ "faLinux": () => (/* binding */ faLinux),
- /* harmony export */ "faLyft": () => (/* binding */ faLyft),
- /* harmony export */ "faMagento": () => (/* binding */ faMagento),
- /* harmony export */ "faMailchimp": () => (/* binding */ faMailchimp),
- /* harmony export */ "faMandalorian": () => (/* binding */ faMandalorian),
- /* harmony export */ "faMarkdown": () => (/* binding */ faMarkdown),
- /* harmony export */ "faMastodon": () => (/* binding */ faMastodon),
- /* harmony export */ "faMaxcdn": () => (/* binding */ faMaxcdn),
- /* harmony export */ "faMdb": () => (/* binding */ faMdb),
- /* harmony export */ "faMedapps": () => (/* binding */ faMedapps),
- /* harmony export */ "faMedium": () => (/* binding */ faMedium),
- /* harmony export */ "faMediumM": () => (/* binding */ faMediumM),
- /* harmony export */ "faMedrt": () => (/* binding */ faMedrt),
- /* harmony export */ "faMeetup": () => (/* binding */ faMeetup),
- /* harmony export */ "faMegaport": () => (/* binding */ faMegaport),
- /* harmony export */ "faMendeley": () => (/* binding */ faMendeley),
- /* harmony export */ "faMeta": () => (/* binding */ faMeta),
- /* harmony export */ "faMicroblog": () => (/* binding */ faMicroblog),
- /* harmony export */ "faMicrosoft": () => (/* binding */ faMicrosoft),
- /* harmony export */ "faMix": () => (/* binding */ faMix),
- /* harmony export */ "faMixcloud": () => (/* binding */ faMixcloud),
- /* harmony export */ "faMixer": () => (/* binding */ faMixer),
- /* harmony export */ "faMizuni": () => (/* binding */ faMizuni),
- /* harmony export */ "faModx": () => (/* binding */ faModx),
- /* harmony export */ "faMonero": () => (/* binding */ faMonero),
- /* harmony export */ "faNapster": () => (/* binding */ faNapster),
- /* harmony export */ "faNeos": () => (/* binding */ faNeos),
- /* harmony export */ "faNfcDirectional": () => (/* binding */ faNfcDirectional),
- /* harmony export */ "faNfcSymbol": () => (/* binding */ faNfcSymbol),
- /* harmony export */ "faNimblr": () => (/* binding */ faNimblr),
- /* harmony export */ "faNode": () => (/* binding */ faNode),
- /* harmony export */ "faNodeJs": () => (/* binding */ faNodeJs),
- /* harmony export */ "faNpm": () => (/* binding */ faNpm),
- /* harmony export */ "faNs8": () => (/* binding */ faNs8),
- /* harmony export */ "faNutritionix": () => (/* binding */ faNutritionix),
- /* harmony export */ "faOctopusDeploy": () => (/* binding */ faOctopusDeploy),
- /* harmony export */ "faOdnoklassniki": () => (/* binding */ faOdnoklassniki),
- /* harmony export */ "faOdnoklassnikiSquare": () => (/* binding */ faOdnoklassnikiSquare),
- /* harmony export */ "faOldRepublic": () => (/* binding */ faOldRepublic),
- /* harmony export */ "faOpencart": () => (/* binding */ faOpencart),
- /* harmony export */ "faOpenid": () => (/* binding */ faOpenid),
- /* harmony export */ "faOpera": () => (/* binding */ faOpera),
- /* harmony export */ "faOptinMonster": () => (/* binding */ faOptinMonster),
- /* harmony export */ "faOrcid": () => (/* binding */ faOrcid),
- /* harmony export */ "faOsi": () => (/* binding */ faOsi),
- /* harmony export */ "faPadlet": () => (/* binding */ faPadlet),
- /* harmony export */ "faPage4": () => (/* binding */ faPage4),
- /* harmony export */ "faPagelines": () => (/* binding */ faPagelines),
- /* harmony export */ "faPalfed": () => (/* binding */ faPalfed),
- /* harmony export */ "faPatreon": () => (/* binding */ faPatreon),
- /* harmony export */ "faPaypal": () => (/* binding */ faPaypal),
- /* harmony export */ "faPerbyte": () => (/* binding */ faPerbyte),
- /* harmony export */ "faPeriscope": () => (/* binding */ faPeriscope),
- /* harmony export */ "faPhabricator": () => (/* binding */ faPhabricator),
- /* harmony export */ "faPhoenixFramework": () => (/* binding */ faPhoenixFramework),
- /* harmony export */ "faPhoenixSquadron": () => (/* binding */ faPhoenixSquadron),
- /* harmony export */ "faPhp": () => (/* binding */ faPhp),
- /* harmony export */ "faPiedPiper": () => (/* binding */ faPiedPiper),
- /* harmony export */ "faPiedPiperAlt": () => (/* binding */ faPiedPiperAlt),
- /* harmony export */ "faPiedPiperHat": () => (/* binding */ faPiedPiperHat),
- /* harmony export */ "faPiedPiperPp": () => (/* binding */ faPiedPiperPp),
- /* harmony export */ "faPiedPiperSquare": () => (/* binding */ faPiedPiperSquare),
- /* harmony export */ "faPinterest": () => (/* binding */ faPinterest),
- /* harmony export */ "faPinterestP": () => (/* binding */ faPinterestP),
- /* harmony export */ "faPinterestSquare": () => (/* binding */ faPinterestSquare),
- /* harmony export */ "faPix": () => (/* binding */ faPix),
- /* harmony export */ "faPlaystation": () => (/* binding */ faPlaystation),
- /* harmony export */ "faProductHunt": () => (/* binding */ faProductHunt),
- /* harmony export */ "faPushed": () => (/* binding */ faPushed),
- /* harmony export */ "faPython": () => (/* binding */ faPython),
- /* harmony export */ "faQq": () => (/* binding */ faQq),
- /* harmony export */ "faQuinscape": () => (/* binding */ faQuinscape),
- /* harmony export */ "faQuora": () => (/* binding */ faQuora),
- /* harmony export */ "faRProject": () => (/* binding */ faRProject),
- /* harmony export */ "faRaspberryPi": () => (/* binding */ faRaspberryPi),
- /* harmony export */ "faRavelry": () => (/* binding */ faRavelry),
- /* harmony export */ "faReact": () => (/* binding */ faReact),
- /* harmony export */ "faReacteurope": () => (/* binding */ faReacteurope),
- /* harmony export */ "faReadme": () => (/* binding */ faReadme),
- /* harmony export */ "faRebel": () => (/* binding */ faRebel),
- /* harmony export */ "faRedRiver": () => (/* binding */ faRedRiver),
- /* harmony export */ "faReddit": () => (/* binding */ faReddit),
- /* harmony export */ "faRedditAlien": () => (/* binding */ faRedditAlien),
- /* harmony export */ "faRedditSquare": () => (/* binding */ faRedditSquare),
- /* harmony export */ "faRedhat": () => (/* binding */ faRedhat),
- /* harmony export */ "faRendact": () => (/* binding */ faRendact),
- /* harmony export */ "faRenren": () => (/* binding */ faRenren),
- /* harmony export */ "faReplyd": () => (/* binding */ faReplyd),
- /* harmony export */ "faResearchgate": () => (/* binding */ faResearchgate),
- /* harmony export */ "faResolving": () => (/* binding */ faResolving),
- /* harmony export */ "faRev": () => (/* binding */ faRev),
- /* harmony export */ "faRocketchat": () => (/* binding */ faRocketchat),
- /* harmony export */ "faRockrms": () => (/* binding */ faRockrms),
- /* harmony export */ "faRust": () => (/* binding */ faRust),
- /* harmony export */ "faSafari": () => (/* binding */ faSafari),
- /* harmony export */ "faSalesforce": () => (/* binding */ faSalesforce),
- /* harmony export */ "faSass": () => (/* binding */ faSass),
- /* harmony export */ "faSchlix": () => (/* binding */ faSchlix),
- /* harmony export */ "faScreenpal": () => (/* binding */ faScreenpal),
- /* harmony export */ "faScribd": () => (/* binding */ faScribd),
- /* harmony export */ "faSearchengin": () => (/* binding */ faSearchengin),
- /* harmony export */ "faSellcast": () => (/* binding */ faSellcast),
- /* harmony export */ "faSellsy": () => (/* binding */ faSellsy),
- /* harmony export */ "faServicestack": () => (/* binding */ faServicestack),
- /* harmony export */ "faShirtsinbulk": () => (/* binding */ faShirtsinbulk),
- /* harmony export */ "faShopify": () => (/* binding */ faShopify),
- /* harmony export */ "faShopware": () => (/* binding */ faShopware),
- /* harmony export */ "faSimplybuilt": () => (/* binding */ faSimplybuilt),
- /* harmony export */ "faSistrix": () => (/* binding */ faSistrix),
- /* harmony export */ "faSith": () => (/* binding */ faSith),
- /* harmony export */ "faSitrox": () => (/* binding */ faSitrox),
- /* harmony export */ "faSketch": () => (/* binding */ faSketch),
- /* harmony export */ "faSkyatlas": () => (/* binding */ faSkyatlas),
- /* harmony export */ "faSkype": () => (/* binding */ faSkype),
- /* harmony export */ "faSlack": () => (/* binding */ faSlack),
- /* harmony export */ "faSlackHash": () => (/* binding */ faSlackHash),
- /* harmony export */ "faSlideshare": () => (/* binding */ faSlideshare),
- /* harmony export */ "faSnapchat": () => (/* binding */ faSnapchat),
- /* harmony export */ "faSnapchatGhost": () => (/* binding */ faSnapchatGhost),
- /* harmony export */ "faSnapchatSquare": () => (/* binding */ faSnapchatSquare),
- /* harmony export */ "faSoundcloud": () => (/* binding */ faSoundcloud),
- /* harmony export */ "faSourcetree": () => (/* binding */ faSourcetree),
- /* harmony export */ "faSpaceAwesome": () => (/* binding */ faSpaceAwesome),
- /* harmony export */ "faSpeakap": () => (/* binding */ faSpeakap),
- /* harmony export */ "faSpeakerDeck": () => (/* binding */ faSpeakerDeck),
- /* harmony export */ "faSpotify": () => (/* binding */ faSpotify),
- /* harmony export */ "faSquareBehance": () => (/* binding */ faSquareBehance),
- /* harmony export */ "faSquareDribbble": () => (/* binding */ faSquareDribbble),
- /* harmony export */ "faSquareFacebook": () => (/* binding */ faSquareFacebook),
- /* harmony export */ "faSquareFontAwesome": () => (/* binding */ faSquareFontAwesome),
- /* harmony export */ "faSquareFontAwesomeStroke": () => (/* binding */ faSquareFontAwesomeStroke),
- /* harmony export */ "faSquareGit": () => (/* binding */ faSquareGit),
- /* harmony export */ "faSquareGithub": () => (/* binding */ faSquareGithub),
- /* harmony export */ "faSquareGitlab": () => (/* binding */ faSquareGitlab),
- /* harmony export */ "faSquareGooglePlus": () => (/* binding */ faSquareGooglePlus),
- /* harmony export */ "faSquareHackerNews": () => (/* binding */ faSquareHackerNews),
- /* harmony export */ "faSquareInstagram": () => (/* binding */ faSquareInstagram),
- /* harmony export */ "faSquareJs": () => (/* binding */ faSquareJs),
- /* harmony export */ "faSquareLastfm": () => (/* binding */ faSquareLastfm),
- /* harmony export */ "faSquareOdnoklassniki": () => (/* binding */ faSquareOdnoklassniki),
- /* harmony export */ "faSquarePiedPiper": () => (/* binding */ faSquarePiedPiper),
- /* harmony export */ "faSquarePinterest": () => (/* binding */ faSquarePinterest),
- /* harmony export */ "faSquareReddit": () => (/* binding */ faSquareReddit),
- /* harmony export */ "faSquareSnapchat": () => (/* binding */ faSquareSnapchat),
- /* harmony export */ "faSquareSteam": () => (/* binding */ faSquareSteam),
- /* harmony export */ "faSquareTumblr": () => (/* binding */ faSquareTumblr),
- /* harmony export */ "faSquareTwitter": () => (/* binding */ faSquareTwitter),
- /* harmony export */ "faSquareViadeo": () => (/* binding */ faSquareViadeo),
- /* harmony export */ "faSquareVimeo": () => (/* binding */ faSquareVimeo),
- /* harmony export */ "faSquareWhatsapp": () => (/* binding */ faSquareWhatsapp),
- /* harmony export */ "faSquareXing": () => (/* binding */ faSquareXing),
- /* harmony export */ "faSquareYoutube": () => (/* binding */ faSquareYoutube),
- /* harmony export */ "faSquarespace": () => (/* binding */ faSquarespace),
- /* harmony export */ "faStackExchange": () => (/* binding */ faStackExchange),
- /* harmony export */ "faStackOverflow": () => (/* binding */ faStackOverflow),
- /* harmony export */ "faStackpath": () => (/* binding */ faStackpath),
- /* harmony export */ "faStaylinked": () => (/* binding */ faStaylinked),
- /* harmony export */ "faSteam": () => (/* binding */ faSteam),
- /* harmony export */ "faSteamSquare": () => (/* binding */ faSteamSquare),
- /* harmony export */ "faSteamSymbol": () => (/* binding */ faSteamSymbol),
- /* harmony export */ "faStickerMule": () => (/* binding */ faStickerMule),
- /* harmony export */ "faStrava": () => (/* binding */ faStrava),
- /* harmony export */ "faStripe": () => (/* binding */ faStripe),
- /* harmony export */ "faStripeS": () => (/* binding */ faStripeS),
- /* harmony export */ "faStudiovinari": () => (/* binding */ faStudiovinari),
- /* harmony export */ "faStumbleupon": () => (/* binding */ faStumbleupon),
- /* harmony export */ "faStumbleuponCircle": () => (/* binding */ faStumbleuponCircle),
- /* harmony export */ "faSuperpowers": () => (/* binding */ faSuperpowers),
- /* harmony export */ "faSupple": () => (/* binding */ faSupple),
- /* harmony export */ "faSuse": () => (/* binding */ faSuse),
- /* harmony export */ "faSwift": () => (/* binding */ faSwift),
- /* harmony export */ "faSymfony": () => (/* binding */ faSymfony),
- /* harmony export */ "faTeamspeak": () => (/* binding */ faTeamspeak),
- /* harmony export */ "faTelegram": () => (/* binding */ faTelegram),
- /* harmony export */ "faTelegramPlane": () => (/* binding */ faTelegramPlane),
- /* harmony export */ "faTencentWeibo": () => (/* binding */ faTencentWeibo),
- /* harmony export */ "faTheRedYeti": () => (/* binding */ faTheRedYeti),
- /* harmony export */ "faThemeco": () => (/* binding */ faThemeco),
- /* harmony export */ "faThemeisle": () => (/* binding */ faThemeisle),
- /* harmony export */ "faThinkPeaks": () => (/* binding */ faThinkPeaks),
- /* harmony export */ "faTiktok": () => (/* binding */ faTiktok),
- /* harmony export */ "faTradeFederation": () => (/* binding */ faTradeFederation),
- /* harmony export */ "faTrello": () => (/* binding */ faTrello),
- /* harmony export */ "faTumblr": () => (/* binding */ faTumblr),
- /* harmony export */ "faTumblrSquare": () => (/* binding */ faTumblrSquare),
- /* harmony export */ "faTwitch": () => (/* binding */ faTwitch),
- /* harmony export */ "faTwitter": () => (/* binding */ faTwitter),
- /* harmony export */ "faTwitterSquare": () => (/* binding */ faTwitterSquare),
- /* harmony export */ "faTypo3": () => (/* binding */ faTypo3),
- /* harmony export */ "faUber": () => (/* binding */ faUber),
- /* harmony export */ "faUbuntu": () => (/* binding */ faUbuntu),
- /* harmony export */ "faUikit": () => (/* binding */ faUikit),
- /* harmony export */ "faUmbraco": () => (/* binding */ faUmbraco),
- /* harmony export */ "faUncharted": () => (/* binding */ faUncharted),
- /* harmony export */ "faUniregistry": () => (/* binding */ faUniregistry),
- /* harmony export */ "faUnity": () => (/* binding */ faUnity),
- /* harmony export */ "faUnsplash": () => (/* binding */ faUnsplash),
- /* harmony export */ "faUntappd": () => (/* binding */ faUntappd),
- /* harmony export */ "faUps": () => (/* binding */ faUps),
- /* harmony export */ "faUsb": () => (/* binding */ faUsb),
- /* harmony export */ "faUsps": () => (/* binding */ faUsps),
- /* harmony export */ "faUssunnah": () => (/* binding */ faUssunnah),
- /* harmony export */ "faVaadin": () => (/* binding */ faVaadin),
- /* harmony export */ "faViacoin": () => (/* binding */ faViacoin),
- /* harmony export */ "faViadeo": () => (/* binding */ faViadeo),
- /* harmony export */ "faViadeoSquare": () => (/* binding */ faViadeoSquare),
- /* harmony export */ "faViber": () => (/* binding */ faViber),
- /* harmony export */ "faVimeo": () => (/* binding */ faVimeo),
- /* harmony export */ "faVimeoSquare": () => (/* binding */ faVimeoSquare),
- /* harmony export */ "faVimeoV": () => (/* binding */ faVimeoV),
- /* harmony export */ "faVine": () => (/* binding */ faVine),
- /* harmony export */ "faVk": () => (/* binding */ faVk),
- /* harmony export */ "faVnv": () => (/* binding */ faVnv),
- /* harmony export */ "faVuejs": () => (/* binding */ faVuejs),
- /* harmony export */ "faWatchmanMonitoring": () => (/* binding */ faWatchmanMonitoring),
- /* harmony export */ "faWaze": () => (/* binding */ faWaze),
- /* harmony export */ "faWeebly": () => (/* binding */ faWeebly),
- /* harmony export */ "faWeibo": () => (/* binding */ faWeibo),
- /* harmony export */ "faWeixin": () => (/* binding */ faWeixin),
- /* harmony export */ "faWhatsapp": () => (/* binding */ faWhatsapp),
- /* harmony export */ "faWhatsappSquare": () => (/* binding */ faWhatsappSquare),
- /* harmony export */ "faWhmcs": () => (/* binding */ faWhmcs),
- /* harmony export */ "faWikipediaW": () => (/* binding */ faWikipediaW),
- /* harmony export */ "faWindows": () => (/* binding */ faWindows),
- /* harmony export */ "faWirsindhandwerk": () => (/* binding */ faWirsindhandwerk),
- /* harmony export */ "faWix": () => (/* binding */ faWix),
- /* harmony export */ "faWizardsOfTheCoast": () => (/* binding */ faWizardsOfTheCoast),
- /* harmony export */ "faWodu": () => (/* binding */ faWodu),
- /* harmony export */ "faWolfPackBattalion": () => (/* binding */ faWolfPackBattalion),
- /* harmony export */ "faWordpress": () => (/* binding */ faWordpress),
- /* harmony export */ "faWordpressSimple": () => (/* binding */ faWordpressSimple),
- /* harmony export */ "faWpbeginner": () => (/* binding */ faWpbeginner),
- /* harmony export */ "faWpexplorer": () => (/* binding */ faWpexplorer),
- /* harmony export */ "faWpforms": () => (/* binding */ faWpforms),
- /* harmony export */ "faWpressr": () => (/* binding */ faWpressr),
- /* harmony export */ "faWsh": () => (/* binding */ faWsh),
- /* harmony export */ "faXbox": () => (/* binding */ faXbox),
- /* harmony export */ "faXing": () => (/* binding */ faXing),
- /* harmony export */ "faXingSquare": () => (/* binding */ faXingSquare),
- /* harmony export */ "faYCombinator": () => (/* binding */ faYCombinator),
- /* harmony export */ "faYahoo": () => (/* binding */ faYahoo),
- /* harmony export */ "faYammer": () => (/* binding */ faYammer),
- /* harmony export */ "faYandex": () => (/* binding */ faYandex),
- /* harmony export */ "faYandexInternational": () => (/* binding */ faYandexInternational),
- /* harmony export */ "faYarn": () => (/* binding */ faYarn),
- /* harmony export */ "faYelp": () => (/* binding */ faYelp),
- /* harmony export */ "faYoast": () => (/* binding */ faYoast),
- /* harmony export */ "faYoutube": () => (/* binding */ faYoutube),
- /* harmony export */ "faYoutubeSquare": () => (/* binding */ faYoutubeSquare),
- /* harmony export */ "faZhihu": () => (/* binding */ faZhihu),
- /* harmony export */ "fab": () => (/* binding */ icons),
- /* harmony export */ "prefix": () => (/* binding */ prefix)
- /* harmony export */ });
- var prefix = "fab";
- var faMonero = {
- prefix: 'fab',
- iconName: 'monero',
- 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"]
- };
- var faHooli = {
- prefix: 'fab',
- iconName: 'hooli',
- 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"]
- };
- var faYelp = {
- prefix: 'fab',
- iconName: 'yelp',
- 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"]
- };
- var faCcVisa = {
- prefix: 'fab',
- iconName: 'cc-visa',
- 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"]
- };
- var faLastfm = {
- prefix: 'fab',
- iconName: 'lastfm',
- 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"]
- };
- var faShopware = {
- prefix: 'fab',
- iconName: 'shopware',
- 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"]
- };
- var faCreativeCommonsNc = {
- prefix: 'fab',
- iconName: 'creative-commons-nc',
- 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"]
- };
- var faAws = {
- prefix: 'fab',
- iconName: 'aws',
- 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"]
- };
- var faRedhat = {
- prefix: 'fab',
- iconName: 'redhat',
- 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"]
- };
- var faYoast = {
- prefix: 'fab',
- iconName: 'yoast',
- 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"]
- };
- var faCloudflare = {
- prefix: 'fab',
- iconName: 'cloudflare',
- 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"]
- };
- var faUps = {
- prefix: 'fab',
- iconName: 'ups',
- 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"]
- };
- var faWpexplorer = {
- prefix: 'fab',
- iconName: 'wpexplorer',
- 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"]
- };
- var faDyalog = {
- prefix: 'fab',
- iconName: 'dyalog',
- 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"]
- };
- var faBity = {
- prefix: 'fab',
- iconName: 'bity',
- 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"]
- };
- var faStackpath = {
- prefix: 'fab',
- iconName: 'stackpath',
- 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"]
- };
- var faBuysellads = {
- prefix: 'fab',
- iconName: 'buysellads',
- 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"]
- };
- var faFirstOrder = {
- prefix: 'fab',
- iconName: 'first-order',
- 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"]
- };
- var faModx = {
- prefix: 'fab',
- iconName: 'modx',
- 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"]
- };
- var faGuilded = {
- prefix: 'fab',
- iconName: 'guilded',
- 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"]
- };
- var faVnv = {
- prefix: 'fab',
- iconName: 'vnv',
- 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"]
- };
- var faSquareJs = {
- prefix: 'fab',
- iconName: 'square-js',
- 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"]
- };
- var faJsSquare = faSquareJs;
- var faMicrosoft = {
- prefix: 'fab',
- iconName: 'microsoft',
- icon: [448, 512, [], "f3ca", "M0 32h214.6v214.6H0V32zm233.4 0H448v214.6H233.4V32zM0 265.4h214.6V480H0V265.4zm233.4 0H448V480H233.4V265.4z"]
- };
- var faQq = {
- prefix: 'fab',
- iconName: 'qq',
- 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"]
- };
- var faOrcid = {
- prefix: 'fab',
- iconName: 'orcid',
- 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"]
- };
- var faJava = {
- prefix: 'fab',
- iconName: 'java',
- 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"]
- };
- var faInvision = {
- prefix: 'fab',
- iconName: 'invision',
- 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"]
- };
- var faCreativeCommonsPdAlt = {
- prefix: 'fab',
- iconName: 'creative-commons-pd-alt',
- 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"]
- };
- var faCentercode = {
- prefix: 'fab',
- iconName: 'centercode',
- 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"]
- };
- var faGlideG = {
- prefix: 'fab',
- iconName: 'glide-g',
- 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"]
- };
- var faDrupal = {
- prefix: 'fab',
- iconName: 'drupal',
- 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"]
- };
- var faHireAHelper = {
- prefix: 'fab',
- iconName: 'hire-a-helper',
- 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"]
- };
- var faCreativeCommonsBy = {
- prefix: 'fab',
- iconName: 'creative-commons-by',
- 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"]
- };
- var faUnity = {
- prefix: 'fab',
- iconName: 'unity',
- 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"]
- };
- var faWhmcs = {
- prefix: 'fab',
- iconName: 'whmcs',
- 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"]
- };
- var faRocketchat = {
- prefix: 'fab',
- iconName: 'rocketchat',
- 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"]
- };
- var faVk = {
- prefix: 'fab',
- iconName: 'vk',
- 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"]
- };
- var faUntappd = {
- prefix: 'fab',
- iconName: 'untappd',
- 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"]
- };
- var faMailchimp = {
- prefix: 'fab',
- iconName: 'mailchimp',
- 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"]
- };
- var faCss3Alt = {
- prefix: 'fab',
- iconName: 'css3-alt',
- 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"]
- };
- var faSquareReddit = {
- prefix: 'fab',
- iconName: 'square-reddit',
- 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"]
- };
- var faRedditSquare = faSquareReddit;
- var faVimeoV = {
- prefix: 'fab',
- iconName: 'vimeo-v',
- 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"]
- };
- var faContao = {
- prefix: 'fab',
- iconName: 'contao',
- 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"]
- };
- var faSquareFontAwesome = {
- prefix: 'fab',
- iconName: 'square-font-awesome',
- 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"]
- };
- var faDeskpro = {
- prefix: 'fab',
- iconName: 'deskpro',
- 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"]
- };
- var faSistrix = {
- prefix: 'fab',
- iconName: 'sistrix',
- 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"]
- };
- var faSquareInstagram = {
- prefix: 'fab',
- iconName: 'square-instagram',
- 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"]
- };
- var faInstagramSquare = faSquareInstagram;
- var faBattleNet = {
- prefix: 'fab',
- iconName: 'battle-net',
- 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"]
- };
- var faTheRedYeti = {
- prefix: 'fab',
- iconName: 'the-red-yeti',
- 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"]
- };
- var faSquareHackerNews = {
- prefix: 'fab',
- iconName: 'square-hacker-news',
- 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"]
- };
- var faHackerNewsSquare = faSquareHackerNews;
- var faEdge = {
- prefix: 'fab',
- iconName: 'edge',
- 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"]
- };
- var faNapster = {
- prefix: 'fab',
- iconName: 'napster',
- 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"]
- };
- var faSquareSnapchat = {
- prefix: 'fab',
- iconName: 'square-snapchat',
- 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"]
- };
- var faSnapchatSquare = faSquareSnapchat;
- var faGooglePlusG = {
- prefix: 'fab',
- iconName: 'google-plus-g',
- 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"]
- };
- var faArtstation = {
- prefix: 'fab',
- iconName: 'artstation',
- 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"]
- };
- var faMarkdown = {
- prefix: 'fab',
- iconName: 'markdown',
- 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"]
- };
- var faSourcetree = {
- prefix: 'fab',
- iconName: 'sourcetree',
- 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"]
- };
- var faGooglePlus = {
- prefix: 'fab',
- iconName: 'google-plus',
- 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"]
- };
- var faDiaspora = {
- prefix: 'fab',
- iconName: 'diaspora',
- 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"]
- };
- var faFoursquare = {
- prefix: 'fab',
- iconName: 'foursquare',
- 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"]
- };
- var faStackOverflow = {
- prefix: 'fab',
- iconName: 'stack-overflow',
- 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"]
- };
- var faGithubAlt = {
- prefix: 'fab',
- iconName: 'github-alt',
- 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"]
- };
- var faPhoenixSquadron = {
- prefix: 'fab',
- iconName: 'phoenix-squadron',
- 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"]
- };
- var faPagelines = {
- prefix: 'fab',
- iconName: 'pagelines',
- 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"]
- };
- var faAlgolia = {
- prefix: 'fab',
- iconName: 'algolia',
- 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"]
- };
- var faRedRiver = {
- prefix: 'fab',
- iconName: 'red-river',
- 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"]
- };
- var faCreativeCommonsSa = {
- prefix: 'fab',
- iconName: 'creative-commons-sa',
- 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"]
- };
- var faSafari = {
- prefix: 'fab',
- iconName: 'safari',
- 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"]
- };
- var faGoogle = {
- prefix: 'fab',
- iconName: 'google',
- 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"]
- };
- var faSquareFontAwesomeStroke = {
- prefix: 'fab',
- iconName: 'square-font-awesome-stroke',
- 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"]
- };
- var faFontAwesomeAlt = faSquareFontAwesomeStroke;
- var faAtlassian = {
- prefix: 'fab',
- iconName: 'atlassian',
- 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"]
- };
- var faLinkedinIn = {
- prefix: 'fab',
- iconName: 'linkedin-in',
- 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"]
- };
- var faDigitalOcean = {
- prefix: 'fab',
- iconName: 'digital-ocean',
- 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"]
- };
- var faNimblr = {
- prefix: 'fab',
- iconName: 'nimblr',
- 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"]
- };
- var faChromecast = {
- prefix: 'fab',
- iconName: 'chromecast',
- 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"]
- };
- var faEvernote = {
- prefix: 'fab',
- iconName: 'evernote',
- 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"]
- };
- var faHackerNews = {
- prefix: 'fab',
- iconName: 'hacker-news',
- 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"]
- };
- var faCreativeCommonsSampling = {
- prefix: 'fab',
- iconName: 'creative-commons-sampling',
- 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"]
- };
- var faAdversal = {
- prefix: 'fab',
- iconName: 'adversal',
- 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"]
- };
- var faCreativeCommons = {
- prefix: 'fab',
- iconName: 'creative-commons',
- 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"]
- };
- var faWatchmanMonitoring = {
- prefix: 'fab',
- iconName: 'watchman-monitoring',
- 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"]
- };
- var faFonticons = {
- prefix: 'fab',
- iconName: 'fonticons',
- 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"]
- };
- var faWeixin = {
- prefix: 'fab',
- iconName: 'weixin',
- 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"]
- };
- var faShirtsinbulk = {
- prefix: 'fab',
- iconName: 'shirtsinbulk',
- 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"]
- };
- var faCodepen = {
- prefix: 'fab',
- iconName: 'codepen',
- 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"]
- };
- var faGitAlt = {
- prefix: 'fab',
- iconName: 'git-alt',
- 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"]
- };
- var faLyft = {
- prefix: 'fab',
- iconName: 'lyft',
- 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"]
- };
- var faRev = {
- prefix: 'fab',
- iconName: 'rev',
- 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"]
- };
- var faWindows = {
- prefix: 'fab',
- iconName: 'windows',
- 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"]
- };
- var faWizardsOfTheCoast = {
- prefix: 'fab',
- iconName: 'wizards-of-the-coast',
- 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"]
- };
- var faSquareViadeo = {
- prefix: 'fab',
- iconName: 'square-viadeo',
- 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"]
- };
- var faViadeoSquare = faSquareViadeo;
- var faMeetup = {
- prefix: 'fab',
- iconName: 'meetup',
- 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"]
- };
- var faCentos = {
- prefix: 'fab',
- iconName: 'centos',
- 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"]
- };
- var faAdn = {
- prefix: 'fab',
- iconName: 'adn',
- 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"]
- };
- var faCloudsmith = {
- prefix: 'fab',
- iconName: 'cloudsmith',
- 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"]
- };
- var faPiedPiperAlt = {
- prefix: 'fab',
- iconName: 'pied-piper-alt',
- 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"]
- };
- var faSquareDribbble = {
- prefix: 'fab',
- iconName: 'square-dribbble',
- 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"]
- };
- var faDribbbleSquare = faSquareDribbble;
- var faCodiepie = {
- prefix: 'fab',
- iconName: 'codiepie',
- 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"]
- };
- var faNode = {
- prefix: 'fab',
- iconName: 'node',
- 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"]
- };
- var faMix = {
- prefix: 'fab',
- iconName: 'mix',
- 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"]
- };
- var faSteam = {
- prefix: 'fab',
- iconName: 'steam',
- 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"]
- };
- var faCcApplePay = {
- prefix: 'fab',
- iconName: 'cc-apple-pay',
- 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"]
- };
- var faScribd = {
- prefix: 'fab',
- iconName: 'scribd',
- 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"]
- };
- var faOpenid = {
- prefix: 'fab',
- iconName: 'openid',
- 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"]
- };
- var faInstalod = {
- prefix: 'fab',
- iconName: 'instalod',
- 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"]
- };
- var faExpeditedssl = {
- prefix: 'fab',
- iconName: 'expeditedssl',
- 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"]
- };
- var faSellcast = {
- prefix: 'fab',
- iconName: 'sellcast',
- 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"]
- };
- var faSquareTwitter = {
- prefix: 'fab',
- iconName: 'square-twitter',
- 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"]
- };
- var faTwitterSquare = faSquareTwitter;
- var faRProject = {
- prefix: 'fab',
- iconName: 'r-project',
- 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"]
- };
- var faDelicious = {
- prefix: 'fab',
- iconName: 'delicious',
- 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"]
- };
- var faFreebsd = {
- prefix: 'fab',
- iconName: 'freebsd',
- 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"]
- };
- var faVuejs = {
- prefix: 'fab',
- iconName: 'vuejs',
- 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"]
- };
- var faAccusoft = {
- prefix: 'fab',
- iconName: 'accusoft',
- 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"]
- };
- var faIoxhost = {
- prefix: 'fab',
- iconName: 'ioxhost',
- 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"]
- };
- var faFonticonsFi = {
- prefix: 'fab',
- iconName: 'fonticons-fi',
- 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"]
- };
- var faAppStore = {
- prefix: 'fab',
- iconName: 'app-store',
- 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"]
- };
- var faCcMastercard = {
- prefix: 'fab',
- iconName: 'cc-mastercard',
- 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"]
- };
- var faItunesNote = {
- prefix: 'fab',
- iconName: 'itunes-note',
- 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"]
- };
- var faGolang = {
- prefix: 'fab',
- iconName: 'golang',
- 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"]
- };
- var faKickstarter = {
- prefix: 'fab',
- iconName: 'kickstarter',
- 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"]
- };
- var faGrav = {
- prefix: 'fab',
- iconName: 'grav',
- 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"]
- };
- var faWeibo = {
- prefix: 'fab',
- iconName: 'weibo',
- 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"]
- };
- var faUncharted = {
- prefix: 'fab',
- iconName: 'uncharted',
- 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"]
- };
- var faFirstdraft = {
- prefix: 'fab',
- iconName: 'firstdraft',
- 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"]
- };
- var faSquareYoutube = {
- prefix: 'fab',
- iconName: 'square-youtube',
- 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"]
- };
- var faYoutubeSquare = faSquareYoutube;
- var faWikipediaW = {
- prefix: 'fab',
- iconName: 'wikipedia-w',
- 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"]
- };
- var faWpressr = {
- prefix: 'fab',
- iconName: 'wpressr',
- 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"]
- };
- var faRendact = faWpressr;
- var faAngellist = {
- prefix: 'fab',
- iconName: 'angellist',
- 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"]
- };
- var faGalacticRepublic = {
- prefix: 'fab',
- iconName: 'galactic-republic',
- 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"]
- };
- var faNfcDirectional = {
- prefix: 'fab',
- iconName: 'nfc-directional',
- 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"]
- };
- var faSkype = {
- prefix: 'fab',
- iconName: 'skype',
- 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"]
- };
- var faJoget = {
- prefix: 'fab',
- iconName: 'joget',
- 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"]
- };
- var faFedora = {
- prefix: 'fab',
- iconName: 'fedora',
- 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"]
- };
- var faStripeS = {
- prefix: 'fab',
- iconName: 'stripe-s',
- 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"]
- };
- var faMeta = {
- prefix: 'fab',
- iconName: 'meta',
- 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"]
- };
- var faLaravel = {
- prefix: 'fab',
- iconName: 'laravel',
- 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"]
- };
- var faHotjar = {
- prefix: 'fab',
- iconName: 'hotjar',
- 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"]
- };
- var faBluetoothB = {
- prefix: 'fab',
- iconName: 'bluetooth-b',
- 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"]
- };
- var faStickerMule = {
- prefix: 'fab',
- iconName: 'sticker-mule',
- 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"]
- };
- var faCreativeCommonsZero = {
- prefix: 'fab',
- iconName: 'creative-commons-zero',
- 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"]
- };
- var faHips = {
- prefix: 'fab',
- iconName: 'hips',
- 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"]
- };
- var faBehance = {
- prefix: 'fab',
- iconName: 'behance',
- 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"]
- };
- var faReddit = {
- prefix: 'fab',
- iconName: 'reddit',
- 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"]
- };
- var faDiscord = {
- prefix: 'fab',
- iconName: 'discord',
- 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"]
- };
- var faChrome = {
- prefix: 'fab',
- iconName: 'chrome',
- 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"]
- };
- var faAppStoreIos = {
- prefix: 'fab',
- iconName: 'app-store-ios',
- 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"]
- };
- var faCcDiscover = {
- prefix: 'fab',
- iconName: 'cc-discover',
- 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"]
- };
- var faWpbeginner = {
- prefix: 'fab',
- iconName: 'wpbeginner',
- 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"]
- };
- var faConfluence = {
- prefix: 'fab',
- iconName: 'confluence',
- 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"]
- };
- var faMdb = {
- prefix: 'fab',
- iconName: 'mdb',
- 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"]
- };
- var faDochub = {
- prefix: 'fab',
- iconName: 'dochub',
- 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"]
- };
- var faAccessibleIcon = {
- prefix: 'fab',
- iconName: 'accessible-icon',
- 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"]
- };
- var faEbay = {
- prefix: 'fab',
- iconName: 'ebay',
- 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"]
- };
- var faAmazon = {
- prefix: 'fab',
- iconName: 'amazon',
- 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"]
- };
- var faUnsplash = {
- prefix: 'fab',
- iconName: 'unsplash',
- icon: [448, 512, [], "e07c", "M448,230.17V480H0V230.17H141.13V355.09H306.87V230.17ZM306.87,32H141.13V156.91H306.87Z"]
- };
- var faYarn = {
- prefix: 'fab',
- iconName: 'yarn',
- 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"]
- };
- var faSquareSteam = {
- prefix: 'fab',
- iconName: 'square-steam',
- 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"]
- };
- var faSteamSquare = faSquareSteam;
- var fa500px = {
- prefix: 'fab',
- iconName: '500px',
- 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"]
- };
- var faSquareVimeo = {
- prefix: 'fab',
- iconName: 'square-vimeo',
- 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"]
- };
- var faVimeoSquare = faSquareVimeo;
- var faAsymmetrik = {
- prefix: 'fab',
- iconName: 'asymmetrik',
- 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"]
- };
- var faFontAwesome = {
- prefix: 'fab',
- iconName: 'font-awesome',
- 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"]
- };
- var faFontAwesomeFlag = faFontAwesome;
- var faFontAwesomeLogoFull = faFontAwesome;
- var faGratipay = {
- prefix: 'fab',
- iconName: 'gratipay',
- 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"]
- };
- var faApple = {
- prefix: 'fab',
- iconName: 'apple',
- 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"]
- };
- var faHive = {
- prefix: 'fab',
- iconName: 'hive',
- 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"]
- };
- var faGitkraken = {
- prefix: 'fab',
- iconName: 'gitkraken',
- 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"]
- };
- var faKeybase = {
- prefix: 'fab',
- iconName: 'keybase',
- 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"]
- };
- var faApplePay = {
- prefix: 'fab',
- iconName: 'apple-pay',
- 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"]
- };
- var faPadlet = {
- prefix: 'fab',
- iconName: 'padlet',
- 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"]
- };
- var faAmazonPay = {
- prefix: 'fab',
- iconName: 'amazon-pay',
- 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"]
- };
- var faSquareGithub = {
- prefix: 'fab',
- iconName: 'square-github',
- 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"]
- };
- var faGithubSquare = faSquareGithub;
- var faStumbleupon = {
- prefix: 'fab',
- iconName: 'stumbleupon',
- 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"]
- };
- var faFedex = {
- prefix: 'fab',
- iconName: 'fedex',
- 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"]
- };
- var faPhoenixFramework = {
- prefix: 'fab',
- iconName: 'phoenix-framework',
- 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"]
- };
- var faShopify = {
- prefix: 'fab',
- iconName: 'shopify',
- 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"]
- };
- var faNeos = {
- prefix: 'fab',
- iconName: 'neos',
- 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"]
- };
- var faHackerrank = {
- prefix: 'fab',
- iconName: 'hackerrank',
- 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"]
- };
- var faResearchgate = {
- prefix: 'fab',
- iconName: 'researchgate',
- 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"]
- };
- var faSwift = {
- prefix: 'fab',
- iconName: 'swift',
- 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"]
- };
- var faAngular = {
- prefix: 'fab',
- iconName: 'angular',
- 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"]
- };
- var faSpeakap = {
- prefix: 'fab',
- iconName: 'speakap',
- 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"]
- };
- var faAngrycreative = {
- prefix: 'fab',
- iconName: 'angrycreative',
- 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"]
- };
- var faYCombinator = {
- prefix: 'fab',
- iconName: 'y-combinator',
- 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"]
- };
- var faEmpire = {
- prefix: 'fab',
- iconName: 'empire',
- 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"]
- };
- var faEnvira = {
- prefix: 'fab',
- iconName: 'envira',
- 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"]
- };
- var faSquareGitlab = {
- prefix: 'fab',
- iconName: 'square-gitlab',
- 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"]
- };
- var faGitlabSquare = faSquareGitlab;
- var faStudiovinari = {
- prefix: 'fab',
- iconName: 'studiovinari',
- 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"]
- };
- var faPiedPiper = {
- prefix: 'fab',
- iconName: 'pied-piper',
- 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"]
- };
- var faWordpress = {
- prefix: 'fab',
- iconName: 'wordpress',
- 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"]
- };
- var faProductHunt = {
- prefix: 'fab',
- iconName: 'product-hunt',
- 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"]
- };
- var faFirefox = {
- prefix: 'fab',
- iconName: 'firefox',
- 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"]
- };
- var faLinode = {
- prefix: 'fab',
- iconName: 'linode',
- 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"]
- };
- var faGoodreads = {
- prefix: 'fab',
- iconName: 'goodreads',
- 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"]
- };
- var faSquareOdnoklassniki = {
- prefix: 'fab',
- iconName: 'square-odnoklassniki',
- 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"]
- };
- var faOdnoklassnikiSquare = faSquareOdnoklassniki;
- var faJsfiddle = {
- prefix: 'fab',
- iconName: 'jsfiddle',
- 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"]
- };
- var faSith = {
- prefix: 'fab',
- iconName: 'sith',
- 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"]
- };
- var faThemeisle = {
- prefix: 'fab',
- iconName: 'themeisle',
- 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"]
- };
- var faPage4 = {
- prefix: 'fab',
- iconName: 'page4',
- 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"]
- };
- var faHashnode = {
- prefix: 'fab',
- iconName: 'hashnode',
- 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"]
- };
- var faReact = {
- prefix: 'fab',
- iconName: 'react',
- 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"]
- };
- var faCcPaypal = {
- prefix: 'fab',
- iconName: 'cc-paypal',
- 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"]
- };
- var faSquarespace = {
- prefix: 'fab',
- iconName: 'squarespace',
- 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"]
- };
- var faCcStripe = {
- prefix: 'fab',
- iconName: 'cc-stripe',
- 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"]
- };
- var faCreativeCommonsShare = {
- prefix: 'fab',
- iconName: 'creative-commons-share',
- 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"]
- };
- var faBitcoin = {
- prefix: 'fab',
- iconName: 'bitcoin',
- 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"]
- };
- var faKeycdn = {
- prefix: 'fab',
- iconName: 'keycdn',
- 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"]
- };
- var faOpera = {
- prefix: 'fab',
- iconName: 'opera',
- 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"]
- };
- var faItchIo = {
- prefix: 'fab',
- iconName: 'itch-io',
- 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"]
- };
- var faUmbraco = {
- prefix: 'fab',
- iconName: 'umbraco',
- 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"]
- };
- var faGalacticSenate = {
- prefix: 'fab',
- iconName: 'galactic-senate',
- 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"]
- };
- var faUbuntu = {
- prefix: 'fab',
- iconName: 'ubuntu',
- 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"]
- };
- var faDraft2digital = {
- prefix: 'fab',
- iconName: 'draft2digital',
- 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"]
- };
- var faStripe = {
- prefix: 'fab',
- iconName: 'stripe',
- 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"]
- };
- var faHouzz = {
- prefix: 'fab',
- iconName: 'houzz',
- icon: [448, 512, [], "f27c", "M275.9 330.7H171.3V480H17V32h109.5v104.5l305.1 85.6V480H275.9z"]
- };
- var faGg = {
- prefix: 'fab',
- iconName: 'gg',
- 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"]
- };
- var faDhl = {
- prefix: 'fab',
- iconName: 'dhl',
- 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"]
- };
- var faSquarePinterest = {
- prefix: 'fab',
- iconName: 'square-pinterest',
- 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"]
- };
- var faPinterestSquare = faSquarePinterest;
- var faXing = {
- prefix: 'fab',
- iconName: 'xing',
- 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"]
- };
- var faBlackberry = {
- prefix: 'fab',
- iconName: 'blackberry',
- 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"]
- };
- var faCreativeCommonsPd = {
- prefix: 'fab',
- iconName: 'creative-commons-pd',
- 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"]
- };
- var faPlaystation = {
- prefix: 'fab',
- iconName: 'playstation',
- 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"]
- };
- var faQuinscape = {
- prefix: 'fab',
- iconName: 'quinscape',
- 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"]
- };
- var faLess = {
- prefix: 'fab',
- iconName: 'less',
- 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"]
- };
- var faBloggerB = {
- prefix: 'fab',
- iconName: 'blogger-b',
- 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"]
- };
- var faOpencart = {
- prefix: 'fab',
- iconName: 'opencart',
- 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"]
- };
- var faVine = {
- prefix: 'fab',
- iconName: 'vine',
- 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"]
- };
- var faPaypal = {
- prefix: 'fab',
- iconName: 'paypal',
- 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"]
- };
- var faGitlab = {
- prefix: 'fab',
- iconName: 'gitlab',
- 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"]
- };
- var faTypo3 = {
- prefix: 'fab',
- iconName: 'typo3',
- 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"]
- };
- var faRedditAlien = {
- prefix: 'fab',
- iconName: 'reddit-alien',
- 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"]
- };
- var faYahoo = {
- prefix: 'fab',
- iconName: 'yahoo',
- 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"]
- };
- var faDailymotion = {
- prefix: 'fab',
- iconName: 'dailymotion',
- 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"]
- };
- var faAffiliatetheme = {
- prefix: 'fab',
- iconName: 'affiliatetheme',
- 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"]
- };
- var faPiedPiperPp = {
- prefix: 'fab',
- iconName: 'pied-piper-pp',
- 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"]
- };
- var faBootstrap = {
- prefix: 'fab',
- iconName: 'bootstrap',
- 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"]
- };
- var faOdnoklassniki = {
- prefix: 'fab',
- iconName: 'odnoklassniki',
- 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"]
- };
- var faNfcSymbol = {
- prefix: 'fab',
- iconName: 'nfc-symbol',
- 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"]
- };
- var faEthereum = {
- prefix: 'fab',
- iconName: 'ethereum',
- 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"]
- };
- var faSpeakerDeck = {
- prefix: 'fab',
- iconName: 'speaker-deck',
- 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"]
- };
- var faCreativeCommonsNcEu = {
- prefix: 'fab',
- iconName: 'creative-commons-nc-eu',
- 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"]
- };
- var faPatreon = {
- prefix: 'fab',
- iconName: 'patreon',
- 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"]
- };
- var faAvianex = {
- prefix: 'fab',
- iconName: 'avianex',
- 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"]
- };
- var faEllo = {
- prefix: 'fab',
- iconName: 'ello',
- 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"]
- };
- var faGofore = {
- prefix: 'fab',
- iconName: 'gofore',
- 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"]
- };
- var faBimobject = {
- prefix: 'fab',
- iconName: 'bimobject',
- 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"]
- };
- var faFacebookF = {
- prefix: 'fab',
- iconName: 'facebook-f',
- 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"]
- };
- var faSquareGooglePlus = {
- prefix: 'fab',
- iconName: 'square-google-plus',
- 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"]
- };
- var faGooglePlusSquare = faSquareGooglePlus;
- var faMandalorian = {
- prefix: 'fab',
- iconName: 'mandalorian',
- 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"]
- };
- var faFirstOrderAlt = {
- prefix: 'fab',
- iconName: 'first-order-alt',
- 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"]
- };
- var faOsi = {
- prefix: 'fab',
- iconName: 'osi',
- 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"]
- };
- var faGoogleWallet = {
- prefix: 'fab',
- iconName: 'google-wallet',
- 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"]
- };
- var faDAndDBeyond = {
- prefix: 'fab',
- iconName: 'd-and-d-beyond',
- 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"]
- };
- var faPeriscope = {
- prefix: 'fab',
- iconName: 'periscope',
- 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"]
- };
- var faFulcrum = {
- prefix: 'fab',
- iconName: 'fulcrum',
- 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"]
- };
- var faCloudscale = {
- prefix: 'fab',
- iconName: 'cloudscale',
- 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"]
- };
- var faForumbee = {
- prefix: 'fab',
- iconName: 'forumbee',
- 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"]
- };
- var faMizuni = {
- prefix: 'fab',
- iconName: 'mizuni',
- 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"]
- };
- var faSchlix = {
- prefix: 'fab',
- iconName: 'schlix',
- 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"]
- };
- var faSquareXing = {
- prefix: 'fab',
- iconName: 'square-xing',
- 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"]
- };
- var faXingSquare = faSquareXing;
- var faBandcamp = {
- prefix: 'fab',
- iconName: 'bandcamp',
- 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"]
- };
- var faWpforms = {
- prefix: 'fab',
- iconName: 'wpforms',
- 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"]
- };
- var faCloudversify = {
- prefix: 'fab',
- iconName: 'cloudversify',
- 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"]
- };
- var faUsps = {
- prefix: 'fab',
- iconName: 'usps',
- 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"]
- };
- var faMegaport = {
- prefix: 'fab',
- iconName: 'megaport',
- 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"]
- };
- var faMagento = {
- prefix: 'fab',
- iconName: 'magento',
- 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"]
- };
- var faSpotify = {
- prefix: 'fab',
- iconName: 'spotify',
- 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"]
- };
- var faOptinMonster = {
- prefix: 'fab',
- iconName: 'optin-monster',
- 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"]
- };
- var faFly = {
- prefix: 'fab',
- iconName: 'fly',
- 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"]
- };
- var faAviato = {
- prefix: 'fab',
- iconName: 'aviato',
- 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"]
- };
- var faItunes = {
- prefix: 'fab',
- iconName: 'itunes',
- 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"]
- };
- var faCuttlefish = {
- prefix: 'fab',
- iconName: 'cuttlefish',
- 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"]
- };
- var faBlogger = {
- prefix: 'fab',
- iconName: 'blogger',
- 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"]
- };
- var faFlickr = {
- prefix: 'fab',
- iconName: 'flickr',
- 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"]
- };
- var faViber = {
- prefix: 'fab',
- iconName: 'viber',
- 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"]
- };
- var faSoundcloud = {
- prefix: 'fab',
- iconName: 'soundcloud',
- 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"]
- };
- var faDigg = {
- prefix: 'fab',
- iconName: 'digg',
- 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"]
- };
- var faTencentWeibo = {
- prefix: 'fab',
- iconName: 'tencent-weibo',
- 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"]
- };
- var faSymfony = {
- prefix: 'fab',
- iconName: 'symfony',
- 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"]
- };
- var faMaxcdn = {
- prefix: 'fab',
- iconName: 'maxcdn',
- 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"]
- };
- var faEtsy = {
- prefix: 'fab',
- iconName: 'etsy',
- 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"]
- };
- var faFacebookMessenger = {
- prefix: 'fab',
- iconName: 'facebook-messenger',
- 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"]
- };
- var faAudible = {
- prefix: 'fab',
- iconName: 'audible',
- 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"]
- };
- var faThinkPeaks = {
- prefix: 'fab',
- iconName: 'think-peaks',
- 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"]
- };
- var faBilibili = {
- prefix: 'fab',
- iconName: 'bilibili',
- 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"]
- };
- var faErlang = {
- prefix: 'fab',
- iconName: 'erlang',
- 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"]
- };
- var faCottonBureau = {
- prefix: 'fab',
- iconName: 'cotton-bureau',
- 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"]
- };
- var faDashcube = {
- prefix: 'fab',
- iconName: 'dashcube',
- 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"]
- };
- var fa42Group = {
- prefix: 'fab',
- iconName: '42-group',
- 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"]
- };
- var faInnosoft = fa42Group;
- var faStackExchange = {
- prefix: 'fab',
- iconName: 'stack-exchange',
- 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"]
- };
- var faElementor = {
- prefix: 'fab',
- iconName: 'elementor',
- 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"]
- };
- var faSquarePiedPiper = {
- prefix: 'fab',
- iconName: 'square-pied-piper',
- 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"]
- };
- var faPiedPiperSquare = faSquarePiedPiper;
- var faCreativeCommonsNd = {
- prefix: 'fab',
- iconName: 'creative-commons-nd',
- 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"]
- };
- var faPalfed = {
- prefix: 'fab',
- iconName: 'palfed',
- 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"]
- };
- var faSuperpowers = {
- prefix: 'fab',
- iconName: 'superpowers',
- 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"]
- };
- var faResolving = {
- prefix: 'fab',
- iconName: 'resolving',
- 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"]
- };
- var faXbox = {
- prefix: 'fab',
- iconName: 'xbox',
- 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"]
- };
- var faSearchengin = {
- prefix: 'fab',
- iconName: 'searchengin',
- 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"]
- };
- var faTiktok = {
- prefix: 'fab',
- iconName: 'tiktok',
- 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"]
- };
- var faSquareFacebook = {
- prefix: 'fab',
- iconName: 'square-facebook',
- 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"]
- };
- var faFacebookSquare = faSquareFacebook;
- var faRenren = {
- prefix: 'fab',
- iconName: 'renren',
- 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"]
- };
- var faLinux = {
- prefix: 'fab',
- iconName: 'linux',
- 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"]
- };
- var faGlide = {
- prefix: 'fab',
- iconName: 'glide',
- 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"]
- };
- var faLinkedin = {
- prefix: 'fab',
- iconName: 'linkedin',
- 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"]
- };
- var faHubspot = {
- prefix: 'fab',
- iconName: 'hubspot',
- 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"]
- };
- var faDeploydog = {
- prefix: 'fab',
- iconName: 'deploydog',
- 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"]
- };
- var faTwitch = {
- prefix: 'fab',
- iconName: 'twitch',
- 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"]
- };
- var faRavelry = {
- prefix: 'fab',
- iconName: 'ravelry',
- 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"]
- };
- var faMixer = {
- prefix: 'fab',
- iconName: 'mixer',
- 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"]
- };
- var faSquareLastfm = {
- prefix: 'fab',
- iconName: 'square-lastfm',
- 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"]
- };
- var faLastfmSquare = faSquareLastfm;
- var faVimeo = {
- prefix: 'fab',
- iconName: 'vimeo',
- 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"]
- };
- var faMendeley = {
- prefix: 'fab',
- iconName: 'mendeley',
- 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"]
- };
- var faUniregistry = {
- prefix: 'fab',
- iconName: 'uniregistry',
- 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"]
- };
- var faFigma = {
- prefix: 'fab',
- iconName: 'figma',
- 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"]
- };
- var faCreativeCommonsRemix = {
- prefix: 'fab',
- iconName: 'creative-commons-remix',
- 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"]
- };
- var faCcAmazonPay = {
- prefix: 'fab',
- iconName: 'cc-amazon-pay',
- 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"]
- };
- var faDropbox = {
- prefix: 'fab',
- iconName: 'dropbox',
- 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"]
- };
- var faInstagram = {
- prefix: 'fab',
- iconName: 'instagram',
- 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"]
- };
- var faCmplid = {
- prefix: 'fab',
- iconName: 'cmplid',
- 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"]
- };
- var faFacebook = {
- prefix: 'fab',
- iconName: 'facebook',
- 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"]
- };
- var faGripfire = {
- prefix: 'fab',
- iconName: 'gripfire',
- 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"]
- };
- var faJediOrder = {
- prefix: 'fab',
- iconName: 'jedi-order',
- 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"]
- };
- var faUikit = {
- prefix: 'fab',
- iconName: 'uikit',
- 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"]
- };
- var faFortAwesomeAlt = {
- prefix: 'fab',
- iconName: 'fort-awesome-alt',
- 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"]
- };
- var faPhabricator = {
- prefix: 'fab',
- iconName: 'phabricator',
- 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"]
- };
- var faUssunnah = {
- prefix: 'fab',
- iconName: 'ussunnah',
- 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"]
- };
- var faEarlybirds = {
- prefix: 'fab',
- iconName: 'earlybirds',
- 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"]
- };
- var faTradeFederation = {
- prefix: 'fab',
- iconName: 'trade-federation',
- 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"]
- };
- var faAutoprefixer = {
- prefix: 'fab',
- iconName: 'autoprefixer',
- 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"]
- };
- var faWhatsapp = {
- prefix: 'fab',
- iconName: 'whatsapp',
- 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"]
- };
- var faSlideshare = {
- prefix: 'fab',
- iconName: 'slideshare',
- 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"]
- };
- var faGooglePlay = {
- prefix: 'fab',
- iconName: 'google-play',
- 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"]
- };
- var faViadeo = {
- prefix: 'fab',
- iconName: 'viadeo',
- 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"]
- };
- var faLine = {
- prefix: 'fab',
- iconName: 'line',
- 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"]
- };
- var faGoogleDrive = {
- prefix: 'fab',
- iconName: 'google-drive',
- 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"]
- };
- var faServicestack = {
- prefix: 'fab',
- iconName: 'servicestack',
- 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"]
- };
- var faSimplybuilt = {
- prefix: 'fab',
- iconName: 'simplybuilt',
- 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"]
- };
- var faBitbucket = {
- prefix: 'fab',
- iconName: 'bitbucket',
- 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"]
- };
- var faImdb = {
- prefix: 'fab',
- iconName: 'imdb',
- 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"]
- };
- var faDeezer = {
- prefix: 'fab',
- iconName: 'deezer',
- 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"]
- };
- var faRaspberryPi = {
- prefix: 'fab',
- iconName: 'raspberry-pi',
- 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"]
- };
- var faJira = {
- prefix: 'fab',
- iconName: 'jira',
- 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"]
- };
- var faDocker = {
- prefix: 'fab',
- iconName: 'docker',
- 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"]
- };
- var faScreenpal = {
- prefix: 'fab',
- iconName: 'screenpal',
- 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"]
- };
- var faBluetooth = {
- prefix: 'fab',
- iconName: 'bluetooth',
- 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"]
- };
- var faGitter = {
- prefix: 'fab',
- iconName: 'gitter',
- 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"]
- };
- var faDAndD = {
- prefix: 'fab',
- iconName: 'd-and-d',
- 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"]
- };
- var faMicroblog = {
- prefix: 'fab',
- iconName: 'microblog',
- 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"]
- };
- var faCcDinersClub = {
- prefix: 'fab',
- iconName: 'cc-diners-club',
- 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"]
- };
- var faGgCircle = {
- prefix: 'fab',
- iconName: 'gg-circle',
- 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"]
- };
- var faPiedPiperHat = {
- prefix: 'fab',
- iconName: 'pied-piper-hat',
- 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"]
- };
- var faKickstarterK = {
- prefix: 'fab',
- iconName: 'kickstarter-k',
- 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"]
- };
- var faYandex = {
- prefix: 'fab',
- iconName: 'yandex',
- 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"]
- };
- var faReadme = {
- prefix: 'fab',
- iconName: 'readme',
- 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"]
- };
- var faHtml5 = {
- prefix: 'fab',
- iconName: 'html5',
- 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"]
- };
- var faSellsy = {
- prefix: 'fab',
- iconName: 'sellsy',
- 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"]
- };
- var faSass = {
- prefix: 'fab',
- iconName: 'sass',
- 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"]
- };
- var faWirsindhandwerk = {
- prefix: 'fab',
- iconName: 'wirsindhandwerk',
- 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"]
- };
- var faWsh = faWirsindhandwerk;
- var faBuromobelexperte = {
- prefix: 'fab',
- iconName: 'buromobelexperte',
- icon: [448, 512, [], "f37f", "M0 32v128h128V32H0zm120 120H8V40h112v112zm40-120v128h128V32H160zm120 120H168V40h112v112zm40-120v128h128V32H320zm120 120H328V40h112v112zM0 192v128h128V192H0zm120 120H8V200h112v112zm40-120v128h128V192H160zm120 120H168V200h112v112zm40-120v128h128V192H320zm120 120H328V200h112v112zM0 352v128h128V352H0zm120 120H8V360h112v112zm40-120v128h128V352H160zm120 120H168V360h112v112zm40-120v128h128V352H320z"]
- };
- var faSalesforce = {
- prefix: 'fab',
- iconName: 'salesforce',
- 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"]
- };
- var faOctopusDeploy = {
- prefix: 'fab',
- iconName: 'octopus-deploy',
- 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"]
- };
- var faMedapps = {
- prefix: 'fab',
- iconName: 'medapps',
- 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"]
- };
- var faNs8 = {
- prefix: 'fab',
- iconName: 'ns8',
- 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"]
- };
- var faPinterestP = {
- prefix: 'fab',
- iconName: 'pinterest-p',
- 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"]
- };
- var faApper = {
- prefix: 'fab',
- iconName: 'apper',
- 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"]
- };
- var faFortAwesome = {
- prefix: 'fab',
- iconName: 'fort-awesome',
- 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"]
- };
- var faWaze = {
- prefix: 'fab',
- iconName: 'waze',
- 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"]
- };
- var faCcJcb = {
- prefix: 'fab',
- iconName: 'cc-jcb',
- 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"]
- };
- var faSnapchat = {
- prefix: 'fab',
- iconName: 'snapchat',
- 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"]
- };
- var faSnapchatGhost = faSnapchat;
- var faFantasyFlightGames = {
- prefix: 'fab',
- iconName: 'fantasy-flight-games',
- 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"]
- };
- var faRust = {
- prefix: 'fab',
- iconName: 'rust',
- 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"]
- };
- var faWix = {
- prefix: 'fab',
- iconName: 'wix',
- 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"]
- };
- var faSquareBehance = {
- prefix: 'fab',
- iconName: 'square-behance',
- 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"]
- };
- var faBehanceSquare = faSquareBehance;
- var faSupple = {
- prefix: 'fab',
- iconName: 'supple',
- 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"]
- };
- var faRebel = {
- prefix: 'fab',
- iconName: 'rebel',
- 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"]
- };
- var faCss3 = {
- prefix: 'fab',
- iconName: 'css3',
- 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"]
- };
- var faStaylinked = {
- prefix: 'fab',
- iconName: 'staylinked',
- 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"]
- };
- var faKaggle = {
- prefix: 'fab',
- iconName: 'kaggle',
- 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"]
- };
- var faSpaceAwesome = {
- prefix: 'fab',
- iconName: 'space-awesome',
- icon: [512, 512, [], "e5ac", "M96 256H128V512H0V352H32V320H64V288H96V256zM512 352V512H384V256H416V288H448V320H480V352H512zM320 64H352V448H320V416H192V448H160V64H192V32H224V0H288V32H320V64zM288 128H224V192H288V128z"]
- };
- var faDeviantart = {
- prefix: 'fab',
- iconName: 'deviantart',
- 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"]
- };
- var faCpanel = {
- prefix: 'fab',
- iconName: 'cpanel',
- 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"]
- };
- var faGoodreadsG = {
- prefix: 'fab',
- iconName: 'goodreads-g',
- 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"]
- };
- var faSquareGit = {
- prefix: 'fab',
- iconName: 'square-git',
- 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"]
- };
- var faGitSquare = faSquareGit;
- var faSquareTumblr = {
- prefix: 'fab',
- iconName: 'square-tumblr',
- 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"]
- };
- var faTumblrSquare = faSquareTumblr;
- var faTrello = {
- prefix: 'fab',
- iconName: 'trello',
- 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"]
- };
- var faCreativeCommonsNcJp = {
- prefix: 'fab',
- iconName: 'creative-commons-nc-jp',
- 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"]
- };
- var faGetPocket = {
- prefix: 'fab',
- iconName: 'get-pocket',
- 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"]
- };
- var faPerbyte = {
- prefix: 'fab',
- iconName: 'perbyte',
- 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"]
- };
- var faGrunt = {
- prefix: 'fab',
- iconName: 'grunt',
- 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"]
- };
- var faWeebly = {
- prefix: 'fab',
- iconName: 'weebly',
- 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"]
- };
- var faConnectdevelop = {
- prefix: 'fab',
- iconName: 'connectdevelop',
- 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"]
- };
- var faLeanpub = {
- prefix: 'fab',
- iconName: 'leanpub',
- 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"]
- };
- var faBlackTie = {
- prefix: 'fab',
- iconName: 'black-tie',
- 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"]
- };
- var faThemeco = {
- prefix: 'fab',
- iconName: 'themeco',
- 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"]
- };
- var faPython = {
- prefix: 'fab',
- iconName: 'python',
- 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"]
- };
- var faAndroid = {
- prefix: 'fab',
- iconName: 'android',
- 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"]
- };
- var faBots = {
- prefix: 'fab',
- iconName: 'bots',
- 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"]
- };
- var faFreeCodeCamp = {
- prefix: 'fab',
- iconName: 'free-code-camp',
- 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"]
- };
- var faHornbill = {
- prefix: 'fab',
- iconName: 'hornbill',
- 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"]
- };
- var faJs = {
- prefix: 'fab',
- iconName: 'js',
- 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"]
- };
- var faIdeal = {
- prefix: 'fab',
- iconName: 'ideal',
- 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"]
- };
- var faGit = {
- prefix: 'fab',
- iconName: 'git',
- 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"]
- };
- var faDev = {
- prefix: 'fab',
- iconName: 'dev',
- 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"]
- };
- var faSketch = {
- prefix: 'fab',
- iconName: 'sketch',
- 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"]
- };
- var faYandexInternational = {
- prefix: 'fab',
- iconName: 'yandex-international',
- icon: [320, 512, [], "f414", "M129.5 512V345.9L18.5 48h55.8l81.8 229.7L250.2 0h51.3L180.8 347.8V512h-51.3z"]
- };
- var faCcAmex = {
- prefix: 'fab',
- iconName: 'cc-amex',
- 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"]
- };
- var faUber = {
- prefix: 'fab',
- iconName: 'uber',
- 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"]
- };
- var faGithub = {
- prefix: 'fab',
- iconName: 'github',
- 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"]
- };
- var faPhp = {
- prefix: 'fab',
- iconName: 'php',
- 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"]
- };
- var faAlipay = {
- prefix: 'fab',
- iconName: 'alipay',
- 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"]
- };
- var faYoutube = {
- prefix: 'fab',
- iconName: 'youtube',
- 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"]
- };
- var faSkyatlas = {
- prefix: 'fab',
- iconName: 'skyatlas',
- 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"]
- };
- var faFirefoxBrowser = {
- prefix: 'fab',
- iconName: 'firefox-browser',
- 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"]
- };
- var faReplyd = {
- prefix: 'fab',
- iconName: 'replyd',
- 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"]
- };
- var faSuse = {
- prefix: 'fab',
- iconName: 'suse',
- 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"]
- };
- var faJenkins = {
- prefix: 'fab',
- iconName: 'jenkins',
- 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"]
- };
- var faTwitter = {
- prefix: 'fab',
- iconName: 'twitter',
- 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"]
- };
- var faRockrms = {
- prefix: 'fab',
- iconName: 'rockrms',
- 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"]
- };
- var faPinterest = {
- prefix: 'fab',
- iconName: 'pinterest',
- 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"]
- };
- var faBuffer = {
- prefix: 'fab',
- iconName: 'buffer',
- 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"]
- };
- var faNpm = {
- prefix: 'fab',
- iconName: 'npm',
- icon: [576, 512, [], "f3d4", "M288 288h-32v-64h32v64zm288-128v192H288v32H160v-32H0V160h576zm-416 32H32v128h64v-96h32v96h32V192zm160 0H192v160h64v-32h64V192zm224 0H352v128h64v-96h32v96h32v-96h32v96h32V192z"]
- };
- var faYammer = {
- prefix: 'fab',
- iconName: 'yammer',
- 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"]
- };
- var faBtc = {
- prefix: 'fab',
- iconName: 'btc',
- 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"]
- };
- var faDribbble = {
- prefix: 'fab',
- iconName: 'dribbble',
- 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"]
- };
- var faStumbleuponCircle = {
- prefix: 'fab',
- iconName: 'stumbleupon-circle',
- 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"]
- };
- var faInternetExplorer = {
- prefix: 'fab',
- iconName: 'internet-explorer',
- 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"]
- };
- var faTelegram = {
- prefix: 'fab',
- iconName: 'telegram',
- 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"]
- };
- var faTelegramPlane = faTelegram;
- var faOldRepublic = {
- prefix: 'fab',
- iconName: 'old-republic',
- 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"]
- };
- var faSquareWhatsapp = {
- prefix: 'fab',
- iconName: 'square-whatsapp',
- 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"]
- };
- var faWhatsappSquare = faSquareWhatsapp;
- var faNodeJs = {
- prefix: 'fab',
- iconName: 'node-js',
- 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"]
- };
- var faEdgeLegacy = {
- prefix: 'fab',
- iconName: 'edge-legacy',
- 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"]
- };
- var faSlack = {
- prefix: 'fab',
- iconName: 'slack',
- 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"]
- };
- var faSlackHash = faSlack;
- var faMedrt = {
- prefix: 'fab',
- iconName: 'medrt',
- 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"]
- };
- var faUsb = {
- prefix: 'fab',
- iconName: 'usb',
- 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"]
- };
- var faTumblr = {
- prefix: 'fab',
- iconName: 'tumblr',
- 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"]
- };
- var faVaadin = {
- prefix: 'fab',
- iconName: 'vaadin',
- 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"]
- };
- var faQuora = {
- prefix: 'fab',
- iconName: 'quora',
- 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"]
- };
- var faReacteurope = {
- prefix: 'fab',
- iconName: 'reacteurope',
- 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"]
- };
- var faMedium = {
- prefix: 'fab',
- iconName: 'medium',
- 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"]
- };
- var faMediumM = faMedium;
- var faAmilia = {
- prefix: 'fab',
- iconName: 'amilia',
- 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"]
- };
- var faMixcloud = {
- prefix: 'fab',
- iconName: 'mixcloud',
- 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"]
- };
- var faFlipboard = {
- prefix: 'fab',
- iconName: 'flipboard',
- icon: [448, 512, [], "f44d", "M0 32v448h448V32H0zm358.4 179.2h-89.6v89.6h-89.6v89.6H89.6V121.6h268.8v89.6z"]
- };
- var faViacoin = {
- prefix: 'fab',
- iconName: 'viacoin',
- 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"]
- };
- var faCriticalRole = {
- prefix: 'fab',
- iconName: 'critical-role',
- 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"]
- };
- var faSitrox = {
- prefix: 'fab',
- iconName: 'sitrox',
- 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"]
- };
- var faDiscourse = {
- prefix: 'fab',
- iconName: 'discourse',
- 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"]
- };
- var faJoomla = {
- prefix: 'fab',
- iconName: 'joomla',
- 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"]
- };
- var faMastodon = {
- prefix: 'fab',
- iconName: 'mastodon',
- 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"]
- };
- var faAirbnb = {
- prefix: 'fab',
- iconName: 'airbnb',
- 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"]
- };
- var faWolfPackBattalion = {
- prefix: 'fab',
- iconName: 'wolf-pack-battalion',
- 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"]
- };
- var faBuyNLarge = {
- prefix: 'fab',
- iconName: 'buy-n-large',
- 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"]
- };
- var faGulp = {
- prefix: 'fab',
- iconName: 'gulp',
- 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"]
- };
- var faCreativeCommonsSamplingPlus = {
- prefix: 'fab',
- iconName: 'creative-commons-sampling-plus',
- 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"]
- };
- var faStrava = {
- prefix: 'fab',
- iconName: 'strava',
- 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"]
- };
- var faEmber = {
- prefix: 'fab',
- iconName: 'ember',
- 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"]
- };
- var faCanadianMapleLeaf = {
- prefix: 'fab',
- iconName: 'canadian-maple-leaf',
- 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"]
- };
- var faTeamspeak = {
- prefix: 'fab',
- iconName: 'teamspeak',
- 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"]
- };
- var faPushed = {
- prefix: 'fab',
- iconName: 'pushed',
- 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"]
- };
- var faWordpressSimple = {
- prefix: 'fab',
- iconName: 'wordpress-simple',
- 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"]
- };
- var faNutritionix = {
- prefix: 'fab',
- iconName: 'nutritionix',
- 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"]
- };
- var faWodu = {
- prefix: 'fab',
- iconName: 'wodu',
- 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"]
- };
- var faGooglePay = {
- prefix: 'fab',
- iconName: 'google-pay',
- 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"]
- };
- var faIntercom = {
- prefix: 'fab',
- iconName: 'intercom',
- 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"]
- };
- var faZhihu = {
- prefix: 'fab',
- iconName: 'zhihu',
- 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"]
- };
- var faKorvue = {
- prefix: 'fab',
- iconName: 'korvue',
- 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"]
- };
- var faPix = {
- prefix: 'fab',
- iconName: 'pix',
- 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"]
- };
- var faSteamSymbol = {
- prefix: 'fab',
- iconName: 'steam-symbol',
- 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"]
- };
- var icons = {
- faMonero: faMonero,
- faHooli: faHooli,
- faYelp: faYelp,
- faCcVisa: faCcVisa,
- faLastfm: faLastfm,
- faShopware: faShopware,
- faCreativeCommonsNc: faCreativeCommonsNc,
- faAws: faAws,
- faRedhat: faRedhat,
- faYoast: faYoast,
- faCloudflare: faCloudflare,
- faUps: faUps,
- faWpexplorer: faWpexplorer,
- faDyalog: faDyalog,
- faBity: faBity,
- faStackpath: faStackpath,
- faBuysellads: faBuysellads,
- faFirstOrder: faFirstOrder,
- faModx: faModx,
- faGuilded: faGuilded,
- faVnv: faVnv,
- faSquareJs: faSquareJs,
- faJsSquare: faJsSquare,
- faMicrosoft: faMicrosoft,
- faQq: faQq,
- faOrcid: faOrcid,
- faJava: faJava,
- faInvision: faInvision,
- faCreativeCommonsPdAlt: faCreativeCommonsPdAlt,
- faCentercode: faCentercode,
- faGlideG: faGlideG,
- faDrupal: faDrupal,
- faHireAHelper: faHireAHelper,
- faCreativeCommonsBy: faCreativeCommonsBy,
- faUnity: faUnity,
- faWhmcs: faWhmcs,
- faRocketchat: faRocketchat,
- faVk: faVk,
- faUntappd: faUntappd,
- faMailchimp: faMailchimp,
- faCss3Alt: faCss3Alt,
- faSquareReddit: faSquareReddit,
- faRedditSquare: faRedditSquare,
- faVimeoV: faVimeoV,
- faContao: faContao,
- faSquareFontAwesome: faSquareFontAwesome,
- faDeskpro: faDeskpro,
- faSistrix: faSistrix,
- faSquareInstagram: faSquareInstagram,
- faInstagramSquare: faInstagramSquare,
- faBattleNet: faBattleNet,
- faTheRedYeti: faTheRedYeti,
- faSquareHackerNews: faSquareHackerNews,
- faHackerNewsSquare: faHackerNewsSquare,
- faEdge: faEdge,
- faNapster: faNapster,
- faSquareSnapchat: faSquareSnapchat,
- faSnapchatSquare: faSnapchatSquare,
- faGooglePlusG: faGooglePlusG,
- faArtstation: faArtstation,
- faMarkdown: faMarkdown,
- faSourcetree: faSourcetree,
- faGooglePlus: faGooglePlus,
- faDiaspora: faDiaspora,
- faFoursquare: faFoursquare,
- faStackOverflow: faStackOverflow,
- faGithubAlt: faGithubAlt,
- faPhoenixSquadron: faPhoenixSquadron,
- faPagelines: faPagelines,
- faAlgolia: faAlgolia,
- faRedRiver: faRedRiver,
- faCreativeCommonsSa: faCreativeCommonsSa,
- faSafari: faSafari,
- faGoogle: faGoogle,
- faSquareFontAwesomeStroke: faSquareFontAwesomeStroke,
- faFontAwesomeAlt: faFontAwesomeAlt,
- faAtlassian: faAtlassian,
- faLinkedinIn: faLinkedinIn,
- faDigitalOcean: faDigitalOcean,
- faNimblr: faNimblr,
- faChromecast: faChromecast,
- faEvernote: faEvernote,
- faHackerNews: faHackerNews,
- faCreativeCommonsSampling: faCreativeCommonsSampling,
- faAdversal: faAdversal,
- faCreativeCommons: faCreativeCommons,
- faWatchmanMonitoring: faWatchmanMonitoring,
- faFonticons: faFonticons,
- faWeixin: faWeixin,
- faShirtsinbulk: faShirtsinbulk,
- faCodepen: faCodepen,
- faGitAlt: faGitAlt,
- faLyft: faLyft,
- faRev: faRev,
- faWindows: faWindows,
- faWizardsOfTheCoast: faWizardsOfTheCoast,
- faSquareViadeo: faSquareViadeo,
- faViadeoSquare: faViadeoSquare,
- faMeetup: faMeetup,
- faCentos: faCentos,
- faAdn: faAdn,
- faCloudsmith: faCloudsmith,
- faPiedPiperAlt: faPiedPiperAlt,
- faSquareDribbble: faSquareDribbble,
- faDribbbleSquare: faDribbbleSquare,
- faCodiepie: faCodiepie,
- faNode: faNode,
- faMix: faMix,
- faSteam: faSteam,
- faCcApplePay: faCcApplePay,
- faScribd: faScribd,
- faOpenid: faOpenid,
- faInstalod: faInstalod,
- faExpeditedssl: faExpeditedssl,
- faSellcast: faSellcast,
- faSquareTwitter: faSquareTwitter,
- faTwitterSquare: faTwitterSquare,
- faRProject: faRProject,
- faDelicious: faDelicious,
- faFreebsd: faFreebsd,
- faVuejs: faVuejs,
- faAccusoft: faAccusoft,
- faIoxhost: faIoxhost,
- faFonticonsFi: faFonticonsFi,
- faAppStore: faAppStore,
- faCcMastercard: faCcMastercard,
- faItunesNote: faItunesNote,
- faGolang: faGolang,
- faKickstarter: faKickstarter,
- faGrav: faGrav,
- faWeibo: faWeibo,
- faUncharted: faUncharted,
- faFirstdraft: faFirstdraft,
- faSquareYoutube: faSquareYoutube,
- faYoutubeSquare: faYoutubeSquare,
- faWikipediaW: faWikipediaW,
- faWpressr: faWpressr,
- faRendact: faRendact,
- faAngellist: faAngellist,
- faGalacticRepublic: faGalacticRepublic,
- faNfcDirectional: faNfcDirectional,
- faSkype: faSkype,
- faJoget: faJoget,
- faFedora: faFedora,
- faStripeS: faStripeS,
- faMeta: faMeta,
- faLaravel: faLaravel,
- faHotjar: faHotjar,
- faBluetoothB: faBluetoothB,
- faStickerMule: faStickerMule,
- faCreativeCommonsZero: faCreativeCommonsZero,
- faHips: faHips,
- faBehance: faBehance,
- faReddit: faReddit,
- faDiscord: faDiscord,
- faChrome: faChrome,
- faAppStoreIos: faAppStoreIos,
- faCcDiscover: faCcDiscover,
- faWpbeginner: faWpbeginner,
- faConfluence: faConfluence,
- faMdb: faMdb,
- faDochub: faDochub,
- faAccessibleIcon: faAccessibleIcon,
- faEbay: faEbay,
- faAmazon: faAmazon,
- faUnsplash: faUnsplash,
- faYarn: faYarn,
- faSquareSteam: faSquareSteam,
- faSteamSquare: faSteamSquare,
- fa500px: fa500px,
- faSquareVimeo: faSquareVimeo,
- faVimeoSquare: faVimeoSquare,
- faAsymmetrik: faAsymmetrik,
- faFontAwesome: faFontAwesome,
- faFontAwesomeFlag: faFontAwesomeFlag,
- faFontAwesomeLogoFull: faFontAwesomeLogoFull,
- faGratipay: faGratipay,
- faApple: faApple,
- faHive: faHive,
- faGitkraken: faGitkraken,
- faKeybase: faKeybase,
- faApplePay: faApplePay,
- faPadlet: faPadlet,
- faAmazonPay: faAmazonPay,
- faSquareGithub: faSquareGithub,
- faGithubSquare: faGithubSquare,
- faStumbleupon: faStumbleupon,
- faFedex: faFedex,
- faPhoenixFramework: faPhoenixFramework,
- faShopify: faShopify,
- faNeos: faNeos,
- faHackerrank: faHackerrank,
- faResearchgate: faResearchgate,
- faSwift: faSwift,
- faAngular: faAngular,
- faSpeakap: faSpeakap,
- faAngrycreative: faAngrycreative,
- faYCombinator: faYCombinator,
- faEmpire: faEmpire,
- faEnvira: faEnvira,
- faSquareGitlab: faSquareGitlab,
- faGitlabSquare: faGitlabSquare,
- faStudiovinari: faStudiovinari,
- faPiedPiper: faPiedPiper,
- faWordpress: faWordpress,
- faProductHunt: faProductHunt,
- faFirefox: faFirefox,
- faLinode: faLinode,
- faGoodreads: faGoodreads,
- faSquareOdnoklassniki: faSquareOdnoklassniki,
- faOdnoklassnikiSquare: faOdnoklassnikiSquare,
- faJsfiddle: faJsfiddle,
- faSith: faSith,
- faThemeisle: faThemeisle,
- faPage4: faPage4,
- faHashnode: faHashnode,
- faReact: faReact,
- faCcPaypal: faCcPaypal,
- faSquarespace: faSquarespace,
- faCcStripe: faCcStripe,
- faCreativeCommonsShare: faCreativeCommonsShare,
- faBitcoin: faBitcoin,
- faKeycdn: faKeycdn,
- faOpera: faOpera,
- faItchIo: faItchIo,
- faUmbraco: faUmbraco,
- faGalacticSenate: faGalacticSenate,
- faUbuntu: faUbuntu,
- faDraft2digital: faDraft2digital,
- faStripe: faStripe,
- faHouzz: faHouzz,
- faGg: faGg,
- faDhl: faDhl,
- faSquarePinterest: faSquarePinterest,
- faPinterestSquare: faPinterestSquare,
- faXing: faXing,
- faBlackberry: faBlackberry,
- faCreativeCommonsPd: faCreativeCommonsPd,
- faPlaystation: faPlaystation,
- faQuinscape: faQuinscape,
- faLess: faLess,
- faBloggerB: faBloggerB,
- faOpencart: faOpencart,
- faVine: faVine,
- faPaypal: faPaypal,
- faGitlab: faGitlab,
- faTypo3: faTypo3,
- faRedditAlien: faRedditAlien,
- faYahoo: faYahoo,
- faDailymotion: faDailymotion,
- faAffiliatetheme: faAffiliatetheme,
- faPiedPiperPp: faPiedPiperPp,
- faBootstrap: faBootstrap,
- faOdnoklassniki: faOdnoklassniki,
- faNfcSymbol: faNfcSymbol,
- faEthereum: faEthereum,
- faSpeakerDeck: faSpeakerDeck,
- faCreativeCommonsNcEu: faCreativeCommonsNcEu,
- faPatreon: faPatreon,
- faAvianex: faAvianex,
- faEllo: faEllo,
- faGofore: faGofore,
- faBimobject: faBimobject,
- faFacebookF: faFacebookF,
- faSquareGooglePlus: faSquareGooglePlus,
- faGooglePlusSquare: faGooglePlusSquare,
- faMandalorian: faMandalorian,
- faFirstOrderAlt: faFirstOrderAlt,
- faOsi: faOsi,
- faGoogleWallet: faGoogleWallet,
- faDAndDBeyond: faDAndDBeyond,
- faPeriscope: faPeriscope,
- faFulcrum: faFulcrum,
- faCloudscale: faCloudscale,
- faForumbee: faForumbee,
- faMizuni: faMizuni,
- faSchlix: faSchlix,
- faSquareXing: faSquareXing,
- faXingSquare: faXingSquare,
- faBandcamp: faBandcamp,
- faWpforms: faWpforms,
- faCloudversify: faCloudversify,
- faUsps: faUsps,
- faMegaport: faMegaport,
- faMagento: faMagento,
- faSpotify: faSpotify,
- faOptinMonster: faOptinMonster,
- faFly: faFly,
- faAviato: faAviato,
- faItunes: faItunes,
- faCuttlefish: faCuttlefish,
- faBlogger: faBlogger,
- faFlickr: faFlickr,
- faViber: faViber,
- faSoundcloud: faSoundcloud,
- faDigg: faDigg,
- faTencentWeibo: faTencentWeibo,
- faSymfony: faSymfony,
- faMaxcdn: faMaxcdn,
- faEtsy: faEtsy,
- faFacebookMessenger: faFacebookMessenger,
- faAudible: faAudible,
- faThinkPeaks: faThinkPeaks,
- faBilibili: faBilibili,
- faErlang: faErlang,
- faCottonBureau: faCottonBureau,
- faDashcube: faDashcube,
- fa42Group: fa42Group,
- faInnosoft: faInnosoft,
- faStackExchange: faStackExchange,
- faElementor: faElementor,
- faSquarePiedPiper: faSquarePiedPiper,
- faPiedPiperSquare: faPiedPiperSquare,
- faCreativeCommonsNd: faCreativeCommonsNd,
- faPalfed: faPalfed,
- faSuperpowers: faSuperpowers,
- faResolving: faResolving,
- faXbox: faXbox,
- faSearchengin: faSearchengin,
- faTiktok: faTiktok,
- faSquareFacebook: faSquareFacebook,
- faFacebookSquare: faFacebookSquare,
- faRenren: faRenren,
- faLinux: faLinux,
- faGlide: faGlide,
- faLinkedin: faLinkedin,
- faHubspot: faHubspot,
- faDeploydog: faDeploydog,
- faTwitch: faTwitch,
- faRavelry: faRavelry,
- faMixer: faMixer,
- faSquareLastfm: faSquareLastfm,
- faLastfmSquare: faLastfmSquare,
- faVimeo: faVimeo,
- faMendeley: faMendeley,
- faUniregistry: faUniregistry,
- faFigma: faFigma,
- faCreativeCommonsRemix: faCreativeCommonsRemix,
- faCcAmazonPay: faCcAmazonPay,
- faDropbox: faDropbox,
- faInstagram: faInstagram,
- faCmplid: faCmplid,
- faFacebook: faFacebook,
- faGripfire: faGripfire,
- faJediOrder: faJediOrder,
- faUikit: faUikit,
- faFortAwesomeAlt: faFortAwesomeAlt,
- faPhabricator: faPhabricator,
- faUssunnah: faUssunnah,
- faEarlybirds: faEarlybirds,
- faTradeFederation: faTradeFederation,
- faAutoprefixer: faAutoprefixer,
- faWhatsapp: faWhatsapp,
- faSlideshare: faSlideshare,
- faGooglePlay: faGooglePlay,
- faViadeo: faViadeo,
- faLine: faLine,
- faGoogleDrive: faGoogleDrive,
- faServicestack: faServicestack,
- faSimplybuilt: faSimplybuilt,
- faBitbucket: faBitbucket,
- faImdb: faImdb,
- faDeezer: faDeezer,
- faRaspberryPi: faRaspberryPi,
- faJira: faJira,
- faDocker: faDocker,
- faScreenpal: faScreenpal,
- faBluetooth: faBluetooth,
- faGitter: faGitter,
- faDAndD: faDAndD,
- faMicroblog: faMicroblog,
- faCcDinersClub: faCcDinersClub,
- faGgCircle: faGgCircle,
- faPiedPiperHat: faPiedPiperHat,
- faKickstarterK: faKickstarterK,
- faYandex: faYandex,
- faReadme: faReadme,
- faHtml5: faHtml5,
- faSellsy: faSellsy,
- faSass: faSass,
- faWirsindhandwerk: faWirsindhandwerk,
- faWsh: faWsh,
- faBuromobelexperte: faBuromobelexperte,
- faSalesforce: faSalesforce,
- faOctopusDeploy: faOctopusDeploy,
- faMedapps: faMedapps,
- faNs8: faNs8,
- faPinterestP: faPinterestP,
- faApper: faApper,
- faFortAwesome: faFortAwesome,
- faWaze: faWaze,
- faCcJcb: faCcJcb,
- faSnapchat: faSnapchat,
- faSnapchatGhost: faSnapchatGhost,
- faFantasyFlightGames: faFantasyFlightGames,
- faRust: faRust,
- faWix: faWix,
- faSquareBehance: faSquareBehance,
- faBehanceSquare: faBehanceSquare,
- faSupple: faSupple,
- faRebel: faRebel,
- faCss3: faCss3,
- faStaylinked: faStaylinked,
- faKaggle: faKaggle,
- faSpaceAwesome: faSpaceAwesome,
- faDeviantart: faDeviantart,
- faCpanel: faCpanel,
- faGoodreadsG: faGoodreadsG,
- faSquareGit: faSquareGit,
- faGitSquare: faGitSquare,
- faSquareTumblr: faSquareTumblr,
- faTumblrSquare: faTumblrSquare,
- faTrello: faTrello,
- faCreativeCommonsNcJp: faCreativeCommonsNcJp,
- faGetPocket: faGetPocket,
- faPerbyte: faPerbyte,
- faGrunt: faGrunt,
- faWeebly: faWeebly,
- faConnectdevelop: faConnectdevelop,
- faLeanpub: faLeanpub,
- faBlackTie: faBlackTie,
- faThemeco: faThemeco,
- faPython: faPython,
- faAndroid: faAndroid,
- faBots: faBots,
- faFreeCodeCamp: faFreeCodeCamp,
- faHornbill: faHornbill,
- faJs: faJs,
- faIdeal: faIdeal,
- faGit: faGit,
- faDev: faDev,
- faSketch: faSketch,
- faYandexInternational: faYandexInternational,
- faCcAmex: faCcAmex,
- faUber: faUber,
- faGithub: faGithub,
- faPhp: faPhp,
- faAlipay: faAlipay,
- faYoutube: faYoutube,
- faSkyatlas: faSkyatlas,
- faFirefoxBrowser: faFirefoxBrowser,
- faReplyd: faReplyd,
- faSuse: faSuse,
- faJenkins: faJenkins,
- faTwitter: faTwitter,
- faRockrms: faRockrms,
- faPinterest: faPinterest,
- faBuffer: faBuffer,
- faNpm: faNpm,
- faYammer: faYammer,
- faBtc: faBtc,
- faDribbble: faDribbble,
- faStumbleuponCircle: faStumbleuponCircle,
- faInternetExplorer: faInternetExplorer,
- faTelegram: faTelegram,
- faTelegramPlane: faTelegramPlane,
- faOldRepublic: faOldRepublic,
- faSquareWhatsapp: faSquareWhatsapp,
- faWhatsappSquare: faWhatsappSquare,
- faNodeJs: faNodeJs,
- faEdgeLegacy: faEdgeLegacy,
- faSlack: faSlack,
- faSlackHash: faSlackHash,
- faMedrt: faMedrt,
- faUsb: faUsb,
- faTumblr: faTumblr,
- faVaadin: faVaadin,
- faQuora: faQuora,
- faReacteurope: faReacteurope,
- faMedium: faMedium,
- faMediumM: faMediumM,
- faAmilia: faAmilia,
- faMixcloud: faMixcloud,
- faFlipboard: faFlipboard,
- faViacoin: faViacoin,
- faCriticalRole: faCriticalRole,
- faSitrox: faSitrox,
- faDiscourse: faDiscourse,
- faJoomla: faJoomla,
- faMastodon: faMastodon,
- faAirbnb: faAirbnb,
- faWolfPackBattalion: faWolfPackBattalion,
- faBuyNLarge: faBuyNLarge,
- faGulp: faGulp,
- faCreativeCommonsSamplingPlus: faCreativeCommonsSamplingPlus,
- faStrava: faStrava,
- faEmber: faEmber,
- faCanadianMapleLeaf: faCanadianMapleLeaf,
- faTeamspeak: faTeamspeak,
- faPushed: faPushed,
- faWordpressSimple: faWordpressSimple,
- faNutritionix: faNutritionix,
- faWodu: faWodu,
- faGooglePay: faGooglePay,
- faIntercom: faIntercom,
- faZhihu: faZhihu,
- faKorvue: faKorvue,
- faPix: faPix,
- faSteamSymbol: faSteamSymbol
- };
- /***/ }),
- /***/ 2898:
- /*!********************************************************************!*\
- !*** ./node_modules/@fortawesome/free-regular-svg-icons/index.mjs ***!
- \********************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "faAddressBook": () => (/* binding */ faAddressBook),
- /* harmony export */ "faAddressCard": () => (/* binding */ faAddressCard),
- /* harmony export */ "faAngry": () => (/* binding */ faAngry),
- /* harmony export */ "faArrowAltCircleDown": () => (/* binding */ faArrowAltCircleDown),
- /* harmony export */ "faArrowAltCircleLeft": () => (/* binding */ faArrowAltCircleLeft),
- /* harmony export */ "faArrowAltCircleRight": () => (/* binding */ faArrowAltCircleRight),
- /* harmony export */ "faArrowAltCircleUp": () => (/* binding */ faArrowAltCircleUp),
- /* harmony export */ "faBarChart": () => (/* binding */ faBarChart),
- /* harmony export */ "faBell": () => (/* binding */ faBell),
- /* harmony export */ "faBellSlash": () => (/* binding */ faBellSlash),
- /* harmony export */ "faBookmark": () => (/* binding */ faBookmark),
- /* harmony export */ "faBuilding": () => (/* binding */ faBuilding),
- /* harmony export */ "faCalendar": () => (/* binding */ faCalendar),
- /* harmony export */ "faCalendarAlt": () => (/* binding */ faCalendarAlt),
- /* harmony export */ "faCalendarCheck": () => (/* binding */ faCalendarCheck),
- /* harmony export */ "faCalendarDays": () => (/* binding */ faCalendarDays),
- /* harmony export */ "faCalendarMinus": () => (/* binding */ faCalendarMinus),
- /* harmony export */ "faCalendarPlus": () => (/* binding */ faCalendarPlus),
- /* harmony export */ "faCalendarTimes": () => (/* binding */ faCalendarTimes),
- /* harmony export */ "faCalendarXmark": () => (/* binding */ faCalendarXmark),
- /* harmony export */ "faCaretSquareDown": () => (/* binding */ faCaretSquareDown),
- /* harmony export */ "faCaretSquareLeft": () => (/* binding */ faCaretSquareLeft),
- /* harmony export */ "faCaretSquareRight": () => (/* binding */ faCaretSquareRight),
- /* harmony export */ "faCaretSquareUp": () => (/* binding */ faCaretSquareUp),
- /* harmony export */ "faChartBar": () => (/* binding */ faChartBar),
- /* harmony export */ "faCheckCircle": () => (/* binding */ faCheckCircle),
- /* harmony export */ "faCheckSquare": () => (/* binding */ faCheckSquare),
- /* harmony export */ "faChessBishop": () => (/* binding */ faChessBishop),
- /* harmony export */ "faChessKing": () => (/* binding */ faChessKing),
- /* harmony export */ "faChessKnight": () => (/* binding */ faChessKnight),
- /* harmony export */ "faChessPawn": () => (/* binding */ faChessPawn),
- /* harmony export */ "faChessQueen": () => (/* binding */ faChessQueen),
- /* harmony export */ "faChessRook": () => (/* binding */ faChessRook),
- /* harmony export */ "faCircle": () => (/* binding */ faCircle),
- /* harmony export */ "faCircleCheck": () => (/* binding */ faCircleCheck),
- /* harmony export */ "faCircleDot": () => (/* binding */ faCircleDot),
- /* harmony export */ "faCircleDown": () => (/* binding */ faCircleDown),
- /* harmony export */ "faCircleLeft": () => (/* binding */ faCircleLeft),
- /* harmony export */ "faCirclePause": () => (/* binding */ faCirclePause),
- /* harmony export */ "faCirclePlay": () => (/* binding */ faCirclePlay),
- /* harmony export */ "faCircleQuestion": () => (/* binding */ faCircleQuestion),
- /* harmony export */ "faCircleRight": () => (/* binding */ faCircleRight),
- /* harmony export */ "faCircleStop": () => (/* binding */ faCircleStop),
- /* harmony export */ "faCircleUp": () => (/* binding */ faCircleUp),
- /* harmony export */ "faCircleUser": () => (/* binding */ faCircleUser),
- /* harmony export */ "faCircleXmark": () => (/* binding */ faCircleXmark),
- /* harmony export */ "faClipboard": () => (/* binding */ faClipboard),
- /* harmony export */ "faClock": () => (/* binding */ faClock),
- /* harmony export */ "faClockFour": () => (/* binding */ faClockFour),
- /* harmony export */ "faClone": () => (/* binding */ faClone),
- /* harmony export */ "faClosedCaptioning": () => (/* binding */ faClosedCaptioning),
- /* harmony export */ "faComment": () => (/* binding */ faComment),
- /* harmony export */ "faCommentAlt": () => (/* binding */ faCommentAlt),
- /* harmony export */ "faCommentDots": () => (/* binding */ faCommentDots),
- /* harmony export */ "faCommenting": () => (/* binding */ faCommenting),
- /* harmony export */ "faComments": () => (/* binding */ faComments),
- /* harmony export */ "faCompass": () => (/* binding */ faCompass),
- /* harmony export */ "faContactBook": () => (/* binding */ faContactBook),
- /* harmony export */ "faContactCard": () => (/* binding */ faContactCard),
- /* harmony export */ "faCopy": () => (/* binding */ faCopy),
- /* harmony export */ "faCopyright": () => (/* binding */ faCopyright),
- /* harmony export */ "faCreditCard": () => (/* binding */ faCreditCard),
- /* harmony export */ "faCreditCardAlt": () => (/* binding */ faCreditCardAlt),
- /* harmony export */ "faDizzy": () => (/* binding */ faDizzy),
- /* harmony export */ "faDotCircle": () => (/* binding */ faDotCircle),
- /* harmony export */ "faDriversLicense": () => (/* binding */ faDriversLicense),
- /* harmony export */ "faEdit": () => (/* binding */ faEdit),
- /* harmony export */ "faEnvelope": () => (/* binding */ faEnvelope),
- /* harmony export */ "faEnvelopeOpen": () => (/* binding */ faEnvelopeOpen),
- /* harmony export */ "faEye": () => (/* binding */ faEye),
- /* harmony export */ "faEyeSlash": () => (/* binding */ faEyeSlash),
- /* harmony export */ "faFaceAngry": () => (/* binding */ faFaceAngry),
- /* harmony export */ "faFaceDizzy": () => (/* binding */ faFaceDizzy),
- /* harmony export */ "faFaceFlushed": () => (/* binding */ faFaceFlushed),
- /* harmony export */ "faFaceFrown": () => (/* binding */ faFaceFrown),
- /* harmony export */ "faFaceFrownOpen": () => (/* binding */ faFaceFrownOpen),
- /* harmony export */ "faFaceGrimace": () => (/* binding */ faFaceGrimace),
- /* harmony export */ "faFaceGrin": () => (/* binding */ faFaceGrin),
- /* harmony export */ "faFaceGrinBeam": () => (/* binding */ faFaceGrinBeam),
- /* harmony export */ "faFaceGrinBeamSweat": () => (/* binding */ faFaceGrinBeamSweat),
- /* harmony export */ "faFaceGrinHearts": () => (/* binding */ faFaceGrinHearts),
- /* harmony export */ "faFaceGrinSquint": () => (/* binding */ faFaceGrinSquint),
- /* harmony export */ "faFaceGrinSquintTears": () => (/* binding */ faFaceGrinSquintTears),
- /* harmony export */ "faFaceGrinStars": () => (/* binding */ faFaceGrinStars),
- /* harmony export */ "faFaceGrinTears": () => (/* binding */ faFaceGrinTears),
- /* harmony export */ "faFaceGrinTongue": () => (/* binding */ faFaceGrinTongue),
- /* harmony export */ "faFaceGrinTongueSquint": () => (/* binding */ faFaceGrinTongueSquint),
- /* harmony export */ "faFaceGrinTongueWink": () => (/* binding */ faFaceGrinTongueWink),
- /* harmony export */ "faFaceGrinWide": () => (/* binding */ faFaceGrinWide),
- /* harmony export */ "faFaceGrinWink": () => (/* binding */ faFaceGrinWink),
- /* harmony export */ "faFaceKiss": () => (/* binding */ faFaceKiss),
- /* harmony export */ "faFaceKissBeam": () => (/* binding */ faFaceKissBeam),
- /* harmony export */ "faFaceKissWinkHeart": () => (/* binding */ faFaceKissWinkHeart),
- /* harmony export */ "faFaceLaugh": () => (/* binding */ faFaceLaugh),
- /* harmony export */ "faFaceLaughBeam": () => (/* binding */ faFaceLaughBeam),
- /* harmony export */ "faFaceLaughSquint": () => (/* binding */ faFaceLaughSquint),
- /* harmony export */ "faFaceLaughWink": () => (/* binding */ faFaceLaughWink),
- /* harmony export */ "faFaceMeh": () => (/* binding */ faFaceMeh),
- /* harmony export */ "faFaceMehBlank": () => (/* binding */ faFaceMehBlank),
- /* harmony export */ "faFaceRollingEyes": () => (/* binding */ faFaceRollingEyes),
- /* harmony export */ "faFaceSadCry": () => (/* binding */ faFaceSadCry),
- /* harmony export */ "faFaceSadTear": () => (/* binding */ faFaceSadTear),
- /* harmony export */ "faFaceSmile": () => (/* binding */ faFaceSmile),
- /* harmony export */ "faFaceSmileBeam": () => (/* binding */ faFaceSmileBeam),
- /* harmony export */ "faFaceSmileWink": () => (/* binding */ faFaceSmileWink),
- /* harmony export */ "faFaceSurprise": () => (/* binding */ faFaceSurprise),
- /* harmony export */ "faFaceTired": () => (/* binding */ faFaceTired),
- /* harmony export */ "faFile": () => (/* binding */ faFile),
- /* harmony export */ "faFileAlt": () => (/* binding */ faFileAlt),
- /* harmony export */ "faFileArchive": () => (/* binding */ faFileArchive),
- /* harmony export */ "faFileAudio": () => (/* binding */ faFileAudio),
- /* harmony export */ "faFileClipboard": () => (/* binding */ faFileClipboard),
- /* harmony export */ "faFileCode": () => (/* binding */ faFileCode),
- /* harmony export */ "faFileExcel": () => (/* binding */ faFileExcel),
- /* harmony export */ "faFileImage": () => (/* binding */ faFileImage),
- /* harmony export */ "faFileLines": () => (/* binding */ faFileLines),
- /* harmony export */ "faFilePdf": () => (/* binding */ faFilePdf),
- /* harmony export */ "faFilePowerpoint": () => (/* binding */ faFilePowerpoint),
- /* harmony export */ "faFileText": () => (/* binding */ faFileText),
- /* harmony export */ "faFileVideo": () => (/* binding */ faFileVideo),
- /* harmony export */ "faFileWord": () => (/* binding */ faFileWord),
- /* harmony export */ "faFileZipper": () => (/* binding */ faFileZipper),
- /* harmony export */ "faFlag": () => (/* binding */ faFlag),
- /* harmony export */ "faFloppyDisk": () => (/* binding */ faFloppyDisk),
- /* harmony export */ "faFlushed": () => (/* binding */ faFlushed),
- /* harmony export */ "faFolder": () => (/* binding */ faFolder),
- /* harmony export */ "faFolderBlank": () => (/* binding */ faFolderBlank),
- /* harmony export */ "faFolderClosed": () => (/* binding */ faFolderClosed),
- /* harmony export */ "faFolderOpen": () => (/* binding */ faFolderOpen),
- /* harmony export */ "faFontAwesome": () => (/* binding */ faFontAwesome),
- /* harmony export */ "faFontAwesomeFlag": () => (/* binding */ faFontAwesomeFlag),
- /* harmony export */ "faFontAwesomeLogoFull": () => (/* binding */ faFontAwesomeLogoFull),
- /* harmony export */ "faFrown": () => (/* binding */ faFrown),
- /* harmony export */ "faFrownOpen": () => (/* binding */ faFrownOpen),
- /* harmony export */ "faFutbol": () => (/* binding */ faFutbol),
- /* harmony export */ "faFutbolBall": () => (/* binding */ faFutbolBall),
- /* harmony export */ "faGem": () => (/* binding */ faGem),
- /* harmony export */ "faGrimace": () => (/* binding */ faGrimace),
- /* harmony export */ "faGrin": () => (/* binding */ faGrin),
- /* harmony export */ "faGrinAlt": () => (/* binding */ faGrinAlt),
- /* harmony export */ "faGrinBeam": () => (/* binding */ faGrinBeam),
- /* harmony export */ "faGrinBeamSweat": () => (/* binding */ faGrinBeamSweat),
- /* harmony export */ "faGrinHearts": () => (/* binding */ faGrinHearts),
- /* harmony export */ "faGrinSquint": () => (/* binding */ faGrinSquint),
- /* harmony export */ "faGrinSquintTears": () => (/* binding */ faGrinSquintTears),
- /* harmony export */ "faGrinStars": () => (/* binding */ faGrinStars),
- /* harmony export */ "faGrinTears": () => (/* binding */ faGrinTears),
- /* harmony export */ "faGrinTongue": () => (/* binding */ faGrinTongue),
- /* harmony export */ "faGrinTongueSquint": () => (/* binding */ faGrinTongueSquint),
- /* harmony export */ "faGrinTongueWink": () => (/* binding */ faGrinTongueWink),
- /* harmony export */ "faGrinWink": () => (/* binding */ faGrinWink),
- /* harmony export */ "faHand": () => (/* binding */ faHand),
- /* harmony export */ "faHandBackFist": () => (/* binding */ faHandBackFist),
- /* harmony export */ "faHandLizard": () => (/* binding */ faHandLizard),
- /* harmony export */ "faHandPaper": () => (/* binding */ faHandPaper),
- /* harmony export */ "faHandPeace": () => (/* binding */ faHandPeace),
- /* harmony export */ "faHandPointDown": () => (/* binding */ faHandPointDown),
- /* harmony export */ "faHandPointLeft": () => (/* binding */ faHandPointLeft),
- /* harmony export */ "faHandPointRight": () => (/* binding */ faHandPointRight),
- /* harmony export */ "faHandPointUp": () => (/* binding */ faHandPointUp),
- /* harmony export */ "faHandPointer": () => (/* binding */ faHandPointer),
- /* harmony export */ "faHandRock": () => (/* binding */ faHandRock),
- /* harmony export */ "faHandScissors": () => (/* binding */ faHandScissors),
- /* harmony export */ "faHandSpock": () => (/* binding */ faHandSpock),
- /* harmony export */ "faHandshake": () => (/* binding */ faHandshake),
- /* harmony export */ "faHardDrive": () => (/* binding */ faHardDrive),
- /* harmony export */ "faHdd": () => (/* binding */ faHdd),
- /* harmony export */ "faHeart": () => (/* binding */ faHeart),
- /* harmony export */ "faHospital": () => (/* binding */ faHospital),
- /* harmony export */ "faHospitalAlt": () => (/* binding */ faHospitalAlt),
- /* harmony export */ "faHospitalWide": () => (/* binding */ faHospitalWide),
- /* harmony export */ "faHourglass": () => (/* binding */ faHourglass),
- /* harmony export */ "faHourglass2": () => (/* binding */ faHourglass2),
- /* harmony export */ "faHourglassEmpty": () => (/* binding */ faHourglassEmpty),
- /* harmony export */ "faHourglassHalf": () => (/* binding */ faHourglassHalf),
- /* harmony export */ "faIdBadge": () => (/* binding */ faIdBadge),
- /* harmony export */ "faIdCard": () => (/* binding */ faIdCard),
- /* harmony export */ "faImage": () => (/* binding */ faImage),
- /* harmony export */ "faImages": () => (/* binding */ faImages),
- /* harmony export */ "faKeyboard": () => (/* binding */ faKeyboard),
- /* harmony export */ "faKiss": () => (/* binding */ faKiss),
- /* harmony export */ "faKissBeam": () => (/* binding */ faKissBeam),
- /* harmony export */ "faKissWinkHeart": () => (/* binding */ faKissWinkHeart),
- /* harmony export */ "faLaugh": () => (/* binding */ faLaugh),
- /* harmony export */ "faLaughBeam": () => (/* binding */ faLaughBeam),
- /* harmony export */ "faLaughSquint": () => (/* binding */ faLaughSquint),
- /* harmony export */ "faLaughWink": () => (/* binding */ faLaughWink),
- /* harmony export */ "faLemon": () => (/* binding */ faLemon),
- /* harmony export */ "faLifeRing": () => (/* binding */ faLifeRing),
- /* harmony export */ "faLightbulb": () => (/* binding */ faLightbulb),
- /* harmony export */ "faListAlt": () => (/* binding */ faListAlt),
- /* harmony export */ "faMap": () => (/* binding */ faMap),
- /* harmony export */ "faMeh": () => (/* binding */ faMeh),
- /* harmony export */ "faMehBlank": () => (/* binding */ faMehBlank),
- /* harmony export */ "faMehRollingEyes": () => (/* binding */ faMehRollingEyes),
- /* harmony export */ "faMessage": () => (/* binding */ faMessage),
- /* harmony export */ "faMinusSquare": () => (/* binding */ faMinusSquare),
- /* harmony export */ "faMoneyBill1": () => (/* binding */ faMoneyBill1),
- /* harmony export */ "faMoneyBillAlt": () => (/* binding */ faMoneyBillAlt),
- /* harmony export */ "faMoon": () => (/* binding */ faMoon),
- /* harmony export */ "faNewspaper": () => (/* binding */ faNewspaper),
- /* harmony export */ "faNoteSticky": () => (/* binding */ faNoteSticky),
- /* harmony export */ "faObjectGroup": () => (/* binding */ faObjectGroup),
- /* harmony export */ "faObjectUngroup": () => (/* binding */ faObjectUngroup),
- /* harmony export */ "faPaperPlane": () => (/* binding */ faPaperPlane),
- /* harmony export */ "faPaste": () => (/* binding */ faPaste),
- /* harmony export */ "faPauseCircle": () => (/* binding */ faPauseCircle),
- /* harmony export */ "faPenToSquare": () => (/* binding */ faPenToSquare),
- /* harmony export */ "faPlayCircle": () => (/* binding */ faPlayCircle),
- /* harmony export */ "faPlusSquare": () => (/* binding */ faPlusSquare),
- /* harmony export */ "faQuestionCircle": () => (/* binding */ faQuestionCircle),
- /* harmony export */ "faRectangleList": () => (/* binding */ faRectangleList),
- /* harmony export */ "faRectangleTimes": () => (/* binding */ faRectangleTimes),
- /* harmony export */ "faRectangleXmark": () => (/* binding */ faRectangleXmark),
- /* harmony export */ "faRegistered": () => (/* binding */ faRegistered),
- /* harmony export */ "faSadCry": () => (/* binding */ faSadCry),
- /* harmony export */ "faSadTear": () => (/* binding */ faSadTear),
- /* harmony export */ "faSave": () => (/* binding */ faSave),
- /* harmony export */ "faShareFromSquare": () => (/* binding */ faShareFromSquare),
- /* harmony export */ "faShareSquare": () => (/* binding */ faShareSquare),
- /* harmony export */ "faSmile": () => (/* binding */ faSmile),
- /* harmony export */ "faSmileBeam": () => (/* binding */ faSmileBeam),
- /* harmony export */ "faSmileWink": () => (/* binding */ faSmileWink),
- /* harmony export */ "faSnowflake": () => (/* binding */ faSnowflake),
- /* harmony export */ "faSoccerBall": () => (/* binding */ faSoccerBall),
- /* harmony export */ "faSquare": () => (/* binding */ faSquare),
- /* harmony export */ "faSquareCaretDown": () => (/* binding */ faSquareCaretDown),
- /* harmony export */ "faSquareCaretLeft": () => (/* binding */ faSquareCaretLeft),
- /* harmony export */ "faSquareCaretRight": () => (/* binding */ faSquareCaretRight),
- /* harmony export */ "faSquareCaretUp": () => (/* binding */ faSquareCaretUp),
- /* harmony export */ "faSquareCheck": () => (/* binding */ faSquareCheck),
- /* harmony export */ "faSquareFull": () => (/* binding */ faSquareFull),
- /* harmony export */ "faSquareMinus": () => (/* binding */ faSquareMinus),
- /* harmony export */ "faSquarePlus": () => (/* binding */ faSquarePlus),
- /* harmony export */ "faStar": () => (/* binding */ faStar),
- /* harmony export */ "faStarHalf": () => (/* binding */ faStarHalf),
- /* harmony export */ "faStarHalfAlt": () => (/* binding */ faStarHalfAlt),
- /* harmony export */ "faStarHalfStroke": () => (/* binding */ faStarHalfStroke),
- /* harmony export */ "faStickyNote": () => (/* binding */ faStickyNote),
- /* harmony export */ "faStopCircle": () => (/* binding */ faStopCircle),
- /* harmony export */ "faSun": () => (/* binding */ faSun),
- /* harmony export */ "faSurprise": () => (/* binding */ faSurprise),
- /* harmony export */ "faThumbsDown": () => (/* binding */ faThumbsDown),
- /* harmony export */ "faThumbsUp": () => (/* binding */ faThumbsUp),
- /* harmony export */ "faTimesCircle": () => (/* binding */ faTimesCircle),
- /* harmony export */ "faTimesRectangle": () => (/* binding */ faTimesRectangle),
- /* harmony export */ "faTired": () => (/* binding */ faTired),
- /* harmony export */ "faTrashAlt": () => (/* binding */ faTrashAlt),
- /* harmony export */ "faTrashCan": () => (/* binding */ faTrashCan),
- /* harmony export */ "faUser": () => (/* binding */ faUser),
- /* harmony export */ "faUserCircle": () => (/* binding */ faUserCircle),
- /* harmony export */ "faVcard": () => (/* binding */ faVcard),
- /* harmony export */ "faWindowClose": () => (/* binding */ faWindowClose),
- /* harmony export */ "faWindowMaximize": () => (/* binding */ faWindowMaximize),
- /* harmony export */ "faWindowMinimize": () => (/* binding */ faWindowMinimize),
- /* harmony export */ "faWindowRestore": () => (/* binding */ faWindowRestore),
- /* harmony export */ "faXmarkCircle": () => (/* binding */ faXmarkCircle),
- /* harmony export */ "far": () => (/* binding */ icons),
- /* harmony export */ "prefix": () => (/* binding */ prefix)
- /* harmony export */ });
- var prefix = "far";
- var faTrashCan = {
- prefix: 'far',
- iconName: 'trash-can',
- 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"]
- };
- var faTrashAlt = faTrashCan;
- var faMessage = {
- prefix: 'far',
- iconName: 'message',
- 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"]
- };
- var faCommentAlt = faMessage;
- var faFileLines = {
- prefix: 'far',
- iconName: 'file-lines',
- 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"]
- };
- var faFileAlt = faFileLines;
- var faFileText = faFileLines;
- var faCalendarDays = {
- prefix: 'far',
- iconName: 'calendar-days',
- 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"]
- };
- var faCalendarAlt = faCalendarDays;
- var faHandPointRight = {
- prefix: 'far',
- iconName: 'hand-point-right',
- 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"]
- };
- var faFaceSmileBeam = {
- prefix: 'far',
- iconName: 'face-smile-beam',
- 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"]
- };
- var faSmileBeam = faFaceSmileBeam;
- var faFaceGrinStars = {
- prefix: 'far',
- iconName: 'face-grin-stars',
- 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"]
- };
- var faGrinStars = faFaceGrinStars;
- var faAddressBook = {
- prefix: 'far',
- iconName: 'address-book',
- 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"]
- };
- var faContactBook = faAddressBook;
- var faComments = {
- prefix: 'far',
- iconName: 'comments',
- 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"]
- };
- var faPaste = {
- prefix: 'far',
- iconName: 'paste',
- 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"]
- };
- var faFileClipboard = faPaste;
- var faFaceGrinTongueSquint = {
- prefix: 'far',
- iconName: 'face-grin-tongue-squint',
- 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"]
- };
- var faGrinTongueSquint = faFaceGrinTongueSquint;
- var faFaceFlushed = {
- prefix: 'far',
- iconName: 'face-flushed',
- 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"]
- };
- var faFlushed = faFaceFlushed;
- var faSquareCaretRight = {
- prefix: 'far',
- iconName: 'square-caret-right',
- 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"]
- };
- var faCaretSquareRight = faSquareCaretRight;
- var faSquareMinus = {
- prefix: 'far',
- iconName: 'square-minus',
- 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"]
- };
- var faMinusSquare = faSquareMinus;
- var faCompass = {
- prefix: 'far',
- iconName: 'compass',
- 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"]
- };
- var faSquareCaretDown = {
- prefix: 'far',
- iconName: 'square-caret-down',
- 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"]
- };
- var faCaretSquareDown = faSquareCaretDown;
- var faFaceKissBeam = {
- prefix: 'far',
- iconName: 'face-kiss-beam',
- 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"]
- };
- var faKissBeam = faFaceKissBeam;
- var faLightbulb = {
- prefix: 'far',
- iconName: 'lightbulb',
- 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"]
- };
- var faFlag = {
- prefix: 'far',
- iconName: 'flag',
- 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"]
- };
- var faSquareCheck = {
- prefix: 'far',
- iconName: 'square-check',
- 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"]
- };
- var faCheckSquare = faSquareCheck;
- var faCircleDot = {
- prefix: 'far',
- iconName: 'circle-dot',
- 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"]
- };
- var faDotCircle = faCircleDot;
- var faFaceDizzy = {
- prefix: 'far',
- iconName: 'face-dizzy',
- 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"]
- };
- var faDizzy = faFaceDizzy;
- var faFutbol = {
- prefix: 'far',
- iconName: 'futbol',
- 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"]
- };
- var faFutbolBall = faFutbol;
- var faSoccerBall = faFutbol;
- var faPenToSquare = {
- prefix: 'far',
- iconName: 'pen-to-square',
- 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"]
- };
- var faEdit = faPenToSquare;
- var faHourglassHalf = {
- prefix: 'far',
- iconName: 'hourglass-half',
- 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"]
- };
- var faHourglass2 = faHourglassHalf;
- var faEyeSlash = {
- prefix: 'far',
- iconName: 'eye-slash',
- 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"]
- };
- var faHand = {
- prefix: 'far',
- iconName: 'hand',
- 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"]
- };
- var faHandPaper = faHand;
- var faHandSpock = {
- prefix: 'far',
- iconName: 'hand-spock',
- 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"]
- };
- var faFaceKiss = {
- prefix: 'far',
- iconName: 'face-kiss',
- 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"]
- };
- var faKiss = faFaceKiss;
- var faFaceGrinTongue = {
- prefix: 'far',
- iconName: 'face-grin-tongue',
- 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"]
- };
- var faGrinTongue = faFaceGrinTongue;
- var faChessBishop = {
- prefix: 'far',
- iconName: 'chess-bishop',
- 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"]
- };
- var faFaceGrinWink = {
- prefix: 'far',
- iconName: 'face-grin-wink',
- 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"]
- };
- var faGrinWink = faFaceGrinWink;
- var faFaceGrinWide = {
- prefix: 'far',
- iconName: 'face-grin-wide',
- 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"]
- };
- var faGrinAlt = faFaceGrinWide;
- var faFaceFrownOpen = {
- prefix: 'far',
- iconName: 'face-frown-open',
- 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"]
- };
- var faFrownOpen = faFaceFrownOpen;
- var faHandPointUp = {
- prefix: 'far',
- iconName: 'hand-point-up',
- 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"]
- };
- var faBookmark = {
- prefix: 'far',
- iconName: 'bookmark',
- 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"]
- };
- var faHandPointDown = {
- prefix: 'far',
- iconName: 'hand-point-down',
- 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"]
- };
- var faFolder = {
- prefix: 'far',
- iconName: 'folder',
- 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"]
- };
- var faFolderBlank = faFolder;
- var faUser = {
- prefix: 'far',
- iconName: 'user',
- 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"]
- };
- var faSquareCaretLeft = {
- prefix: 'far',
- iconName: 'square-caret-left',
- 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"]
- };
- var faCaretSquareLeft = faSquareCaretLeft;
- var faStar = {
- prefix: 'far',
- iconName: 'star',
- 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"]
- };
- var faChessKnight = {
- prefix: 'far',
- iconName: 'chess-knight',
- 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"]
- };
- var faFaceLaughSquint = {
- prefix: 'far',
- iconName: 'face-laugh-squint',
- 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"]
- };
- var faLaughSquint = faFaceLaughSquint;
- var faFaceLaugh = {
- prefix: 'far',
- iconName: 'face-laugh',
- 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"]
- };
- var faLaugh = faFaceLaugh;
- var faFolderOpen = {
- prefix: 'far',
- iconName: 'folder-open',
- 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"]
- };
- var faClipboard = {
- prefix: 'far',
- iconName: 'clipboard',
- 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"]
- };
- var faChessQueen = {
- prefix: 'far',
- iconName: 'chess-queen',
- 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"]
- };
- var faHandBackFist = {
- prefix: 'far',
- iconName: 'hand-back-fist',
- 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"]
- };
- var faHandRock = faHandBackFist;
- var faSquareCaretUp = {
- prefix: 'far',
- iconName: 'square-caret-up',
- 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"]
- };
- var faCaretSquareUp = faSquareCaretUp;
- var faChartBar = {
- prefix: 'far',
- iconName: 'chart-bar',
- 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"]
- };
- var faBarChart = faChartBar;
- var faWindowRestore = {
- prefix: 'far',
- iconName: 'window-restore',
- 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"]
- };
- var faSquarePlus = {
- prefix: 'far',
- iconName: 'square-plus',
- 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"]
- };
- var faPlusSquare = faSquarePlus;
- var faImage = {
- prefix: 'far',
- iconName: 'image',
- 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"]
- };
- var faFolderClosed = {
- prefix: 'far',
- iconName: 'folder-closed',
- 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"]
- };
- var faLemon = {
- prefix: 'far',
- iconName: 'lemon',
- 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"]
- };
- var faHandshake = {
- prefix: 'far',
- iconName: 'handshake',
- 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"]
- };
- var faGem = {
- prefix: 'far',
- iconName: 'gem',
- 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"]
- };
- var faCirclePlay = {
- prefix: 'far',
- iconName: 'circle-play',
- 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"]
- };
- var faPlayCircle = faCirclePlay;
- var faCircleCheck = {
- prefix: 'far',
- iconName: 'circle-check',
- 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"]
- };
- var faCheckCircle = faCircleCheck;
- var faCircleStop = {
- prefix: 'far',
- iconName: 'circle-stop',
- 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"]
- };
- var faStopCircle = faCircleStop;
- var faIdBadge = {
- prefix: 'far',
- iconName: 'id-badge',
- 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"]
- };
- var faFaceLaughBeam = {
- prefix: 'far',
- iconName: 'face-laugh-beam',
- 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"]
- };
- var faLaughBeam = faFaceLaughBeam;
- var faRegistered = {
- prefix: 'far',
- iconName: 'registered',
- 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"]
- };
- var faAddressCard = {
- prefix: 'far',
- iconName: 'address-card',
- 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"]
- };
- var faContactCard = faAddressCard;
- var faVcard = faAddressCard;
- var faFaceTired = {
- prefix: 'far',
- iconName: 'face-tired',
- 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"]
- };
- var faTired = faFaceTired;
- var faFontAwesome = {
- prefix: 'far',
- iconName: 'font-awesome',
- 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"]
- };
- var faFontAwesomeFlag = faFontAwesome;
- var faFontAwesomeLogoFull = faFontAwesome;
- var faFaceSmileWink = {
- prefix: 'far',
- iconName: 'face-smile-wink',
- 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"]
- };
- var faSmileWink = faFaceSmileWink;
- var faFileWord = {
- prefix: 'far',
- iconName: 'file-word',
- 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"]
- };
- var faFilePowerpoint = {
- prefix: 'far',
- iconName: 'file-powerpoint',
- 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"]
- };
- var faEnvelopeOpen = {
- prefix: 'far',
- iconName: 'envelope-open',
- 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"]
- };
- var faFileZipper = {
- prefix: 'far',
- iconName: 'file-zipper',
- 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"]
- };
- var faFileArchive = faFileZipper;
- var faSquare = {
- prefix: 'far',
- iconName: 'square',
- 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"]
- };
- var faSnowflake = {
- prefix: 'far',
- iconName: 'snowflake',
- 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"]
- };
- var faNewspaper = {
- prefix: 'far',
- iconName: 'newspaper',
- 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"]
- };
- var faFaceKissWinkHeart = {
- prefix: 'far',
- iconName: 'face-kiss-wink-heart',
- 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"]
- };
- var faKissWinkHeart = faFaceKissWinkHeart;
- var faStarHalfStroke = {
- prefix: 'far',
- iconName: 'star-half-stroke',
- 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"]
- };
- var faStarHalfAlt = faStarHalfStroke;
- var faFileExcel = {
- prefix: 'far',
- iconName: 'file-excel',
- 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"]
- };
- var faFaceGrinBeam = {
- prefix: 'far',
- iconName: 'face-grin-beam',
- 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"]
- };
- var faGrinBeam = faFaceGrinBeam;
- var faObjectUngroup = {
- prefix: 'far',
- iconName: 'object-ungroup',
- 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"]
- };
- var faCircleRight = {
- prefix: 'far',
- iconName: 'circle-right',
- 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"]
- };
- var faArrowAltCircleRight = faCircleRight;
- var faFaceRollingEyes = {
- prefix: 'far',
- iconName: 'face-rolling-eyes',
- 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"]
- };
- var faMehRollingEyes = faFaceRollingEyes;
- var faObjectGroup = {
- prefix: 'far',
- iconName: 'object-group',
- 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"]
- };
- var faHeart = {
- prefix: 'far',
- iconName: 'heart',
- 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"]
- };
- var faFaceSurprise = {
- prefix: 'far',
- iconName: 'face-surprise',
- 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"]
- };
- var faSurprise = faFaceSurprise;
- var faCirclePause = {
- prefix: 'far',
- iconName: 'circle-pause',
- 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"]
- };
- var faPauseCircle = faCirclePause;
- var faCircle = {
- prefix: 'far',
- iconName: 'circle',
- 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"]
- };
- var faCircleUp = {
- prefix: 'far',
- iconName: 'circle-up',
- 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"]
- };
- var faArrowAltCircleUp = faCircleUp;
- var faFileAudio = {
- prefix: 'far',
- iconName: 'file-audio',
- 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"]
- };
- var faFileImage = {
- prefix: 'far',
- iconName: 'file-image',
- 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"]
- };
- var faCircleQuestion = {
- prefix: 'far',
- iconName: 'circle-question',
- 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"]
- };
- var faQuestionCircle = faCircleQuestion;
- var faFaceMehBlank = {
- prefix: 'far',
- iconName: 'face-meh-blank',
- 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"]
- };
- var faMehBlank = faFaceMehBlank;
- var faEye = {
- prefix: 'far',
- iconName: 'eye',
- 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"]
- };
- var faFaceSadCry = {
- prefix: 'far',
- iconName: 'face-sad-cry',
- 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"]
- };
- var faSadCry = faFaceSadCry;
- var faFileCode = {
- prefix: 'far',
- iconName: 'file-code',
- 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"]
- };
- var faWindowMaximize = {
- prefix: 'far',
- iconName: 'window-maximize',
- 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"]
- };
- var faFaceFrown = {
- prefix: 'far',
- iconName: 'face-frown',
- 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"]
- };
- var faFrown = faFaceFrown;
- var faFloppyDisk = {
- prefix: 'far',
- iconName: 'floppy-disk',
- 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"]
- };
- var faSave = faFloppyDisk;
- var faCommentDots = {
- prefix: 'far',
- iconName: 'comment-dots',
- 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"]
- };
- var faCommenting = faCommentDots;
- var faFaceGrinSquint = {
- prefix: 'far',
- iconName: 'face-grin-squint',
- 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"]
- };
- var faGrinSquint = faFaceGrinSquint;
- var faHandPointer = {
- prefix: 'far',
- iconName: 'hand-pointer',
- 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"]
- };
- var faHandScissors = {
- prefix: 'far',
- iconName: 'hand-scissors',
- 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"]
- };
- var faFaceGrinTears = {
- prefix: 'far',
- iconName: 'face-grin-tears',
- 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"]
- };
- var faGrinTears = faFaceGrinTears;
- var faCalendarXmark = {
- prefix: 'far',
- iconName: 'calendar-xmark',
- 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"]
- };
- var faCalendarTimes = faCalendarXmark;
- var faFileVideo = {
- prefix: 'far',
- iconName: 'file-video',
- 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"]
- };
- var faFilePdf = {
- prefix: 'far',
- iconName: 'file-pdf',
- 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"]
- };
- var faComment = {
- prefix: 'far',
- iconName: 'comment',
- 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"]
- };
- var faEnvelope = {
- prefix: 'far',
- iconName: 'envelope',
- 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"]
- };
- var faHourglass = {
- prefix: 'far',
- iconName: 'hourglass',
- 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"]
- };
- var faHourglassEmpty = faHourglass;
- var faCalendarCheck = {
- prefix: 'far',
- iconName: 'calendar-check',
- 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"]
- };
- var faHardDrive = {
- prefix: 'far',
- iconName: 'hard-drive',
- 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"]
- };
- var faHdd = faHardDrive;
- var faFaceGrinSquintTears = {
- prefix: 'far',
- iconName: 'face-grin-squint-tears',
- 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"]
- };
- var faGrinSquintTears = faFaceGrinSquintTears;
- var faRectangleList = {
- prefix: 'far',
- iconName: 'rectangle-list',
- 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"]
- };
- var faListAlt = faRectangleList;
- var faCalendarPlus = {
- prefix: 'far',
- iconName: 'calendar-plus',
- 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"]
- };
- var faCircleLeft = {
- prefix: 'far',
- iconName: 'circle-left',
- 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"]
- };
- var faArrowAltCircleLeft = faCircleLeft;
- var faMoneyBill1 = {
- prefix: 'far',
- iconName: 'money-bill-1',
- 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"]
- };
- var faMoneyBillAlt = faMoneyBill1;
- var faClock = {
- prefix: 'far',
- iconName: 'clock',
- 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"]
- };
- var faClockFour = faClock;
- var faKeyboard = {
- prefix: 'far',
- iconName: 'keyboard',
- 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"]
- };
- var faClosedCaptioning = {
- prefix: 'far',
- iconName: 'closed-captioning',
- 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"]
- };
- var faImages = {
- prefix: 'far',
- iconName: 'images',
- 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"]
- };
- var faFaceGrin = {
- prefix: 'far',
- iconName: 'face-grin',
- 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"]
- };
- var faGrin = faFaceGrin;
- var faFaceMeh = {
- prefix: 'far',
- iconName: 'face-meh',
- 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"]
- };
- var faMeh = faFaceMeh;
- var faIdCard = {
- prefix: 'far',
- iconName: 'id-card',
- 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"]
- };
- var faDriversLicense = faIdCard;
- var faSun = {
- prefix: 'far',
- iconName: 'sun',
- 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"]
- };
- var faFaceLaughWink = {
- prefix: 'far',
- iconName: 'face-laugh-wink',
- 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"]
- };
- var faLaughWink = faFaceLaughWink;
- var faCircleDown = {
- prefix: 'far',
- iconName: 'circle-down',
- 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"]
- };
- var faArrowAltCircleDown = faCircleDown;
- var faThumbsDown = {
- prefix: 'far',
- iconName: 'thumbs-down',
- 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"]
- };
- var faChessPawn = {
- prefix: 'far',
- iconName: 'chess-pawn',
- 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"]
- };
- var faCreditCard = {
- prefix: 'far',
- iconName: 'credit-card',
- 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"]
- };
- var faCreditCardAlt = faCreditCard;
- var faBell = {
- prefix: 'far',
- iconName: 'bell',
- 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"]
- };
- var faFile = {
- prefix: 'far',
- iconName: 'file',
- 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"]
- };
- var faHospital = {
- prefix: 'far',
- iconName: 'hospital',
- 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"]
- };
- var faHospitalAlt = faHospital;
- var faHospitalWide = faHospital;
- var faChessRook = {
- prefix: 'far',
- iconName: 'chess-rook',
- 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"]
- };
- var faStarHalf = {
- prefix: 'far',
- iconName: 'star-half',
- 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"]
- };
- var faChessKing = {
- prefix: 'far',
- iconName: 'chess-king',
- 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"]
- };
- var faCircleUser = {
- prefix: 'far',
- iconName: 'circle-user',
- 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"]
- };
- var faUserCircle = faCircleUser;
- var faCopy = {
- prefix: 'far',
- iconName: 'copy',
- 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"]
- };
- var faShareFromSquare = {
- prefix: 'far',
- iconName: 'share-from-square',
- 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"]
- };
- var faShareSquare = faShareFromSquare;
- var faCopyright = {
- prefix: 'far',
- iconName: 'copyright',
- 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"]
- };
- var faMap = {
- prefix: 'far',
- iconName: 'map',
- 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"]
- };
- var faBellSlash = {
- prefix: 'far',
- iconName: 'bell-slash',
- 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"]
- };
- var faHandLizard = {
- prefix: 'far',
- iconName: 'hand-lizard',
- 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"]
- };
- var faFaceSmile = {
- prefix: 'far',
- iconName: 'face-smile',
- 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"]
- };
- var faSmile = faFaceSmile;
- var faHandPeace = {
- prefix: 'far',
- iconName: 'hand-peace',
- 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"]
- };
- var faFaceGrinHearts = {
- prefix: 'far',
- iconName: 'face-grin-hearts',
- 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"]
- };
- var faGrinHearts = faFaceGrinHearts;
- var faBuilding = {
- prefix: 'far',
- iconName: 'building',
- 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"]
- };
- var faFaceGrinBeamSweat = {
- prefix: 'far',
- iconName: 'face-grin-beam-sweat',
- 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"]
- };
- var faGrinBeamSweat = faFaceGrinBeamSweat;
- var faMoon = {
- prefix: 'far',
- iconName: 'moon',
- 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"]
- };
- var faCalendar = {
- prefix: 'far',
- iconName: 'calendar',
- 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"]
- };
- var faFaceGrinTongueWink = {
- prefix: 'far',
- iconName: 'face-grin-tongue-wink',
- 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"]
- };
- var faGrinTongueWink = faFaceGrinTongueWink;
- var faClone = {
- prefix: 'far',
- iconName: 'clone',
- 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"]
- };
- var faFaceAngry = {
- prefix: 'far',
- iconName: 'face-angry',
- 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"]
- };
- var faAngry = faFaceAngry;
- var faRectangleXmark = {
- prefix: 'far',
- iconName: 'rectangle-xmark',
- 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"]
- };
- var faRectangleTimes = faRectangleXmark;
- var faTimesRectangle = faRectangleXmark;
- var faWindowClose = faRectangleXmark;
- var faPaperPlane = {
- prefix: 'far',
- iconName: 'paper-plane',
- 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"]
- };
- var faLifeRing = {
- prefix: 'far',
- iconName: 'life-ring',
- 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"]
- };
- var faFaceGrimace = {
- prefix: 'far',
- iconName: 'face-grimace',
- 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"]
- };
- var faGrimace = faFaceGrimace;
- var faCalendarMinus = {
- prefix: 'far',
- iconName: 'calendar-minus',
- 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"]
- };
- var faCircleXmark = {
- prefix: 'far',
- iconName: 'circle-xmark',
- 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"]
- };
- var faTimesCircle = faCircleXmark;
- var faXmarkCircle = faCircleXmark;
- var faThumbsUp = {
- prefix: 'far',
- iconName: 'thumbs-up',
- 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"]
- };
- var faWindowMinimize = {
- prefix: 'far',
- iconName: 'window-minimize',
- 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"]
- };
- var faSquareFull = {
- prefix: 'far',
- iconName: 'square-full',
- icon: [512, 512, [128997, 128998, 128999, 129000, 129001, 129002, 129003, 11035, 11036], "f45c", "M512 0V512H0V0H512zM464 48H48V464H464V48z"]
- };
- var faNoteSticky = {
- prefix: 'far',
- iconName: 'note-sticky',
- 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"]
- };
- var faStickyNote = faNoteSticky;
- var faFaceSadTear = {
- prefix: 'far',
- iconName: 'face-sad-tear',
- 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"]
- };
- var faSadTear = faFaceSadTear;
- var faHandPointLeft = {
- prefix: 'far',
- iconName: 'hand-point-left',
- 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"]
- };
- var icons = {
- faTrashCan: faTrashCan,
- faTrashAlt: faTrashAlt,
- faMessage: faMessage,
- faCommentAlt: faCommentAlt,
- faFileLines: faFileLines,
- faFileAlt: faFileAlt,
- faFileText: faFileText,
- faCalendarDays: faCalendarDays,
- faCalendarAlt: faCalendarAlt,
- faHandPointRight: faHandPointRight,
- faFaceSmileBeam: faFaceSmileBeam,
- faSmileBeam: faSmileBeam,
- faFaceGrinStars: faFaceGrinStars,
- faGrinStars: faGrinStars,
- faAddressBook: faAddressBook,
- faContactBook: faContactBook,
- faComments: faComments,
- faPaste: faPaste,
- faFileClipboard: faFileClipboard,
- faFaceGrinTongueSquint: faFaceGrinTongueSquint,
- faGrinTongueSquint: faGrinTongueSquint,
- faFaceFlushed: faFaceFlushed,
- faFlushed: faFlushed,
- faSquareCaretRight: faSquareCaretRight,
- faCaretSquareRight: faCaretSquareRight,
- faSquareMinus: faSquareMinus,
- faMinusSquare: faMinusSquare,
- faCompass: faCompass,
- faSquareCaretDown: faSquareCaretDown,
- faCaretSquareDown: faCaretSquareDown,
- faFaceKissBeam: faFaceKissBeam,
- faKissBeam: faKissBeam,
- faLightbulb: faLightbulb,
- faFlag: faFlag,
- faSquareCheck: faSquareCheck,
- faCheckSquare: faCheckSquare,
- faCircleDot: faCircleDot,
- faDotCircle: faDotCircle,
- faFaceDizzy: faFaceDizzy,
- faDizzy: faDizzy,
- faFutbol: faFutbol,
- faFutbolBall: faFutbolBall,
- faSoccerBall: faSoccerBall,
- faPenToSquare: faPenToSquare,
- faEdit: faEdit,
- faHourglassHalf: faHourglassHalf,
- faHourglass2: faHourglass2,
- faEyeSlash: faEyeSlash,
- faHand: faHand,
- faHandPaper: faHandPaper,
- faHandSpock: faHandSpock,
- faFaceKiss: faFaceKiss,
- faKiss: faKiss,
- faFaceGrinTongue: faFaceGrinTongue,
- faGrinTongue: faGrinTongue,
- faChessBishop: faChessBishop,
- faFaceGrinWink: faFaceGrinWink,
- faGrinWink: faGrinWink,
- faFaceGrinWide: faFaceGrinWide,
- faGrinAlt: faGrinAlt,
- faFaceFrownOpen: faFaceFrownOpen,
- faFrownOpen: faFrownOpen,
- faHandPointUp: faHandPointUp,
- faBookmark: faBookmark,
- faHandPointDown: faHandPointDown,
- faFolder: faFolder,
- faFolderBlank: faFolderBlank,
- faUser: faUser,
- faSquareCaretLeft: faSquareCaretLeft,
- faCaretSquareLeft: faCaretSquareLeft,
- faStar: faStar,
- faChessKnight: faChessKnight,
- faFaceLaughSquint: faFaceLaughSquint,
- faLaughSquint: faLaughSquint,
- faFaceLaugh: faFaceLaugh,
- faLaugh: faLaugh,
- faFolderOpen: faFolderOpen,
- faClipboard: faClipboard,
- faChessQueen: faChessQueen,
- faHandBackFist: faHandBackFist,
- faHandRock: faHandRock,
- faSquareCaretUp: faSquareCaretUp,
- faCaretSquareUp: faCaretSquareUp,
- faChartBar: faChartBar,
- faBarChart: faBarChart,
- faWindowRestore: faWindowRestore,
- faSquarePlus: faSquarePlus,
- faPlusSquare: faPlusSquare,
- faImage: faImage,
- faFolderClosed: faFolderClosed,
- faLemon: faLemon,
- faHandshake: faHandshake,
- faGem: faGem,
- faCirclePlay: faCirclePlay,
- faPlayCircle: faPlayCircle,
- faCircleCheck: faCircleCheck,
- faCheckCircle: faCheckCircle,
- faCircleStop: faCircleStop,
- faStopCircle: faStopCircle,
- faIdBadge: faIdBadge,
- faFaceLaughBeam: faFaceLaughBeam,
- faLaughBeam: faLaughBeam,
- faRegistered: faRegistered,
- faAddressCard: faAddressCard,
- faContactCard: faContactCard,
- faVcard: faVcard,
- faFaceTired: faFaceTired,
- faTired: faTired,
- faFontAwesome: faFontAwesome,
- faFontAwesomeFlag: faFontAwesomeFlag,
- faFontAwesomeLogoFull: faFontAwesomeLogoFull,
- faFaceSmileWink: faFaceSmileWink,
- faSmileWink: faSmileWink,
- faFileWord: faFileWord,
- faFilePowerpoint: faFilePowerpoint,
- faEnvelopeOpen: faEnvelopeOpen,
- faFileZipper: faFileZipper,
- faFileArchive: faFileArchive,
- faSquare: faSquare,
- faSnowflake: faSnowflake,
- faNewspaper: faNewspaper,
- faFaceKissWinkHeart: faFaceKissWinkHeart,
- faKissWinkHeart: faKissWinkHeart,
- faStarHalfStroke: faStarHalfStroke,
- faStarHalfAlt: faStarHalfAlt,
- faFileExcel: faFileExcel,
- faFaceGrinBeam: faFaceGrinBeam,
- faGrinBeam: faGrinBeam,
- faObjectUngroup: faObjectUngroup,
- faCircleRight: faCircleRight,
- faArrowAltCircleRight: faArrowAltCircleRight,
- faFaceRollingEyes: faFaceRollingEyes,
- faMehRollingEyes: faMehRollingEyes,
- faObjectGroup: faObjectGroup,
- faHeart: faHeart,
- faFaceSurprise: faFaceSurprise,
- faSurprise: faSurprise,
- faCirclePause: faCirclePause,
- faPauseCircle: faPauseCircle,
- faCircle: faCircle,
- faCircleUp: faCircleUp,
- faArrowAltCircleUp: faArrowAltCircleUp,
- faFileAudio: faFileAudio,
- faFileImage: faFileImage,
- faCircleQuestion: faCircleQuestion,
- faQuestionCircle: faQuestionCircle,
- faFaceMehBlank: faFaceMehBlank,
- faMehBlank: faMehBlank,
- faEye: faEye,
- faFaceSadCry: faFaceSadCry,
- faSadCry: faSadCry,
- faFileCode: faFileCode,
- faWindowMaximize: faWindowMaximize,
- faFaceFrown: faFaceFrown,
- faFrown: faFrown,
- faFloppyDisk: faFloppyDisk,
- faSave: faSave,
- faCommentDots: faCommentDots,
- faCommenting: faCommenting,
- faFaceGrinSquint: faFaceGrinSquint,
- faGrinSquint: faGrinSquint,
- faHandPointer: faHandPointer,
- faHandScissors: faHandScissors,
- faFaceGrinTears: faFaceGrinTears,
- faGrinTears: faGrinTears,
- faCalendarXmark: faCalendarXmark,
- faCalendarTimes: faCalendarTimes,
- faFileVideo: faFileVideo,
- faFilePdf: faFilePdf,
- faComment: faComment,
- faEnvelope: faEnvelope,
- faHourglass: faHourglass,
- faHourglassEmpty: faHourglassEmpty,
- faCalendarCheck: faCalendarCheck,
- faHardDrive: faHardDrive,
- faHdd: faHdd,
- faFaceGrinSquintTears: faFaceGrinSquintTears,
- faGrinSquintTears: faGrinSquintTears,
- faRectangleList: faRectangleList,
- faListAlt: faListAlt,
- faCalendarPlus: faCalendarPlus,
- faCircleLeft: faCircleLeft,
- faArrowAltCircleLeft: faArrowAltCircleLeft,
- faMoneyBill1: faMoneyBill1,
- faMoneyBillAlt: faMoneyBillAlt,
- faClock: faClock,
- faClockFour: faClockFour,
- faKeyboard: faKeyboard,
- faClosedCaptioning: faClosedCaptioning,
- faImages: faImages,
- faFaceGrin: faFaceGrin,
- faGrin: faGrin,
- faFaceMeh: faFaceMeh,
- faMeh: faMeh,
- faIdCard: faIdCard,
- faDriversLicense: faDriversLicense,
- faSun: faSun,
- faFaceLaughWink: faFaceLaughWink,
- faLaughWink: faLaughWink,
- faCircleDown: faCircleDown,
- faArrowAltCircleDown: faArrowAltCircleDown,
- faThumbsDown: faThumbsDown,
- faChessPawn: faChessPawn,
- faCreditCard: faCreditCard,
- faCreditCardAlt: faCreditCardAlt,
- faBell: faBell,
- faFile: faFile,
- faHospital: faHospital,
- faHospitalAlt: faHospitalAlt,
- faHospitalWide: faHospitalWide,
- faChessRook: faChessRook,
- faStarHalf: faStarHalf,
- faChessKing: faChessKing,
- faCircleUser: faCircleUser,
- faUserCircle: faUserCircle,
- faCopy: faCopy,
- faShareFromSquare: faShareFromSquare,
- faShareSquare: faShareSquare,
- faCopyright: faCopyright,
- faMap: faMap,
- faBellSlash: faBellSlash,
- faHandLizard: faHandLizard,
- faFaceSmile: faFaceSmile,
- faSmile: faSmile,
- faHandPeace: faHandPeace,
- faFaceGrinHearts: faFaceGrinHearts,
- faGrinHearts: faGrinHearts,
- faBuilding: faBuilding,
- faFaceGrinBeamSweat: faFaceGrinBeamSweat,
- faGrinBeamSweat: faGrinBeamSweat,
- faMoon: faMoon,
- faCalendar: faCalendar,
- faFaceGrinTongueWink: faFaceGrinTongueWink,
- faGrinTongueWink: faGrinTongueWink,
- faClone: faClone,
- faFaceAngry: faFaceAngry,
- faAngry: faAngry,
- faRectangleXmark: faRectangleXmark,
- faRectangleTimes: faRectangleTimes,
- faTimesRectangle: faTimesRectangle,
- faWindowClose: faWindowClose,
- faPaperPlane: faPaperPlane,
- faLifeRing: faLifeRing,
- faFaceGrimace: faFaceGrimace,
- faGrimace: faGrimace,
- faCalendarMinus: faCalendarMinus,
- faCircleXmark: faCircleXmark,
- faTimesCircle: faTimesCircle,
- faXmarkCircle: faXmarkCircle,
- faThumbsUp: faThumbsUp,
- faWindowMinimize: faWindowMinimize,
- faSquareFull: faSquareFull,
- faNoteSticky: faNoteSticky,
- faStickyNote: faStickyNote,
- faFaceSadTear: faFaceSadTear,
- faSadTear: faSadTear,
- faHandPointLeft: faHandPointLeft
- };
- /***/ }),
- /***/ 9306:
- /*!******************************************************************!*\
- !*** ./node_modules/@fortawesome/free-solid-svg-icons/index.mjs ***!
- \******************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "fa0": () => (/* binding */ fa0),
- /* harmony export */ "fa1": () => (/* binding */ fa1),
- /* harmony export */ "fa2": () => (/* binding */ fa2),
- /* harmony export */ "fa3": () => (/* binding */ fa3),
- /* harmony export */ "fa4": () => (/* binding */ fa4),
- /* harmony export */ "fa5": () => (/* binding */ fa5),
- /* harmony export */ "fa6": () => (/* binding */ fa6),
- /* harmony export */ "fa7": () => (/* binding */ fa7),
- /* harmony export */ "fa8": () => (/* binding */ fa8),
- /* harmony export */ "fa9": () => (/* binding */ fa9),
- /* harmony export */ "faA": () => (/* binding */ faA),
- /* harmony export */ "faAd": () => (/* binding */ faAd),
- /* harmony export */ "faAdd": () => (/* binding */ faAdd),
- /* harmony export */ "faAddressBook": () => (/* binding */ faAddressBook),
- /* harmony export */ "faAddressCard": () => (/* binding */ faAddressCard),
- /* harmony export */ "faAdjust": () => (/* binding */ faAdjust),
- /* harmony export */ "faAirFreshener": () => (/* binding */ faAirFreshener),
- /* harmony export */ "faAlignCenter": () => (/* binding */ faAlignCenter),
- /* harmony export */ "faAlignJustify": () => (/* binding */ faAlignJustify),
- /* harmony export */ "faAlignLeft": () => (/* binding */ faAlignLeft),
- /* harmony export */ "faAlignRight": () => (/* binding */ faAlignRight),
- /* harmony export */ "faAllergies": () => (/* binding */ faAllergies),
- /* harmony export */ "faAmbulance": () => (/* binding */ faAmbulance),
- /* harmony export */ "faAmericanSignLanguageInterpreting": () => (/* binding */ faAmericanSignLanguageInterpreting),
- /* harmony export */ "faAnchor": () => (/* binding */ faAnchor),
- /* harmony export */ "faAnchorCircleCheck": () => (/* binding */ faAnchorCircleCheck),
- /* harmony export */ "faAnchorCircleExclamation": () => (/* binding */ faAnchorCircleExclamation),
- /* harmony export */ "faAnchorCircleXmark": () => (/* binding */ faAnchorCircleXmark),
- /* harmony export */ "faAnchorLock": () => (/* binding */ faAnchorLock),
- /* harmony export */ "faAngleDoubleDown": () => (/* binding */ faAngleDoubleDown),
- /* harmony export */ "faAngleDoubleLeft": () => (/* binding */ faAngleDoubleLeft),
- /* harmony export */ "faAngleDoubleRight": () => (/* binding */ faAngleDoubleRight),
- /* harmony export */ "faAngleDoubleUp": () => (/* binding */ faAngleDoubleUp),
- /* harmony export */ "faAngleDown": () => (/* binding */ faAngleDown),
- /* harmony export */ "faAngleLeft": () => (/* binding */ faAngleLeft),
- /* harmony export */ "faAngleRight": () => (/* binding */ faAngleRight),
- /* harmony export */ "faAngleUp": () => (/* binding */ faAngleUp),
- /* harmony export */ "faAnglesDown": () => (/* binding */ faAnglesDown),
- /* harmony export */ "faAnglesLeft": () => (/* binding */ faAnglesLeft),
- /* harmony export */ "faAnglesRight": () => (/* binding */ faAnglesRight),
- /* harmony export */ "faAnglesUp": () => (/* binding */ faAnglesUp),
- /* harmony export */ "faAngry": () => (/* binding */ faAngry),
- /* harmony export */ "faAnkh": () => (/* binding */ faAnkh),
- /* harmony export */ "faAppleAlt": () => (/* binding */ faAppleAlt),
- /* harmony export */ "faAppleWhole": () => (/* binding */ faAppleWhole),
- /* harmony export */ "faArchive": () => (/* binding */ faArchive),
- /* harmony export */ "faArchway": () => (/* binding */ faArchway),
- /* harmony export */ "faAreaChart": () => (/* binding */ faAreaChart),
- /* harmony export */ "faArrowAltCircleDown": () => (/* binding */ faArrowAltCircleDown),
- /* harmony export */ "faArrowAltCircleLeft": () => (/* binding */ faArrowAltCircleLeft),
- /* harmony export */ "faArrowAltCircleRight": () => (/* binding */ faArrowAltCircleRight),
- /* harmony export */ "faArrowAltCircleUp": () => (/* binding */ faArrowAltCircleUp),
- /* harmony export */ "faArrowCircleDown": () => (/* binding */ faArrowCircleDown),
- /* harmony export */ "faArrowCircleLeft": () => (/* binding */ faArrowCircleLeft),
- /* harmony export */ "faArrowCircleRight": () => (/* binding */ faArrowCircleRight),
- /* harmony export */ "faArrowCircleUp": () => (/* binding */ faArrowCircleUp),
- /* harmony export */ "faArrowDown": () => (/* binding */ faArrowDown),
- /* harmony export */ "faArrowDown19": () => (/* binding */ faArrowDown19),
- /* harmony export */ "faArrowDown91": () => (/* binding */ faArrowDown91),
- /* harmony export */ "faArrowDownAZ": () => (/* binding */ faArrowDownAZ),
- /* harmony export */ "faArrowDownLong": () => (/* binding */ faArrowDownLong),
- /* harmony export */ "faArrowDownShortWide": () => (/* binding */ faArrowDownShortWide),
- /* harmony export */ "faArrowDownUpAcrossLine": () => (/* binding */ faArrowDownUpAcrossLine),
- /* harmony export */ "faArrowDownUpLock": () => (/* binding */ faArrowDownUpLock),
- /* harmony export */ "faArrowDownWideShort": () => (/* binding */ faArrowDownWideShort),
- /* harmony export */ "faArrowDownZA": () => (/* binding */ faArrowDownZA),
- /* harmony export */ "faArrowLeft": () => (/* binding */ faArrowLeft),
- /* harmony export */ "faArrowLeftLong": () => (/* binding */ faArrowLeftLong),
- /* harmony export */ "faArrowLeftRotate": () => (/* binding */ faArrowLeftRotate),
- /* harmony export */ "faArrowPointer": () => (/* binding */ faArrowPointer),
- /* harmony export */ "faArrowRight": () => (/* binding */ faArrowRight),
- /* harmony export */ "faArrowRightArrowLeft": () => (/* binding */ faArrowRightArrowLeft),
- /* harmony export */ "faArrowRightFromBracket": () => (/* binding */ faArrowRightFromBracket),
- /* harmony export */ "faArrowRightFromFile": () => (/* binding */ faArrowRightFromFile),
- /* harmony export */ "faArrowRightLong": () => (/* binding */ faArrowRightLong),
- /* harmony export */ "faArrowRightRotate": () => (/* binding */ faArrowRightRotate),
- /* harmony export */ "faArrowRightToBracket": () => (/* binding */ faArrowRightToBracket),
- /* harmony export */ "faArrowRightToCity": () => (/* binding */ faArrowRightToCity),
- /* harmony export */ "faArrowRightToFile": () => (/* binding */ faArrowRightToFile),
- /* harmony export */ "faArrowRotateBack": () => (/* binding */ faArrowRotateBack),
- /* harmony export */ "faArrowRotateBackward": () => (/* binding */ faArrowRotateBackward),
- /* harmony export */ "faArrowRotateForward": () => (/* binding */ faArrowRotateForward),
- /* harmony export */ "faArrowRotateLeft": () => (/* binding */ faArrowRotateLeft),
- /* harmony export */ "faArrowRotateRight": () => (/* binding */ faArrowRotateRight),
- /* harmony export */ "faArrowTrendDown": () => (/* binding */ faArrowTrendDown),
- /* harmony export */ "faArrowTrendUp": () => (/* binding */ faArrowTrendUp),
- /* harmony export */ "faArrowTurnDown": () => (/* binding */ faArrowTurnDown),
- /* harmony export */ "faArrowTurnRight": () => (/* binding */ faArrowTurnRight),
- /* harmony export */ "faArrowTurnUp": () => (/* binding */ faArrowTurnUp),
- /* harmony export */ "faArrowUp": () => (/* binding */ faArrowUp),
- /* harmony export */ "faArrowUp19": () => (/* binding */ faArrowUp19),
- /* harmony export */ "faArrowUp91": () => (/* binding */ faArrowUp91),
- /* harmony export */ "faArrowUpAZ": () => (/* binding */ faArrowUpAZ),
- /* harmony export */ "faArrowUpFromBracket": () => (/* binding */ faArrowUpFromBracket),
- /* harmony export */ "faArrowUpFromGroundWater": () => (/* binding */ faArrowUpFromGroundWater),
- /* harmony export */ "faArrowUpFromWaterPump": () => (/* binding */ faArrowUpFromWaterPump),
- /* harmony export */ "faArrowUpLong": () => (/* binding */ faArrowUpLong),
- /* harmony export */ "faArrowUpRightDots": () => (/* binding */ faArrowUpRightDots),
- /* harmony export */ "faArrowUpRightFromSquare": () => (/* binding */ faArrowUpRightFromSquare),
- /* harmony export */ "faArrowUpShortWide": () => (/* binding */ faArrowUpShortWide),
- /* harmony export */ "faArrowUpWideShort": () => (/* binding */ faArrowUpWideShort),
- /* harmony export */ "faArrowUpZA": () => (/* binding */ faArrowUpZA),
- /* harmony export */ "faArrows": () => (/* binding */ faArrows),
- /* harmony export */ "faArrowsAlt": () => (/* binding */ faArrowsAlt),
- /* harmony export */ "faArrowsAltH": () => (/* binding */ faArrowsAltH),
- /* harmony export */ "faArrowsAltV": () => (/* binding */ faArrowsAltV),
- /* harmony export */ "faArrowsDownToLine": () => (/* binding */ faArrowsDownToLine),
- /* harmony export */ "faArrowsDownToPeople": () => (/* binding */ faArrowsDownToPeople),
- /* harmony export */ "faArrowsH": () => (/* binding */ faArrowsH),
- /* harmony export */ "faArrowsLeftRight": () => (/* binding */ faArrowsLeftRight),
- /* harmony export */ "faArrowsLeftRightToLine": () => (/* binding */ faArrowsLeftRightToLine),
- /* harmony export */ "faArrowsRotate": () => (/* binding */ faArrowsRotate),
- /* harmony export */ "faArrowsSpin": () => (/* binding */ faArrowsSpin),
- /* harmony export */ "faArrowsSplitUpAndLeft": () => (/* binding */ faArrowsSplitUpAndLeft),
- /* harmony export */ "faArrowsToCircle": () => (/* binding */ faArrowsToCircle),
- /* harmony export */ "faArrowsToDot": () => (/* binding */ faArrowsToDot),
- /* harmony export */ "faArrowsToEye": () => (/* binding */ faArrowsToEye),
- /* harmony export */ "faArrowsTurnRight": () => (/* binding */ faArrowsTurnRight),
- /* harmony export */ "faArrowsTurnToDots": () => (/* binding */ faArrowsTurnToDots),
- /* harmony export */ "faArrowsUpDown": () => (/* binding */ faArrowsUpDown),
- /* harmony export */ "faArrowsUpDownLeftRight": () => (/* binding */ faArrowsUpDownLeftRight),
- /* harmony export */ "faArrowsUpToLine": () => (/* binding */ faArrowsUpToLine),
- /* harmony export */ "faArrowsV": () => (/* binding */ faArrowsV),
- /* harmony export */ "faAslInterpreting": () => (/* binding */ faAslInterpreting),
- /* harmony export */ "faAssistiveListeningSystems": () => (/* binding */ faAssistiveListeningSystems),
- /* harmony export */ "faAsterisk": () => (/* binding */ faAsterisk),
- /* harmony export */ "faAt": () => (/* binding */ faAt),
- /* harmony export */ "faAtlas": () => (/* binding */ faAtlas),
- /* harmony export */ "faAtom": () => (/* binding */ faAtom),
- /* harmony export */ "faAudioDescription": () => (/* binding */ faAudioDescription),
- /* harmony export */ "faAustralSign": () => (/* binding */ faAustralSign),
- /* harmony export */ "faAutomobile": () => (/* binding */ faAutomobile),
- /* harmony export */ "faAward": () => (/* binding */ faAward),
- /* harmony export */ "faB": () => (/* binding */ faB),
- /* harmony export */ "faBaby": () => (/* binding */ faBaby),
- /* harmony export */ "faBabyCarriage": () => (/* binding */ faBabyCarriage),
- /* harmony export */ "faBackspace": () => (/* binding */ faBackspace),
- /* harmony export */ "faBackward": () => (/* binding */ faBackward),
- /* harmony export */ "faBackwardFast": () => (/* binding */ faBackwardFast),
- /* harmony export */ "faBackwardStep": () => (/* binding */ faBackwardStep),
- /* harmony export */ "faBacon": () => (/* binding */ faBacon),
- /* harmony export */ "faBacteria": () => (/* binding */ faBacteria),
- /* harmony export */ "faBacterium": () => (/* binding */ faBacterium),
- /* harmony export */ "faBagShopping": () => (/* binding */ faBagShopping),
- /* harmony export */ "faBahai": () => (/* binding */ faBahai),
- /* harmony export */ "faBahtSign": () => (/* binding */ faBahtSign),
- /* harmony export */ "faBalanceScale": () => (/* binding */ faBalanceScale),
- /* harmony export */ "faBalanceScaleLeft": () => (/* binding */ faBalanceScaleLeft),
- /* harmony export */ "faBalanceScaleRight": () => (/* binding */ faBalanceScaleRight),
- /* harmony export */ "faBan": () => (/* binding */ faBan),
- /* harmony export */ "faBanSmoking": () => (/* binding */ faBanSmoking),
- /* harmony export */ "faBandAid": () => (/* binding */ faBandAid),
- /* harmony export */ "faBandage": () => (/* binding */ faBandage),
- /* harmony export */ "faBank": () => (/* binding */ faBank),
- /* harmony export */ "faBarChart": () => (/* binding */ faBarChart),
- /* harmony export */ "faBarcode": () => (/* binding */ faBarcode),
- /* harmony export */ "faBars": () => (/* binding */ faBars),
- /* harmony export */ "faBarsProgress": () => (/* binding */ faBarsProgress),
- /* harmony export */ "faBarsStaggered": () => (/* binding */ faBarsStaggered),
- /* harmony export */ "faBaseball": () => (/* binding */ faBaseball),
- /* harmony export */ "faBaseballBall": () => (/* binding */ faBaseballBall),
- /* harmony export */ "faBaseballBatBall": () => (/* binding */ faBaseballBatBall),
- /* harmony export */ "faBasketShopping": () => (/* binding */ faBasketShopping),
- /* harmony export */ "faBasketball": () => (/* binding */ faBasketball),
- /* harmony export */ "faBasketballBall": () => (/* binding */ faBasketballBall),
- /* harmony export */ "faBath": () => (/* binding */ faBath),
- /* harmony export */ "faBathtub": () => (/* binding */ faBathtub),
- /* harmony export */ "faBattery": () => (/* binding */ faBattery),
- /* harmony export */ "faBattery0": () => (/* binding */ faBattery0),
- /* harmony export */ "faBattery2": () => (/* binding */ faBattery2),
- /* harmony export */ "faBattery3": () => (/* binding */ faBattery3),
- /* harmony export */ "faBattery4": () => (/* binding */ faBattery4),
- /* harmony export */ "faBattery5": () => (/* binding */ faBattery5),
- /* harmony export */ "faBatteryCar": () => (/* binding */ faBatteryCar),
- /* harmony export */ "faBatteryEmpty": () => (/* binding */ faBatteryEmpty),
- /* harmony export */ "faBatteryFull": () => (/* binding */ faBatteryFull),
- /* harmony export */ "faBatteryHalf": () => (/* binding */ faBatteryHalf),
- /* harmony export */ "faBatteryQuarter": () => (/* binding */ faBatteryQuarter),
- /* harmony export */ "faBatteryThreeQuarters": () => (/* binding */ faBatteryThreeQuarters),
- /* harmony export */ "faBed": () => (/* binding */ faBed),
- /* harmony export */ "faBedPulse": () => (/* binding */ faBedPulse),
- /* harmony export */ "faBeer": () => (/* binding */ faBeer),
- /* harmony export */ "faBeerMugEmpty": () => (/* binding */ faBeerMugEmpty),
- /* harmony export */ "faBell": () => (/* binding */ faBell),
- /* harmony export */ "faBellConcierge": () => (/* binding */ faBellConcierge),
- /* harmony export */ "faBellSlash": () => (/* binding */ faBellSlash),
- /* harmony export */ "faBezierCurve": () => (/* binding */ faBezierCurve),
- /* harmony export */ "faBible": () => (/* binding */ faBible),
- /* harmony export */ "faBicycle": () => (/* binding */ faBicycle),
- /* harmony export */ "faBiking": () => (/* binding */ faBiking),
- /* harmony export */ "faBinoculars": () => (/* binding */ faBinoculars),
- /* harmony export */ "faBiohazard": () => (/* binding */ faBiohazard),
- /* harmony export */ "faBirthdayCake": () => (/* binding */ faBirthdayCake),
- /* harmony export */ "faBitcoinSign": () => (/* binding */ faBitcoinSign),
- /* harmony export */ "faBlackboard": () => (/* binding */ faBlackboard),
- /* harmony export */ "faBlender": () => (/* binding */ faBlender),
- /* harmony export */ "faBlenderPhone": () => (/* binding */ faBlenderPhone),
- /* harmony export */ "faBlind": () => (/* binding */ faBlind),
- /* harmony export */ "faBlog": () => (/* binding */ faBlog),
- /* harmony export */ "faBold": () => (/* binding */ faBold),
- /* harmony export */ "faBolt": () => (/* binding */ faBolt),
- /* harmony export */ "faBoltLightning": () => (/* binding */ faBoltLightning),
- /* harmony export */ "faBomb": () => (/* binding */ faBomb),
- /* harmony export */ "faBone": () => (/* binding */ faBone),
- /* harmony export */ "faBong": () => (/* binding */ faBong),
- /* harmony export */ "faBook": () => (/* binding */ faBook),
- /* harmony export */ "faBookAtlas": () => (/* binding */ faBookAtlas),
- /* harmony export */ "faBookBible": () => (/* binding */ faBookBible),
- /* harmony export */ "faBookBookmark": () => (/* binding */ faBookBookmark),
- /* harmony export */ "faBookDead": () => (/* binding */ faBookDead),
- /* harmony export */ "faBookJournalWhills": () => (/* binding */ faBookJournalWhills),
- /* harmony export */ "faBookMedical": () => (/* binding */ faBookMedical),
- /* harmony export */ "faBookOpen": () => (/* binding */ faBookOpen),
- /* harmony export */ "faBookOpenReader": () => (/* binding */ faBookOpenReader),
- /* harmony export */ "faBookQuran": () => (/* binding */ faBookQuran),
- /* harmony export */ "faBookReader": () => (/* binding */ faBookReader),
- /* harmony export */ "faBookSkull": () => (/* binding */ faBookSkull),
- /* harmony export */ "faBookTanakh": () => (/* binding */ faBookTanakh),
- /* harmony export */ "faBookmark": () => (/* binding */ faBookmark),
- /* harmony export */ "faBorderAll": () => (/* binding */ faBorderAll),
- /* harmony export */ "faBorderNone": () => (/* binding */ faBorderNone),
- /* harmony export */ "faBorderStyle": () => (/* binding */ faBorderStyle),
- /* harmony export */ "faBorderTopLeft": () => (/* binding */ faBorderTopLeft),
- /* harmony export */ "faBoreHole": () => (/* binding */ faBoreHole),
- /* harmony export */ "faBottleDroplet": () => (/* binding */ faBottleDroplet),
- /* harmony export */ "faBottleWater": () => (/* binding */ faBottleWater),
- /* harmony export */ "faBowlFood": () => (/* binding */ faBowlFood),
- /* harmony export */ "faBowlRice": () => (/* binding */ faBowlRice),
- /* harmony export */ "faBowlingBall": () => (/* binding */ faBowlingBall),
- /* harmony export */ "faBox": () => (/* binding */ faBox),
- /* harmony export */ "faBoxArchive": () => (/* binding */ faBoxArchive),
- /* harmony export */ "faBoxOpen": () => (/* binding */ faBoxOpen),
- /* harmony export */ "faBoxTissue": () => (/* binding */ faBoxTissue),
- /* harmony export */ "faBoxes": () => (/* binding */ faBoxes),
- /* harmony export */ "faBoxesAlt": () => (/* binding */ faBoxesAlt),
- /* harmony export */ "faBoxesPacking": () => (/* binding */ faBoxesPacking),
- /* harmony export */ "faBoxesStacked": () => (/* binding */ faBoxesStacked),
- /* harmony export */ "faBraille": () => (/* binding */ faBraille),
- /* harmony export */ "faBrain": () => (/* binding */ faBrain),
- /* harmony export */ "faBrazilianRealSign": () => (/* binding */ faBrazilianRealSign),
- /* harmony export */ "faBreadSlice": () => (/* binding */ faBreadSlice),
- /* harmony export */ "faBridge": () => (/* binding */ faBridge),
- /* harmony export */ "faBridgeCircleCheck": () => (/* binding */ faBridgeCircleCheck),
- /* harmony export */ "faBridgeCircleExclamation": () => (/* binding */ faBridgeCircleExclamation),
- /* harmony export */ "faBridgeCircleXmark": () => (/* binding */ faBridgeCircleXmark),
- /* harmony export */ "faBridgeLock": () => (/* binding */ faBridgeLock),
- /* harmony export */ "faBridgeWater": () => (/* binding */ faBridgeWater),
- /* harmony export */ "faBriefcase": () => (/* binding */ faBriefcase),
- /* harmony export */ "faBriefcaseClock": () => (/* binding */ faBriefcaseClock),
- /* harmony export */ "faBriefcaseMedical": () => (/* binding */ faBriefcaseMedical),
- /* harmony export */ "faBroadcastTower": () => (/* binding */ faBroadcastTower),
- /* harmony export */ "faBroom": () => (/* binding */ faBroom),
- /* harmony export */ "faBroomBall": () => (/* binding */ faBroomBall),
- /* harmony export */ "faBrush": () => (/* binding */ faBrush),
- /* harmony export */ "faBucket": () => (/* binding */ faBucket),
- /* harmony export */ "faBug": () => (/* binding */ faBug),
- /* harmony export */ "faBugSlash": () => (/* binding */ faBugSlash),
- /* harmony export */ "faBugs": () => (/* binding */ faBugs),
- /* harmony export */ "faBuilding": () => (/* binding */ faBuilding),
- /* harmony export */ "faBuildingCircleArrowRight": () => (/* binding */ faBuildingCircleArrowRight),
- /* harmony export */ "faBuildingCircleCheck": () => (/* binding */ faBuildingCircleCheck),
- /* harmony export */ "faBuildingCircleExclamation": () => (/* binding */ faBuildingCircleExclamation),
- /* harmony export */ "faBuildingCircleXmark": () => (/* binding */ faBuildingCircleXmark),
- /* harmony export */ "faBuildingColumns": () => (/* binding */ faBuildingColumns),
- /* harmony export */ "faBuildingFlag": () => (/* binding */ faBuildingFlag),
- /* harmony export */ "faBuildingLock": () => (/* binding */ faBuildingLock),
- /* harmony export */ "faBuildingNgo": () => (/* binding */ faBuildingNgo),
- /* harmony export */ "faBuildingShield": () => (/* binding */ faBuildingShield),
- /* harmony export */ "faBuildingUn": () => (/* binding */ faBuildingUn),
- /* harmony export */ "faBuildingUser": () => (/* binding */ faBuildingUser),
- /* harmony export */ "faBuildingWheat": () => (/* binding */ faBuildingWheat),
- /* harmony export */ "faBullhorn": () => (/* binding */ faBullhorn),
- /* harmony export */ "faBullseye": () => (/* binding */ faBullseye),
- /* harmony export */ "faBurger": () => (/* binding */ faBurger),
- /* harmony export */ "faBurn": () => (/* binding */ faBurn),
- /* harmony export */ "faBurst": () => (/* binding */ faBurst),
- /* harmony export */ "faBus": () => (/* binding */ faBus),
- /* harmony export */ "faBusAlt": () => (/* binding */ faBusAlt),
- /* harmony export */ "faBusSimple": () => (/* binding */ faBusSimple),
- /* harmony export */ "faBusinessTime": () => (/* binding */ faBusinessTime),
- /* harmony export */ "faC": () => (/* binding */ faC),
- /* harmony export */ "faCab": () => (/* binding */ faCab),
- /* harmony export */ "faCableCar": () => (/* binding */ faCableCar),
- /* harmony export */ "faCake": () => (/* binding */ faCake),
- /* harmony export */ "faCakeCandles": () => (/* binding */ faCakeCandles),
- /* harmony export */ "faCalculator": () => (/* binding */ faCalculator),
- /* harmony export */ "faCalendar": () => (/* binding */ faCalendar),
- /* harmony export */ "faCalendarAlt": () => (/* binding */ faCalendarAlt),
- /* harmony export */ "faCalendarCheck": () => (/* binding */ faCalendarCheck),
- /* harmony export */ "faCalendarDay": () => (/* binding */ faCalendarDay),
- /* harmony export */ "faCalendarDays": () => (/* binding */ faCalendarDays),
- /* harmony export */ "faCalendarMinus": () => (/* binding */ faCalendarMinus),
- /* harmony export */ "faCalendarPlus": () => (/* binding */ faCalendarPlus),
- /* harmony export */ "faCalendarTimes": () => (/* binding */ faCalendarTimes),
- /* harmony export */ "faCalendarWeek": () => (/* binding */ faCalendarWeek),
- /* harmony export */ "faCalendarXmark": () => (/* binding */ faCalendarXmark),
- /* harmony export */ "faCamera": () => (/* binding */ faCamera),
- /* harmony export */ "faCameraAlt": () => (/* binding */ faCameraAlt),
- /* harmony export */ "faCameraRetro": () => (/* binding */ faCameraRetro),
- /* harmony export */ "faCameraRotate": () => (/* binding */ faCameraRotate),
- /* harmony export */ "faCampground": () => (/* binding */ faCampground),
- /* harmony export */ "faCancel": () => (/* binding */ faCancel),
- /* harmony export */ "faCandyCane": () => (/* binding */ faCandyCane),
- /* harmony export */ "faCannabis": () => (/* binding */ faCannabis),
- /* harmony export */ "faCapsules": () => (/* binding */ faCapsules),
- /* harmony export */ "faCar": () => (/* binding */ faCar),
- /* harmony export */ "faCarAlt": () => (/* binding */ faCarAlt),
- /* harmony export */ "faCarBattery": () => (/* binding */ faCarBattery),
- /* harmony export */ "faCarBurst": () => (/* binding */ faCarBurst),
- /* harmony export */ "faCarCrash": () => (/* binding */ faCarCrash),
- /* harmony export */ "faCarOn": () => (/* binding */ faCarOn),
- /* harmony export */ "faCarRear": () => (/* binding */ faCarRear),
- /* harmony export */ "faCarSide": () => (/* binding */ faCarSide),
- /* harmony export */ "faCarTunnel": () => (/* binding */ faCarTunnel),
- /* harmony export */ "faCaravan": () => (/* binding */ faCaravan),
- /* harmony export */ "faCaretDown": () => (/* binding */ faCaretDown),
- /* harmony export */ "faCaretLeft": () => (/* binding */ faCaretLeft),
- /* harmony export */ "faCaretRight": () => (/* binding */ faCaretRight),
- /* harmony export */ "faCaretSquareDown": () => (/* binding */ faCaretSquareDown),
- /* harmony export */ "faCaretSquareLeft": () => (/* binding */ faCaretSquareLeft),
- /* harmony export */ "faCaretSquareRight": () => (/* binding */ faCaretSquareRight),
- /* harmony export */ "faCaretSquareUp": () => (/* binding */ faCaretSquareUp),
- /* harmony export */ "faCaretUp": () => (/* binding */ faCaretUp),
- /* harmony export */ "faCarriageBaby": () => (/* binding */ faCarriageBaby),
- /* harmony export */ "faCarrot": () => (/* binding */ faCarrot),
- /* harmony export */ "faCartArrowDown": () => (/* binding */ faCartArrowDown),
- /* harmony export */ "faCartFlatbed": () => (/* binding */ faCartFlatbed),
- /* harmony export */ "faCartFlatbedSuitcase": () => (/* binding */ faCartFlatbedSuitcase),
- /* harmony export */ "faCartPlus": () => (/* binding */ faCartPlus),
- /* harmony export */ "faCartShopping": () => (/* binding */ faCartShopping),
- /* harmony export */ "faCashRegister": () => (/* binding */ faCashRegister),
- /* harmony export */ "faCat": () => (/* binding */ faCat),
- /* harmony export */ "faCediSign": () => (/* binding */ faCediSign),
- /* harmony export */ "faCentSign": () => (/* binding */ faCentSign),
- /* harmony export */ "faCertificate": () => (/* binding */ faCertificate),
- /* harmony export */ "faChain": () => (/* binding */ faChain),
- /* harmony export */ "faChainBroken": () => (/* binding */ faChainBroken),
- /* harmony export */ "faChainSlash": () => (/* binding */ faChainSlash),
- /* harmony export */ "faChair": () => (/* binding */ faChair),
- /* harmony export */ "faChalkboard": () => (/* binding */ faChalkboard),
- /* harmony export */ "faChalkboardTeacher": () => (/* binding */ faChalkboardTeacher),
- /* harmony export */ "faChalkboardUser": () => (/* binding */ faChalkboardUser),
- /* harmony export */ "faChampagneGlasses": () => (/* binding */ faChampagneGlasses),
- /* harmony export */ "faChargingStation": () => (/* binding */ faChargingStation),
- /* harmony export */ "faChartArea": () => (/* binding */ faChartArea),
- /* harmony export */ "faChartBar": () => (/* binding */ faChartBar),
- /* harmony export */ "faChartColumn": () => (/* binding */ faChartColumn),
- /* harmony export */ "faChartGantt": () => (/* binding */ faChartGantt),
- /* harmony export */ "faChartLine": () => (/* binding */ faChartLine),
- /* harmony export */ "faChartPie": () => (/* binding */ faChartPie),
- /* harmony export */ "faChartSimple": () => (/* binding */ faChartSimple),
- /* harmony export */ "faCheck": () => (/* binding */ faCheck),
- /* harmony export */ "faCheckCircle": () => (/* binding */ faCheckCircle),
- /* harmony export */ "faCheckDouble": () => (/* binding */ faCheckDouble),
- /* harmony export */ "faCheckSquare": () => (/* binding */ faCheckSquare),
- /* harmony export */ "faCheckToSlot": () => (/* binding */ faCheckToSlot),
- /* harmony export */ "faCheese": () => (/* binding */ faCheese),
- /* harmony export */ "faChess": () => (/* binding */ faChess),
- /* harmony export */ "faChessBishop": () => (/* binding */ faChessBishop),
- /* harmony export */ "faChessBoard": () => (/* binding */ faChessBoard),
- /* harmony export */ "faChessKing": () => (/* binding */ faChessKing),
- /* harmony export */ "faChessKnight": () => (/* binding */ faChessKnight),
- /* harmony export */ "faChessPawn": () => (/* binding */ faChessPawn),
- /* harmony export */ "faChessQueen": () => (/* binding */ faChessQueen),
- /* harmony export */ "faChessRook": () => (/* binding */ faChessRook),
- /* harmony export */ "faChevronCircleDown": () => (/* binding */ faChevronCircleDown),
- /* harmony export */ "faChevronCircleLeft": () => (/* binding */ faChevronCircleLeft),
- /* harmony export */ "faChevronCircleRight": () => (/* binding */ faChevronCircleRight),
- /* harmony export */ "faChevronCircleUp": () => (/* binding */ faChevronCircleUp),
- /* harmony export */ "faChevronDown": () => (/* binding */ faChevronDown),
- /* harmony export */ "faChevronLeft": () => (/* binding */ faChevronLeft),
- /* harmony export */ "faChevronRight": () => (/* binding */ faChevronRight),
- /* harmony export */ "faChevronUp": () => (/* binding */ faChevronUp),
- /* harmony export */ "faChild": () => (/* binding */ faChild),
- /* harmony export */ "faChildDress": () => (/* binding */ faChildDress),
- /* harmony export */ "faChildReaching": () => (/* binding */ faChildReaching),
- /* harmony export */ "faChildRifle": () => (/* binding */ faChildRifle),
- /* harmony export */ "faChildren": () => (/* binding */ faChildren),
- /* harmony export */ "faChurch": () => (/* binding */ faChurch),
- /* harmony export */ "faCircle": () => (/* binding */ faCircle),
- /* harmony export */ "faCircleArrowDown": () => (/* binding */ faCircleArrowDown),
- /* harmony export */ "faCircleArrowLeft": () => (/* binding */ faCircleArrowLeft),
- /* harmony export */ "faCircleArrowRight": () => (/* binding */ faCircleArrowRight),
- /* harmony export */ "faCircleArrowUp": () => (/* binding */ faCircleArrowUp),
- /* harmony export */ "faCircleCheck": () => (/* binding */ faCircleCheck),
- /* harmony export */ "faCircleChevronDown": () => (/* binding */ faCircleChevronDown),
- /* harmony export */ "faCircleChevronLeft": () => (/* binding */ faCircleChevronLeft),
- /* harmony export */ "faCircleChevronRight": () => (/* binding */ faCircleChevronRight),
- /* harmony export */ "faCircleChevronUp": () => (/* binding */ faCircleChevronUp),
- /* harmony export */ "faCircleDollarToSlot": () => (/* binding */ faCircleDollarToSlot),
- /* harmony export */ "faCircleDot": () => (/* binding */ faCircleDot),
- /* harmony export */ "faCircleDown": () => (/* binding */ faCircleDown),
- /* harmony export */ "faCircleExclamation": () => (/* binding */ faCircleExclamation),
- /* harmony export */ "faCircleH": () => (/* binding */ faCircleH),
- /* harmony export */ "faCircleHalfStroke": () => (/* binding */ faCircleHalfStroke),
- /* harmony export */ "faCircleInfo": () => (/* binding */ faCircleInfo),
- /* harmony export */ "faCircleLeft": () => (/* binding */ faCircleLeft),
- /* harmony export */ "faCircleMinus": () => (/* binding */ faCircleMinus),
- /* harmony export */ "faCircleNodes": () => (/* binding */ faCircleNodes),
- /* harmony export */ "faCircleNotch": () => (/* binding */ faCircleNotch),
- /* harmony export */ "faCirclePause": () => (/* binding */ faCirclePause),
- /* harmony export */ "faCirclePlay": () => (/* binding */ faCirclePlay),
- /* harmony export */ "faCirclePlus": () => (/* binding */ faCirclePlus),
- /* harmony export */ "faCircleQuestion": () => (/* binding */ faCircleQuestion),
- /* harmony export */ "faCircleRadiation": () => (/* binding */ faCircleRadiation),
- /* harmony export */ "faCircleRight": () => (/* binding */ faCircleRight),
- /* harmony export */ "faCircleStop": () => (/* binding */ faCircleStop),
- /* harmony export */ "faCircleUp": () => (/* binding */ faCircleUp),
- /* harmony export */ "faCircleUser": () => (/* binding */ faCircleUser),
- /* harmony export */ "faCircleXmark": () => (/* binding */ faCircleXmark),
- /* harmony export */ "faCity": () => (/* binding */ faCity),
- /* harmony export */ "faClapperboard": () => (/* binding */ faClapperboard),
- /* harmony export */ "faClinicMedical": () => (/* binding */ faClinicMedical),
- /* harmony export */ "faClipboard": () => (/* binding */ faClipboard),
- /* harmony export */ "faClipboardCheck": () => (/* binding */ faClipboardCheck),
- /* harmony export */ "faClipboardList": () => (/* binding */ faClipboardList),
- /* harmony export */ "faClipboardQuestion": () => (/* binding */ faClipboardQuestion),
- /* harmony export */ "faClipboardUser": () => (/* binding */ faClipboardUser),
- /* harmony export */ "faClock": () => (/* binding */ faClock),
- /* harmony export */ "faClockFour": () => (/* binding */ faClockFour),
- /* harmony export */ "faClockRotateLeft": () => (/* binding */ faClockRotateLeft),
- /* harmony export */ "faClone": () => (/* binding */ faClone),
- /* harmony export */ "faClose": () => (/* binding */ faClose),
- /* harmony export */ "faClosedCaptioning": () => (/* binding */ faClosedCaptioning),
- /* harmony export */ "faCloud": () => (/* binding */ faCloud),
- /* harmony export */ "faCloudArrowDown": () => (/* binding */ faCloudArrowDown),
- /* harmony export */ "faCloudArrowUp": () => (/* binding */ faCloudArrowUp),
- /* harmony export */ "faCloudBolt": () => (/* binding */ faCloudBolt),
- /* harmony export */ "faCloudDownload": () => (/* binding */ faCloudDownload),
- /* harmony export */ "faCloudDownloadAlt": () => (/* binding */ faCloudDownloadAlt),
- /* harmony export */ "faCloudMeatball": () => (/* binding */ faCloudMeatball),
- /* harmony export */ "faCloudMoon": () => (/* binding */ faCloudMoon),
- /* harmony export */ "faCloudMoonRain": () => (/* binding */ faCloudMoonRain),
- /* harmony export */ "faCloudRain": () => (/* binding */ faCloudRain),
- /* harmony export */ "faCloudShowersHeavy": () => (/* binding */ faCloudShowersHeavy),
- /* harmony export */ "faCloudShowersWater": () => (/* binding */ faCloudShowersWater),
- /* harmony export */ "faCloudSun": () => (/* binding */ faCloudSun),
- /* harmony export */ "faCloudSunRain": () => (/* binding */ faCloudSunRain),
- /* harmony export */ "faCloudUpload": () => (/* binding */ faCloudUpload),
- /* harmony export */ "faCloudUploadAlt": () => (/* binding */ faCloudUploadAlt),
- /* harmony export */ "faClover": () => (/* binding */ faClover),
- /* harmony export */ "faCny": () => (/* binding */ faCny),
- /* harmony export */ "faCocktail": () => (/* binding */ faCocktail),
- /* harmony export */ "faCode": () => (/* binding */ faCode),
- /* harmony export */ "faCodeBranch": () => (/* binding */ faCodeBranch),
- /* harmony export */ "faCodeCommit": () => (/* binding */ faCodeCommit),
- /* harmony export */ "faCodeCompare": () => (/* binding */ faCodeCompare),
- /* harmony export */ "faCodeFork": () => (/* binding */ faCodeFork),
- /* harmony export */ "faCodeMerge": () => (/* binding */ faCodeMerge),
- /* harmony export */ "faCodePullRequest": () => (/* binding */ faCodePullRequest),
- /* harmony export */ "faCoffee": () => (/* binding */ faCoffee),
- /* harmony export */ "faCog": () => (/* binding */ faCog),
- /* harmony export */ "faCogs": () => (/* binding */ faCogs),
- /* harmony export */ "faCoins": () => (/* binding */ faCoins),
- /* harmony export */ "faColonSign": () => (/* binding */ faColonSign),
- /* harmony export */ "faColumns": () => (/* binding */ faColumns),
- /* harmony export */ "faComment": () => (/* binding */ faComment),
- /* harmony export */ "faCommentAlt": () => (/* binding */ faCommentAlt),
- /* harmony export */ "faCommentDollar": () => (/* binding */ faCommentDollar),
- /* harmony export */ "faCommentDots": () => (/* binding */ faCommentDots),
- /* harmony export */ "faCommentMedical": () => (/* binding */ faCommentMedical),
- /* harmony export */ "faCommentSlash": () => (/* binding */ faCommentSlash),
- /* harmony export */ "faCommentSms": () => (/* binding */ faCommentSms),
- /* harmony export */ "faCommenting": () => (/* binding */ faCommenting),
- /* harmony export */ "faComments": () => (/* binding */ faComments),
- /* harmony export */ "faCommentsDollar": () => (/* binding */ faCommentsDollar),
- /* harmony export */ "faCompactDisc": () => (/* binding */ faCompactDisc),
- /* harmony export */ "faCompass": () => (/* binding */ faCompass),
- /* harmony export */ "faCompassDrafting": () => (/* binding */ faCompassDrafting),
- /* harmony export */ "faCompress": () => (/* binding */ faCompress),
- /* harmony export */ "faCompressAlt": () => (/* binding */ faCompressAlt),
- /* harmony export */ "faCompressArrowsAlt": () => (/* binding */ faCompressArrowsAlt),
- /* harmony export */ "faComputer": () => (/* binding */ faComputer),
- /* harmony export */ "faComputerMouse": () => (/* binding */ faComputerMouse),
- /* harmony export */ "faConciergeBell": () => (/* binding */ faConciergeBell),
- /* harmony export */ "faContactBook": () => (/* binding */ faContactBook),
- /* harmony export */ "faContactCard": () => (/* binding */ faContactCard),
- /* harmony export */ "faCookie": () => (/* binding */ faCookie),
- /* harmony export */ "faCookieBite": () => (/* binding */ faCookieBite),
- /* harmony export */ "faCopy": () => (/* binding */ faCopy),
- /* harmony export */ "faCopyright": () => (/* binding */ faCopyright),
- /* harmony export */ "faCouch": () => (/* binding */ faCouch),
- /* harmony export */ "faCow": () => (/* binding */ faCow),
- /* harmony export */ "faCreditCard": () => (/* binding */ faCreditCard),
- /* harmony export */ "faCreditCardAlt": () => (/* binding */ faCreditCardAlt),
- /* harmony export */ "faCrop": () => (/* binding */ faCrop),
- /* harmony export */ "faCropAlt": () => (/* binding */ faCropAlt),
- /* harmony export */ "faCropSimple": () => (/* binding */ faCropSimple),
- /* harmony export */ "faCross": () => (/* binding */ faCross),
- /* harmony export */ "faCrosshairs": () => (/* binding */ faCrosshairs),
- /* harmony export */ "faCrow": () => (/* binding */ faCrow),
- /* harmony export */ "faCrown": () => (/* binding */ faCrown),
- /* harmony export */ "faCrutch": () => (/* binding */ faCrutch),
- /* harmony export */ "faCruzeiroSign": () => (/* binding */ faCruzeiroSign),
- /* harmony export */ "faCube": () => (/* binding */ faCube),
- /* harmony export */ "faCubes": () => (/* binding */ faCubes),
- /* harmony export */ "faCubesStacked": () => (/* binding */ faCubesStacked),
- /* harmony export */ "faCut": () => (/* binding */ faCut),
- /* harmony export */ "faCutlery": () => (/* binding */ faCutlery),
- /* harmony export */ "faD": () => (/* binding */ faD),
- /* harmony export */ "faDashboard": () => (/* binding */ faDashboard),
- /* harmony export */ "faDatabase": () => (/* binding */ faDatabase),
- /* harmony export */ "faDeaf": () => (/* binding */ faDeaf),
- /* harmony export */ "faDeafness": () => (/* binding */ faDeafness),
- /* harmony export */ "faDedent": () => (/* binding */ faDedent),
- /* harmony export */ "faDeleteLeft": () => (/* binding */ faDeleteLeft),
- /* harmony export */ "faDemocrat": () => (/* binding */ faDemocrat),
- /* harmony export */ "faDesktop": () => (/* binding */ faDesktop),
- /* harmony export */ "faDesktopAlt": () => (/* binding */ faDesktopAlt),
- /* harmony export */ "faDharmachakra": () => (/* binding */ faDharmachakra),
- /* harmony export */ "faDiagnoses": () => (/* binding */ faDiagnoses),
- /* harmony export */ "faDiagramNext": () => (/* binding */ faDiagramNext),
- /* harmony export */ "faDiagramPredecessor": () => (/* binding */ faDiagramPredecessor),
- /* harmony export */ "faDiagramProject": () => (/* binding */ faDiagramProject),
- /* harmony export */ "faDiagramSuccessor": () => (/* binding */ faDiagramSuccessor),
- /* harmony export */ "faDiamond": () => (/* binding */ faDiamond),
- /* harmony export */ "faDiamondTurnRight": () => (/* binding */ faDiamondTurnRight),
- /* harmony export */ "faDice": () => (/* binding */ faDice),
- /* harmony export */ "faDiceD20": () => (/* binding */ faDiceD20),
- /* harmony export */ "faDiceD6": () => (/* binding */ faDiceD6),
- /* harmony export */ "faDiceFive": () => (/* binding */ faDiceFive),
- /* harmony export */ "faDiceFour": () => (/* binding */ faDiceFour),
- /* harmony export */ "faDiceOne": () => (/* binding */ faDiceOne),
- /* harmony export */ "faDiceSix": () => (/* binding */ faDiceSix),
- /* harmony export */ "faDiceThree": () => (/* binding */ faDiceThree),
- /* harmony export */ "faDiceTwo": () => (/* binding */ faDiceTwo),
- /* harmony export */ "faDigging": () => (/* binding */ faDigging),
- /* harmony export */ "faDigitalTachograph": () => (/* binding */ faDigitalTachograph),
- /* harmony export */ "faDirections": () => (/* binding */ faDirections),
- /* harmony export */ "faDisease": () => (/* binding */ faDisease),
- /* harmony export */ "faDisplay": () => (/* binding */ faDisplay),
- /* harmony export */ "faDivide": () => (/* binding */ faDivide),
- /* harmony export */ "faDizzy": () => (/* binding */ faDizzy),
- /* harmony export */ "faDna": () => (/* binding */ faDna),
- /* harmony export */ "faDog": () => (/* binding */ faDog),
- /* harmony export */ "faDollar": () => (/* binding */ faDollar),
- /* harmony export */ "faDollarSign": () => (/* binding */ faDollarSign),
- /* harmony export */ "faDolly": () => (/* binding */ faDolly),
- /* harmony export */ "faDollyBox": () => (/* binding */ faDollyBox),
- /* harmony export */ "faDollyFlatbed": () => (/* binding */ faDollyFlatbed),
- /* harmony export */ "faDonate": () => (/* binding */ faDonate),
- /* harmony export */ "faDongSign": () => (/* binding */ faDongSign),
- /* harmony export */ "faDoorClosed": () => (/* binding */ faDoorClosed),
- /* harmony export */ "faDoorOpen": () => (/* binding */ faDoorOpen),
- /* harmony export */ "faDotCircle": () => (/* binding */ faDotCircle),
- /* harmony export */ "faDove": () => (/* binding */ faDove),
- /* harmony export */ "faDownLeftAndUpRightToCenter": () => (/* binding */ faDownLeftAndUpRightToCenter),
- /* harmony export */ "faDownLong": () => (/* binding */ faDownLong),
- /* harmony export */ "faDownload": () => (/* binding */ faDownload),
- /* harmony export */ "faDraftingCompass": () => (/* binding */ faDraftingCompass),
- /* harmony export */ "faDragon": () => (/* binding */ faDragon),
- /* harmony export */ "faDrawPolygon": () => (/* binding */ faDrawPolygon),
- /* harmony export */ "faDriversLicense": () => (/* binding */ faDriversLicense),
- /* harmony export */ "faDroplet": () => (/* binding */ faDroplet),
- /* harmony export */ "faDropletSlash": () => (/* binding */ faDropletSlash),
- /* harmony export */ "faDrum": () => (/* binding */ faDrum),
- /* harmony export */ "faDrumSteelpan": () => (/* binding */ faDrumSteelpan),
- /* harmony export */ "faDrumstickBite": () => (/* binding */ faDrumstickBite),
- /* harmony export */ "faDumbbell": () => (/* binding */ faDumbbell),
- /* harmony export */ "faDumpster": () => (/* binding */ faDumpster),
- /* harmony export */ "faDumpsterFire": () => (/* binding */ faDumpsterFire),
- /* harmony export */ "faDungeon": () => (/* binding */ faDungeon),
- /* harmony export */ "faE": () => (/* binding */ faE),
- /* harmony export */ "faEarDeaf": () => (/* binding */ faEarDeaf),
- /* harmony export */ "faEarListen": () => (/* binding */ faEarListen),
- /* harmony export */ "faEarth": () => (/* binding */ faEarth),
- /* harmony export */ "faEarthAfrica": () => (/* binding */ faEarthAfrica),
- /* harmony export */ "faEarthAmerica": () => (/* binding */ faEarthAmerica),
- /* harmony export */ "faEarthAmericas": () => (/* binding */ faEarthAmericas),
- /* harmony export */ "faEarthAsia": () => (/* binding */ faEarthAsia),
- /* harmony export */ "faEarthEurope": () => (/* binding */ faEarthEurope),
- /* harmony export */ "faEarthOceania": () => (/* binding */ faEarthOceania),
- /* harmony export */ "faEdit": () => (/* binding */ faEdit),
- /* harmony export */ "faEgg": () => (/* binding */ faEgg),
- /* harmony export */ "faEject": () => (/* binding */ faEject),
- /* harmony export */ "faElevator": () => (/* binding */ faElevator),
- /* harmony export */ "faEllipsis": () => (/* binding */ faEllipsis),
- /* harmony export */ "faEllipsisH": () => (/* binding */ faEllipsisH),
- /* harmony export */ "faEllipsisV": () => (/* binding */ faEllipsisV),
- /* harmony export */ "faEllipsisVertical": () => (/* binding */ faEllipsisVertical),
- /* harmony export */ "faEnvelope": () => (/* binding */ faEnvelope),
- /* harmony export */ "faEnvelopeCircleCheck": () => (/* binding */ faEnvelopeCircleCheck),
- /* harmony export */ "faEnvelopeOpen": () => (/* binding */ faEnvelopeOpen),
- /* harmony export */ "faEnvelopeOpenText": () => (/* binding */ faEnvelopeOpenText),
- /* harmony export */ "faEnvelopeSquare": () => (/* binding */ faEnvelopeSquare),
- /* harmony export */ "faEnvelopesBulk": () => (/* binding */ faEnvelopesBulk),
- /* harmony export */ "faEquals": () => (/* binding */ faEquals),
- /* harmony export */ "faEraser": () => (/* binding */ faEraser),
- /* harmony export */ "faEthernet": () => (/* binding */ faEthernet),
- /* harmony export */ "faEur": () => (/* binding */ faEur),
- /* harmony export */ "faEuro": () => (/* binding */ faEuro),
- /* harmony export */ "faEuroSign": () => (/* binding */ faEuroSign),
- /* harmony export */ "faExchange": () => (/* binding */ faExchange),
- /* harmony export */ "faExchangeAlt": () => (/* binding */ faExchangeAlt),
- /* harmony export */ "faExclamation": () => (/* binding */ faExclamation),
- /* harmony export */ "faExclamationCircle": () => (/* binding */ faExclamationCircle),
- /* harmony export */ "faExclamationTriangle": () => (/* binding */ faExclamationTriangle),
- /* harmony export */ "faExpand": () => (/* binding */ faExpand),
- /* harmony export */ "faExpandAlt": () => (/* binding */ faExpandAlt),
- /* harmony export */ "faExpandArrowsAlt": () => (/* binding */ faExpandArrowsAlt),
- /* harmony export */ "faExplosion": () => (/* binding */ faExplosion),
- /* harmony export */ "faExternalLink": () => (/* binding */ faExternalLink),
- /* harmony export */ "faExternalLinkAlt": () => (/* binding */ faExternalLinkAlt),
- /* harmony export */ "faExternalLinkSquare": () => (/* binding */ faExternalLinkSquare),
- /* harmony export */ "faExternalLinkSquareAlt": () => (/* binding */ faExternalLinkSquareAlt),
- /* harmony export */ "faEye": () => (/* binding */ faEye),
- /* harmony export */ "faEyeDropper": () => (/* binding */ faEyeDropper),
- /* harmony export */ "faEyeDropperEmpty": () => (/* binding */ faEyeDropperEmpty),
- /* harmony export */ "faEyeLowVision": () => (/* binding */ faEyeLowVision),
- /* harmony export */ "faEyeSlash": () => (/* binding */ faEyeSlash),
- /* harmony export */ "faEyedropper": () => (/* binding */ faEyedropper),
- /* harmony export */ "faF": () => (/* binding */ faF),
- /* harmony export */ "faFaceAngry": () => (/* binding */ faFaceAngry),
- /* harmony export */ "faFaceDizzy": () => (/* binding */ faFaceDizzy),
- /* harmony export */ "faFaceFlushed": () => (/* binding */ faFaceFlushed),
- /* harmony export */ "faFaceFrown": () => (/* binding */ faFaceFrown),
- /* harmony export */ "faFaceFrownOpen": () => (/* binding */ faFaceFrownOpen),
- /* harmony export */ "faFaceGrimace": () => (/* binding */ faFaceGrimace),
- /* harmony export */ "faFaceGrin": () => (/* binding */ faFaceGrin),
- /* harmony export */ "faFaceGrinBeam": () => (/* binding */ faFaceGrinBeam),
- /* harmony export */ "faFaceGrinBeamSweat": () => (/* binding */ faFaceGrinBeamSweat),
- /* harmony export */ "faFaceGrinHearts": () => (/* binding */ faFaceGrinHearts),
- /* harmony export */ "faFaceGrinSquint": () => (/* binding */ faFaceGrinSquint),
- /* harmony export */ "faFaceGrinSquintTears": () => (/* binding */ faFaceGrinSquintTears),
- /* harmony export */ "faFaceGrinStars": () => (/* binding */ faFaceGrinStars),
- /* harmony export */ "faFaceGrinTears": () => (/* binding */ faFaceGrinTears),
- /* harmony export */ "faFaceGrinTongue": () => (/* binding */ faFaceGrinTongue),
- /* harmony export */ "faFaceGrinTongueSquint": () => (/* binding */ faFaceGrinTongueSquint),
- /* harmony export */ "faFaceGrinTongueWink": () => (/* binding */ faFaceGrinTongueWink),
- /* harmony export */ "faFaceGrinWide": () => (/* binding */ faFaceGrinWide),
- /* harmony export */ "faFaceGrinWink": () => (/* binding */ faFaceGrinWink),
- /* harmony export */ "faFaceKiss": () => (/* binding */ faFaceKiss),
- /* harmony export */ "faFaceKissBeam": () => (/* binding */ faFaceKissBeam),
- /* harmony export */ "faFaceKissWinkHeart": () => (/* binding */ faFaceKissWinkHeart),
- /* harmony export */ "faFaceLaugh": () => (/* binding */ faFaceLaugh),
- /* harmony export */ "faFaceLaughBeam": () => (/* binding */ faFaceLaughBeam),
- /* harmony export */ "faFaceLaughSquint": () => (/* binding */ faFaceLaughSquint),
- /* harmony export */ "faFaceLaughWink": () => (/* binding */ faFaceLaughWink),
- /* harmony export */ "faFaceMeh": () => (/* binding */ faFaceMeh),
- /* harmony export */ "faFaceMehBlank": () => (/* binding */ faFaceMehBlank),
- /* harmony export */ "faFaceRollingEyes": () => (/* binding */ faFaceRollingEyes),
- /* harmony export */ "faFaceSadCry": () => (/* binding */ faFaceSadCry),
- /* harmony export */ "faFaceSadTear": () => (/* binding */ faFaceSadTear),
- /* harmony export */ "faFaceSmile": () => (/* binding */ faFaceSmile),
- /* harmony export */ "faFaceSmileBeam": () => (/* binding */ faFaceSmileBeam),
- /* harmony export */ "faFaceSmileWink": () => (/* binding */ faFaceSmileWink),
- /* harmony export */ "faFaceSurprise": () => (/* binding */ faFaceSurprise),
- /* harmony export */ "faFaceTired": () => (/* binding */ faFaceTired),
- /* harmony export */ "faFan": () => (/* binding */ faFan),
- /* harmony export */ "faFastBackward": () => (/* binding */ faFastBackward),
- /* harmony export */ "faFastForward": () => (/* binding */ faFastForward),
- /* harmony export */ "faFaucet": () => (/* binding */ faFaucet),
- /* harmony export */ "faFaucetDrip": () => (/* binding */ faFaucetDrip),
- /* harmony export */ "faFax": () => (/* binding */ faFax),
- /* harmony export */ "faFeather": () => (/* binding */ faFeather),
- /* harmony export */ "faFeatherAlt": () => (/* binding */ faFeatherAlt),
- /* harmony export */ "faFeatherPointed": () => (/* binding */ faFeatherPointed),
- /* harmony export */ "faFeed": () => (/* binding */ faFeed),
- /* harmony export */ "faFemale": () => (/* binding */ faFemale),
- /* harmony export */ "faFerry": () => (/* binding */ faFerry),
- /* harmony export */ "faFighterJet": () => (/* binding */ faFighterJet),
- /* harmony export */ "faFile": () => (/* binding */ faFile),
- /* harmony export */ "faFileAlt": () => (/* binding */ faFileAlt),
- /* harmony export */ "faFileArchive": () => (/* binding */ faFileArchive),
- /* harmony export */ "faFileArrowDown": () => (/* binding */ faFileArrowDown),
- /* harmony export */ "faFileArrowUp": () => (/* binding */ faFileArrowUp),
- /* harmony export */ "faFileAudio": () => (/* binding */ faFileAudio),
- /* harmony export */ "faFileCircleCheck": () => (/* binding */ faFileCircleCheck),
- /* harmony export */ "faFileCircleExclamation": () => (/* binding */ faFileCircleExclamation),
- /* harmony export */ "faFileCircleMinus": () => (/* binding */ faFileCircleMinus),
- /* harmony export */ "faFileCirclePlus": () => (/* binding */ faFileCirclePlus),
- /* harmony export */ "faFileCircleQuestion": () => (/* binding */ faFileCircleQuestion),
- /* harmony export */ "faFileCircleXmark": () => (/* binding */ faFileCircleXmark),
- /* harmony export */ "faFileClipboard": () => (/* binding */ faFileClipboard),
- /* harmony export */ "faFileCode": () => (/* binding */ faFileCode),
- /* harmony export */ "faFileContract": () => (/* binding */ faFileContract),
- /* harmony export */ "faFileCsv": () => (/* binding */ faFileCsv),
- /* harmony export */ "faFileDownload": () => (/* binding */ faFileDownload),
- /* harmony export */ "faFileEdit": () => (/* binding */ faFileEdit),
- /* harmony export */ "faFileExcel": () => (/* binding */ faFileExcel),
- /* harmony export */ "faFileExport": () => (/* binding */ faFileExport),
- /* harmony export */ "faFileImage": () => (/* binding */ faFileImage),
- /* harmony export */ "faFileImport": () => (/* binding */ faFileImport),
- /* harmony export */ "faFileInvoice": () => (/* binding */ faFileInvoice),
- /* harmony export */ "faFileInvoiceDollar": () => (/* binding */ faFileInvoiceDollar),
- /* harmony export */ "faFileLines": () => (/* binding */ faFileLines),
- /* harmony export */ "faFileMedical": () => (/* binding */ faFileMedical),
- /* harmony export */ "faFileMedicalAlt": () => (/* binding */ faFileMedicalAlt),
- /* harmony export */ "faFilePdf": () => (/* binding */ faFilePdf),
- /* harmony export */ "faFilePen": () => (/* binding */ faFilePen),
- /* harmony export */ "faFilePowerpoint": () => (/* binding */ faFilePowerpoint),
- /* harmony export */ "faFilePrescription": () => (/* binding */ faFilePrescription),
- /* harmony export */ "faFileShield": () => (/* binding */ faFileShield),
- /* harmony export */ "faFileSignature": () => (/* binding */ faFileSignature),
- /* harmony export */ "faFileText": () => (/* binding */ faFileText),
- /* harmony export */ "faFileUpload": () => (/* binding */ faFileUpload),
- /* harmony export */ "faFileVideo": () => (/* binding */ faFileVideo),
- /* harmony export */ "faFileWaveform": () => (/* binding */ faFileWaveform),
- /* harmony export */ "faFileWord": () => (/* binding */ faFileWord),
- /* harmony export */ "faFileZipper": () => (/* binding */ faFileZipper),
- /* harmony export */ "faFill": () => (/* binding */ faFill),
- /* harmony export */ "faFillDrip": () => (/* binding */ faFillDrip),
- /* harmony export */ "faFilm": () => (/* binding */ faFilm),
- /* harmony export */ "faFilter": () => (/* binding */ faFilter),
- /* harmony export */ "faFilterCircleDollar": () => (/* binding */ faFilterCircleDollar),
- /* harmony export */ "faFilterCircleXmark": () => (/* binding */ faFilterCircleXmark),
- /* harmony export */ "faFingerprint": () => (/* binding */ faFingerprint),
- /* harmony export */ "faFire": () => (/* binding */ faFire),
- /* harmony export */ "faFireAlt": () => (/* binding */ faFireAlt),
- /* harmony export */ "faFireBurner": () => (/* binding */ faFireBurner),
- /* harmony export */ "faFireExtinguisher": () => (/* binding */ faFireExtinguisher),
- /* harmony export */ "faFireFlameCurved": () => (/* binding */ faFireFlameCurved),
- /* harmony export */ "faFireFlameSimple": () => (/* binding */ faFireFlameSimple),
- /* harmony export */ "faFirstAid": () => (/* binding */ faFirstAid),
- /* harmony export */ "faFish": () => (/* binding */ faFish),
- /* harmony export */ "faFishFins": () => (/* binding */ faFishFins),
- /* harmony export */ "faFistRaised": () => (/* binding */ faFistRaised),
- /* harmony export */ "faFlag": () => (/* binding */ faFlag),
- /* harmony export */ "faFlagCheckered": () => (/* binding */ faFlagCheckered),
- /* harmony export */ "faFlagUsa": () => (/* binding */ faFlagUsa),
- /* harmony export */ "faFlask": () => (/* binding */ faFlask),
- /* harmony export */ "faFlaskVial": () => (/* binding */ faFlaskVial),
- /* harmony export */ "faFloppyDisk": () => (/* binding */ faFloppyDisk),
- /* harmony export */ "faFlorinSign": () => (/* binding */ faFlorinSign),
- /* harmony export */ "faFlushed": () => (/* binding */ faFlushed),
- /* harmony export */ "faFolder": () => (/* binding */ faFolder),
- /* harmony export */ "faFolderBlank": () => (/* binding */ faFolderBlank),
- /* harmony export */ "faFolderClosed": () => (/* binding */ faFolderClosed),
- /* harmony export */ "faFolderMinus": () => (/* binding */ faFolderMinus),
- /* harmony export */ "faFolderOpen": () => (/* binding */ faFolderOpen),
- /* harmony export */ "faFolderPlus": () => (/* binding */ faFolderPlus),
- /* harmony export */ "faFolderTree": () => (/* binding */ faFolderTree),
- /* harmony export */ "faFont": () => (/* binding */ faFont),
- /* harmony export */ "faFontAwesome": () => (/* binding */ faFontAwesome),
- /* harmony export */ "faFontAwesomeFlag": () => (/* binding */ faFontAwesomeFlag),
- /* harmony export */ "faFontAwesomeLogoFull": () => (/* binding */ faFontAwesomeLogoFull),
- /* harmony export */ "faFootball": () => (/* binding */ faFootball),
- /* harmony export */ "faFootballBall": () => (/* binding */ faFootballBall),
- /* harmony export */ "faForward": () => (/* binding */ faForward),
- /* harmony export */ "faForwardFast": () => (/* binding */ faForwardFast),
- /* harmony export */ "faForwardStep": () => (/* binding */ faForwardStep),
- /* harmony export */ "faFrancSign": () => (/* binding */ faFrancSign),
- /* harmony export */ "faFrog": () => (/* binding */ faFrog),
- /* harmony export */ "faFrown": () => (/* binding */ faFrown),
- /* harmony export */ "faFrownOpen": () => (/* binding */ faFrownOpen),
- /* harmony export */ "faFunnelDollar": () => (/* binding */ faFunnelDollar),
- /* harmony export */ "faFutbol": () => (/* binding */ faFutbol),
- /* harmony export */ "faFutbolBall": () => (/* binding */ faFutbolBall),
- /* harmony export */ "faG": () => (/* binding */ faG),
- /* harmony export */ "faGamepad": () => (/* binding */ faGamepad),
- /* harmony export */ "faGasPump": () => (/* binding */ faGasPump),
- /* harmony export */ "faGauge": () => (/* binding */ faGauge),
- /* harmony export */ "faGaugeHigh": () => (/* binding */ faGaugeHigh),
- /* harmony export */ "faGaugeMed": () => (/* binding */ faGaugeMed),
- /* harmony export */ "faGaugeSimple": () => (/* binding */ faGaugeSimple),
- /* harmony export */ "faGaugeSimpleHigh": () => (/* binding */ faGaugeSimpleHigh),
- /* harmony export */ "faGaugeSimpleMed": () => (/* binding */ faGaugeSimpleMed),
- /* harmony export */ "faGavel": () => (/* binding */ faGavel),
- /* harmony export */ "faGbp": () => (/* binding */ faGbp),
- /* harmony export */ "faGear": () => (/* binding */ faGear),
- /* harmony export */ "faGears": () => (/* binding */ faGears),
- /* harmony export */ "faGem": () => (/* binding */ faGem),
- /* harmony export */ "faGenderless": () => (/* binding */ faGenderless),
- /* harmony export */ "faGhost": () => (/* binding */ faGhost),
- /* harmony export */ "faGift": () => (/* binding */ faGift),
- /* harmony export */ "faGifts": () => (/* binding */ faGifts),
- /* harmony export */ "faGlassCheers": () => (/* binding */ faGlassCheers),
- /* harmony export */ "faGlassMartini": () => (/* binding */ faGlassMartini),
- /* harmony export */ "faGlassMartiniAlt": () => (/* binding */ faGlassMartiniAlt),
- /* harmony export */ "faGlassWater": () => (/* binding */ faGlassWater),
- /* harmony export */ "faGlassWaterDroplet": () => (/* binding */ faGlassWaterDroplet),
- /* harmony export */ "faGlassWhiskey": () => (/* binding */ faGlassWhiskey),
- /* harmony export */ "faGlasses": () => (/* binding */ faGlasses),
- /* harmony export */ "faGlobe": () => (/* binding */ faGlobe),
- /* harmony export */ "faGlobeAfrica": () => (/* binding */ faGlobeAfrica),
- /* harmony export */ "faGlobeAmericas": () => (/* binding */ faGlobeAmericas),
- /* harmony export */ "faGlobeAsia": () => (/* binding */ faGlobeAsia),
- /* harmony export */ "faGlobeEurope": () => (/* binding */ faGlobeEurope),
- /* harmony export */ "faGlobeOceania": () => (/* binding */ faGlobeOceania),
- /* harmony export */ "faGolfBall": () => (/* binding */ faGolfBall),
- /* harmony export */ "faGolfBallTee": () => (/* binding */ faGolfBallTee),
- /* harmony export */ "faGopuram": () => (/* binding */ faGopuram),
- /* harmony export */ "faGraduationCap": () => (/* binding */ faGraduationCap),
- /* harmony export */ "faGreaterThan": () => (/* binding */ faGreaterThan),
- /* harmony export */ "faGreaterThanEqual": () => (/* binding */ faGreaterThanEqual),
- /* harmony export */ "faGrimace": () => (/* binding */ faGrimace),
- /* harmony export */ "faGrin": () => (/* binding */ faGrin),
- /* harmony export */ "faGrinAlt": () => (/* binding */ faGrinAlt),
- /* harmony export */ "faGrinBeam": () => (/* binding */ faGrinBeam),
- /* harmony export */ "faGrinBeamSweat": () => (/* binding */ faGrinBeamSweat),
- /* harmony export */ "faGrinHearts": () => (/* binding */ faGrinHearts),
- /* harmony export */ "faGrinSquint": () => (/* binding */ faGrinSquint),
- /* harmony export */ "faGrinSquintTears": () => (/* binding */ faGrinSquintTears),
- /* harmony export */ "faGrinStars": () => (/* binding */ faGrinStars),
- /* harmony export */ "faGrinTears": () => (/* binding */ faGrinTears),
- /* harmony export */ "faGrinTongue": () => (/* binding */ faGrinTongue),
- /* harmony export */ "faGrinTongueSquint": () => (/* binding */ faGrinTongueSquint),
- /* harmony export */ "faGrinTongueWink": () => (/* binding */ faGrinTongueWink),
- /* harmony export */ "faGrinWink": () => (/* binding */ faGrinWink),
- /* harmony export */ "faGrip": () => (/* binding */ faGrip),
- /* harmony export */ "faGripHorizontal": () => (/* binding */ faGripHorizontal),
- /* harmony export */ "faGripLines": () => (/* binding */ faGripLines),
- /* harmony export */ "faGripLinesVertical": () => (/* binding */ faGripLinesVertical),
- /* harmony export */ "faGripVertical": () => (/* binding */ faGripVertical),
- /* harmony export */ "faGroupArrowsRotate": () => (/* binding */ faGroupArrowsRotate),
- /* harmony export */ "faGuaraniSign": () => (/* binding */ faGuaraniSign),
- /* harmony export */ "faGuitar": () => (/* binding */ faGuitar),
- /* harmony export */ "faGun": () => (/* binding */ faGun),
- /* harmony export */ "faH": () => (/* binding */ faH),
- /* harmony export */ "faHSquare": () => (/* binding */ faHSquare),
- /* harmony export */ "faHamburger": () => (/* binding */ faHamburger),
- /* harmony export */ "faHammer": () => (/* binding */ faHammer),
- /* harmony export */ "faHamsa": () => (/* binding */ faHamsa),
- /* harmony export */ "faHand": () => (/* binding */ faHand),
- /* harmony export */ "faHandBackFist": () => (/* binding */ faHandBackFist),
- /* harmony export */ "faHandDots": () => (/* binding */ faHandDots),
- /* harmony export */ "faHandFist": () => (/* binding */ faHandFist),
- /* harmony export */ "faHandHolding": () => (/* binding */ faHandHolding),
- /* harmony export */ "faHandHoldingDollar": () => (/* binding */ faHandHoldingDollar),
- /* harmony export */ "faHandHoldingDroplet": () => (/* binding */ faHandHoldingDroplet),
- /* harmony export */ "faHandHoldingHand": () => (/* binding */ faHandHoldingHand),
- /* harmony export */ "faHandHoldingHeart": () => (/* binding */ faHandHoldingHeart),
- /* harmony export */ "faHandHoldingMedical": () => (/* binding */ faHandHoldingMedical),
- /* harmony export */ "faHandHoldingUsd": () => (/* binding */ faHandHoldingUsd),
- /* harmony export */ "faHandHoldingWater": () => (/* binding */ faHandHoldingWater),
- /* harmony export */ "faHandLizard": () => (/* binding */ faHandLizard),
- /* harmony export */ "faHandMiddleFinger": () => (/* binding */ faHandMiddleFinger),
- /* harmony export */ "faHandPaper": () => (/* binding */ faHandPaper),
- /* harmony export */ "faHandPeace": () => (/* binding */ faHandPeace),
- /* harmony export */ "faHandPointDown": () => (/* binding */ faHandPointDown),
- /* harmony export */ "faHandPointLeft": () => (/* binding */ faHandPointLeft),
- /* harmony export */ "faHandPointRight": () => (/* binding */ faHandPointRight),
- /* harmony export */ "faHandPointUp": () => (/* binding */ faHandPointUp),
- /* harmony export */ "faHandPointer": () => (/* binding */ faHandPointer),
- /* harmony export */ "faHandRock": () => (/* binding */ faHandRock),
- /* harmony export */ "faHandScissors": () => (/* binding */ faHandScissors),
- /* harmony export */ "faHandSparkles": () => (/* binding */ faHandSparkles),
- /* harmony export */ "faHandSpock": () => (/* binding */ faHandSpock),
- /* harmony export */ "faHandcuffs": () => (/* binding */ faHandcuffs),
- /* harmony export */ "faHands": () => (/* binding */ faHands),
- /* harmony export */ "faHandsAmericanSignLanguageInterpreting": () => (/* binding */ faHandsAmericanSignLanguageInterpreting),
- /* harmony export */ "faHandsAslInterpreting": () => (/* binding */ faHandsAslInterpreting),
- /* harmony export */ "faHandsBound": () => (/* binding */ faHandsBound),
- /* harmony export */ "faHandsBubbles": () => (/* binding */ faHandsBubbles),
- /* harmony export */ "faHandsClapping": () => (/* binding */ faHandsClapping),
- /* harmony export */ "faHandsHelping": () => (/* binding */ faHandsHelping),
- /* harmony export */ "faHandsHolding": () => (/* binding */ faHandsHolding),
- /* harmony export */ "faHandsHoldingChild": () => (/* binding */ faHandsHoldingChild),
- /* harmony export */ "faHandsHoldingCircle": () => (/* binding */ faHandsHoldingCircle),
- /* harmony export */ "faHandsPraying": () => (/* binding */ faHandsPraying),
- /* harmony export */ "faHandsWash": () => (/* binding */ faHandsWash),
- /* harmony export */ "faHandshake": () => (/* binding */ faHandshake),
- /* harmony export */ "faHandshakeAlt": () => (/* binding */ faHandshakeAlt),
- /* harmony export */ "faHandshakeAltSlash": () => (/* binding */ faHandshakeAltSlash),
- /* harmony export */ "faHandshakeAngle": () => (/* binding */ faHandshakeAngle),
- /* harmony export */ "faHandshakeSimple": () => (/* binding */ faHandshakeSimple),
- /* harmony export */ "faHandshakeSimpleSlash": () => (/* binding */ faHandshakeSimpleSlash),
- /* harmony export */ "faHandshakeSlash": () => (/* binding */ faHandshakeSlash),
- /* harmony export */ "faHanukiah": () => (/* binding */ faHanukiah),
- /* harmony export */ "faHardDrive": () => (/* binding */ faHardDrive),
- /* harmony export */ "faHardHat": () => (/* binding */ faHardHat),
- /* harmony export */ "faHardOfHearing": () => (/* binding */ faHardOfHearing),
- /* harmony export */ "faHashtag": () => (/* binding */ faHashtag),
- /* harmony export */ "faHatCowboy": () => (/* binding */ faHatCowboy),
- /* harmony export */ "faHatCowboySide": () => (/* binding */ faHatCowboySide),
- /* harmony export */ "faHatHard": () => (/* binding */ faHatHard),
- /* harmony export */ "faHatWizard": () => (/* binding */ faHatWizard),
- /* harmony export */ "faHaykal": () => (/* binding */ faHaykal),
- /* harmony export */ "faHdd": () => (/* binding */ faHdd),
- /* harmony export */ "faHeadSideCough": () => (/* binding */ faHeadSideCough),
- /* harmony export */ "faHeadSideCoughSlash": () => (/* binding */ faHeadSideCoughSlash),
- /* harmony export */ "faHeadSideMask": () => (/* binding */ faHeadSideMask),
- /* harmony export */ "faHeadSideVirus": () => (/* binding */ faHeadSideVirus),
- /* harmony export */ "faHeader": () => (/* binding */ faHeader),
- /* harmony export */ "faHeading": () => (/* binding */ faHeading),
- /* harmony export */ "faHeadphones": () => (/* binding */ faHeadphones),
- /* harmony export */ "faHeadphonesAlt": () => (/* binding */ faHeadphonesAlt),
- /* harmony export */ "faHeadphonesSimple": () => (/* binding */ faHeadphonesSimple),
- /* harmony export */ "faHeadset": () => (/* binding */ faHeadset),
- /* harmony export */ "faHeart": () => (/* binding */ faHeart),
- /* harmony export */ "faHeartBroken": () => (/* binding */ faHeartBroken),
- /* harmony export */ "faHeartCircleBolt": () => (/* binding */ faHeartCircleBolt),
- /* harmony export */ "faHeartCircleCheck": () => (/* binding */ faHeartCircleCheck),
- /* harmony export */ "faHeartCircleExclamation": () => (/* binding */ faHeartCircleExclamation),
- /* harmony export */ "faHeartCircleMinus": () => (/* binding */ faHeartCircleMinus),
- /* harmony export */ "faHeartCirclePlus": () => (/* binding */ faHeartCirclePlus),
- /* harmony export */ "faHeartCircleXmark": () => (/* binding */ faHeartCircleXmark),
- /* harmony export */ "faHeartCrack": () => (/* binding */ faHeartCrack),
- /* harmony export */ "faHeartMusicCameraBolt": () => (/* binding */ faHeartMusicCameraBolt),
- /* harmony export */ "faHeartPulse": () => (/* binding */ faHeartPulse),
- /* harmony export */ "faHeartbeat": () => (/* binding */ faHeartbeat),
- /* harmony export */ "faHelicopter": () => (/* binding */ faHelicopter),
- /* harmony export */ "faHelicopterSymbol": () => (/* binding */ faHelicopterSymbol),
- /* harmony export */ "faHelmetSafety": () => (/* binding */ faHelmetSafety),
- /* harmony export */ "faHelmetUn": () => (/* binding */ faHelmetUn),
- /* harmony export */ "faHighlighter": () => (/* binding */ faHighlighter),
- /* harmony export */ "faHiking": () => (/* binding */ faHiking),
- /* harmony export */ "faHillAvalanche": () => (/* binding */ faHillAvalanche),
- /* harmony export */ "faHillRockslide": () => (/* binding */ faHillRockslide),
- /* harmony export */ "faHippo": () => (/* binding */ faHippo),
- /* harmony export */ "faHistory": () => (/* binding */ faHistory),
- /* harmony export */ "faHockeyPuck": () => (/* binding */ faHockeyPuck),
- /* harmony export */ "faHollyBerry": () => (/* binding */ faHollyBerry),
- /* harmony export */ "faHome": () => (/* binding */ faHome),
- /* harmony export */ "faHomeAlt": () => (/* binding */ faHomeAlt),
- /* harmony export */ "faHomeLg": () => (/* binding */ faHomeLg),
- /* harmony export */ "faHomeLgAlt": () => (/* binding */ faHomeLgAlt),
- /* harmony export */ "faHomeUser": () => (/* binding */ faHomeUser),
- /* harmony export */ "faHorse": () => (/* binding */ faHorse),
- /* harmony export */ "faHorseHead": () => (/* binding */ faHorseHead),
- /* harmony export */ "faHospital": () => (/* binding */ faHospital),
- /* harmony export */ "faHospitalAlt": () => (/* binding */ faHospitalAlt),
- /* harmony export */ "faHospitalSymbol": () => (/* binding */ faHospitalSymbol),
- /* harmony export */ "faHospitalUser": () => (/* binding */ faHospitalUser),
- /* harmony export */ "faHospitalWide": () => (/* binding */ faHospitalWide),
- /* harmony export */ "faHotTub": () => (/* binding */ faHotTub),
- /* harmony export */ "faHotTubPerson": () => (/* binding */ faHotTubPerson),
- /* harmony export */ "faHotdog": () => (/* binding */ faHotdog),
- /* harmony export */ "faHotel": () => (/* binding */ faHotel),
- /* harmony export */ "faHourglass": () => (/* binding */ faHourglass),
- /* harmony export */ "faHourglass1": () => (/* binding */ faHourglass1),
- /* harmony export */ "faHourglass2": () => (/* binding */ faHourglass2),
- /* harmony export */ "faHourglass3": () => (/* binding */ faHourglass3),
- /* harmony export */ "faHourglassEmpty": () => (/* binding */ faHourglassEmpty),
- /* harmony export */ "faHourglassEnd": () => (/* binding */ faHourglassEnd),
- /* harmony export */ "faHourglassHalf": () => (/* binding */ faHourglassHalf),
- /* harmony export */ "faHourglassStart": () => (/* binding */ faHourglassStart),
- /* harmony export */ "faHouse": () => (/* binding */ faHouse),
- /* harmony export */ "faHouseChimney": () => (/* binding */ faHouseChimney),
- /* harmony export */ "faHouseChimneyCrack": () => (/* binding */ faHouseChimneyCrack),
- /* harmony export */ "faHouseChimneyMedical": () => (/* binding */ faHouseChimneyMedical),
- /* harmony export */ "faHouseChimneyUser": () => (/* binding */ faHouseChimneyUser),
- /* harmony export */ "faHouseChimneyWindow": () => (/* binding */ faHouseChimneyWindow),
- /* harmony export */ "faHouseCircleCheck": () => (/* binding */ faHouseCircleCheck),
- /* harmony export */ "faHouseCircleExclamation": () => (/* binding */ faHouseCircleExclamation),
- /* harmony export */ "faHouseCircleXmark": () => (/* binding */ faHouseCircleXmark),
- /* harmony export */ "faHouseCrack": () => (/* binding */ faHouseCrack),
- /* harmony export */ "faHouseDamage": () => (/* binding */ faHouseDamage),
- /* harmony export */ "faHouseFire": () => (/* binding */ faHouseFire),
- /* harmony export */ "faHouseFlag": () => (/* binding */ faHouseFlag),
- /* harmony export */ "faHouseFloodWater": () => (/* binding */ faHouseFloodWater),
- /* harmony export */ "faHouseFloodWaterCircleArrowRight": () => (/* binding */ faHouseFloodWaterCircleArrowRight),
- /* harmony export */ "faHouseLaptop": () => (/* binding */ faHouseLaptop),
- /* harmony export */ "faHouseLock": () => (/* binding */ faHouseLock),
- /* harmony export */ "faHouseMedical": () => (/* binding */ faHouseMedical),
- /* harmony export */ "faHouseMedicalCircleCheck": () => (/* binding */ faHouseMedicalCircleCheck),
- /* harmony export */ "faHouseMedicalCircleExclamation": () => (/* binding */ faHouseMedicalCircleExclamation),
- /* harmony export */ "faHouseMedicalCircleXmark": () => (/* binding */ faHouseMedicalCircleXmark),
- /* harmony export */ "faHouseMedicalFlag": () => (/* binding */ faHouseMedicalFlag),
- /* harmony export */ "faHouseSignal": () => (/* binding */ faHouseSignal),
- /* harmony export */ "faHouseTsunami": () => (/* binding */ faHouseTsunami),
- /* harmony export */ "faHouseUser": () => (/* binding */ faHouseUser),
- /* harmony export */ "faHryvnia": () => (/* binding */ faHryvnia),
- /* harmony export */ "faHryvniaSign": () => (/* binding */ faHryvniaSign),
- /* harmony export */ "faHurricane": () => (/* binding */ faHurricane),
- /* harmony export */ "faI": () => (/* binding */ faI),
- /* harmony export */ "faICursor": () => (/* binding */ faICursor),
- /* harmony export */ "faIceCream": () => (/* binding */ faIceCream),
- /* harmony export */ "faIcicles": () => (/* binding */ faIcicles),
- /* harmony export */ "faIcons": () => (/* binding */ faIcons),
- /* harmony export */ "faIdBadge": () => (/* binding */ faIdBadge),
- /* harmony export */ "faIdCard": () => (/* binding */ faIdCard),
- /* harmony export */ "faIdCardAlt": () => (/* binding */ faIdCardAlt),
- /* harmony export */ "faIdCardClip": () => (/* binding */ faIdCardClip),
- /* harmony export */ "faIgloo": () => (/* binding */ faIgloo),
- /* harmony export */ "faIls": () => (/* binding */ faIls),
- /* harmony export */ "faImage": () => (/* binding */ faImage),
- /* harmony export */ "faImagePortrait": () => (/* binding */ faImagePortrait),
- /* harmony export */ "faImages": () => (/* binding */ faImages),
- /* harmony export */ "faInbox": () => (/* binding */ faInbox),
- /* harmony export */ "faIndent": () => (/* binding */ faIndent),
- /* harmony export */ "faIndianRupee": () => (/* binding */ faIndianRupee),
- /* harmony export */ "faIndianRupeeSign": () => (/* binding */ faIndianRupeeSign),
- /* harmony export */ "faIndustry": () => (/* binding */ faIndustry),
- /* harmony export */ "faInfinity": () => (/* binding */ faInfinity),
- /* harmony export */ "faInfo": () => (/* binding */ faInfo),
- /* harmony export */ "faInfoCircle": () => (/* binding */ faInfoCircle),
- /* harmony export */ "faInr": () => (/* binding */ faInr),
- /* harmony export */ "faInstitution": () => (/* binding */ faInstitution),
- /* harmony export */ "faItalic": () => (/* binding */ faItalic),
- /* harmony export */ "faJ": () => (/* binding */ faJ),
- /* harmony export */ "faJar": () => (/* binding */ faJar),
- /* harmony export */ "faJarWheat": () => (/* binding */ faJarWheat),
- /* harmony export */ "faJedi": () => (/* binding */ faJedi),
- /* harmony export */ "faJetFighter": () => (/* binding */ faJetFighter),
- /* harmony export */ "faJetFighterUp": () => (/* binding */ faJetFighterUp),
- /* harmony export */ "faJoint": () => (/* binding */ faJoint),
- /* harmony export */ "faJournalWhills": () => (/* binding */ faJournalWhills),
- /* harmony export */ "faJpy": () => (/* binding */ faJpy),
- /* harmony export */ "faJugDetergent": () => (/* binding */ faJugDetergent),
- /* harmony export */ "faK": () => (/* binding */ faK),
- /* harmony export */ "faKaaba": () => (/* binding */ faKaaba),
- /* harmony export */ "faKey": () => (/* binding */ faKey),
- /* harmony export */ "faKeyboard": () => (/* binding */ faKeyboard),
- /* harmony export */ "faKhanda": () => (/* binding */ faKhanda),
- /* harmony export */ "faKipSign": () => (/* binding */ faKipSign),
- /* harmony export */ "faKiss": () => (/* binding */ faKiss),
- /* harmony export */ "faKissBeam": () => (/* binding */ faKissBeam),
- /* harmony export */ "faKissWinkHeart": () => (/* binding */ faKissWinkHeart),
- /* harmony export */ "faKitMedical": () => (/* binding */ faKitMedical),
- /* harmony export */ "faKitchenSet": () => (/* binding */ faKitchenSet),
- /* harmony export */ "faKiwiBird": () => (/* binding */ faKiwiBird),
- /* harmony export */ "faKrw": () => (/* binding */ faKrw),
- /* harmony export */ "faL": () => (/* binding */ faL),
- /* harmony export */ "faLadderWater": () => (/* binding */ faLadderWater),
- /* harmony export */ "faLandMineOn": () => (/* binding */ faLandMineOn),
- /* harmony export */ "faLandmark": () => (/* binding */ faLandmark),
- /* harmony export */ "faLandmarkAlt": () => (/* binding */ faLandmarkAlt),
- /* harmony export */ "faLandmarkDome": () => (/* binding */ faLandmarkDome),
- /* harmony export */ "faLandmarkFlag": () => (/* binding */ faLandmarkFlag),
- /* harmony export */ "faLanguage": () => (/* binding */ faLanguage),
- /* harmony export */ "faLaptop": () => (/* binding */ faLaptop),
- /* harmony export */ "faLaptopCode": () => (/* binding */ faLaptopCode),
- /* harmony export */ "faLaptopFile": () => (/* binding */ faLaptopFile),
- /* harmony export */ "faLaptopHouse": () => (/* binding */ faLaptopHouse),
- /* harmony export */ "faLaptopMedical": () => (/* binding */ faLaptopMedical),
- /* harmony export */ "faLariSign": () => (/* binding */ faLariSign),
- /* harmony export */ "faLaugh": () => (/* binding */ faLaugh),
- /* harmony export */ "faLaughBeam": () => (/* binding */ faLaughBeam),
- /* harmony export */ "faLaughSquint": () => (/* binding */ faLaughSquint),
- /* harmony export */ "faLaughWink": () => (/* binding */ faLaughWink),
- /* harmony export */ "faLayerGroup": () => (/* binding */ faLayerGroup),
- /* harmony export */ "faLeaf": () => (/* binding */ faLeaf),
- /* harmony export */ "faLeftLong": () => (/* binding */ faLeftLong),
- /* harmony export */ "faLeftRight": () => (/* binding */ faLeftRight),
- /* harmony export */ "faLegal": () => (/* binding */ faLegal),
- /* harmony export */ "faLemon": () => (/* binding */ faLemon),
- /* harmony export */ "faLessThan": () => (/* binding */ faLessThan),
- /* harmony export */ "faLessThanEqual": () => (/* binding */ faLessThanEqual),
- /* harmony export */ "faLevelDown": () => (/* binding */ faLevelDown),
- /* harmony export */ "faLevelDownAlt": () => (/* binding */ faLevelDownAlt),
- /* harmony export */ "faLevelUp": () => (/* binding */ faLevelUp),
- /* harmony export */ "faLevelUpAlt": () => (/* binding */ faLevelUpAlt),
- /* harmony export */ "faLifeRing": () => (/* binding */ faLifeRing),
- /* harmony export */ "faLightbulb": () => (/* binding */ faLightbulb),
- /* harmony export */ "faLineChart": () => (/* binding */ faLineChart),
- /* harmony export */ "faLinesLeaning": () => (/* binding */ faLinesLeaning),
- /* harmony export */ "faLink": () => (/* binding */ faLink),
- /* harmony export */ "faLinkSlash": () => (/* binding */ faLinkSlash),
- /* harmony export */ "faLiraSign": () => (/* binding */ faLiraSign),
- /* harmony export */ "faList": () => (/* binding */ faList),
- /* harmony export */ "faList12": () => (/* binding */ faList12),
- /* harmony export */ "faListAlt": () => (/* binding */ faListAlt),
- /* harmony export */ "faListCheck": () => (/* binding */ faListCheck),
- /* harmony export */ "faListDots": () => (/* binding */ faListDots),
- /* harmony export */ "faListNumeric": () => (/* binding */ faListNumeric),
- /* harmony export */ "faListOl": () => (/* binding */ faListOl),
- /* harmony export */ "faListSquares": () => (/* binding */ faListSquares),
- /* harmony export */ "faListUl": () => (/* binding */ faListUl),
- /* harmony export */ "faLitecoinSign": () => (/* binding */ faLitecoinSign),
- /* harmony export */ "faLocation": () => (/* binding */ faLocation),
- /* harmony export */ "faLocationArrow": () => (/* binding */ faLocationArrow),
- /* harmony export */ "faLocationCrosshairs": () => (/* binding */ faLocationCrosshairs),
- /* harmony export */ "faLocationDot": () => (/* binding */ faLocationDot),
- /* harmony export */ "faLocationPin": () => (/* binding */ faLocationPin),
- /* harmony export */ "faLocationPinLock": () => (/* binding */ faLocationPinLock),
- /* harmony export */ "faLock": () => (/* binding */ faLock),
- /* harmony export */ "faLockOpen": () => (/* binding */ faLockOpen),
- /* harmony export */ "faLocust": () => (/* binding */ faLocust),
- /* harmony export */ "faLongArrowAltDown": () => (/* binding */ faLongArrowAltDown),
- /* harmony export */ "faLongArrowAltLeft": () => (/* binding */ faLongArrowAltLeft),
- /* harmony export */ "faLongArrowAltRight": () => (/* binding */ faLongArrowAltRight),
- /* harmony export */ "faLongArrowAltUp": () => (/* binding */ faLongArrowAltUp),
- /* harmony export */ "faLongArrowDown": () => (/* binding */ faLongArrowDown),
- /* harmony export */ "faLongArrowLeft": () => (/* binding */ faLongArrowLeft),
- /* harmony export */ "faLongArrowRight": () => (/* binding */ faLongArrowRight),
- /* harmony export */ "faLongArrowUp": () => (/* binding */ faLongArrowUp),
- /* harmony export */ "faLowVision": () => (/* binding */ faLowVision),
- /* harmony export */ "faLuggageCart": () => (/* binding */ faLuggageCart),
- /* harmony export */ "faLungs": () => (/* binding */ faLungs),
- /* harmony export */ "faLungsVirus": () => (/* binding */ faLungsVirus),
- /* harmony export */ "faM": () => (/* binding */ faM),
- /* harmony export */ "faMagic": () => (/* binding */ faMagic),
- /* harmony export */ "faMagicWandSparkles": () => (/* binding */ faMagicWandSparkles),
- /* harmony export */ "faMagnet": () => (/* binding */ faMagnet),
- /* harmony export */ "faMagnifyingGlass": () => (/* binding */ faMagnifyingGlass),
- /* harmony export */ "faMagnifyingGlassArrowRight": () => (/* binding */ faMagnifyingGlassArrowRight),
- /* harmony export */ "faMagnifyingGlassChart": () => (/* binding */ faMagnifyingGlassChart),
- /* harmony export */ "faMagnifyingGlassDollar": () => (/* binding */ faMagnifyingGlassDollar),
- /* harmony export */ "faMagnifyingGlassLocation": () => (/* binding */ faMagnifyingGlassLocation),
- /* harmony export */ "faMagnifyingGlassMinus": () => (/* binding */ faMagnifyingGlassMinus),
- /* harmony export */ "faMagnifyingGlassPlus": () => (/* binding */ faMagnifyingGlassPlus),
- /* harmony export */ "faMailBulk": () => (/* binding */ faMailBulk),
- /* harmony export */ "faMailForward": () => (/* binding */ faMailForward),
- /* harmony export */ "faMailReply": () => (/* binding */ faMailReply),
- /* harmony export */ "faMailReplyAll": () => (/* binding */ faMailReplyAll),
- /* harmony export */ "faMale": () => (/* binding */ faMale),
- /* harmony export */ "faManatSign": () => (/* binding */ faManatSign),
- /* harmony export */ "faMap": () => (/* binding */ faMap),
- /* harmony export */ "faMapLocation": () => (/* binding */ faMapLocation),
- /* harmony export */ "faMapLocationDot": () => (/* binding */ faMapLocationDot),
- /* harmony export */ "faMapMarked": () => (/* binding */ faMapMarked),
- /* harmony export */ "faMapMarkedAlt": () => (/* binding */ faMapMarkedAlt),
- /* harmony export */ "faMapMarker": () => (/* binding */ faMapMarker),
- /* harmony export */ "faMapMarkerAlt": () => (/* binding */ faMapMarkerAlt),
- /* harmony export */ "faMapPin": () => (/* binding */ faMapPin),
- /* harmony export */ "faMapSigns": () => (/* binding */ faMapSigns),
- /* harmony export */ "faMarker": () => (/* binding */ faMarker),
- /* harmony export */ "faMars": () => (/* binding */ faMars),
- /* harmony export */ "faMarsAndVenus": () => (/* binding */ faMarsAndVenus),
- /* harmony export */ "faMarsAndVenusBurst": () => (/* binding */ faMarsAndVenusBurst),
- /* harmony export */ "faMarsDouble": () => (/* binding */ faMarsDouble),
- /* harmony export */ "faMarsStroke": () => (/* binding */ faMarsStroke),
- /* harmony export */ "faMarsStrokeH": () => (/* binding */ faMarsStrokeH),
- /* harmony export */ "faMarsStrokeRight": () => (/* binding */ faMarsStrokeRight),
- /* harmony export */ "faMarsStrokeUp": () => (/* binding */ faMarsStrokeUp),
- /* harmony export */ "faMarsStrokeV": () => (/* binding */ faMarsStrokeV),
- /* harmony export */ "faMartiniGlass": () => (/* binding */ faMartiniGlass),
- /* harmony export */ "faMartiniGlassCitrus": () => (/* binding */ faMartiniGlassCitrus),
- /* harmony export */ "faMartiniGlassEmpty": () => (/* binding */ faMartiniGlassEmpty),
- /* harmony export */ "faMask": () => (/* binding */ faMask),
- /* harmony export */ "faMaskFace": () => (/* binding */ faMaskFace),
- /* harmony export */ "faMaskVentilator": () => (/* binding */ faMaskVentilator),
- /* harmony export */ "faMasksTheater": () => (/* binding */ faMasksTheater),
- /* harmony export */ "faMattressPillow": () => (/* binding */ faMattressPillow),
- /* harmony export */ "faMaximize": () => (/* binding */ faMaximize),
- /* harmony export */ "faMedal": () => (/* binding */ faMedal),
- /* harmony export */ "faMedkit": () => (/* binding */ faMedkit),
- /* harmony export */ "faMeh": () => (/* binding */ faMeh),
- /* harmony export */ "faMehBlank": () => (/* binding */ faMehBlank),
- /* harmony export */ "faMehRollingEyes": () => (/* binding */ faMehRollingEyes),
- /* harmony export */ "faMemory": () => (/* binding */ faMemory),
- /* harmony export */ "faMenorah": () => (/* binding */ faMenorah),
- /* harmony export */ "faMercury": () => (/* binding */ faMercury),
- /* harmony export */ "faMessage": () => (/* binding */ faMessage),
- /* harmony export */ "faMeteor": () => (/* binding */ faMeteor),
- /* harmony export */ "faMicrochip": () => (/* binding */ faMicrochip),
- /* harmony export */ "faMicrophone": () => (/* binding */ faMicrophone),
- /* harmony export */ "faMicrophoneAlt": () => (/* binding */ faMicrophoneAlt),
- /* harmony export */ "faMicrophoneAltSlash": () => (/* binding */ faMicrophoneAltSlash),
- /* harmony export */ "faMicrophoneLines": () => (/* binding */ faMicrophoneLines),
- /* harmony export */ "faMicrophoneLinesSlash": () => (/* binding */ faMicrophoneLinesSlash),
- /* harmony export */ "faMicrophoneSlash": () => (/* binding */ faMicrophoneSlash),
- /* harmony export */ "faMicroscope": () => (/* binding */ faMicroscope),
- /* harmony export */ "faMillSign": () => (/* binding */ faMillSign),
- /* harmony export */ "faMinimize": () => (/* binding */ faMinimize),
- /* harmony export */ "faMinus": () => (/* binding */ faMinus),
- /* harmony export */ "faMinusCircle": () => (/* binding */ faMinusCircle),
- /* harmony export */ "faMinusSquare": () => (/* binding */ faMinusSquare),
- /* harmony export */ "faMitten": () => (/* binding */ faMitten),
- /* harmony export */ "faMobile": () => (/* binding */ faMobile),
- /* harmony export */ "faMobileAlt": () => (/* binding */ faMobileAlt),
- /* harmony export */ "faMobileAndroid": () => (/* binding */ faMobileAndroid),
- /* harmony export */ "faMobileAndroidAlt": () => (/* binding */ faMobileAndroidAlt),
- /* harmony export */ "faMobileButton": () => (/* binding */ faMobileButton),
- /* harmony export */ "faMobilePhone": () => (/* binding */ faMobilePhone),
- /* harmony export */ "faMobileRetro": () => (/* binding */ faMobileRetro),
- /* harmony export */ "faMobileScreen": () => (/* binding */ faMobileScreen),
- /* harmony export */ "faMobileScreenButton": () => (/* binding */ faMobileScreenButton),
- /* harmony export */ "faMoneyBill": () => (/* binding */ faMoneyBill),
- /* harmony export */ "faMoneyBill1": () => (/* binding */ faMoneyBill1),
- /* harmony export */ "faMoneyBill1Wave": () => (/* binding */ faMoneyBill1Wave),
- /* harmony export */ "faMoneyBillAlt": () => (/* binding */ faMoneyBillAlt),
- /* harmony export */ "faMoneyBillTransfer": () => (/* binding */ faMoneyBillTransfer),
- /* harmony export */ "faMoneyBillTrendUp": () => (/* binding */ faMoneyBillTrendUp),
- /* harmony export */ "faMoneyBillWave": () => (/* binding */ faMoneyBillWave),
- /* harmony export */ "faMoneyBillWaveAlt": () => (/* binding */ faMoneyBillWaveAlt),
- /* harmony export */ "faMoneyBillWheat": () => (/* binding */ faMoneyBillWheat),
- /* harmony export */ "faMoneyBills": () => (/* binding */ faMoneyBills),
- /* harmony export */ "faMoneyCheck": () => (/* binding */ faMoneyCheck),
- /* harmony export */ "faMoneyCheckAlt": () => (/* binding */ faMoneyCheckAlt),
- /* harmony export */ "faMoneyCheckDollar": () => (/* binding */ faMoneyCheckDollar),
- /* harmony export */ "faMonument": () => (/* binding */ faMonument),
- /* harmony export */ "faMoon": () => (/* binding */ faMoon),
- /* harmony export */ "faMortarBoard": () => (/* binding */ faMortarBoard),
- /* harmony export */ "faMortarPestle": () => (/* binding */ faMortarPestle),
- /* harmony export */ "faMosque": () => (/* binding */ faMosque),
- /* harmony export */ "faMosquito": () => (/* binding */ faMosquito),
- /* harmony export */ "faMosquitoNet": () => (/* binding */ faMosquitoNet),
- /* harmony export */ "faMotorcycle": () => (/* binding */ faMotorcycle),
- /* harmony export */ "faMound": () => (/* binding */ faMound),
- /* harmony export */ "faMountain": () => (/* binding */ faMountain),
- /* harmony export */ "faMountainCity": () => (/* binding */ faMountainCity),
- /* harmony export */ "faMountainSun": () => (/* binding */ faMountainSun),
- /* harmony export */ "faMouse": () => (/* binding */ faMouse),
- /* harmony export */ "faMousePointer": () => (/* binding */ faMousePointer),
- /* harmony export */ "faMugHot": () => (/* binding */ faMugHot),
- /* harmony export */ "faMugSaucer": () => (/* binding */ faMugSaucer),
- /* harmony export */ "faMultiply": () => (/* binding */ faMultiply),
- /* harmony export */ "faMuseum": () => (/* binding */ faMuseum),
- /* harmony export */ "faMusic": () => (/* binding */ faMusic),
- /* harmony export */ "faN": () => (/* binding */ faN),
- /* harmony export */ "faNairaSign": () => (/* binding */ faNairaSign),
- /* harmony export */ "faNavicon": () => (/* binding */ faNavicon),
- /* harmony export */ "faNetworkWired": () => (/* binding */ faNetworkWired),
- /* harmony export */ "faNeuter": () => (/* binding */ faNeuter),
- /* harmony export */ "faNewspaper": () => (/* binding */ faNewspaper),
- /* harmony export */ "faNotEqual": () => (/* binding */ faNotEqual),
- /* harmony export */ "faNoteSticky": () => (/* binding */ faNoteSticky),
- /* harmony export */ "faNotesMedical": () => (/* binding */ faNotesMedical),
- /* harmony export */ "faO": () => (/* binding */ faO),
- /* harmony export */ "faObjectGroup": () => (/* binding */ faObjectGroup),
- /* harmony export */ "faObjectUngroup": () => (/* binding */ faObjectUngroup),
- /* harmony export */ "faOilCan": () => (/* binding */ faOilCan),
- /* harmony export */ "faOilWell": () => (/* binding */ faOilWell),
- /* harmony export */ "faOm": () => (/* binding */ faOm),
- /* harmony export */ "faOtter": () => (/* binding */ faOtter),
- /* harmony export */ "faOutdent": () => (/* binding */ faOutdent),
- /* harmony export */ "faP": () => (/* binding */ faP),
- /* harmony export */ "faPager": () => (/* binding */ faPager),
- /* harmony export */ "faPaintBrush": () => (/* binding */ faPaintBrush),
- /* harmony export */ "faPaintRoller": () => (/* binding */ faPaintRoller),
- /* harmony export */ "faPaintbrush": () => (/* binding */ faPaintbrush),
- /* harmony export */ "faPalette": () => (/* binding */ faPalette),
- /* harmony export */ "faPallet": () => (/* binding */ faPallet),
- /* harmony export */ "faPanorama": () => (/* binding */ faPanorama),
- /* harmony export */ "faPaperPlane": () => (/* binding */ faPaperPlane),
- /* harmony export */ "faPaperclip": () => (/* binding */ faPaperclip),
- /* harmony export */ "faParachuteBox": () => (/* binding */ faParachuteBox),
- /* harmony export */ "faParagraph": () => (/* binding */ faParagraph),
- /* harmony export */ "faParking": () => (/* binding */ faParking),
- /* harmony export */ "faPassport": () => (/* binding */ faPassport),
- /* harmony export */ "faPastafarianism": () => (/* binding */ faPastafarianism),
- /* harmony export */ "faPaste": () => (/* binding */ faPaste),
- /* harmony export */ "faPause": () => (/* binding */ faPause),
- /* harmony export */ "faPauseCircle": () => (/* binding */ faPauseCircle),
- /* harmony export */ "faPaw": () => (/* binding */ faPaw),
- /* harmony export */ "faPeace": () => (/* binding */ faPeace),
- /* harmony export */ "faPen": () => (/* binding */ faPen),
- /* harmony export */ "faPenAlt": () => (/* binding */ faPenAlt),
- /* harmony export */ "faPenClip": () => (/* binding */ faPenClip),
- /* harmony export */ "faPenFancy": () => (/* binding */ faPenFancy),
- /* harmony export */ "faPenNib": () => (/* binding */ faPenNib),
- /* harmony export */ "faPenRuler": () => (/* binding */ faPenRuler),
- /* harmony export */ "faPenSquare": () => (/* binding */ faPenSquare),
- /* harmony export */ "faPenToSquare": () => (/* binding */ faPenToSquare),
- /* harmony export */ "faPencil": () => (/* binding */ faPencil),
- /* harmony export */ "faPencilAlt": () => (/* binding */ faPencilAlt),
- /* harmony export */ "faPencilRuler": () => (/* binding */ faPencilRuler),
- /* harmony export */ "faPencilSquare": () => (/* binding */ faPencilSquare),
- /* harmony export */ "faPeopleArrows": () => (/* binding */ faPeopleArrows),
- /* harmony export */ "faPeopleArrowsLeftRight": () => (/* binding */ faPeopleArrowsLeftRight),
- /* harmony export */ "faPeopleCarry": () => (/* binding */ faPeopleCarry),
- /* harmony export */ "faPeopleCarryBox": () => (/* binding */ faPeopleCarryBox),
- /* harmony export */ "faPeopleGroup": () => (/* binding */ faPeopleGroup),
- /* harmony export */ "faPeopleLine": () => (/* binding */ faPeopleLine),
- /* harmony export */ "faPeoplePulling": () => (/* binding */ faPeoplePulling),
- /* harmony export */ "faPeopleRobbery": () => (/* binding */ faPeopleRobbery),
- /* harmony export */ "faPeopleRoof": () => (/* binding */ faPeopleRoof),
- /* harmony export */ "faPepperHot": () => (/* binding */ faPepperHot),
- /* harmony export */ "faPercent": () => (/* binding */ faPercent),
- /* harmony export */ "faPercentage": () => (/* binding */ faPercentage),
- /* harmony export */ "faPerson": () => (/* binding */ faPerson),
- /* harmony export */ "faPersonArrowDownToLine": () => (/* binding */ faPersonArrowDownToLine),
- /* harmony export */ "faPersonArrowUpFromLine": () => (/* binding */ faPersonArrowUpFromLine),
- /* harmony export */ "faPersonBiking": () => (/* binding */ faPersonBiking),
- /* harmony export */ "faPersonBooth": () => (/* binding */ faPersonBooth),
- /* harmony export */ "faPersonBreastfeeding": () => (/* binding */ faPersonBreastfeeding),
- /* harmony export */ "faPersonBurst": () => (/* binding */ faPersonBurst),
- /* harmony export */ "faPersonCane": () => (/* binding */ faPersonCane),
- /* harmony export */ "faPersonChalkboard": () => (/* binding */ faPersonChalkboard),
- /* harmony export */ "faPersonCircleCheck": () => (/* binding */ faPersonCircleCheck),
- /* harmony export */ "faPersonCircleExclamation": () => (/* binding */ faPersonCircleExclamation),
- /* harmony export */ "faPersonCircleMinus": () => (/* binding */ faPersonCircleMinus),
- /* harmony export */ "faPersonCirclePlus": () => (/* binding */ faPersonCirclePlus),
- /* harmony export */ "faPersonCircleQuestion": () => (/* binding */ faPersonCircleQuestion),
- /* harmony export */ "faPersonCircleXmark": () => (/* binding */ faPersonCircleXmark),
- /* harmony export */ "faPersonDigging": () => (/* binding */ faPersonDigging),
- /* harmony export */ "faPersonDotsFromLine": () => (/* binding */ faPersonDotsFromLine),
- /* harmony export */ "faPersonDress": () => (/* binding */ faPersonDress),
- /* harmony export */ "faPersonDressBurst": () => (/* binding */ faPersonDressBurst),
- /* harmony export */ "faPersonDrowning": () => (/* binding */ faPersonDrowning),
- /* harmony export */ "faPersonFalling": () => (/* binding */ faPersonFalling),
- /* harmony export */ "faPersonFallingBurst": () => (/* binding */ faPersonFallingBurst),
- /* harmony export */ "faPersonHalfDress": () => (/* binding */ faPersonHalfDress),
- /* harmony export */ "faPersonHarassing": () => (/* binding */ faPersonHarassing),
- /* harmony export */ "faPersonHiking": () => (/* binding */ faPersonHiking),
- /* harmony export */ "faPersonMilitaryPointing": () => (/* binding */ faPersonMilitaryPointing),
- /* harmony export */ "faPersonMilitaryRifle": () => (/* binding */ faPersonMilitaryRifle),
- /* harmony export */ "faPersonMilitaryToPerson": () => (/* binding */ faPersonMilitaryToPerson),
- /* harmony export */ "faPersonPraying": () => (/* binding */ faPersonPraying),
- /* harmony export */ "faPersonPregnant": () => (/* binding */ faPersonPregnant),
- /* harmony export */ "faPersonRays": () => (/* binding */ faPersonRays),
- /* harmony export */ "faPersonRifle": () => (/* binding */ faPersonRifle),
- /* harmony export */ "faPersonRunning": () => (/* binding */ faPersonRunning),
- /* harmony export */ "faPersonShelter": () => (/* binding */ faPersonShelter),
- /* harmony export */ "faPersonSkating": () => (/* binding */ faPersonSkating),
- /* harmony export */ "faPersonSkiing": () => (/* binding */ faPersonSkiing),
- /* harmony export */ "faPersonSkiingNordic": () => (/* binding */ faPersonSkiingNordic),
- /* harmony export */ "faPersonSnowboarding": () => (/* binding */ faPersonSnowboarding),
- /* harmony export */ "faPersonSwimming": () => (/* binding */ faPersonSwimming),
- /* harmony export */ "faPersonThroughWindow": () => (/* binding */ faPersonThroughWindow),
- /* harmony export */ "faPersonWalking": () => (/* binding */ faPersonWalking),
- /* harmony export */ "faPersonWalkingArrowLoopLeft": () => (/* binding */ faPersonWalkingArrowLoopLeft),
- /* harmony export */ "faPersonWalkingArrowRight": () => (/* binding */ faPersonWalkingArrowRight),
- /* harmony export */ "faPersonWalkingDashedLineArrowRight": () => (/* binding */ faPersonWalkingDashedLineArrowRight),
- /* harmony export */ "faPersonWalkingLuggage": () => (/* binding */ faPersonWalkingLuggage),
- /* harmony export */ "faPersonWalkingWithCane": () => (/* binding */ faPersonWalkingWithCane),
- /* harmony export */ "faPesetaSign": () => (/* binding */ faPesetaSign),
- /* harmony export */ "faPesoSign": () => (/* binding */ faPesoSign),
- /* harmony export */ "faPhone": () => (/* binding */ faPhone),
- /* harmony export */ "faPhoneAlt": () => (/* binding */ faPhoneAlt),
- /* harmony export */ "faPhoneFlip": () => (/* binding */ faPhoneFlip),
- /* harmony export */ "faPhoneSlash": () => (/* binding */ faPhoneSlash),
- /* harmony export */ "faPhoneSquare": () => (/* binding */ faPhoneSquare),
- /* harmony export */ "faPhoneSquareAlt": () => (/* binding */ faPhoneSquareAlt),
- /* harmony export */ "faPhoneVolume": () => (/* binding */ faPhoneVolume),
- /* harmony export */ "faPhotoFilm": () => (/* binding */ faPhotoFilm),
- /* harmony export */ "faPhotoVideo": () => (/* binding */ faPhotoVideo),
- /* harmony export */ "faPieChart": () => (/* binding */ faPieChart),
- /* harmony export */ "faPiggyBank": () => (/* binding */ faPiggyBank),
- /* harmony export */ "faPills": () => (/* binding */ faPills),
- /* harmony export */ "faPingPongPaddleBall": () => (/* binding */ faPingPongPaddleBall),
- /* harmony export */ "faPizzaSlice": () => (/* binding */ faPizzaSlice),
- /* harmony export */ "faPlaceOfWorship": () => (/* binding */ faPlaceOfWorship),
- /* harmony export */ "faPlane": () => (/* binding */ faPlane),
- /* harmony export */ "faPlaneArrival": () => (/* binding */ faPlaneArrival),
- /* harmony export */ "faPlaneCircleCheck": () => (/* binding */ faPlaneCircleCheck),
- /* harmony export */ "faPlaneCircleExclamation": () => (/* binding */ faPlaneCircleExclamation),
- /* harmony export */ "faPlaneCircleXmark": () => (/* binding */ faPlaneCircleXmark),
- /* harmony export */ "faPlaneDeparture": () => (/* binding */ faPlaneDeparture),
- /* harmony export */ "faPlaneLock": () => (/* binding */ faPlaneLock),
- /* harmony export */ "faPlaneSlash": () => (/* binding */ faPlaneSlash),
- /* harmony export */ "faPlaneUp": () => (/* binding */ faPlaneUp),
- /* harmony export */ "faPlantWilt": () => (/* binding */ faPlantWilt),
- /* harmony export */ "faPlateWheat": () => (/* binding */ faPlateWheat),
- /* harmony export */ "faPlay": () => (/* binding */ faPlay),
- /* harmony export */ "faPlayCircle": () => (/* binding */ faPlayCircle),
- /* harmony export */ "faPlug": () => (/* binding */ faPlug),
- /* harmony export */ "faPlugCircleBolt": () => (/* binding */ faPlugCircleBolt),
- /* harmony export */ "faPlugCircleCheck": () => (/* binding */ faPlugCircleCheck),
- /* harmony export */ "faPlugCircleExclamation": () => (/* binding */ faPlugCircleExclamation),
- /* harmony export */ "faPlugCircleMinus": () => (/* binding */ faPlugCircleMinus),
- /* harmony export */ "faPlugCirclePlus": () => (/* binding */ faPlugCirclePlus),
- /* harmony export */ "faPlugCircleXmark": () => (/* binding */ faPlugCircleXmark),
- /* harmony export */ "faPlus": () => (/* binding */ faPlus),
- /* harmony export */ "faPlusCircle": () => (/* binding */ faPlusCircle),
- /* harmony export */ "faPlusMinus": () => (/* binding */ faPlusMinus),
- /* harmony export */ "faPlusSquare": () => (/* binding */ faPlusSquare),
- /* harmony export */ "faPodcast": () => (/* binding */ faPodcast),
- /* harmony export */ "faPoll": () => (/* binding */ faPoll),
- /* harmony export */ "faPollH": () => (/* binding */ faPollH),
- /* harmony export */ "faPoo": () => (/* binding */ faPoo),
- /* harmony export */ "faPooBolt": () => (/* binding */ faPooBolt),
- /* harmony export */ "faPooStorm": () => (/* binding */ faPooStorm),
- /* harmony export */ "faPoop": () => (/* binding */ faPoop),
- /* harmony export */ "faPortrait": () => (/* binding */ faPortrait),
- /* harmony export */ "faPoundSign": () => (/* binding */ faPoundSign),
- /* harmony export */ "faPowerOff": () => (/* binding */ faPowerOff),
- /* harmony export */ "faPray": () => (/* binding */ faPray),
- /* harmony export */ "faPrayingHands": () => (/* binding */ faPrayingHands),
- /* harmony export */ "faPrescription": () => (/* binding */ faPrescription),
- /* harmony export */ "faPrescriptionBottle": () => (/* binding */ faPrescriptionBottle),
- /* harmony export */ "faPrescriptionBottleAlt": () => (/* binding */ faPrescriptionBottleAlt),
- /* harmony export */ "faPrescriptionBottleMedical": () => (/* binding */ faPrescriptionBottleMedical),
- /* harmony export */ "faPrint": () => (/* binding */ faPrint),
- /* harmony export */ "faProcedures": () => (/* binding */ faProcedures),
- /* harmony export */ "faProjectDiagram": () => (/* binding */ faProjectDiagram),
- /* harmony export */ "faPumpMedical": () => (/* binding */ faPumpMedical),
- /* harmony export */ "faPumpSoap": () => (/* binding */ faPumpSoap),
- /* harmony export */ "faPuzzlePiece": () => (/* binding */ faPuzzlePiece),
- /* harmony export */ "faQ": () => (/* binding */ faQ),
- /* harmony export */ "faQrcode": () => (/* binding */ faQrcode),
- /* harmony export */ "faQuestion": () => (/* binding */ faQuestion),
- /* harmony export */ "faQuestionCircle": () => (/* binding */ faQuestionCircle),
- /* harmony export */ "faQuidditch": () => (/* binding */ faQuidditch),
- /* harmony export */ "faQuidditchBroomBall": () => (/* binding */ faQuidditchBroomBall),
- /* harmony export */ "faQuoteLeft": () => (/* binding */ faQuoteLeft),
- /* harmony export */ "faQuoteLeftAlt": () => (/* binding */ faQuoteLeftAlt),
- /* harmony export */ "faQuoteRight": () => (/* binding */ faQuoteRight),
- /* harmony export */ "faQuoteRightAlt": () => (/* binding */ faQuoteRightAlt),
- /* harmony export */ "faQuran": () => (/* binding */ faQuran),
- /* harmony export */ "faR": () => (/* binding */ faR),
- /* harmony export */ "faRadiation": () => (/* binding */ faRadiation),
- /* harmony export */ "faRadiationAlt": () => (/* binding */ faRadiationAlt),
- /* harmony export */ "faRadio": () => (/* binding */ faRadio),
- /* harmony export */ "faRainbow": () => (/* binding */ faRainbow),
- /* harmony export */ "faRandom": () => (/* binding */ faRandom),
- /* harmony export */ "faRankingStar": () => (/* binding */ faRankingStar),
- /* harmony export */ "faReceipt": () => (/* binding */ faReceipt),
- /* harmony export */ "faRecordVinyl": () => (/* binding */ faRecordVinyl),
- /* harmony export */ "faRectangleAd": () => (/* binding */ faRectangleAd),
- /* harmony export */ "faRectangleList": () => (/* binding */ faRectangleList),
- /* harmony export */ "faRectangleTimes": () => (/* binding */ faRectangleTimes),
- /* harmony export */ "faRectangleXmark": () => (/* binding */ faRectangleXmark),
- /* harmony export */ "faRecycle": () => (/* binding */ faRecycle),
- /* harmony export */ "faRedo": () => (/* binding */ faRedo),
- /* harmony export */ "faRedoAlt": () => (/* binding */ faRedoAlt),
- /* harmony export */ "faRefresh": () => (/* binding */ faRefresh),
- /* harmony export */ "faRegistered": () => (/* binding */ faRegistered),
- /* harmony export */ "faRemove": () => (/* binding */ faRemove),
- /* harmony export */ "faRemoveFormat": () => (/* binding */ faRemoveFormat),
- /* harmony export */ "faReorder": () => (/* binding */ faReorder),
- /* harmony export */ "faRepeat": () => (/* binding */ faRepeat),
- /* harmony export */ "faReply": () => (/* binding */ faReply),
- /* harmony export */ "faReplyAll": () => (/* binding */ faReplyAll),
- /* harmony export */ "faRepublican": () => (/* binding */ faRepublican),
- /* harmony export */ "faRestroom": () => (/* binding */ faRestroom),
- /* harmony export */ "faRetweet": () => (/* binding */ faRetweet),
- /* harmony export */ "faRibbon": () => (/* binding */ faRibbon),
- /* harmony export */ "faRightFromBracket": () => (/* binding */ faRightFromBracket),
- /* harmony export */ "faRightLeft": () => (/* binding */ faRightLeft),
- /* harmony export */ "faRightLong": () => (/* binding */ faRightLong),
- /* harmony export */ "faRightToBracket": () => (/* binding */ faRightToBracket),
- /* harmony export */ "faRing": () => (/* binding */ faRing),
- /* harmony export */ "faRmb": () => (/* binding */ faRmb),
- /* harmony export */ "faRoad": () => (/* binding */ faRoad),
- /* harmony export */ "faRoadBarrier": () => (/* binding */ faRoadBarrier),
- /* harmony export */ "faRoadBridge": () => (/* binding */ faRoadBridge),
- /* harmony export */ "faRoadCircleCheck": () => (/* binding */ faRoadCircleCheck),
- /* harmony export */ "faRoadCircleExclamation": () => (/* binding */ faRoadCircleExclamation),
- /* harmony export */ "faRoadCircleXmark": () => (/* binding */ faRoadCircleXmark),
- /* harmony export */ "faRoadLock": () => (/* binding */ faRoadLock),
- /* harmony export */ "faRoadSpikes": () => (/* binding */ faRoadSpikes),
- /* harmony export */ "faRobot": () => (/* binding */ faRobot),
- /* harmony export */ "faRocket": () => (/* binding */ faRocket),
- /* harmony export */ "faRodAsclepius": () => (/* binding */ faRodAsclepius),
- /* harmony export */ "faRodSnake": () => (/* binding */ faRodSnake),
- /* harmony export */ "faRotate": () => (/* binding */ faRotate),
- /* harmony export */ "faRotateBack": () => (/* binding */ faRotateBack),
- /* harmony export */ "faRotateBackward": () => (/* binding */ faRotateBackward),
- /* harmony export */ "faRotateForward": () => (/* binding */ faRotateForward),
- /* harmony export */ "faRotateLeft": () => (/* binding */ faRotateLeft),
- /* harmony export */ "faRotateRight": () => (/* binding */ faRotateRight),
- /* harmony export */ "faRouble": () => (/* binding */ faRouble),
- /* harmony export */ "faRoute": () => (/* binding */ faRoute),
- /* harmony export */ "faRss": () => (/* binding */ faRss),
- /* harmony export */ "faRssSquare": () => (/* binding */ faRssSquare),
- /* harmony export */ "faRub": () => (/* binding */ faRub),
- /* harmony export */ "faRuble": () => (/* binding */ faRuble),
- /* harmony export */ "faRubleSign": () => (/* binding */ faRubleSign),
- /* harmony export */ "faRug": () => (/* binding */ faRug),
- /* harmony export */ "faRuler": () => (/* binding */ faRuler),
- /* harmony export */ "faRulerCombined": () => (/* binding */ faRulerCombined),
- /* harmony export */ "faRulerHorizontal": () => (/* binding */ faRulerHorizontal),
- /* harmony export */ "faRulerVertical": () => (/* binding */ faRulerVertical),
- /* harmony export */ "faRunning": () => (/* binding */ faRunning),
- /* harmony export */ "faRupee": () => (/* binding */ faRupee),
- /* harmony export */ "faRupeeSign": () => (/* binding */ faRupeeSign),
- /* harmony export */ "faRupiahSign": () => (/* binding */ faRupiahSign),
- /* harmony export */ "faS": () => (/* binding */ faS),
- /* harmony export */ "faSackDollar": () => (/* binding */ faSackDollar),
- /* harmony export */ "faSackXmark": () => (/* binding */ faSackXmark),
- /* harmony export */ "faSadCry": () => (/* binding */ faSadCry),
- /* harmony export */ "faSadTear": () => (/* binding */ faSadTear),
- /* harmony export */ "faSailboat": () => (/* binding */ faSailboat),
- /* harmony export */ "faSatellite": () => (/* binding */ faSatellite),
- /* harmony export */ "faSatelliteDish": () => (/* binding */ faSatelliteDish),
- /* harmony export */ "faSave": () => (/* binding */ faSave),
- /* harmony export */ "faScaleBalanced": () => (/* binding */ faScaleBalanced),
- /* harmony export */ "faScaleUnbalanced": () => (/* binding */ faScaleUnbalanced),
- /* harmony export */ "faScaleUnbalancedFlip": () => (/* binding */ faScaleUnbalancedFlip),
- /* harmony export */ "faSchool": () => (/* binding */ faSchool),
- /* harmony export */ "faSchoolCircleCheck": () => (/* binding */ faSchoolCircleCheck),
- /* harmony export */ "faSchoolCircleExclamation": () => (/* binding */ faSchoolCircleExclamation),
- /* harmony export */ "faSchoolCircleXmark": () => (/* binding */ faSchoolCircleXmark),
- /* harmony export */ "faSchoolFlag": () => (/* binding */ faSchoolFlag),
- /* harmony export */ "faSchoolLock": () => (/* binding */ faSchoolLock),
- /* harmony export */ "faScissors": () => (/* binding */ faScissors),
- /* harmony export */ "faScrewdriver": () => (/* binding */ faScrewdriver),
- /* harmony export */ "faScrewdriverWrench": () => (/* binding */ faScrewdriverWrench),
- /* harmony export */ "faScroll": () => (/* binding */ faScroll),
- /* harmony export */ "faScrollTorah": () => (/* binding */ faScrollTorah),
- /* harmony export */ "faSdCard": () => (/* binding */ faSdCard),
- /* harmony export */ "faSearch": () => (/* binding */ faSearch),
- /* harmony export */ "faSearchDollar": () => (/* binding */ faSearchDollar),
- /* harmony export */ "faSearchLocation": () => (/* binding */ faSearchLocation),
- /* harmony export */ "faSearchMinus": () => (/* binding */ faSearchMinus),
- /* harmony export */ "faSearchPlus": () => (/* binding */ faSearchPlus),
- /* harmony export */ "faSection": () => (/* binding */ faSection),
- /* harmony export */ "faSeedling": () => (/* binding */ faSeedling),
- /* harmony export */ "faServer": () => (/* binding */ faServer),
- /* harmony export */ "faShapes": () => (/* binding */ faShapes),
- /* harmony export */ "faShare": () => (/* binding */ faShare),
- /* harmony export */ "faShareAlt": () => (/* binding */ faShareAlt),
- /* harmony export */ "faShareAltSquare": () => (/* binding */ faShareAltSquare),
- /* harmony export */ "faShareFromSquare": () => (/* binding */ faShareFromSquare),
- /* harmony export */ "faShareNodes": () => (/* binding */ faShareNodes),
- /* harmony export */ "faShareSquare": () => (/* binding */ faShareSquare),
- /* harmony export */ "faSheetPlastic": () => (/* binding */ faSheetPlastic),
- /* harmony export */ "faShekel": () => (/* binding */ faShekel),
- /* harmony export */ "faShekelSign": () => (/* binding */ faShekelSign),
- /* harmony export */ "faSheqel": () => (/* binding */ faSheqel),
- /* harmony export */ "faSheqelSign": () => (/* binding */ faSheqelSign),
- /* harmony export */ "faShield": () => (/* binding */ faShield),
- /* harmony export */ "faShieldAlt": () => (/* binding */ faShieldAlt),
- /* harmony export */ "faShieldBlank": () => (/* binding */ faShieldBlank),
- /* harmony export */ "faShieldCat": () => (/* binding */ faShieldCat),
- /* harmony export */ "faShieldDog": () => (/* binding */ faShieldDog),
- /* harmony export */ "faShieldHalved": () => (/* binding */ faShieldHalved),
- /* harmony export */ "faShieldHeart": () => (/* binding */ faShieldHeart),
- /* harmony export */ "faShieldVirus": () => (/* binding */ faShieldVirus),
- /* harmony export */ "faShip": () => (/* binding */ faShip),
- /* harmony export */ "faShippingFast": () => (/* binding */ faShippingFast),
- /* harmony export */ "faShirt": () => (/* binding */ faShirt),
- /* harmony export */ "faShoePrints": () => (/* binding */ faShoePrints),
- /* harmony export */ "faShop": () => (/* binding */ faShop),
- /* harmony export */ "faShopLock": () => (/* binding */ faShopLock),
- /* harmony export */ "faShopSlash": () => (/* binding */ faShopSlash),
- /* harmony export */ "faShoppingBag": () => (/* binding */ faShoppingBag),
- /* harmony export */ "faShoppingBasket": () => (/* binding */ faShoppingBasket),
- /* harmony export */ "faShoppingCart": () => (/* binding */ faShoppingCart),
- /* harmony export */ "faShower": () => (/* binding */ faShower),
- /* harmony export */ "faShrimp": () => (/* binding */ faShrimp),
- /* harmony export */ "faShuffle": () => (/* binding */ faShuffle),
- /* harmony export */ "faShuttleSpace": () => (/* binding */ faShuttleSpace),
- /* harmony export */ "faShuttleVan": () => (/* binding */ faShuttleVan),
- /* harmony export */ "faSign": () => (/* binding */ faSign),
- /* harmony export */ "faSignHanging": () => (/* binding */ faSignHanging),
- /* harmony export */ "faSignIn": () => (/* binding */ faSignIn),
- /* harmony export */ "faSignInAlt": () => (/* binding */ faSignInAlt),
- /* harmony export */ "faSignLanguage": () => (/* binding */ faSignLanguage),
- /* harmony export */ "faSignOut": () => (/* binding */ faSignOut),
- /* harmony export */ "faSignOutAlt": () => (/* binding */ faSignOutAlt),
- /* harmony export */ "faSignal": () => (/* binding */ faSignal),
- /* harmony export */ "faSignal5": () => (/* binding */ faSignal5),
- /* harmony export */ "faSignalPerfect": () => (/* binding */ faSignalPerfect),
- /* harmony export */ "faSignature": () => (/* binding */ faSignature),
- /* harmony export */ "faSigning": () => (/* binding */ faSigning),
- /* harmony export */ "faSignsPost": () => (/* binding */ faSignsPost),
- /* harmony export */ "faSimCard": () => (/* binding */ faSimCard),
- /* harmony export */ "faSink": () => (/* binding */ faSink),
- /* harmony export */ "faSitemap": () => (/* binding */ faSitemap),
- /* harmony export */ "faSkating": () => (/* binding */ faSkating),
- /* harmony export */ "faSkiing": () => (/* binding */ faSkiing),
- /* harmony export */ "faSkiingNordic": () => (/* binding */ faSkiingNordic),
- /* harmony export */ "faSkull": () => (/* binding */ faSkull),
- /* harmony export */ "faSkullCrossbones": () => (/* binding */ faSkullCrossbones),
- /* harmony export */ "faSlash": () => (/* binding */ faSlash),
- /* harmony export */ "faSleigh": () => (/* binding */ faSleigh),
- /* harmony export */ "faSliders": () => (/* binding */ faSliders),
- /* harmony export */ "faSlidersH": () => (/* binding */ faSlidersH),
- /* harmony export */ "faSmile": () => (/* binding */ faSmile),
- /* harmony export */ "faSmileBeam": () => (/* binding */ faSmileBeam),
- /* harmony export */ "faSmileWink": () => (/* binding */ faSmileWink),
- /* harmony export */ "faSmog": () => (/* binding */ faSmog),
- /* harmony export */ "faSmoking": () => (/* binding */ faSmoking),
- /* harmony export */ "faSmokingBan": () => (/* binding */ faSmokingBan),
- /* harmony export */ "faSms": () => (/* binding */ faSms),
- /* harmony export */ "faSnowboarding": () => (/* binding */ faSnowboarding),
- /* harmony export */ "faSnowflake": () => (/* binding */ faSnowflake),
- /* harmony export */ "faSnowman": () => (/* binding */ faSnowman),
- /* harmony export */ "faSnowplow": () => (/* binding */ faSnowplow),
- /* harmony export */ "faSoap": () => (/* binding */ faSoap),
- /* harmony export */ "faSoccerBall": () => (/* binding */ faSoccerBall),
- /* harmony export */ "faSocks": () => (/* binding */ faSocks),
- /* harmony export */ "faSolarPanel": () => (/* binding */ faSolarPanel),
- /* harmony export */ "faSort": () => (/* binding */ faSort),
- /* harmony export */ "faSortAlphaAsc": () => (/* binding */ faSortAlphaAsc),
- /* harmony export */ "faSortAlphaDesc": () => (/* binding */ faSortAlphaDesc),
- /* harmony export */ "faSortAlphaDown": () => (/* binding */ faSortAlphaDown),
- /* harmony export */ "faSortAlphaDownAlt": () => (/* binding */ faSortAlphaDownAlt),
- /* harmony export */ "faSortAlphaUp": () => (/* binding */ faSortAlphaUp),
- /* harmony export */ "faSortAlphaUpAlt": () => (/* binding */ faSortAlphaUpAlt),
- /* harmony export */ "faSortAmountAsc": () => (/* binding */ faSortAmountAsc),
- /* harmony export */ "faSortAmountDesc": () => (/* binding */ faSortAmountDesc),
- /* harmony export */ "faSortAmountDown": () => (/* binding */ faSortAmountDown),
- /* harmony export */ "faSortAmountDownAlt": () => (/* binding */ faSortAmountDownAlt),
- /* harmony export */ "faSortAmountUp": () => (/* binding */ faSortAmountUp),
- /* harmony export */ "faSortAmountUpAlt": () => (/* binding */ faSortAmountUpAlt),
- /* harmony export */ "faSortAsc": () => (/* binding */ faSortAsc),
- /* harmony export */ "faSortDesc": () => (/* binding */ faSortDesc),
- /* harmony export */ "faSortDown": () => (/* binding */ faSortDown),
- /* harmony export */ "faSortNumericAsc": () => (/* binding */ faSortNumericAsc),
- /* harmony export */ "faSortNumericDesc": () => (/* binding */ faSortNumericDesc),
- /* harmony export */ "faSortNumericDown": () => (/* binding */ faSortNumericDown),
- /* harmony export */ "faSortNumericDownAlt": () => (/* binding */ faSortNumericDownAlt),
- /* harmony export */ "faSortNumericUp": () => (/* binding */ faSortNumericUp),
- /* harmony export */ "faSortNumericUpAlt": () => (/* binding */ faSortNumericUpAlt),
- /* harmony export */ "faSortUp": () => (/* binding */ faSortUp),
- /* harmony export */ "faSpa": () => (/* binding */ faSpa),
- /* harmony export */ "faSpaceShuttle": () => (/* binding */ faSpaceShuttle),
- /* harmony export */ "faSpaghettiMonsterFlying": () => (/* binding */ faSpaghettiMonsterFlying),
- /* harmony export */ "faSpellCheck": () => (/* binding */ faSpellCheck),
- /* harmony export */ "faSpider": () => (/* binding */ faSpider),
- /* harmony export */ "faSpinner": () => (/* binding */ faSpinner),
- /* harmony export */ "faSplotch": () => (/* binding */ faSplotch),
- /* harmony export */ "faSpoon": () => (/* binding */ faSpoon),
- /* harmony export */ "faSprayCan": () => (/* binding */ faSprayCan),
- /* harmony export */ "faSprayCanSparkles": () => (/* binding */ faSprayCanSparkles),
- /* harmony export */ "faSprout": () => (/* binding */ faSprout),
- /* harmony export */ "faSquare": () => (/* binding */ faSquare),
- /* harmony export */ "faSquareArrowUpRight": () => (/* binding */ faSquareArrowUpRight),
- /* harmony export */ "faSquareCaretDown": () => (/* binding */ faSquareCaretDown),
- /* harmony export */ "faSquareCaretLeft": () => (/* binding */ faSquareCaretLeft),
- /* harmony export */ "faSquareCaretRight": () => (/* binding */ faSquareCaretRight),
- /* harmony export */ "faSquareCaretUp": () => (/* binding */ faSquareCaretUp),
- /* harmony export */ "faSquareCheck": () => (/* binding */ faSquareCheck),
- /* harmony export */ "faSquareEnvelope": () => (/* binding */ faSquareEnvelope),
- /* harmony export */ "faSquareFull": () => (/* binding */ faSquareFull),
- /* harmony export */ "faSquareH": () => (/* binding */ faSquareH),
- /* harmony export */ "faSquareMinus": () => (/* binding */ faSquareMinus),
- /* harmony export */ "faSquareNfi": () => (/* binding */ faSquareNfi),
- /* harmony export */ "faSquareParking": () => (/* binding */ faSquareParking),
- /* harmony export */ "faSquarePen": () => (/* binding */ faSquarePen),
- /* harmony export */ "faSquarePersonConfined": () => (/* binding */ faSquarePersonConfined),
- /* harmony export */ "faSquarePhone": () => (/* binding */ faSquarePhone),
- /* harmony export */ "faSquarePhoneFlip": () => (/* binding */ faSquarePhoneFlip),
- /* harmony export */ "faSquarePlus": () => (/* binding */ faSquarePlus),
- /* harmony export */ "faSquarePollHorizontal": () => (/* binding */ faSquarePollHorizontal),
- /* harmony export */ "faSquarePollVertical": () => (/* binding */ faSquarePollVertical),
- /* harmony export */ "faSquareRootAlt": () => (/* binding */ faSquareRootAlt),
- /* harmony export */ "faSquareRootVariable": () => (/* binding */ faSquareRootVariable),
- /* harmony export */ "faSquareRss": () => (/* binding */ faSquareRss),
- /* harmony export */ "faSquareShareNodes": () => (/* binding */ faSquareShareNodes),
- /* harmony export */ "faSquareUpRight": () => (/* binding */ faSquareUpRight),
- /* harmony export */ "faSquareVirus": () => (/* binding */ faSquareVirus),
- /* harmony export */ "faSquareXmark": () => (/* binding */ faSquareXmark),
- /* harmony export */ "faStaffAesculapius": () => (/* binding */ faStaffAesculapius),
- /* harmony export */ "faStaffSnake": () => (/* binding */ faStaffSnake),
- /* harmony export */ "faStairs": () => (/* binding */ faStairs),
- /* harmony export */ "faStamp": () => (/* binding */ faStamp),
- /* harmony export */ "faStapler": () => (/* binding */ faStapler),
- /* harmony export */ "faStar": () => (/* binding */ faStar),
- /* harmony export */ "faStarAndCrescent": () => (/* binding */ faStarAndCrescent),
- /* harmony export */ "faStarHalf": () => (/* binding */ faStarHalf),
- /* harmony export */ "faStarHalfAlt": () => (/* binding */ faStarHalfAlt),
- /* harmony export */ "faStarHalfStroke": () => (/* binding */ faStarHalfStroke),
- /* harmony export */ "faStarOfDavid": () => (/* binding */ faStarOfDavid),
- /* harmony export */ "faStarOfLife": () => (/* binding */ faStarOfLife),
- /* harmony export */ "faStepBackward": () => (/* binding */ faStepBackward),
- /* harmony export */ "faStepForward": () => (/* binding */ faStepForward),
- /* harmony export */ "faSterlingSign": () => (/* binding */ faSterlingSign),
- /* harmony export */ "faStethoscope": () => (/* binding */ faStethoscope),
- /* harmony export */ "faStickyNote": () => (/* binding */ faStickyNote),
- /* harmony export */ "faStop": () => (/* binding */ faStop),
- /* harmony export */ "faStopCircle": () => (/* binding */ faStopCircle),
- /* harmony export */ "faStopwatch": () => (/* binding */ faStopwatch),
- /* harmony export */ "faStopwatch20": () => (/* binding */ faStopwatch20),
- /* harmony export */ "faStore": () => (/* binding */ faStore),
- /* harmony export */ "faStoreAlt": () => (/* binding */ faStoreAlt),
- /* harmony export */ "faStoreAltSlash": () => (/* binding */ faStoreAltSlash),
- /* harmony export */ "faStoreSlash": () => (/* binding */ faStoreSlash),
- /* harmony export */ "faStream": () => (/* binding */ faStream),
- /* harmony export */ "faStreetView": () => (/* binding */ faStreetView),
- /* harmony export */ "faStrikethrough": () => (/* binding */ faStrikethrough),
- /* harmony export */ "faStroopwafel": () => (/* binding */ faStroopwafel),
- /* harmony export */ "faSubscript": () => (/* binding */ faSubscript),
- /* harmony export */ "faSubtract": () => (/* binding */ faSubtract),
- /* harmony export */ "faSubway": () => (/* binding */ faSubway),
- /* harmony export */ "faSuitcase": () => (/* binding */ faSuitcase),
- /* harmony export */ "faSuitcaseMedical": () => (/* binding */ faSuitcaseMedical),
- /* harmony export */ "faSuitcaseRolling": () => (/* binding */ faSuitcaseRolling),
- /* harmony export */ "faSun": () => (/* binding */ faSun),
- /* harmony export */ "faSunPlantWilt": () => (/* binding */ faSunPlantWilt),
- /* harmony export */ "faSuperscript": () => (/* binding */ faSuperscript),
- /* harmony export */ "faSurprise": () => (/* binding */ faSurprise),
- /* harmony export */ "faSwatchbook": () => (/* binding */ faSwatchbook),
- /* harmony export */ "faSwimmer": () => (/* binding */ faSwimmer),
- /* harmony export */ "faSwimmingPool": () => (/* binding */ faSwimmingPool),
- /* harmony export */ "faSynagogue": () => (/* binding */ faSynagogue),
- /* harmony export */ "faSync": () => (/* binding */ faSync),
- /* harmony export */ "faSyncAlt": () => (/* binding */ faSyncAlt),
- /* harmony export */ "faSyringe": () => (/* binding */ faSyringe),
- /* harmony export */ "faT": () => (/* binding */ faT),
- /* harmony export */ "faTShirt": () => (/* binding */ faTShirt),
- /* harmony export */ "faTable": () => (/* binding */ faTable),
- /* harmony export */ "faTableCells": () => (/* binding */ faTableCells),
- /* harmony export */ "faTableCellsLarge": () => (/* binding */ faTableCellsLarge),
- /* harmony export */ "faTableColumns": () => (/* binding */ faTableColumns),
- /* harmony export */ "faTableList": () => (/* binding */ faTableList),
- /* harmony export */ "faTableTennis": () => (/* binding */ faTableTennis),
- /* harmony export */ "faTableTennisPaddleBall": () => (/* binding */ faTableTennisPaddleBall),
- /* harmony export */ "faTablet": () => (/* binding */ faTablet),
- /* harmony export */ "faTabletAlt": () => (/* binding */ faTabletAlt),
- /* harmony export */ "faTabletAndroid": () => (/* binding */ faTabletAndroid),
- /* harmony export */ "faTabletButton": () => (/* binding */ faTabletButton),
- /* harmony export */ "faTabletScreenButton": () => (/* binding */ faTabletScreenButton),
- /* harmony export */ "faTablets": () => (/* binding */ faTablets),
- /* harmony export */ "faTachographDigital": () => (/* binding */ faTachographDigital),
- /* harmony export */ "faTachometer": () => (/* binding */ faTachometer),
- /* harmony export */ "faTachometerAlt": () => (/* binding */ faTachometerAlt),
- /* harmony export */ "faTachometerAltAverage": () => (/* binding */ faTachometerAltAverage),
- /* harmony export */ "faTachometerAltFast": () => (/* binding */ faTachometerAltFast),
- /* harmony export */ "faTachometerAverage": () => (/* binding */ faTachometerAverage),
- /* harmony export */ "faTachometerFast": () => (/* binding */ faTachometerFast),
- /* harmony export */ "faTag": () => (/* binding */ faTag),
- /* harmony export */ "faTags": () => (/* binding */ faTags),
- /* harmony export */ "faTanakh": () => (/* binding */ faTanakh),
- /* harmony export */ "faTape": () => (/* binding */ faTape),
- /* harmony export */ "faTarp": () => (/* binding */ faTarp),
- /* harmony export */ "faTarpDroplet": () => (/* binding */ faTarpDroplet),
- /* harmony export */ "faTasks": () => (/* binding */ faTasks),
- /* harmony export */ "faTasksAlt": () => (/* binding */ faTasksAlt),
- /* harmony export */ "faTaxi": () => (/* binding */ faTaxi),
- /* harmony export */ "faTeeth": () => (/* binding */ faTeeth),
- /* harmony export */ "faTeethOpen": () => (/* binding */ faTeethOpen),
- /* harmony export */ "faTeletype": () => (/* binding */ faTeletype),
- /* harmony export */ "faTelevision": () => (/* binding */ faTelevision),
- /* harmony export */ "faTemperature0": () => (/* binding */ faTemperature0),
- /* harmony export */ "faTemperature1": () => (/* binding */ faTemperature1),
- /* harmony export */ "faTemperature2": () => (/* binding */ faTemperature2),
- /* harmony export */ "faTemperature3": () => (/* binding */ faTemperature3),
- /* harmony export */ "faTemperature4": () => (/* binding */ faTemperature4),
- /* harmony export */ "faTemperatureArrowDown": () => (/* binding */ faTemperatureArrowDown),
- /* harmony export */ "faTemperatureArrowUp": () => (/* binding */ faTemperatureArrowUp),
- /* harmony export */ "faTemperatureDown": () => (/* binding */ faTemperatureDown),
- /* harmony export */ "faTemperatureEmpty": () => (/* binding */ faTemperatureEmpty),
- /* harmony export */ "faTemperatureFull": () => (/* binding */ faTemperatureFull),
- /* harmony export */ "faTemperatureHalf": () => (/* binding */ faTemperatureHalf),
- /* harmony export */ "faTemperatureHigh": () => (/* binding */ faTemperatureHigh),
- /* harmony export */ "faTemperatureLow": () => (/* binding */ faTemperatureLow),
- /* harmony export */ "faTemperatureQuarter": () => (/* binding */ faTemperatureQuarter),
- /* harmony export */ "faTemperatureThreeQuarters": () => (/* binding */ faTemperatureThreeQuarters),
- /* harmony export */ "faTemperatureUp": () => (/* binding */ faTemperatureUp),
- /* harmony export */ "faTenge": () => (/* binding */ faTenge),
- /* harmony export */ "faTengeSign": () => (/* binding */ faTengeSign),
- /* harmony export */ "faTent": () => (/* binding */ faTent),
- /* harmony export */ "faTentArrowDownToLine": () => (/* binding */ faTentArrowDownToLine),
- /* harmony export */ "faTentArrowLeftRight": () => (/* binding */ faTentArrowLeftRight),
- /* harmony export */ "faTentArrowTurnLeft": () => (/* binding */ faTentArrowTurnLeft),
- /* harmony export */ "faTentArrowsDown": () => (/* binding */ faTentArrowsDown),
- /* harmony export */ "faTents": () => (/* binding */ faTents),
- /* harmony export */ "faTerminal": () => (/* binding */ faTerminal),
- /* harmony export */ "faTextHeight": () => (/* binding */ faTextHeight),
- /* harmony export */ "faTextSlash": () => (/* binding */ faTextSlash),
- /* harmony export */ "faTextWidth": () => (/* binding */ faTextWidth),
- /* harmony export */ "faTh": () => (/* binding */ faTh),
- /* harmony export */ "faThLarge": () => (/* binding */ faThLarge),
- /* harmony export */ "faThList": () => (/* binding */ faThList),
- /* harmony export */ "faTheaterMasks": () => (/* binding */ faTheaterMasks),
- /* harmony export */ "faThermometer": () => (/* binding */ faThermometer),
- /* harmony export */ "faThermometer0": () => (/* binding */ faThermometer0),
- /* harmony export */ "faThermometer1": () => (/* binding */ faThermometer1),
- /* harmony export */ "faThermometer2": () => (/* binding */ faThermometer2),
- /* harmony export */ "faThermometer3": () => (/* binding */ faThermometer3),
- /* harmony export */ "faThermometer4": () => (/* binding */ faThermometer4),
- /* harmony export */ "faThermometerEmpty": () => (/* binding */ faThermometerEmpty),
- /* harmony export */ "faThermometerFull": () => (/* binding */ faThermometerFull),
- /* harmony export */ "faThermometerHalf": () => (/* binding */ faThermometerHalf),
- /* harmony export */ "faThermometerQuarter": () => (/* binding */ faThermometerQuarter),
- /* harmony export */ "faThermometerThreeQuarters": () => (/* binding */ faThermometerThreeQuarters),
- /* harmony export */ "faThumbTack": () => (/* binding */ faThumbTack),
- /* harmony export */ "faThumbsDown": () => (/* binding */ faThumbsDown),
- /* harmony export */ "faThumbsUp": () => (/* binding */ faThumbsUp),
- /* harmony export */ "faThumbtack": () => (/* binding */ faThumbtack),
- /* harmony export */ "faThunderstorm": () => (/* binding */ faThunderstorm),
- /* harmony export */ "faTicket": () => (/* binding */ faTicket),
- /* harmony export */ "faTicketAlt": () => (/* binding */ faTicketAlt),
- /* harmony export */ "faTicketSimple": () => (/* binding */ faTicketSimple),
- /* harmony export */ "faTimeline": () => (/* binding */ faTimeline),
- /* harmony export */ "faTimes": () => (/* binding */ faTimes),
- /* harmony export */ "faTimesCircle": () => (/* binding */ faTimesCircle),
- /* harmony export */ "faTimesRectangle": () => (/* binding */ faTimesRectangle),
- /* harmony export */ "faTimesSquare": () => (/* binding */ faTimesSquare),
- /* harmony export */ "faTint": () => (/* binding */ faTint),
- /* harmony export */ "faTintSlash": () => (/* binding */ faTintSlash),
- /* harmony export */ "faTired": () => (/* binding */ faTired),
- /* harmony export */ "faToggleOff": () => (/* binding */ faToggleOff),
- /* harmony export */ "faToggleOn": () => (/* binding */ faToggleOn),
- /* harmony export */ "faToilet": () => (/* binding */ faToilet),
- /* harmony export */ "faToiletPaper": () => (/* binding */ faToiletPaper),
- /* harmony export */ "faToiletPaperSlash": () => (/* binding */ faToiletPaperSlash),
- /* harmony export */ "faToiletPortable": () => (/* binding */ faToiletPortable),
- /* harmony export */ "faToiletsPortable": () => (/* binding */ faToiletsPortable),
- /* harmony export */ "faToolbox": () => (/* binding */ faToolbox),
- /* harmony export */ "faTools": () => (/* binding */ faTools),
- /* harmony export */ "faTooth": () => (/* binding */ faTooth),
- /* harmony export */ "faTorah": () => (/* binding */ faTorah),
- /* harmony export */ "faToriiGate": () => (/* binding */ faToriiGate),
- /* harmony export */ "faTornado": () => (/* binding */ faTornado),
- /* harmony export */ "faTowerBroadcast": () => (/* binding */ faTowerBroadcast),
- /* harmony export */ "faTowerCell": () => (/* binding */ faTowerCell),
- /* harmony export */ "faTowerObservation": () => (/* binding */ faTowerObservation),
- /* harmony export */ "faTractor": () => (/* binding */ faTractor),
- /* harmony export */ "faTrademark": () => (/* binding */ faTrademark),
- /* harmony export */ "faTrafficLight": () => (/* binding */ faTrafficLight),
- /* harmony export */ "faTrailer": () => (/* binding */ faTrailer),
- /* harmony export */ "faTrain": () => (/* binding */ faTrain),
- /* harmony export */ "faTrainSubway": () => (/* binding */ faTrainSubway),
- /* harmony export */ "faTrainTram": () => (/* binding */ faTrainTram),
- /* harmony export */ "faTram": () => (/* binding */ faTram),
- /* harmony export */ "faTransgender": () => (/* binding */ faTransgender),
- /* harmony export */ "faTransgenderAlt": () => (/* binding */ faTransgenderAlt),
- /* harmony export */ "faTrash": () => (/* binding */ faTrash),
- /* harmony export */ "faTrashAlt": () => (/* binding */ faTrashAlt),
- /* harmony export */ "faTrashArrowUp": () => (/* binding */ faTrashArrowUp),
- /* harmony export */ "faTrashCan": () => (/* binding */ faTrashCan),
- /* harmony export */ "faTrashCanArrowUp": () => (/* binding */ faTrashCanArrowUp),
- /* harmony export */ "faTrashRestore": () => (/* binding */ faTrashRestore),
- /* harmony export */ "faTrashRestoreAlt": () => (/* binding */ faTrashRestoreAlt),
- /* harmony export */ "faTree": () => (/* binding */ faTree),
- /* harmony export */ "faTreeCity": () => (/* binding */ faTreeCity),
- /* harmony export */ "faTriangleCircleSquare": () => (/* binding */ faTriangleCircleSquare),
- /* harmony export */ "faTriangleExclamation": () => (/* binding */ faTriangleExclamation),
- /* harmony export */ "faTrophy": () => (/* binding */ faTrophy),
- /* harmony export */ "faTrowel": () => (/* binding */ faTrowel),
- /* harmony export */ "faTrowelBricks": () => (/* binding */ faTrowelBricks),
- /* harmony export */ "faTruck": () => (/* binding */ faTruck),
- /* harmony export */ "faTruckArrowRight": () => (/* binding */ faTruckArrowRight),
- /* harmony export */ "faTruckDroplet": () => (/* binding */ faTruckDroplet),
- /* harmony export */ "faTruckFast": () => (/* binding */ faTruckFast),
- /* harmony export */ "faTruckField": () => (/* binding */ faTruckField),
- /* harmony export */ "faTruckFieldUn": () => (/* binding */ faTruckFieldUn),
- /* harmony export */ "faTruckFront": () => (/* binding */ faTruckFront),
- /* harmony export */ "faTruckLoading": () => (/* binding */ faTruckLoading),
- /* harmony export */ "faTruckMedical": () => (/* binding */ faTruckMedical),
- /* harmony export */ "faTruckMonster": () => (/* binding */ faTruckMonster),
- /* harmony export */ "faTruckMoving": () => (/* binding */ faTruckMoving),
- /* harmony export */ "faTruckPickup": () => (/* binding */ faTruckPickup),
- /* harmony export */ "faTruckPlane": () => (/* binding */ faTruckPlane),
- /* harmony export */ "faTruckRampBox": () => (/* binding */ faTruckRampBox),
- /* harmony export */ "faTry": () => (/* binding */ faTry),
- /* harmony export */ "faTshirt": () => (/* binding */ faTshirt),
- /* harmony export */ "faTty": () => (/* binding */ faTty),
- /* harmony export */ "faTurkishLira": () => (/* binding */ faTurkishLira),
- /* harmony export */ "faTurkishLiraSign": () => (/* binding */ faTurkishLiraSign),
- /* harmony export */ "faTurnDown": () => (/* binding */ faTurnDown),
- /* harmony export */ "faTurnUp": () => (/* binding */ faTurnUp),
- /* harmony export */ "faTv": () => (/* binding */ faTv),
- /* harmony export */ "faTvAlt": () => (/* binding */ faTvAlt),
- /* harmony export */ "faU": () => (/* binding */ faU),
- /* harmony export */ "faUmbrella": () => (/* binding */ faUmbrella),
- /* harmony export */ "faUmbrellaBeach": () => (/* binding */ faUmbrellaBeach),
- /* harmony export */ "faUnderline": () => (/* binding */ faUnderline),
- /* harmony export */ "faUndo": () => (/* binding */ faUndo),
- /* harmony export */ "faUndoAlt": () => (/* binding */ faUndoAlt),
- /* harmony export */ "faUniversalAccess": () => (/* binding */ faUniversalAccess),
- /* harmony export */ "faUniversity": () => (/* binding */ faUniversity),
- /* harmony export */ "faUnlink": () => (/* binding */ faUnlink),
- /* harmony export */ "faUnlock": () => (/* binding */ faUnlock),
- /* harmony export */ "faUnlockAlt": () => (/* binding */ faUnlockAlt),
- /* harmony export */ "faUnlockKeyhole": () => (/* binding */ faUnlockKeyhole),
- /* harmony export */ "faUnsorted": () => (/* binding */ faUnsorted),
- /* harmony export */ "faUpDown": () => (/* binding */ faUpDown),
- /* harmony export */ "faUpDownLeftRight": () => (/* binding */ faUpDownLeftRight),
- /* harmony export */ "faUpLong": () => (/* binding */ faUpLong),
- /* harmony export */ "faUpRightAndDownLeftFromCenter": () => (/* binding */ faUpRightAndDownLeftFromCenter),
- /* harmony export */ "faUpRightFromSquare": () => (/* binding */ faUpRightFromSquare),
- /* harmony export */ "faUpload": () => (/* binding */ faUpload),
- /* harmony export */ "faUsd": () => (/* binding */ faUsd),
- /* harmony export */ "faUser": () => (/* binding */ faUser),
- /* harmony export */ "faUserAlt": () => (/* binding */ faUserAlt),
- /* harmony export */ "faUserAltSlash": () => (/* binding */ faUserAltSlash),
- /* harmony export */ "faUserAstronaut": () => (/* binding */ faUserAstronaut),
- /* harmony export */ "faUserCheck": () => (/* binding */ faUserCheck),
- /* harmony export */ "faUserCircle": () => (/* binding */ faUserCircle),
- /* harmony export */ "faUserClock": () => (/* binding */ faUserClock),
- /* harmony export */ "faUserCog": () => (/* binding */ faUserCog),
- /* harmony export */ "faUserDoctor": () => (/* binding */ faUserDoctor),
- /* harmony export */ "faUserEdit": () => (/* binding */ faUserEdit),
- /* harmony export */ "faUserFriends": () => (/* binding */ faUserFriends),
- /* harmony export */ "faUserGear": () => (/* binding */ faUserGear),
- /* harmony export */ "faUserGraduate": () => (/* binding */ faUserGraduate),
- /* harmony export */ "faUserGroup": () => (/* binding */ faUserGroup),
- /* harmony export */ "faUserInjured": () => (/* binding */ faUserInjured),
- /* harmony export */ "faUserLarge": () => (/* binding */ faUserLarge),
- /* harmony export */ "faUserLargeSlash": () => (/* binding */ faUserLargeSlash),
- /* harmony export */ "faUserLock": () => (/* binding */ faUserLock),
- /* harmony export */ "faUserMd": () => (/* binding */ faUserMd),
- /* harmony export */ "faUserMinus": () => (/* binding */ faUserMinus),
- /* harmony export */ "faUserNinja": () => (/* binding */ faUserNinja),
- /* harmony export */ "faUserNurse": () => (/* binding */ faUserNurse),
- /* harmony export */ "faUserPen": () => (/* binding */ faUserPen),
- /* harmony export */ "faUserPlus": () => (/* binding */ faUserPlus),
- /* harmony export */ "faUserSecret": () => (/* binding */ faUserSecret),
- /* harmony export */ "faUserShield": () => (/* binding */ faUserShield),
- /* harmony export */ "faUserSlash": () => (/* binding */ faUserSlash),
- /* harmony export */ "faUserTag": () => (/* binding */ faUserTag),
- /* harmony export */ "faUserTie": () => (/* binding */ faUserTie),
- /* harmony export */ "faUserTimes": () => (/* binding */ faUserTimes),
- /* harmony export */ "faUserXmark": () => (/* binding */ faUserXmark),
- /* harmony export */ "faUsers": () => (/* binding */ faUsers),
- /* harmony export */ "faUsersBetweenLines": () => (/* binding */ faUsersBetweenLines),
- /* harmony export */ "faUsersCog": () => (/* binding */ faUsersCog),
- /* harmony export */ "faUsersGear": () => (/* binding */ faUsersGear),
- /* harmony export */ "faUsersLine": () => (/* binding */ faUsersLine),
- /* harmony export */ "faUsersRays": () => (/* binding */ faUsersRays),
- /* harmony export */ "faUsersRectangle": () => (/* binding */ faUsersRectangle),
- /* harmony export */ "faUsersSlash": () => (/* binding */ faUsersSlash),
- /* harmony export */ "faUsersViewfinder": () => (/* binding */ faUsersViewfinder),
- /* harmony export */ "faUtensilSpoon": () => (/* binding */ faUtensilSpoon),
- /* harmony export */ "faUtensils": () => (/* binding */ faUtensils),
- /* harmony export */ "faV": () => (/* binding */ faV),
- /* harmony export */ "faVanShuttle": () => (/* binding */ faVanShuttle),
- /* harmony export */ "faVault": () => (/* binding */ faVault),
- /* harmony export */ "faVcard": () => (/* binding */ faVcard),
- /* harmony export */ "faVectorSquare": () => (/* binding */ faVectorSquare),
- /* harmony export */ "faVenus": () => (/* binding */ faVenus),
- /* harmony export */ "faVenusDouble": () => (/* binding */ faVenusDouble),
- /* harmony export */ "faVenusMars": () => (/* binding */ faVenusMars),
- /* harmony export */ "faVest": () => (/* binding */ faVest),
- /* harmony export */ "faVestPatches": () => (/* binding */ faVestPatches),
- /* harmony export */ "faVial": () => (/* binding */ faVial),
- /* harmony export */ "faVialCircleCheck": () => (/* binding */ faVialCircleCheck),
- /* harmony export */ "faVialVirus": () => (/* binding */ faVialVirus),
- /* harmony export */ "faVials": () => (/* binding */ faVials),
- /* harmony export */ "faVideo": () => (/* binding */ faVideo),
- /* harmony export */ "faVideoCamera": () => (/* binding */ faVideoCamera),
- /* harmony export */ "faVideoSlash": () => (/* binding */ faVideoSlash),
- /* harmony export */ "faVihara": () => (/* binding */ faVihara),
- /* harmony export */ "faVirus": () => (/* binding */ faVirus),
- /* harmony export */ "faVirusCovid": () => (/* binding */ faVirusCovid),
- /* harmony export */ "faVirusCovidSlash": () => (/* binding */ faVirusCovidSlash),
- /* harmony export */ "faVirusSlash": () => (/* binding */ faVirusSlash),
- /* harmony export */ "faViruses": () => (/* binding */ faViruses),
- /* harmony export */ "faVoicemail": () => (/* binding */ faVoicemail),
- /* harmony export */ "faVolcano": () => (/* binding */ faVolcano),
- /* harmony export */ "faVolleyball": () => (/* binding */ faVolleyball),
- /* harmony export */ "faVolleyballBall": () => (/* binding */ faVolleyballBall),
- /* harmony export */ "faVolumeControlPhone": () => (/* binding */ faVolumeControlPhone),
- /* harmony export */ "faVolumeDown": () => (/* binding */ faVolumeDown),
- /* harmony export */ "faVolumeHigh": () => (/* binding */ faVolumeHigh),
- /* harmony export */ "faVolumeLow": () => (/* binding */ faVolumeLow),
- /* harmony export */ "faVolumeMute": () => (/* binding */ faVolumeMute),
- /* harmony export */ "faVolumeOff": () => (/* binding */ faVolumeOff),
- /* harmony export */ "faVolumeTimes": () => (/* binding */ faVolumeTimes),
- /* harmony export */ "faVolumeUp": () => (/* binding */ faVolumeUp),
- /* harmony export */ "faVolumeXmark": () => (/* binding */ faVolumeXmark),
- /* harmony export */ "faVoteYea": () => (/* binding */ faVoteYea),
- /* harmony export */ "faVrCardboard": () => (/* binding */ faVrCardboard),
- /* harmony export */ "faW": () => (/* binding */ faW),
- /* harmony export */ "faWalkieTalkie": () => (/* binding */ faWalkieTalkie),
- /* harmony export */ "faWalking": () => (/* binding */ faWalking),
- /* harmony export */ "faWallet": () => (/* binding */ faWallet),
- /* harmony export */ "faWandMagic": () => (/* binding */ faWandMagic),
- /* harmony export */ "faWandMagicSparkles": () => (/* binding */ faWandMagicSparkles),
- /* harmony export */ "faWandSparkles": () => (/* binding */ faWandSparkles),
- /* harmony export */ "faWarehouse": () => (/* binding */ faWarehouse),
- /* harmony export */ "faWarning": () => (/* binding */ faWarning),
- /* harmony export */ "faWater": () => (/* binding */ faWater),
- /* harmony export */ "faWaterLadder": () => (/* binding */ faWaterLadder),
- /* harmony export */ "faWaveSquare": () => (/* binding */ faWaveSquare),
- /* harmony export */ "faWeight": () => (/* binding */ faWeight),
- /* harmony export */ "faWeightHanging": () => (/* binding */ faWeightHanging),
- /* harmony export */ "faWeightScale": () => (/* binding */ faWeightScale),
- /* harmony export */ "faWheatAlt": () => (/* binding */ faWheatAlt),
- /* harmony export */ "faWheatAwn": () => (/* binding */ faWheatAwn),
- /* harmony export */ "faWheatAwnCircleExclamation": () => (/* binding */ faWheatAwnCircleExclamation),
- /* harmony export */ "faWheelchair": () => (/* binding */ faWheelchair),
- /* harmony export */ "faWheelchairAlt": () => (/* binding */ faWheelchairAlt),
- /* harmony export */ "faWheelchairMove": () => (/* binding */ faWheelchairMove),
- /* harmony export */ "faWhiskeyGlass": () => (/* binding */ faWhiskeyGlass),
- /* harmony export */ "faWifi": () => (/* binding */ faWifi),
- /* harmony export */ "faWifi3": () => (/* binding */ faWifi3),
- /* harmony export */ "faWifiStrong": () => (/* binding */ faWifiStrong),
- /* harmony export */ "faWind": () => (/* binding */ faWind),
- /* harmony export */ "faWindowClose": () => (/* binding */ faWindowClose),
- /* harmony export */ "faWindowMaximize": () => (/* binding */ faWindowMaximize),
- /* harmony export */ "faWindowMinimize": () => (/* binding */ faWindowMinimize),
- /* harmony export */ "faWindowRestore": () => (/* binding */ faWindowRestore),
- /* harmony export */ "faWineBottle": () => (/* binding */ faWineBottle),
- /* harmony export */ "faWineGlass": () => (/* binding */ faWineGlass),
- /* harmony export */ "faWineGlassAlt": () => (/* binding */ faWineGlassAlt),
- /* harmony export */ "faWineGlassEmpty": () => (/* binding */ faWineGlassEmpty),
- /* harmony export */ "faWon": () => (/* binding */ faWon),
- /* harmony export */ "faWonSign": () => (/* binding */ faWonSign),
- /* harmony export */ "faWorm": () => (/* binding */ faWorm),
- /* harmony export */ "faWrench": () => (/* binding */ faWrench),
- /* harmony export */ "faX": () => (/* binding */ faX),
- /* harmony export */ "faXRay": () => (/* binding */ faXRay),
- /* harmony export */ "faXmark": () => (/* binding */ faXmark),
- /* harmony export */ "faXmarkCircle": () => (/* binding */ faXmarkCircle),
- /* harmony export */ "faXmarkSquare": () => (/* binding */ faXmarkSquare),
- /* harmony export */ "faXmarksLines": () => (/* binding */ faXmarksLines),
- /* harmony export */ "faY": () => (/* binding */ faY),
- /* harmony export */ "faYen": () => (/* binding */ faYen),
- /* harmony export */ "faYenSign": () => (/* binding */ faYenSign),
- /* harmony export */ "faYinYang": () => (/* binding */ faYinYang),
- /* harmony export */ "faZ": () => (/* binding */ faZ),
- /* harmony export */ "faZap": () => (/* binding */ faZap),
- /* harmony export */ "fas": () => (/* binding */ icons),
- /* harmony export */ "prefix": () => (/* binding */ prefix)
- /* harmony export */ });
- var prefix = "fas";
- var fa0 = {
- prefix: 'fas',
- iconName: '0',
- 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"]
- };
- var fa1 = {
- prefix: 'fas',
- iconName: '1',
- 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"]
- };
- var fa2 = {
- prefix: 'fas',
- iconName: '2',
- 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"]
- };
- var fa3 = {
- prefix: 'fas',
- iconName: '3',
- 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"]
- };
- var fa4 = {
- prefix: 'fas',
- iconName: '4',
- 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"]
- };
- var fa5 = {
- prefix: 'fas',
- iconName: '5',
- 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"]
- };
- var fa6 = {
- prefix: 'fas',
- iconName: '6',
- 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"]
- };
- var fa7 = {
- prefix: 'fas',
- iconName: '7',
- 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"]
- };
- var fa8 = {
- prefix: 'fas',
- iconName: '8',
- 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"]
- };
- var fa9 = {
- prefix: 'fas',
- iconName: '9',
- 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"]
- };
- var faFillDrip = {
- prefix: 'fas',
- iconName: 'fill-drip',
- 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"]
- };
- var faArrowsToCircle = {
- prefix: 'fas',
- iconName: 'arrows-to-circle',
- 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"]
- };
- var faCircleChevronRight = {
- prefix: 'fas',
- iconName: 'circle-chevron-right',
- 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"]
- };
- var faChevronCircleRight = faCircleChevronRight;
- var faAt = {
- prefix: 'fas',
- iconName: 'at',
- 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"]
- };
- var faTrashCan = {
- prefix: 'fas',
- iconName: 'trash-can',
- 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"]
- };
- var faTrashAlt = faTrashCan;
- var faTextHeight = {
- prefix: 'fas',
- iconName: 'text-height',
- 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"]
- };
- var faUserXmark = {
- prefix: 'fas',
- iconName: 'user-xmark',
- 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"]
- };
- var faUserTimes = faUserXmark;
- var faStethoscope = {
- prefix: 'fas',
- iconName: 'stethoscope',
- 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"]
- };
- var faMessage = {
- prefix: 'fas',
- iconName: 'message',
- 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"]
- };
- var faCommentAlt = faMessage;
- var faInfo = {
- prefix: 'fas',
- iconName: 'info',
- 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"]
- };
- var faDownLeftAndUpRightToCenter = {
- prefix: 'fas',
- iconName: 'down-left-and-up-right-to-center',
- 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"]
- };
- var faCompressAlt = faDownLeftAndUpRightToCenter;
- var faExplosion = {
- prefix: 'fas',
- iconName: 'explosion',
- 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"]
- };
- var faFileLines = {
- prefix: 'fas',
- iconName: 'file-lines',
- 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"]
- };
- var faFileAlt = faFileLines;
- var faFileText = faFileLines;
- var faWaveSquare = {
- prefix: 'fas',
- iconName: 'wave-square',
- 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"]
- };
- var faRing = {
- prefix: 'fas',
- iconName: 'ring',
- 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"]
- };
- var faBuildingUn = {
- prefix: 'fas',
- iconName: 'building-un',
- 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"]
- };
- var faDiceThree = {
- prefix: 'fas',
- iconName: 'dice-three',
- 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"]
- };
- var faCalendarDays = {
- prefix: 'fas',
- iconName: 'calendar-days',
- 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"]
- };
- var faCalendarAlt = faCalendarDays;
- var faAnchorCircleCheck = {
- prefix: 'fas',
- iconName: 'anchor-circle-check',
- 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"]
- };
- var faBuildingCircleArrowRight = {
- prefix: 'fas',
- iconName: 'building-circle-arrow-right',
- 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"]
- };
- var faVolleyball = {
- prefix: 'fas',
- iconName: 'volleyball',
- 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"]
- };
- var faVolleyballBall = faVolleyball;
- var faArrowsUpToLine = {
- prefix: 'fas',
- iconName: 'arrows-up-to-line',
- 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"]
- };
- var faSortDown = {
- prefix: 'fas',
- iconName: 'sort-down',
- 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"]
- };
- var faSortDesc = faSortDown;
- var faCircleMinus = {
- prefix: 'fas',
- iconName: 'circle-minus',
- 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"]
- };
- var faMinusCircle = faCircleMinus;
- var faDoorOpen = {
- prefix: 'fas',
- iconName: 'door-open',
- 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"]
- };
- var faRightFromBracket = {
- prefix: 'fas',
- iconName: 'right-from-bracket',
- 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"]
- };
- var faSignOutAlt = faRightFromBracket;
- var faAtom = {
- prefix: 'fas',
- iconName: 'atom',
- 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"]
- };
- var faSoap = {
- prefix: 'fas',
- iconName: 'soap',
- 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"]
- };
- var faIcons = {
- prefix: 'fas',
- iconName: 'icons',
- 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"]
- };
- var faHeartMusicCameraBolt = faIcons;
- var faMicrophoneLinesSlash = {
- prefix: 'fas',
- iconName: 'microphone-lines-slash',
- 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"]
- };
- var faMicrophoneAltSlash = faMicrophoneLinesSlash;
- var faBridgeCircleCheck = {
- prefix: 'fas',
- iconName: 'bridge-circle-check',
- 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"]
- };
- var faPumpMedical = {
- prefix: 'fas',
- iconName: 'pump-medical',
- 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"]
- };
- var faFingerprint = {
- prefix: 'fas',
- iconName: 'fingerprint',
- 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"]
- };
- var faHandPointRight = {
- prefix: 'fas',
- iconName: 'hand-point-right',
- 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"]
- };
- var faMagnifyingGlassLocation = {
- prefix: 'fas',
- iconName: 'magnifying-glass-location',
- 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"]
- };
- var faSearchLocation = faMagnifyingGlassLocation;
- var faForwardStep = {
- prefix: 'fas',
- iconName: 'forward-step',
- 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"]
- };
- var faStepForward = faForwardStep;
- var faFaceSmileBeam = {
- prefix: 'fas',
- iconName: 'face-smile-beam',
- 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"]
- };
- var faSmileBeam = faFaceSmileBeam;
- var faFlagCheckered = {
- prefix: 'fas',
- iconName: 'flag-checkered',
- 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"]
- };
- var faFootball = {
- prefix: 'fas',
- iconName: 'football',
- 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"]
- };
- var faFootballBall = faFootball;
- var faSchoolCircleExclamation = {
- prefix: 'fas',
- iconName: 'school-circle-exclamation',
- 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"]
- };
- var faCrop = {
- prefix: 'fas',
- iconName: 'crop',
- 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"]
- };
- var faAnglesDown = {
- prefix: 'fas',
- iconName: 'angles-down',
- 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"]
- };
- var faAngleDoubleDown = faAnglesDown;
- var faUsersRectangle = {
- prefix: 'fas',
- iconName: 'users-rectangle',
- 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"]
- };
- var faPeopleRoof = {
- prefix: 'fas',
- iconName: 'people-roof',
- 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"]
- };
- var faPeopleLine = {
- prefix: 'fas',
- iconName: 'people-line',
- 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"]
- };
- var faBeerMugEmpty = {
- prefix: 'fas',
- iconName: 'beer-mug-empty',
- 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"]
- };
- var faBeer = faBeerMugEmpty;
- var faDiagramPredecessor = {
- prefix: 'fas',
- iconName: 'diagram-predecessor',
- 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"]
- };
- var faArrowUpLong = {
- prefix: 'fas',
- iconName: 'arrow-up-long',
- 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"]
- };
- var faLongArrowUp = faArrowUpLong;
- var faFireFlameSimple = {
- prefix: 'fas',
- iconName: 'fire-flame-simple',
- 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"]
- };
- var faBurn = faFireFlameSimple;
- var faPerson = {
- prefix: 'fas',
- iconName: 'person',
- 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"]
- };
- var faMale = faPerson;
- var faLaptop = {
- prefix: 'fas',
- iconName: 'laptop',
- 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"]
- };
- var faFileCsv = {
- prefix: 'fas',
- iconName: 'file-csv',
- 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"]
- };
- var faMenorah = {
- prefix: 'fas',
- iconName: 'menorah',
- 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"]
- };
- var faTruckPlane = {
- prefix: 'fas',
- iconName: 'truck-plane',
- 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"]
- };
- var faRecordVinyl = {
- prefix: 'fas',
- iconName: 'record-vinyl',
- 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"]
- };
- var faFaceGrinStars = {
- prefix: 'fas',
- iconName: 'face-grin-stars',
- 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"]
- };
- var faGrinStars = faFaceGrinStars;
- var faBong = {
- prefix: 'fas',
- iconName: 'bong',
- 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"]
- };
- var faSpaghettiMonsterFlying = {
- prefix: 'fas',
- iconName: 'spaghetti-monster-flying',
- 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"]
- };
- var faPastafarianism = faSpaghettiMonsterFlying;
- var faArrowDownUpAcrossLine = {
- prefix: 'fas',
- iconName: 'arrow-down-up-across-line',
- 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"]
- };
- var faSpoon = {
- prefix: 'fas',
- iconName: 'spoon',
- 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"]
- };
- var faUtensilSpoon = faSpoon;
- var faJarWheat = {
- prefix: 'fas',
- iconName: 'jar-wheat',
- 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"]
- };
- var faEnvelopesBulk = {
- prefix: 'fas',
- iconName: 'envelopes-bulk',
- 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"]
- };
- var faMailBulk = faEnvelopesBulk;
- var faFileCircleExclamation = {
- prefix: 'fas',
- iconName: 'file-circle-exclamation',
- 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"]
- };
- var faCircleH = {
- prefix: 'fas',
- iconName: 'circle-h',
- 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"]
- };
- var faHospitalSymbol = faCircleH;
- var faPager = {
- prefix: 'fas',
- iconName: 'pager',
- 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"]
- };
- var faAddressBook = {
- prefix: 'fas',
- iconName: 'address-book',
- 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"]
- };
- var faContactBook = faAddressBook;
- var faStrikethrough = {
- prefix: 'fas',
- iconName: 'strikethrough',
- 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"]
- };
- var faK = {
- prefix: 'fas',
- iconName: 'k',
- 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"]
- };
- var faLandmarkFlag = {
- prefix: 'fas',
- iconName: 'landmark-flag',
- 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"]
- };
- var faPencil = {
- prefix: 'fas',
- iconName: 'pencil',
- 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"]
- };
- var faPencilAlt = faPencil;
- var faBackward = {
- prefix: 'fas',
- iconName: 'backward',
- 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"]
- };
- var faCaretRight = {
- prefix: 'fas',
- iconName: 'caret-right',
- 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"]
- };
- var faComments = {
- prefix: 'fas',
- iconName: 'comments',
- 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"]
- };
- var faPaste = {
- prefix: 'fas',
- iconName: 'paste',
- 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"]
- };
- var faFileClipboard = faPaste;
- var faCodePullRequest = {
- prefix: 'fas',
- iconName: 'code-pull-request',
- 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"]
- };
- var faClipboardList = {
- prefix: 'fas',
- iconName: 'clipboard-list',
- 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"]
- };
- var faTruckRampBox = {
- prefix: 'fas',
- iconName: 'truck-ramp-box',
- 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"]
- };
- var faTruckLoading = faTruckRampBox;
- var faUserCheck = {
- prefix: 'fas',
- iconName: 'user-check',
- 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"]
- };
- var faVialVirus = {
- prefix: 'fas',
- iconName: 'vial-virus',
- 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"]
- };
- var faSheetPlastic = {
- prefix: 'fas',
- iconName: 'sheet-plastic',
- 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"]
- };
- var faBlog = {
- prefix: 'fas',
- iconName: 'blog',
- 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"]
- };
- var faUserNinja = {
- prefix: 'fas',
- iconName: 'user-ninja',
- 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"]
- };
- var faPersonArrowUpFromLine = {
- prefix: 'fas',
- iconName: 'person-arrow-up-from-line',
- 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"]
- };
- var faScrollTorah = {
- prefix: 'fas',
- iconName: 'scroll-torah',
- 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"]
- };
- var faTorah = faScrollTorah;
- var faBroomBall = {
- prefix: 'fas',
- iconName: 'broom-ball',
- 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"]
- };
- var faQuidditch = faBroomBall;
- var faQuidditchBroomBall = faBroomBall;
- var faToggleOff = {
- prefix: 'fas',
- iconName: 'toggle-off',
- 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"]
- };
- var faBoxArchive = {
- prefix: 'fas',
- iconName: 'box-archive',
- 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"]
- };
- var faArchive = faBoxArchive;
- var faPersonDrowning = {
- prefix: 'fas',
- iconName: 'person-drowning',
- 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"]
- };
- var faArrowDown91 = {
- prefix: 'fas',
- iconName: 'arrow-down-9-1',
- 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"]
- };
- var faSortNumericDesc = faArrowDown91;
- var faSortNumericDownAlt = faArrowDown91;
- var faFaceGrinTongueSquint = {
- prefix: 'fas',
- iconName: 'face-grin-tongue-squint',
- 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"]
- };
- var faGrinTongueSquint = faFaceGrinTongueSquint;
- var faSprayCan = {
- prefix: 'fas',
- iconName: 'spray-can',
- 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"]
- };
- var faTruckMonster = {
- prefix: 'fas',
- iconName: 'truck-monster',
- 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"]
- };
- var faW = {
- prefix: 'fas',
- iconName: 'w',
- 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"]
- };
- var faEarthAfrica = {
- prefix: 'fas',
- iconName: 'earth-africa',
- 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"]
- };
- var faGlobeAfrica = faEarthAfrica;
- var faRainbow = {
- prefix: 'fas',
- iconName: 'rainbow',
- 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"]
- };
- var faCircleNotch = {
- prefix: 'fas',
- iconName: 'circle-notch',
- 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"]
- };
- var faTabletScreenButton = {
- prefix: 'fas',
- iconName: 'tablet-screen-button',
- 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"]
- };
- var faTabletAlt = faTabletScreenButton;
- var faPaw = {
- prefix: 'fas',
- iconName: 'paw',
- 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"]
- };
- var faCloud = {
- prefix: 'fas',
- iconName: 'cloud',
- 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"]
- };
- var faTrowelBricks = {
- prefix: 'fas',
- iconName: 'trowel-bricks',
- 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"]
- };
- var faFaceFlushed = {
- prefix: 'fas',
- iconName: 'face-flushed',
- 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"]
- };
- var faFlushed = faFaceFlushed;
- var faHospitalUser = {
- prefix: 'fas',
- iconName: 'hospital-user',
- 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"]
- };
- var faTentArrowLeftRight = {
- prefix: 'fas',
- iconName: 'tent-arrow-left-right',
- 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"]
- };
- var faGavel = {
- prefix: 'fas',
- iconName: 'gavel',
- 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"]
- };
- var faLegal = faGavel;
- var faBinoculars = {
- prefix: 'fas',
- iconName: 'binoculars',
- 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"]
- };
- var faMicrophoneSlash = {
- prefix: 'fas',
- iconName: 'microphone-slash',
- 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"]
- };
- var faBoxTissue = {
- prefix: 'fas',
- iconName: 'box-tissue',
- 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"]
- };
- var faMotorcycle = {
- prefix: 'fas',
- iconName: 'motorcycle',
- 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"]
- };
- var faBellConcierge = {
- prefix: 'fas',
- iconName: 'bell-concierge',
- 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"]
- };
- var faConciergeBell = faBellConcierge;
- var faPenRuler = {
- prefix: 'fas',
- iconName: 'pen-ruler',
- 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"]
- };
- var faPencilRuler = faPenRuler;
- var faPeopleArrows = {
- prefix: 'fas',
- iconName: 'people-arrows',
- 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"]
- };
- var faPeopleArrowsLeftRight = faPeopleArrows;
- var faMarsAndVenusBurst = {
- prefix: 'fas',
- iconName: 'mars-and-venus-burst',
- 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"]
- };
- var faSquareCaretRight = {
- prefix: 'fas',
- iconName: 'square-caret-right',
- 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"]
- };
- var faCaretSquareRight = faSquareCaretRight;
- var faScissors = {
- prefix: 'fas',
- iconName: 'scissors',
- 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"]
- };
- var faCut = faScissors;
- var faSunPlantWilt = {
- prefix: 'fas',
- iconName: 'sun-plant-wilt',
- 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"]
- };
- var faToiletsPortable = {
- prefix: 'fas',
- iconName: 'toilets-portable',
- 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"]
- };
- var faHockeyPuck = {
- prefix: 'fas',
- iconName: 'hockey-puck',
- 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"]
- };
- var faTable = {
- prefix: 'fas',
- iconName: 'table',
- 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"]
- };
- var faMagnifyingGlassArrowRight = {
- prefix: 'fas',
- iconName: 'magnifying-glass-arrow-right',
- 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"]
- };
- var faTachographDigital = {
- prefix: 'fas',
- iconName: 'tachograph-digital',
- 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"]
- };
- var faDigitalTachograph = faTachographDigital;
- var faUsersSlash = {
- prefix: 'fas',
- iconName: 'users-slash',
- 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"]
- };
- var faClover = {
- prefix: 'fas',
- iconName: 'clover',
- 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"]
- };
- var faReply = {
- prefix: 'fas',
- iconName: 'reply',
- 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"]
- };
- var faMailReply = faReply;
- var faStarAndCrescent = {
- prefix: 'fas',
- iconName: 'star-and-crescent',
- 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"]
- };
- var faHouseFire = {
- prefix: 'fas',
- iconName: 'house-fire',
- 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"]
- };
- var faSquareMinus = {
- prefix: 'fas',
- iconName: 'square-minus',
- 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"]
- };
- var faMinusSquare = faSquareMinus;
- var faHelicopter = {
- prefix: 'fas',
- iconName: 'helicopter',
- 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"]
- };
- var faCompass = {
- prefix: 'fas',
- iconName: 'compass',
- 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"]
- };
- var faSquareCaretDown = {
- prefix: 'fas',
- iconName: 'square-caret-down',
- 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"]
- };
- var faCaretSquareDown = faSquareCaretDown;
- var faFileCircleQuestion = {
- prefix: 'fas',
- iconName: 'file-circle-question',
- 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"]
- };
- var faLaptopCode = {
- prefix: 'fas',
- iconName: 'laptop-code',
- 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"]
- };
- var faSwatchbook = {
- prefix: 'fas',
- iconName: 'swatchbook',
- 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"]
- };
- var faPrescriptionBottle = {
- prefix: 'fas',
- iconName: 'prescription-bottle',
- 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"]
- };
- var faBars = {
- prefix: 'fas',
- iconName: 'bars',
- 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"]
- };
- var faNavicon = faBars;
- var faPeopleGroup = {
- prefix: 'fas',
- iconName: 'people-group',
- 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"]
- };
- var faHourglassEnd = {
- prefix: 'fas',
- iconName: 'hourglass-end',
- 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"]
- };
- var faHourglass3 = faHourglassEnd;
- var faHeartCrack = {
- prefix: 'fas',
- iconName: 'heart-crack',
- 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"]
- };
- var faHeartBroken = faHeartCrack;
- var faSquareUpRight = {
- prefix: 'fas',
- iconName: 'square-up-right',
- 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"]
- };
- var faExternalLinkSquareAlt = faSquareUpRight;
- var faFaceKissBeam = {
- prefix: 'fas',
- iconName: 'face-kiss-beam',
- 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"]
- };
- var faKissBeam = faFaceKissBeam;
- var faFilm = {
- prefix: 'fas',
- iconName: 'film',
- 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"]
- };
- var faRulerHorizontal = {
- prefix: 'fas',
- iconName: 'ruler-horizontal',
- 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"]
- };
- var faPeopleRobbery = {
- prefix: 'fas',
- iconName: 'people-robbery',
- 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"]
- };
- var faLightbulb = {
- prefix: 'fas',
- iconName: 'lightbulb',
- 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"]
- };
- var faCaretLeft = {
- prefix: 'fas',
- iconName: 'caret-left',
- 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"]
- };
- var faCircleExclamation = {
- prefix: 'fas',
- iconName: 'circle-exclamation',
- 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"]
- };
- var faExclamationCircle = faCircleExclamation;
- var faSchoolCircleXmark = {
- prefix: 'fas',
- iconName: 'school-circle-xmark',
- 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"]
- };
- var faArrowRightFromBracket = {
- prefix: 'fas',
- iconName: 'arrow-right-from-bracket',
- 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"]
- };
- var faSignOut = faArrowRightFromBracket;
- var faCircleChevronDown = {
- prefix: 'fas',
- iconName: 'circle-chevron-down',
- 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"]
- };
- var faChevronCircleDown = faCircleChevronDown;
- var faUnlockKeyhole = {
- prefix: 'fas',
- iconName: 'unlock-keyhole',
- 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"]
- };
- var faUnlockAlt = faUnlockKeyhole;
- var faCloudShowersHeavy = {
- prefix: 'fas',
- iconName: 'cloud-showers-heavy',
- 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"]
- };
- var faHeadphonesSimple = {
- prefix: 'fas',
- iconName: 'headphones-simple',
- 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"]
- };
- var faHeadphonesAlt = faHeadphonesSimple;
- var faSitemap = {
- prefix: 'fas',
- iconName: 'sitemap',
- 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"]
- };
- var faCircleDollarToSlot = {
- prefix: 'fas',
- iconName: 'circle-dollar-to-slot',
- 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"]
- };
- var faDonate = faCircleDollarToSlot;
- var faMemory = {
- prefix: 'fas',
- iconName: 'memory',
- 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"]
- };
- var faRoadSpikes = {
- prefix: 'fas',
- iconName: 'road-spikes',
- 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"]
- };
- var faFireBurner = {
- prefix: 'fas',
- iconName: 'fire-burner',
- 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"]
- };
- var faFlag = {
- prefix: 'fas',
- iconName: 'flag',
- 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"]
- };
- var faHanukiah = {
- prefix: 'fas',
- iconName: 'hanukiah',
- 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"]
- };
- var faFeather = {
- prefix: 'fas',
- iconName: 'feather',
- 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"]
- };
- var faVolumeLow = {
- prefix: 'fas',
- iconName: 'volume-low',
- 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"]
- };
- var faVolumeDown = faVolumeLow;
- var faCommentSlash = {
- prefix: 'fas',
- iconName: 'comment-slash',
- 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"]
- };
- var faCloudSunRain = {
- prefix: 'fas',
- iconName: 'cloud-sun-rain',
- 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"]
- };
- var faCompress = {
- prefix: 'fas',
- iconName: 'compress',
- 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"]
- };
- var faWheatAwn = {
- prefix: 'fas',
- iconName: 'wheat-awn',
- 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"]
- };
- var faWheatAlt = faWheatAwn;
- var faAnkh = {
- prefix: 'fas',
- iconName: 'ankh',
- 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"]
- };
- var faHandsHoldingChild = {
- prefix: 'fas',
- iconName: 'hands-holding-child',
- 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"]
- };
- var faAsterisk = {
- prefix: 'fas',
- iconName: 'asterisk',
- 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"]
- };
- var faSquareCheck = {
- prefix: 'fas',
- iconName: 'square-check',
- 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"]
- };
- var faCheckSquare = faSquareCheck;
- var faPesetaSign = {
- prefix: 'fas',
- iconName: 'peseta-sign',
- 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"]
- };
- var faHeading = {
- prefix: 'fas',
- iconName: 'heading',
- 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"]
- };
- var faHeader = faHeading;
- var faGhost = {
- prefix: 'fas',
- iconName: 'ghost',
- 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"]
- };
- var faList = {
- prefix: 'fas',
- iconName: 'list',
- 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"]
- };
- var faListSquares = faList;
- var faSquarePhoneFlip = {
- prefix: 'fas',
- iconName: 'square-phone-flip',
- 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"]
- };
- var faPhoneSquareAlt = faSquarePhoneFlip;
- var faCartPlus = {
- prefix: 'fas',
- iconName: 'cart-plus',
- 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"]
- };
- var faGamepad = {
- prefix: 'fas',
- iconName: 'gamepad',
- 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"]
- };
- var faCircleDot = {
- prefix: 'fas',
- iconName: 'circle-dot',
- 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"]
- };
- var faDotCircle = faCircleDot;
- var faFaceDizzy = {
- prefix: 'fas',
- iconName: 'face-dizzy',
- 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"]
- };
- var faDizzy = faFaceDizzy;
- var faEgg = {
- prefix: 'fas',
- iconName: 'egg',
- 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"]
- };
- var faHouseMedicalCircleXmark = {
- prefix: 'fas',
- iconName: 'house-medical-circle-xmark',
- 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"]
- };
- var faCampground = {
- prefix: 'fas',
- iconName: 'campground',
- 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"]
- };
- var faFolderPlus = {
- prefix: 'fas',
- iconName: 'folder-plus',
- 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"]
- };
- var faFutbol = {
- prefix: 'fas',
- iconName: 'futbol',
- 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"]
- };
- var faFutbolBall = faFutbol;
- var faSoccerBall = faFutbol;
- var faPaintbrush = {
- prefix: 'fas',
- iconName: 'paintbrush',
- 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"]
- };
- var faPaintBrush = faPaintbrush;
- var faLock = {
- prefix: 'fas',
- iconName: 'lock',
- 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"]
- };
- var faGasPump = {
- prefix: 'fas',
- iconName: 'gas-pump',
- 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"]
- };
- var faHotTubPerson = {
- prefix: 'fas',
- iconName: 'hot-tub-person',
- 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"]
- };
- var faHotTub = faHotTubPerson;
- var faMapLocation = {
- prefix: 'fas',
- iconName: 'map-location',
- 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"]
- };
- var faMapMarked = faMapLocation;
- var faHouseFloodWater = {
- prefix: 'fas',
- iconName: 'house-flood-water',
- 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"]
- };
- var faTree = {
- prefix: 'fas',
- iconName: 'tree',
- 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"]
- };
- var faBridgeLock = {
- prefix: 'fas',
- iconName: 'bridge-lock',
- 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"]
- };
- var faSackDollar = {
- prefix: 'fas',
- iconName: 'sack-dollar',
- 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"]
- };
- var faPenToSquare = {
- prefix: 'fas',
- iconName: 'pen-to-square',
- 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"]
- };
- var faEdit = faPenToSquare;
- var faCarSide = {
- prefix: 'fas',
- iconName: 'car-side',
- 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"]
- };
- var faShareNodes = {
- prefix: 'fas',
- iconName: 'share-nodes',
- 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"]
- };
- var faShareAlt = faShareNodes;
- var faHeartCircleMinus = {
- prefix: 'fas',
- iconName: 'heart-circle-minus',
- 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"]
- };
- var faHourglassHalf = {
- prefix: 'fas',
- iconName: 'hourglass-half',
- 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"]
- };
- var faHourglass2 = faHourglassHalf;
- var faMicroscope = {
- prefix: 'fas',
- iconName: 'microscope',
- 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"]
- };
- var faSink = {
- prefix: 'fas',
- iconName: 'sink',
- 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"]
- };
- var faBagShopping = {
- prefix: 'fas',
- iconName: 'bag-shopping',
- 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"]
- };
- var faShoppingBag = faBagShopping;
- var faArrowDownZA = {
- prefix: 'fas',
- iconName: 'arrow-down-z-a',
- 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"]
- };
- var faSortAlphaDesc = faArrowDownZA;
- var faSortAlphaDownAlt = faArrowDownZA;
- var faMitten = {
- prefix: 'fas',
- iconName: 'mitten',
- 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"]
- };
- var faPersonRays = {
- prefix: 'fas',
- iconName: 'person-rays',
- 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"]
- };
- var faUsers = {
- prefix: 'fas',
- iconName: 'users',
- 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"]
- };
- var faEyeSlash = {
- prefix: 'fas',
- iconName: 'eye-slash',
- 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"]
- };
- var faFlaskVial = {
- prefix: 'fas',
- iconName: 'flask-vial',
- 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"]
- };
- var faHand = {
- prefix: 'fas',
- iconName: 'hand',
- 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"]
- };
- var faHandPaper = faHand;
- var faOm = {
- prefix: 'fas',
- iconName: 'om',
- 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"]
- };
- var faWorm = {
- prefix: 'fas',
- iconName: 'worm',
- 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"]
- };
- var faHouseCircleXmark = {
- prefix: 'fas',
- iconName: 'house-circle-xmark',
- 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"]
- };
- var faPlug = {
- prefix: 'fas',
- iconName: 'plug',
- 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"]
- };
- var faChevronUp = {
- prefix: 'fas',
- iconName: 'chevron-up',
- 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"]
- };
- var faHandSpock = {
- prefix: 'fas',
- iconName: 'hand-spock',
- 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"]
- };
- var faStopwatch = {
- prefix: 'fas',
- iconName: 'stopwatch',
- 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"]
- };
- var faFaceKiss = {
- prefix: 'fas',
- iconName: 'face-kiss',
- 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"]
- };
- var faKiss = faFaceKiss;
- var faBridgeCircleXmark = {
- prefix: 'fas',
- iconName: 'bridge-circle-xmark',
- 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"]
- };
- var faFaceGrinTongue = {
- prefix: 'fas',
- iconName: 'face-grin-tongue',
- 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"]
- };
- var faGrinTongue = faFaceGrinTongue;
- var faChessBishop = {
- prefix: 'fas',
- iconName: 'chess-bishop',
- 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"]
- };
- var faFaceGrinWink = {
- prefix: 'fas',
- iconName: 'face-grin-wink',
- 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"]
- };
- var faGrinWink = faFaceGrinWink;
- var faEarDeaf = {
- prefix: 'fas',
- iconName: 'ear-deaf',
- 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"]
- };
- var faDeaf = faEarDeaf;
- var faDeafness = faEarDeaf;
- var faHardOfHearing = faEarDeaf;
- var faRoadCircleCheck = {
- prefix: 'fas',
- iconName: 'road-circle-check',
- 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"]
- };
- var faDiceFive = {
- prefix: 'fas',
- iconName: 'dice-five',
- 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"]
- };
- var faSquareRss = {
- prefix: 'fas',
- iconName: 'square-rss',
- 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"]
- };
- var faRssSquare = faSquareRss;
- var faLandMineOn = {
- prefix: 'fas',
- iconName: 'land-mine-on',
- 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"]
- };
- var faICursor = {
- prefix: 'fas',
- iconName: 'i-cursor',
- 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"]
- };
- var faStamp = {
- prefix: 'fas',
- iconName: 'stamp',
- 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"]
- };
- var faStairs = {
- prefix: 'fas',
- iconName: 'stairs',
- 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"]
- };
- var faI = {
- prefix: 'fas',
- iconName: 'i',
- 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"]
- };
- var faHryvniaSign = {
- prefix: 'fas',
- iconName: 'hryvnia-sign',
- 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"]
- };
- var faHryvnia = faHryvniaSign;
- var faPills = {
- prefix: 'fas',
- iconName: 'pills',
- 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"]
- };
- var faFaceGrinWide = {
- prefix: 'fas',
- iconName: 'face-grin-wide',
- 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"]
- };
- var faGrinAlt = faFaceGrinWide;
- var faTooth = {
- prefix: 'fas',
- iconName: 'tooth',
- 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"]
- };
- var faV = {
- prefix: 'fas',
- iconName: 'v',
- 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"]
- };
- var faBicycle = {
- prefix: 'fas',
- iconName: 'bicycle',
- 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"]
- };
- var faStaffSnake = {
- prefix: 'fas',
- iconName: 'staff-snake',
- 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"]
- };
- var faRodAsclepius = faStaffSnake;
- var faRodSnake = faStaffSnake;
- var faStaffAesculapius = faStaffSnake;
- var faHeadSideCoughSlash = {
- prefix: 'fas',
- iconName: 'head-side-cough-slash',
- 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"]
- };
- var faTruckMedical = {
- prefix: 'fas',
- iconName: 'truck-medical',
- 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"]
- };
- var faAmbulance = faTruckMedical;
- var faWheatAwnCircleExclamation = {
- prefix: 'fas',
- iconName: 'wheat-awn-circle-exclamation',
- 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"]
- };
- var faSnowman = {
- prefix: 'fas',
- iconName: 'snowman',
- 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"]
- };
- var faMortarPestle = {
- prefix: 'fas',
- iconName: 'mortar-pestle',
- 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"]
- };
- var faRoadBarrier = {
- prefix: 'fas',
- iconName: 'road-barrier',
- 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"]
- };
- var faSchool = {
- prefix: 'fas',
- iconName: 'school',
- 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"]
- };
- var faIgloo = {
- prefix: 'fas',
- iconName: 'igloo',
- 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"]
- };
- var faJoint = {
- prefix: 'fas',
- iconName: 'joint',
- 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"]
- };
- var faAngleRight = {
- prefix: 'fas',
- iconName: 'angle-right',
- 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"]
- };
- var faHorse = {
- prefix: 'fas',
- iconName: 'horse',
- 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"]
- };
- var faQ = {
- prefix: 'fas',
- iconName: 'q',
- 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"]
- };
- var faG = {
- prefix: 'fas',
- iconName: 'g',
- 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"]
- };
- var faNotesMedical = {
- prefix: 'fas',
- iconName: 'notes-medical',
- 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"]
- };
- var faTemperatureHalf = {
- prefix: 'fas',
- iconName: 'temperature-half',
- 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"]
- };
- var faTemperature2 = faTemperatureHalf;
- var faThermometer2 = faTemperatureHalf;
- var faThermometerHalf = faTemperatureHalf;
- var faDongSign = {
- prefix: 'fas',
- iconName: 'dong-sign',
- 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"]
- };
- var faCapsules = {
- prefix: 'fas',
- iconName: 'capsules',
- 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"]
- };
- var faPooStorm = {
- prefix: 'fas',
- iconName: 'poo-storm',
- 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"]
- };
- var faPooBolt = faPooStorm;
- var faFaceFrownOpen = {
- prefix: 'fas',
- iconName: 'face-frown-open',
- 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"]
- };
- var faFrownOpen = faFaceFrownOpen;
- var faHandPointUp = {
- prefix: 'fas',
- iconName: 'hand-point-up',
- 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"]
- };
- var faMoneyBill = {
- prefix: 'fas',
- iconName: 'money-bill',
- 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"]
- };
- var faBookmark = {
- prefix: 'fas',
- iconName: 'bookmark',
- 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"]
- };
- var faAlignJustify = {
- prefix: 'fas',
- iconName: 'align-justify',
- 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"]
- };
- var faUmbrellaBeach = {
- prefix: 'fas',
- iconName: 'umbrella-beach',
- 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"]
- };
- var faHelmetUn = {
- prefix: 'fas',
- iconName: 'helmet-un',
- 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"]
- };
- var faBullseye = {
- prefix: 'fas',
- iconName: 'bullseye',
- 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"]
- };
- var faBacon = {
- prefix: 'fas',
- iconName: 'bacon',
- 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"]
- };
- var faHandPointDown = {
- prefix: 'fas',
- iconName: 'hand-point-down',
- 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"]
- };
- var faArrowUpFromBracket = {
- prefix: 'fas',
- iconName: 'arrow-up-from-bracket',
- 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"]
- };
- var faFolder = {
- prefix: 'fas',
- iconName: 'folder',
- 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"]
- };
- var faFolderBlank = faFolder;
- var faFileWaveform = {
- prefix: 'fas',
- iconName: 'file-waveform',
- 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"]
- };
- var faFileMedicalAlt = faFileWaveform;
- var faRadiation = {
- prefix: 'fas',
- iconName: 'radiation',
- 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"]
- };
- var faChartSimple = {
- prefix: 'fas',
- iconName: 'chart-simple',
- 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"]
- };
- var faMarsStroke = {
- prefix: 'fas',
- iconName: 'mars-stroke',
- 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"]
- };
- var faVial = {
- prefix: 'fas',
- iconName: 'vial',
- 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"]
- };
- var faGauge = {
- prefix: 'fas',
- iconName: 'gauge',
- 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"]
- };
- var faDashboard = faGauge;
- var faGaugeMed = faGauge;
- var faTachometerAltAverage = faGauge;
- var faWandMagicSparkles = {
- prefix: 'fas',
- iconName: 'wand-magic-sparkles',
- 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"]
- };
- var faMagicWandSparkles = faWandMagicSparkles;
- var faE = {
- prefix: 'fas',
- iconName: 'e',
- 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"]
- };
- var faPenClip = {
- prefix: 'fas',
- iconName: 'pen-clip',
- 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"]
- };
- var faPenAlt = faPenClip;
- var faBridgeCircleExclamation = {
- prefix: 'fas',
- iconName: 'bridge-circle-exclamation',
- 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"]
- };
- var faUser = {
- prefix: 'fas',
- iconName: 'user',
- 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"]
- };
- var faSchoolCircleCheck = {
- prefix: 'fas',
- iconName: 'school-circle-check',
- 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"]
- };
- var faDumpster = {
- prefix: 'fas',
- iconName: 'dumpster',
- 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"]
- };
- var faVanShuttle = {
- prefix: 'fas',
- iconName: 'van-shuttle',
- 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"]
- };
- var faShuttleVan = faVanShuttle;
- var faBuildingUser = {
- prefix: 'fas',
- iconName: 'building-user',
- 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"]
- };
- var faSquareCaretLeft = {
- prefix: 'fas',
- iconName: 'square-caret-left',
- 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"]
- };
- var faCaretSquareLeft = faSquareCaretLeft;
- var faHighlighter = {
- prefix: 'fas',
- iconName: 'highlighter',
- 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"]
- };
- var faKey = {
- prefix: 'fas',
- iconName: 'key',
- 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"]
- };
- var faBullhorn = {
- prefix: 'fas',
- iconName: 'bullhorn',
- 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"]
- };
- var faGlobe = {
- prefix: 'fas',
- iconName: 'globe',
- 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"]
- };
- var faSynagogue = {
- prefix: 'fas',
- iconName: 'synagogue',
- 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"]
- };
- var faPersonHalfDress = {
- prefix: 'fas',
- iconName: 'person-half-dress',
- 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"]
- };
- var faRoadBridge = {
- prefix: 'fas',
- iconName: 'road-bridge',
- 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"]
- };
- var faLocationArrow = {
- prefix: 'fas',
- iconName: 'location-arrow',
- 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"]
- };
- var faC = {
- prefix: 'fas',
- iconName: 'c',
- 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"]
- };
- var faTabletButton = {
- prefix: 'fas',
- iconName: 'tablet-button',
- 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"]
- };
- var faBuildingLock = {
- prefix: 'fas',
- iconName: 'building-lock',
- 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"]
- };
- var faPizzaSlice = {
- prefix: 'fas',
- iconName: 'pizza-slice',
- 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"]
- };
- var faMoneyBillWave = {
- prefix: 'fas',
- iconName: 'money-bill-wave',
- 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"]
- };
- var faChartArea = {
- prefix: 'fas',
- iconName: 'chart-area',
- 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"]
- };
- var faAreaChart = faChartArea;
- var faHouseFlag = {
- prefix: 'fas',
- iconName: 'house-flag',
- 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"]
- };
- var faPersonCircleMinus = {
- prefix: 'fas',
- iconName: 'person-circle-minus',
- 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"]
- };
- var faBan = {
- prefix: 'fas',
- iconName: 'ban',
- 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"]
- };
- var faCancel = faBan;
- var faCameraRotate = {
- prefix: 'fas',
- iconName: 'camera-rotate',
- 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"]
- };
- var faSprayCanSparkles = {
- prefix: 'fas',
- iconName: 'spray-can-sparkles',
- 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"]
- };
- var faAirFreshener = faSprayCanSparkles;
- var faStar = {
- prefix: 'fas',
- iconName: 'star',
- 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"]
- };
- var faRepeat = {
- prefix: 'fas',
- iconName: 'repeat',
- 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"]
- };
- var faCross = {
- prefix: 'fas',
- iconName: 'cross',
- 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"]
- };
- var faBox = {
- prefix: 'fas',
- iconName: 'box',
- 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"]
- };
- var faVenusMars = {
- prefix: 'fas',
- iconName: 'venus-mars',
- 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"]
- };
- var faArrowPointer = {
- prefix: 'fas',
- iconName: 'arrow-pointer',
- 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"]
- };
- var faMousePointer = faArrowPointer;
- var faMaximize = {
- prefix: 'fas',
- iconName: 'maximize',
- 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"]
- };
- var faExpandArrowsAlt = faMaximize;
- var faChargingStation = {
- prefix: 'fas',
- iconName: 'charging-station',
- 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"]
- };
- var faShapes = {
- prefix: 'fas',
- iconName: 'shapes',
- 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"]
- };
- var faTriangleCircleSquare = faShapes;
- var faShuffle = {
- prefix: 'fas',
- iconName: 'shuffle',
- 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"]
- };
- var faRandom = faShuffle;
- var faPersonRunning = {
- prefix: 'fas',
- iconName: 'person-running',
- 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"]
- };
- var faRunning = faPersonRunning;
- var faMobileRetro = {
- prefix: 'fas',
- iconName: 'mobile-retro',
- 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"]
- };
- var faGripLinesVertical = {
- prefix: 'fas',
- iconName: 'grip-lines-vertical',
- 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"]
- };
- var faSpider = {
- prefix: 'fas',
- iconName: 'spider',
- 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"]
- };
- var faHandsBound = {
- prefix: 'fas',
- iconName: 'hands-bound',
- 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"]
- };
- var faFileInvoiceDollar = {
- prefix: 'fas',
- iconName: 'file-invoice-dollar',
- 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"]
- };
- var faPlaneCircleExclamation = {
- prefix: 'fas',
- iconName: 'plane-circle-exclamation',
- 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"]
- };
- var faXRay = {
- prefix: 'fas',
- iconName: 'x-ray',
- 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"]
- };
- var faSpellCheck = {
- prefix: 'fas',
- iconName: 'spell-check',
- 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"]
- };
- var faSlash = {
- prefix: 'fas',
- iconName: 'slash',
- 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"]
- };
- var faComputerMouse = {
- prefix: 'fas',
- iconName: 'computer-mouse',
- 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"]
- };
- var faMouse = faComputerMouse;
- var faArrowRightToBracket = {
- prefix: 'fas',
- iconName: 'arrow-right-to-bracket',
- 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"]
- };
- var faSignIn = faArrowRightToBracket;
- var faShopSlash = {
- prefix: 'fas',
- iconName: 'shop-slash',
- 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"]
- };
- var faStoreAltSlash = faShopSlash;
- var faServer = {
- prefix: 'fas',
- iconName: 'server',
- 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"]
- };
- var faVirusCovidSlash = {
- prefix: 'fas',
- iconName: 'virus-covid-slash',
- 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"]
- };
- var faShopLock = {
- prefix: 'fas',
- iconName: 'shop-lock',
- 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"]
- };
- var faHourglassStart = {
- prefix: 'fas',
- iconName: 'hourglass-start',
- 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"]
- };
- var faHourglass1 = faHourglassStart;
- var faBlenderPhone = {
- prefix: 'fas',
- iconName: 'blender-phone',
- 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"]
- };
- var faBuildingWheat = {
- prefix: 'fas',
- iconName: 'building-wheat',
- 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"]
- };
- var faPersonBreastfeeding = {
- prefix: 'fas',
- iconName: 'person-breastfeeding',
- 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"]
- };
- var faRightToBracket = {
- prefix: 'fas',
- iconName: 'right-to-bracket',
- 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"]
- };
- var faSignInAlt = faRightToBracket;
- var faVenus = {
- prefix: 'fas',
- iconName: 'venus',
- 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"]
- };
- var faPassport = {
- prefix: 'fas',
- iconName: 'passport',
- 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"]
- };
- var faHeartPulse = {
- prefix: 'fas',
- iconName: 'heart-pulse',
- 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"]
- };
- var faHeartbeat = faHeartPulse;
- var faPeopleCarryBox = {
- prefix: 'fas',
- iconName: 'people-carry-box',
- 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"]
- };
- var faPeopleCarry = faPeopleCarryBox;
- var faTemperatureHigh = {
- prefix: 'fas',
- iconName: 'temperature-high',
- 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"]
- };
- var faMicrochip = {
- prefix: 'fas',
- iconName: 'microchip',
- 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"]
- };
- var faCrown = {
- prefix: 'fas',
- iconName: 'crown',
- 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"]
- };
- var faWeightHanging = {
- prefix: 'fas',
- iconName: 'weight-hanging',
- 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"]
- };
- var faXmarksLines = {
- prefix: 'fas',
- iconName: 'xmarks-lines',
- 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"]
- };
- var faFilePrescription = {
- prefix: 'fas',
- iconName: 'file-prescription',
- 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"]
- };
- var faWeightScale = {
- prefix: 'fas',
- iconName: 'weight-scale',
- 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"]
- };
- var faWeight = faWeightScale;
- var faUserGroup = {
- prefix: 'fas',
- iconName: 'user-group',
- 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"]
- };
- var faUserFriends = faUserGroup;
- var faArrowUpAZ = {
- prefix: 'fas',
- iconName: 'arrow-up-a-z',
- 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"]
- };
- var faSortAlphaUp = faArrowUpAZ;
- var faChessKnight = {
- prefix: 'fas',
- iconName: 'chess-knight',
- 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"]
- };
- var faFaceLaughSquint = {
- prefix: 'fas',
- iconName: 'face-laugh-squint',
- 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"]
- };
- var faLaughSquint = faFaceLaughSquint;
- var faWheelchair = {
- prefix: 'fas',
- iconName: 'wheelchair',
- 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"]
- };
- var faCircleArrowUp = {
- prefix: 'fas',
- iconName: 'circle-arrow-up',
- 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"]
- };
- var faArrowCircleUp = faCircleArrowUp;
- var faToggleOn = {
- prefix: 'fas',
- iconName: 'toggle-on',
- 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"]
- };
- var faPersonWalking = {
- prefix: 'fas',
- iconName: 'person-walking',
- 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"]
- };
- var faWalking = faPersonWalking;
- var faL = {
- prefix: 'fas',
- iconName: 'l',
- 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"]
- };
- var faFire = {
- prefix: 'fas',
- iconName: 'fire',
- 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"]
- };
- var faBedPulse = {
- prefix: 'fas',
- iconName: 'bed-pulse',
- 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"]
- };
- var faProcedures = faBedPulse;
- var faShuttleSpace = {
- prefix: 'fas',
- iconName: 'shuttle-space',
- 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"]
- };
- var faSpaceShuttle = faShuttleSpace;
- var faFaceLaugh = {
- prefix: 'fas',
- iconName: 'face-laugh',
- 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"]
- };
- var faLaugh = faFaceLaugh;
- var faFolderOpen = {
- prefix: 'fas',
- iconName: 'folder-open',
- 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"]
- };
- var faHeartCirclePlus = {
- prefix: 'fas',
- iconName: 'heart-circle-plus',
- 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"]
- };
- var faCodeFork = {
- prefix: 'fas',
- iconName: 'code-fork',
- 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"]
- };
- var faCity = {
- prefix: 'fas',
- iconName: 'city',
- 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"]
- };
- var faMicrophoneLines = {
- prefix: 'fas',
- iconName: 'microphone-lines',
- 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"]
- };
- var faMicrophoneAlt = faMicrophoneLines;
- var faPepperHot = {
- prefix: 'fas',
- iconName: 'pepper-hot',
- 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"]
- };
- var faUnlock = {
- prefix: 'fas',
- iconName: 'unlock',
- 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"]
- };
- var faColonSign = {
- prefix: 'fas',
- iconName: 'colon-sign',
- 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"]
- };
- var faHeadset = {
- prefix: 'fas',
- iconName: 'headset',
- 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"]
- };
- var faStoreSlash = {
- prefix: 'fas',
- iconName: 'store-slash',
- 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"]
- };
- var faRoadCircleXmark = {
- prefix: 'fas',
- iconName: 'road-circle-xmark',
- 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"]
- };
- var faUserMinus = {
- prefix: 'fas',
- iconName: 'user-minus',
- 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"]
- };
- var faMarsStrokeUp = {
- prefix: 'fas',
- iconName: 'mars-stroke-up',
- 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"]
- };
- var faMarsStrokeV = faMarsStrokeUp;
- var faChampagneGlasses = {
- prefix: 'fas',
- iconName: 'champagne-glasses',
- 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"]
- };
- var faGlassCheers = faChampagneGlasses;
- var faClipboard = {
- prefix: 'fas',
- iconName: 'clipboard',
- 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"]
- };
- var faHouseCircleExclamation = {
- prefix: 'fas',
- iconName: 'house-circle-exclamation',
- 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"]
- };
- var faFileArrowUp = {
- prefix: 'fas',
- iconName: 'file-arrow-up',
- 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"]
- };
- var faFileUpload = faFileArrowUp;
- var faWifi = {
- prefix: 'fas',
- iconName: 'wifi',
- 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"]
- };
- var faWifi3 = faWifi;
- var faWifiStrong = faWifi;
- var faBath = {
- prefix: 'fas',
- iconName: 'bath',
- 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"]
- };
- var faBathtub = faBath;
- var faUnderline = {
- prefix: 'fas',
- iconName: 'underline',
- 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"]
- };
- var faUserPen = {
- prefix: 'fas',
- iconName: 'user-pen',
- 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"]
- };
- var faUserEdit = faUserPen;
- var faSignature = {
- prefix: 'fas',
- iconName: 'signature',
- 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"]
- };
- var faStroopwafel = {
- prefix: 'fas',
- iconName: 'stroopwafel',
- 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"]
- };
- var faBold = {
- prefix: 'fas',
- iconName: 'bold',
- 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"]
- };
- var faAnchorLock = {
- prefix: 'fas',
- iconName: 'anchor-lock',
- 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"]
- };
- var faBuildingNgo = {
- prefix: 'fas',
- iconName: 'building-ngo',
- 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"]
- };
- var faManatSign = {
- prefix: 'fas',
- iconName: 'manat-sign',
- 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"]
- };
- var faNotEqual = {
- prefix: 'fas',
- iconName: 'not-equal',
- 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"]
- };
- var faBorderTopLeft = {
- prefix: 'fas',
- iconName: 'border-top-left',
- 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"]
- };
- var faBorderStyle = faBorderTopLeft;
- var faMapLocationDot = {
- prefix: 'fas',
- iconName: 'map-location-dot',
- 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"]
- };
- var faMapMarkedAlt = faMapLocationDot;
- var faJedi = {
- prefix: 'fas',
- iconName: 'jedi',
- 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"]
- };
- var faSquarePollVertical = {
- prefix: 'fas',
- iconName: 'square-poll-vertical',
- 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"]
- };
- var faPoll = faSquarePollVertical;
- var faMugHot = {
- prefix: 'fas',
- iconName: 'mug-hot',
- 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"]
- };
- var faCarBattery = {
- prefix: 'fas',
- iconName: 'car-battery',
- 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"]
- };
- var faBatteryCar = faCarBattery;
- var faGift = {
- prefix: 'fas',
- iconName: 'gift',
- 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"]
- };
- var faDiceTwo = {
- prefix: 'fas',
- iconName: 'dice-two',
- 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"]
- };
- var faChessQueen = {
- prefix: 'fas',
- iconName: 'chess-queen',
- 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"]
- };
- var faGlasses = {
- prefix: 'fas',
- iconName: 'glasses',
- 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"]
- };
- var faChessBoard = {
- prefix: 'fas',
- iconName: 'chess-board',
- 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"]
- };
- var faBuildingCircleCheck = {
- prefix: 'fas',
- iconName: 'building-circle-check',
- 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"]
- };
- var faPersonChalkboard = {
- prefix: 'fas',
- iconName: 'person-chalkboard',
- 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"]
- };
- var faMarsStrokeRight = {
- prefix: 'fas',
- iconName: 'mars-stroke-right',
- 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"]
- };
- var faMarsStrokeH = faMarsStrokeRight;
- var faHandBackFist = {
- prefix: 'fas',
- iconName: 'hand-back-fist',
- 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"]
- };
- var faHandRock = faHandBackFist;
- var faSquareCaretUp = {
- prefix: 'fas',
- iconName: 'square-caret-up',
- 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"]
- };
- var faCaretSquareUp = faSquareCaretUp;
- var faCloudShowersWater = {
- prefix: 'fas',
- iconName: 'cloud-showers-water',
- 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"]
- };
- var faChartBar = {
- prefix: 'fas',
- iconName: 'chart-bar',
- 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"]
- };
- var faBarChart = faChartBar;
- var faHandsBubbles = {
- prefix: 'fas',
- iconName: 'hands-bubbles',
- 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"]
- };
- var faHandsWash = faHandsBubbles;
- var faLessThanEqual = {
- prefix: 'fas',
- iconName: 'less-than-equal',
- 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"]
- };
- var faTrain = {
- prefix: 'fas',
- iconName: 'train',
- 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"]
- };
- var faEyeLowVision = {
- prefix: 'fas',
- iconName: 'eye-low-vision',
- 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"]
- };
- var faLowVision = faEyeLowVision;
- var faCrow = {
- prefix: 'fas',
- iconName: 'crow',
- 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"]
- };
- var faSailboat = {
- prefix: 'fas',
- iconName: 'sailboat',
- 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"]
- };
- var faWindowRestore = {
- prefix: 'fas',
- iconName: 'window-restore',
- 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"]
- };
- var faSquarePlus = {
- prefix: 'fas',
- iconName: 'square-plus',
- 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"]
- };
- var faPlusSquare = faSquarePlus;
- var faToriiGate = {
- prefix: 'fas',
- iconName: 'torii-gate',
- 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"]
- };
- var faFrog = {
- prefix: 'fas',
- iconName: 'frog',
- 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"]
- };
- var faBucket = {
- prefix: 'fas',
- iconName: 'bucket',
- 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"]
- };
- var faImage = {
- prefix: 'fas',
- iconName: 'image',
- 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"]
- };
- var faMicrophone = {
- prefix: 'fas',
- iconName: 'microphone',
- 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"]
- };
- var faCow = {
- prefix: 'fas',
- iconName: 'cow',
- 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"]
- };
- var faCaretUp = {
- prefix: 'fas',
- iconName: 'caret-up',
- 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"]
- };
- var faScrewdriver = {
- prefix: 'fas',
- iconName: 'screwdriver',
- 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"]
- };
- var faFolderClosed = {
- prefix: 'fas',
- iconName: 'folder-closed',
- 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"]
- };
- var faHouseTsunami = {
- prefix: 'fas',
- iconName: 'house-tsunami',
- 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"]
- };
- var faSquareNfi = {
- prefix: 'fas',
- iconName: 'square-nfi',
- 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"]
- };
- var faArrowUpFromGroundWater = {
- prefix: 'fas',
- iconName: 'arrow-up-from-ground-water',
- 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"]
- };
- var faMartiniGlass = {
- prefix: 'fas',
- iconName: 'martini-glass',
- 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"]
- };
- var faGlassMartiniAlt = faMartiniGlass;
- var faRotateLeft = {
- prefix: 'fas',
- iconName: 'rotate-left',
- 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"]
- };
- var faRotateBack = faRotateLeft;
- var faRotateBackward = faRotateLeft;
- var faUndoAlt = faRotateLeft;
- var faTableColumns = {
- prefix: 'fas',
- iconName: 'table-columns',
- 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"]
- };
- var faColumns = faTableColumns;
- var faLemon = {
- prefix: 'fas',
- iconName: 'lemon',
- 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"]
- };
- var faHeadSideMask = {
- prefix: 'fas',
- iconName: 'head-side-mask',
- 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"]
- };
- var faHandshake = {
- prefix: 'fas',
- iconName: 'handshake',
- 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"]
- };
- var faGem = {
- prefix: 'fas',
- iconName: 'gem',
- 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"]
- };
- var faDolly = {
- prefix: 'fas',
- iconName: 'dolly',
- 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"]
- };
- var faDollyBox = faDolly;
- var faSmoking = {
- prefix: 'fas',
- iconName: 'smoking',
- 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"]
- };
- var faMinimize = {
- prefix: 'fas',
- iconName: 'minimize',
- 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"]
- };
- var faCompressArrowsAlt = faMinimize;
- var faMonument = {
- prefix: 'fas',
- iconName: 'monument',
- 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"]
- };
- var faSnowplow = {
- prefix: 'fas',
- iconName: 'snowplow',
- 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"]
- };
- var faAnglesRight = {
- prefix: 'fas',
- iconName: 'angles-right',
- 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"]
- };
- var faAngleDoubleRight = faAnglesRight;
- var faCannabis = {
- prefix: 'fas',
- iconName: 'cannabis',
- 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"]
- };
- var faCirclePlay = {
- prefix: 'fas',
- iconName: 'circle-play',
- 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"]
- };
- var faPlayCircle = faCirclePlay;
- var faTablets = {
- prefix: 'fas',
- iconName: 'tablets',
- 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"]
- };
- var faEthernet = {
- prefix: 'fas',
- iconName: 'ethernet',
- 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"]
- };
- var faEuroSign = {
- prefix: 'fas',
- iconName: 'euro-sign',
- 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"]
- };
- var faEur = faEuroSign;
- var faEuro = faEuroSign;
- var faChair = {
- prefix: 'fas',
- iconName: 'chair',
- 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"]
- };
- var faCircleCheck = {
- prefix: 'fas',
- iconName: 'circle-check',
- 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"]
- };
- var faCheckCircle = faCircleCheck;
- var faCircleStop = {
- prefix: 'fas',
- iconName: 'circle-stop',
- 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"]
- };
- var faStopCircle = faCircleStop;
- var faCompassDrafting = {
- prefix: 'fas',
- iconName: 'compass-drafting',
- 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"]
- };
- var faDraftingCompass = faCompassDrafting;
- var faPlateWheat = {
- prefix: 'fas',
- iconName: 'plate-wheat',
- 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"]
- };
- var faIcicles = {
- prefix: 'fas',
- iconName: 'icicles',
- 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"]
- };
- var faPersonShelter = {
- prefix: 'fas',
- iconName: 'person-shelter',
- 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"]
- };
- var faNeuter = {
- prefix: 'fas',
- iconName: 'neuter',
- 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"]
- };
- var faIdBadge = {
- prefix: 'fas',
- iconName: 'id-badge',
- 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"]
- };
- var faMarker = {
- prefix: 'fas',
- iconName: 'marker',
- 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"]
- };
- var faFaceLaughBeam = {
- prefix: 'fas',
- iconName: 'face-laugh-beam',
- 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"]
- };
- var faLaughBeam = faFaceLaughBeam;
- var faHelicopterSymbol = {
- prefix: 'fas',
- iconName: 'helicopter-symbol',
- 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"]
- };
- var faUniversalAccess = {
- prefix: 'fas',
- iconName: 'universal-access',
- 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"]
- };
- var faCircleChevronUp = {
- prefix: 'fas',
- iconName: 'circle-chevron-up',
- 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"]
- };
- var faChevronCircleUp = faCircleChevronUp;
- var faLariSign = {
- prefix: 'fas',
- iconName: 'lari-sign',
- 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"]
- };
- var faVolcano = {
- prefix: 'fas',
- iconName: 'volcano',
- 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"]
- };
- var faPersonWalkingDashedLineArrowRight = {
- prefix: 'fas',
- iconName: 'person-walking-dashed-line-arrow-right',
- 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"]
- };
- var faSterlingSign = {
- prefix: 'fas',
- iconName: 'sterling-sign',
- 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"]
- };
- var faGbp = faSterlingSign;
- var faPoundSign = faSterlingSign;
- var faViruses = {
- prefix: 'fas',
- iconName: 'viruses',
- 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"]
- };
- var faSquarePersonConfined = {
- prefix: 'fas',
- iconName: 'square-person-confined',
- 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"]
- };
- var faUserTie = {
- prefix: 'fas',
- iconName: 'user-tie',
- 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"]
- };
- var faArrowDownLong = {
- prefix: 'fas',
- iconName: 'arrow-down-long',
- 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"]
- };
- var faLongArrowDown = faArrowDownLong;
- var faTentArrowDownToLine = {
- prefix: 'fas',
- iconName: 'tent-arrow-down-to-line',
- 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"]
- };
- var faCertificate = {
- prefix: 'fas',
- iconName: 'certificate',
- 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"]
- };
- var faReplyAll = {
- prefix: 'fas',
- iconName: 'reply-all',
- 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"]
- };
- var faMailReplyAll = faReplyAll;
- var faSuitcase = {
- prefix: 'fas',
- iconName: 'suitcase',
- 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"]
- };
- var faPersonSkating = {
- prefix: 'fas',
- iconName: 'person-skating',
- 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"]
- };
- var faSkating = faPersonSkating;
- var faFilterCircleDollar = {
- prefix: 'fas',
- iconName: 'filter-circle-dollar',
- 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"]
- };
- var faFunnelDollar = faFilterCircleDollar;
- var faCameraRetro = {
- prefix: 'fas',
- iconName: 'camera-retro',
- 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"]
- };
- var faCircleArrowDown = {
- prefix: 'fas',
- iconName: 'circle-arrow-down',
- 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"]
- };
- var faArrowCircleDown = faCircleArrowDown;
- var faFileImport = {
- prefix: 'fas',
- iconName: 'file-import',
- 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"]
- };
- var faArrowRightToFile = faFileImport;
- var faSquareArrowUpRight = {
- prefix: 'fas',
- iconName: 'square-arrow-up-right',
- 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"]
- };
- var faExternalLinkSquare = faSquareArrowUpRight;
- var faBoxOpen = {
- prefix: 'fas',
- iconName: 'box-open',
- 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"]
- };
- var faScroll = {
- prefix: 'fas',
- iconName: 'scroll',
- 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"]
- };
- var faSpa = {
- prefix: 'fas',
- iconName: 'spa',
- 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"]
- };
- var faLocationPinLock = {
- prefix: 'fas',
- iconName: 'location-pin-lock',
- 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"]
- };
- var faPause = {
- prefix: 'fas',
- iconName: 'pause',
- 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"]
- };
- var faHillAvalanche = {
- prefix: 'fas',
- iconName: 'hill-avalanche',
- 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"]
- };
- var faTemperatureEmpty = {
- prefix: 'fas',
- iconName: 'temperature-empty',
- 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"]
- };
- var faTemperature0 = faTemperatureEmpty;
- var faThermometer0 = faTemperatureEmpty;
- var faThermometerEmpty = faTemperatureEmpty;
- var faBomb = {
- prefix: 'fas',
- iconName: 'bomb',
- 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"]
- };
- var faRegistered = {
- prefix: 'fas',
- iconName: 'registered',
- 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"]
- };
- var faAddressCard = {
- prefix: 'fas',
- iconName: 'address-card',
- 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"]
- };
- var faContactCard = faAddressCard;
- var faVcard = faAddressCard;
- var faScaleUnbalancedFlip = {
- prefix: 'fas',
- iconName: 'scale-unbalanced-flip',
- 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"]
- };
- var faBalanceScaleRight = faScaleUnbalancedFlip;
- var faSubscript = {
- prefix: 'fas',
- iconName: 'subscript',
- 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"]
- };
- var faDiamondTurnRight = {
- prefix: 'fas',
- iconName: 'diamond-turn-right',
- 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"]
- };
- var faDirections = faDiamondTurnRight;
- var faBurst = {
- prefix: 'fas',
- iconName: 'burst',
- 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"]
- };
- var faHouseLaptop = {
- prefix: 'fas',
- iconName: 'house-laptop',
- 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"]
- };
- var faLaptopHouse = faHouseLaptop;
- var faFaceTired = {
- prefix: 'fas',
- iconName: 'face-tired',
- 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"]
- };
- var faTired = faFaceTired;
- var faMoneyBills = {
- prefix: 'fas',
- iconName: 'money-bills',
- 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"]
- };
- var faSmog = {
- prefix: 'fas',
- iconName: 'smog',
- 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"]
- };
- var faCrutch = {
- prefix: 'fas',
- iconName: 'crutch',
- 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"]
- };
- var faFontAwesome = {
- prefix: 'fas',
- iconName: 'font-awesome',
- 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"]
- };
- var faFontAwesomeFlag = faFontAwesome;
- var faFontAwesomeLogoFull = faFontAwesome;
- var faCloudArrowUp = {
- prefix: 'fas',
- iconName: 'cloud-arrow-up',
- 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"]
- };
- var faCloudUpload = faCloudArrowUp;
- var faCloudUploadAlt = faCloudArrowUp;
- var faPalette = {
- prefix: 'fas',
- iconName: 'palette',
- 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"]
- };
- var faArrowsTurnRight = {
- prefix: 'fas',
- iconName: 'arrows-turn-right',
- 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"]
- };
- var faVest = {
- prefix: 'fas',
- iconName: 'vest',
- 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"]
- };
- var faFerry = {
- prefix: 'fas',
- iconName: 'ferry',
- 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"]
- };
- var faArrowsDownToPeople = {
- prefix: 'fas',
- iconName: 'arrows-down-to-people',
- 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"]
- };
- var faSeedling = {
- prefix: 'fas',
- iconName: 'seedling',
- 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"]
- };
- var faSprout = faSeedling;
- var faLeftRight = {
- prefix: 'fas',
- iconName: 'left-right',
- 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"]
- };
- var faArrowsAltH = faLeftRight;
- var faBoxesPacking = {
- prefix: 'fas',
- iconName: 'boxes-packing',
- 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"]
- };
- var faCircleArrowLeft = {
- prefix: 'fas',
- iconName: 'circle-arrow-left',
- 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"]
- };
- var faArrowCircleLeft = faCircleArrowLeft;
- var faGroupArrowsRotate = {
- prefix: 'fas',
- iconName: 'group-arrows-rotate',
- 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"]
- };
- var faBowlFood = {
- prefix: 'fas',
- iconName: 'bowl-food',
- 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"]
- };
- var faCandyCane = {
- prefix: 'fas',
- iconName: 'candy-cane',
- 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"]
- };
- var faArrowDownWideShort = {
- prefix: 'fas',
- iconName: 'arrow-down-wide-short',
- 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"]
- };
- var faSortAmountAsc = faArrowDownWideShort;
- var faSortAmountDown = faArrowDownWideShort;
- var faCloudBolt = {
- prefix: 'fas',
- iconName: 'cloud-bolt',
- 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"]
- };
- var faThunderstorm = faCloudBolt;
- var faTextSlash = {
- prefix: 'fas',
- iconName: 'text-slash',
- 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"]
- };
- var faRemoveFormat = faTextSlash;
- var faFaceSmileWink = {
- prefix: 'fas',
- iconName: 'face-smile-wink',
- 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"]
- };
- var faSmileWink = faFaceSmileWink;
- var faFileWord = {
- prefix: 'fas',
- iconName: 'file-word',
- 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"]
- };
- var faFilePowerpoint = {
- prefix: 'fas',
- iconName: 'file-powerpoint',
- 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"]
- };
- var faArrowsLeftRight = {
- prefix: 'fas',
- iconName: 'arrows-left-right',
- 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"]
- };
- var faArrowsH = faArrowsLeftRight;
- var faHouseLock = {
- prefix: 'fas',
- iconName: 'house-lock',
- 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"]
- };
- var faCloudArrowDown = {
- prefix: 'fas',
- iconName: 'cloud-arrow-down',
- 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"]
- };
- var faCloudDownload = faCloudArrowDown;
- var faCloudDownloadAlt = faCloudArrowDown;
- var faChildren = {
- prefix: 'fas',
- iconName: 'children',
- 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"]
- };
- var faChalkboard = {
- prefix: 'fas',
- iconName: 'chalkboard',
- 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"]
- };
- var faBlackboard = faChalkboard;
- var faUserLargeSlash = {
- prefix: 'fas',
- iconName: 'user-large-slash',
- 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"]
- };
- var faUserAltSlash = faUserLargeSlash;
- var faEnvelopeOpen = {
- prefix: 'fas',
- iconName: 'envelope-open',
- 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"]
- };
- var faHandshakeSimpleSlash = {
- prefix: 'fas',
- iconName: 'handshake-simple-slash',
- 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"]
- };
- var faHandshakeAltSlash = faHandshakeSimpleSlash;
- var faMattressPillow = {
- prefix: 'fas',
- iconName: 'mattress-pillow',
- 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"]
- };
- var faGuaraniSign = {
- prefix: 'fas',
- iconName: 'guarani-sign',
- 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"]
- };
- var faArrowsRotate = {
- prefix: 'fas',
- iconName: 'arrows-rotate',
- 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"]
- };
- var faRefresh = faArrowsRotate;
- var faSync = faArrowsRotate;
- var faFireExtinguisher = {
- prefix: 'fas',
- iconName: 'fire-extinguisher',
- 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"]
- };
- var faCruzeiroSign = {
- prefix: 'fas',
- iconName: 'cruzeiro-sign',
- 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"]
- };
- var faGreaterThanEqual = {
- prefix: 'fas',
- iconName: 'greater-than-equal',
- 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"]
- };
- var faShieldHalved = {
- prefix: 'fas',
- iconName: 'shield-halved',
- 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"]
- };
- var faShieldAlt = faShieldHalved;
- var faBookAtlas = {
- prefix: 'fas',
- iconName: 'book-atlas',
- 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"]
- };
- var faAtlas = faBookAtlas;
- var faVirus = {
- prefix: 'fas',
- iconName: 'virus',
- 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"]
- };
- var faEnvelopeCircleCheck = {
- prefix: 'fas',
- iconName: 'envelope-circle-check',
- 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"]
- };
- var faLayerGroup = {
- prefix: 'fas',
- iconName: 'layer-group',
- 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"]
- };
- var faArrowsToDot = {
- prefix: 'fas',
- iconName: 'arrows-to-dot',
- 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"]
- };
- var faArchway = {
- prefix: 'fas',
- iconName: 'archway',
- 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"]
- };
- var faHeartCircleCheck = {
- prefix: 'fas',
- iconName: 'heart-circle-check',
- 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"]
- };
- var faHouseChimneyCrack = {
- prefix: 'fas',
- iconName: 'house-chimney-crack',
- 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"]
- };
- var faHouseDamage = faHouseChimneyCrack;
- var faFileZipper = {
- prefix: 'fas',
- iconName: 'file-zipper',
- 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"]
- };
- var faFileArchive = faFileZipper;
- var faSquare = {
- prefix: 'fas',
- iconName: 'square',
- 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"]
- };
- var faMartiniGlassEmpty = {
- prefix: 'fas',
- iconName: 'martini-glass-empty',
- 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"]
- };
- var faGlassMartini = faMartiniGlassEmpty;
- var faCouch = {
- prefix: 'fas',
- iconName: 'couch',
- 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"]
- };
- var faCediSign = {
- prefix: 'fas',
- iconName: 'cedi-sign',
- 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"]
- };
- var faItalic = {
- prefix: 'fas',
- iconName: 'italic',
- 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"]
- };
- var faChurch = {
- prefix: 'fas',
- iconName: 'church',
- 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"]
- };
- var faCommentsDollar = {
- prefix: 'fas',
- iconName: 'comments-dollar',
- 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"]
- };
- var faDemocrat = {
- prefix: 'fas',
- iconName: 'democrat',
- 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"]
- };
- var faZ = {
- prefix: 'fas',
- iconName: 'z',
- 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"]
- };
- var faPersonSkiing = {
- prefix: 'fas',
- iconName: 'person-skiing',
- 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"]
- };
- var faSkiing = faPersonSkiing;
- var faRoadLock = {
- prefix: 'fas',
- iconName: 'road-lock',
- 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"]
- };
- var faA = {
- prefix: 'fas',
- iconName: 'a',
- 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"]
- };
- var faTemperatureArrowDown = {
- prefix: 'fas',
- iconName: 'temperature-arrow-down',
- 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"]
- };
- var faTemperatureDown = faTemperatureArrowDown;
- var faFeatherPointed = {
- prefix: 'fas',
- iconName: 'feather-pointed',
- 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"]
- };
- var faFeatherAlt = faFeatherPointed;
- var faP = {
- prefix: 'fas',
- iconName: 'p',
- 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"]
- };
- var faSnowflake = {
- prefix: 'fas',
- iconName: 'snowflake',
- 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"]
- };
- var faNewspaper = {
- prefix: 'fas',
- iconName: 'newspaper',
- 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"]
- };
- var faRectangleAd = {
- prefix: 'fas',
- iconName: 'rectangle-ad',
- 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"]
- };
- var faAd = faRectangleAd;
- var faCircleArrowRight = {
- prefix: 'fas',
- iconName: 'circle-arrow-right',
- 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"]
- };
- var faArrowCircleRight = faCircleArrowRight;
- var faFilterCircleXmark = {
- prefix: 'fas',
- iconName: 'filter-circle-xmark',
- 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"]
- };
- var faLocust = {
- prefix: 'fas',
- iconName: 'locust',
- 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"]
- };
- var faSort = {
- prefix: 'fas',
- iconName: 'sort',
- 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"]
- };
- var faUnsorted = faSort;
- var faListOl = {
- prefix: 'fas',
- iconName: 'list-ol',
- 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"]
- };
- var faList12 = faListOl;
- var faListNumeric = faListOl;
- var faPersonDressBurst = {
- prefix: 'fas',
- iconName: 'person-dress-burst',
- 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"]
- };
- var faMoneyCheckDollar = {
- prefix: 'fas',
- iconName: 'money-check-dollar',
- 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"]
- };
- var faMoneyCheckAlt = faMoneyCheckDollar;
- var faVectorSquare = {
- prefix: 'fas',
- iconName: 'vector-square',
- 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"]
- };
- var faBreadSlice = {
- prefix: 'fas',
- iconName: 'bread-slice',
- 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"]
- };
- var faLanguage = {
- prefix: 'fas',
- iconName: 'language',
- 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"]
- };
- var faFaceKissWinkHeart = {
- prefix: 'fas',
- iconName: 'face-kiss-wink-heart',
- 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"]
- };
- var faKissWinkHeart = faFaceKissWinkHeart;
- var faFilter = {
- prefix: 'fas',
- iconName: 'filter',
- 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"]
- };
- var faQuestion = {
- prefix: 'fas',
- iconName: 'question',
- 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"]
- };
- var faFileSignature = {
- prefix: 'fas',
- iconName: 'file-signature',
- 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"]
- };
- var faUpDownLeftRight = {
- prefix: 'fas',
- iconName: 'up-down-left-right',
- 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"]
- };
- var faArrowsAlt = faUpDownLeftRight;
- var faHouseChimneyUser = {
- prefix: 'fas',
- iconName: 'house-chimney-user',
- 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"]
- };
- var faHandHoldingHeart = {
- prefix: 'fas',
- iconName: 'hand-holding-heart',
- 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"]
- };
- var faPuzzlePiece = {
- prefix: 'fas',
- iconName: 'puzzle-piece',
- 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"]
- };
- var faMoneyCheck = {
- prefix: 'fas',
- iconName: 'money-check',
- 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"]
- };
- var faStarHalfStroke = {
- prefix: 'fas',
- iconName: 'star-half-stroke',
- 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"]
- };
- var faStarHalfAlt = faStarHalfStroke;
- var faCode = {
- prefix: 'fas',
- iconName: 'code',
- 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"]
- };
- var faWhiskeyGlass = {
- prefix: 'fas',
- iconName: 'whiskey-glass',
- 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"]
- };
- var faGlassWhiskey = faWhiskeyGlass;
- var faBuildingCircleExclamation = {
- prefix: 'fas',
- iconName: 'building-circle-exclamation',
- 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"]
- };
- var faMagnifyingGlassChart = {
- prefix: 'fas',
- iconName: 'magnifying-glass-chart',
- 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"]
- };
- var faArrowUpRightFromSquare = {
- prefix: 'fas',
- iconName: 'arrow-up-right-from-square',
- 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"]
- };
- var faExternalLink = faArrowUpRightFromSquare;
- var faCubesStacked = {
- prefix: 'fas',
- iconName: 'cubes-stacked',
- 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"]
- };
- var faWonSign = {
- prefix: 'fas',
- iconName: 'won-sign',
- 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"]
- };
- var faKrw = faWonSign;
- var faWon = faWonSign;
- var faVirusCovid = {
- prefix: 'fas',
- iconName: 'virus-covid',
- 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"]
- };
- var faAustralSign = {
- prefix: 'fas',
- iconName: 'austral-sign',
- 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"]
- };
- var faF = {
- prefix: 'fas',
- iconName: 'f',
- 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"]
- };
- var faLeaf = {
- prefix: 'fas',
- iconName: 'leaf',
- 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"]
- };
- var faRoad = {
- prefix: 'fas',
- iconName: 'road',
- 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"]
- };
- var faTaxi = {
- prefix: 'fas',
- iconName: 'taxi',
- 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"]
- };
- var faCab = faTaxi;
- var faPersonCirclePlus = {
- prefix: 'fas',
- iconName: 'person-circle-plus',
- 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"]
- };
- var faChartPie = {
- prefix: 'fas',
- iconName: 'chart-pie',
- 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"]
- };
- var faPieChart = faChartPie;
- var faBoltLightning = {
- prefix: 'fas',
- iconName: 'bolt-lightning',
- 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"]
- };
- var faSackXmark = {
- prefix: 'fas',
- iconName: 'sack-xmark',
- 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"]
- };
- var faFileExcel = {
- prefix: 'fas',
- iconName: 'file-excel',
- 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"]
- };
- var faFileContract = {
- prefix: 'fas',
- iconName: 'file-contract',
- 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"]
- };
- var faFishFins = {
- prefix: 'fas',
- iconName: 'fish-fins',
- 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"]
- };
- var faBuildingFlag = {
- prefix: 'fas',
- iconName: 'building-flag',
- 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"]
- };
- var faFaceGrinBeam = {
- prefix: 'fas',
- iconName: 'face-grin-beam',
- 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"]
- };
- var faGrinBeam = faFaceGrinBeam;
- var faObjectUngroup = {
- prefix: 'fas',
- iconName: 'object-ungroup',
- 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"]
- };
- var faPoop = {
- prefix: 'fas',
- iconName: 'poop',
- 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"]
- };
- var faLocationPin = {
- prefix: 'fas',
- iconName: 'location-pin',
- 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"]
- };
- var faMapMarker = faLocationPin;
- var faKaaba = {
- prefix: 'fas',
- iconName: 'kaaba',
- 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"]
- };
- var faToiletPaper = {
- prefix: 'fas',
- iconName: 'toilet-paper',
- 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"]
- };
- var faHelmetSafety = {
- prefix: 'fas',
- iconName: 'helmet-safety',
- 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"]
- };
- var faHardHat = faHelmetSafety;
- var faHatHard = faHelmetSafety;
- var faEject = {
- prefix: 'fas',
- iconName: 'eject',
- 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"]
- };
- var faCircleRight = {
- prefix: 'fas',
- iconName: 'circle-right',
- 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"]
- };
- var faArrowAltCircleRight = faCircleRight;
- var faPlaneCircleCheck = {
- prefix: 'fas',
- iconName: 'plane-circle-check',
- 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"]
- };
- var faFaceRollingEyes = {
- prefix: 'fas',
- iconName: 'face-rolling-eyes',
- 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"]
- };
- var faMehRollingEyes = faFaceRollingEyes;
- var faObjectGroup = {
- prefix: 'fas',
- iconName: 'object-group',
- 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"]
- };
- var faChartLine = {
- prefix: 'fas',
- iconName: 'chart-line',
- 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"]
- };
- var faLineChart = faChartLine;
- var faMaskVentilator = {
- prefix: 'fas',
- iconName: 'mask-ventilator',
- 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"]
- };
- var faArrowRight = {
- prefix: 'fas',
- iconName: 'arrow-right',
- 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"]
- };
- var faSignsPost = {
- prefix: 'fas',
- iconName: 'signs-post',
- 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"]
- };
- var faMapSigns = faSignsPost;
- var faCashRegister = {
- prefix: 'fas',
- iconName: 'cash-register',
- 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"]
- };
- var faPersonCircleQuestion = {
- prefix: 'fas',
- iconName: 'person-circle-question',
- 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"]
- };
- var faH = {
- prefix: 'fas',
- iconName: 'h',
- 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"]
- };
- var faTarp = {
- prefix: 'fas',
- iconName: 'tarp',
- 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"]
- };
- var faScrewdriverWrench = {
- prefix: 'fas',
- iconName: 'screwdriver-wrench',
- 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"]
- };
- var faTools = faScrewdriverWrench;
- var faArrowsToEye = {
- prefix: 'fas',
- iconName: 'arrows-to-eye',
- 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"]
- };
- var faPlugCircleBolt = {
- prefix: 'fas',
- iconName: 'plug-circle-bolt',
- 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"]
- };
- var faHeart = {
- prefix: 'fas',
- iconName: 'heart',
- 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"]
- };
- var faMarsAndVenus = {
- prefix: 'fas',
- iconName: 'mars-and-venus',
- 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"]
- };
- var faHouseUser = {
- prefix: 'fas',
- iconName: 'house-user',
- 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"]
- };
- var faHomeUser = faHouseUser;
- var faDumpsterFire = {
- prefix: 'fas',
- iconName: 'dumpster-fire',
- 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"]
- };
- var faHouseCrack = {
- prefix: 'fas',
- iconName: 'house-crack',
- 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"]
- };
- var faMartiniGlassCitrus = {
- prefix: 'fas',
- iconName: 'martini-glass-citrus',
- 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"]
- };
- var faCocktail = faMartiniGlassCitrus;
- var faFaceSurprise = {
- prefix: 'fas',
- iconName: 'face-surprise',
- 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"]
- };
- var faSurprise = faFaceSurprise;
- var faBottleWater = {
- prefix: 'fas',
- iconName: 'bottle-water',
- 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"]
- };
- var faCirclePause = {
- prefix: 'fas',
- iconName: 'circle-pause',
- 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"]
- };
- var faPauseCircle = faCirclePause;
- var faToiletPaperSlash = {
- prefix: 'fas',
- iconName: 'toilet-paper-slash',
- 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"]
- };
- var faAppleWhole = {
- prefix: 'fas',
- iconName: 'apple-whole',
- 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"]
- };
- var faAppleAlt = faAppleWhole;
- var faKitchenSet = {
- prefix: 'fas',
- iconName: 'kitchen-set',
- 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"]
- };
- var faR = {
- prefix: 'fas',
- iconName: 'r',
- 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"]
- };
- var faTemperatureQuarter = {
- prefix: 'fas',
- iconName: 'temperature-quarter',
- 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"]
- };
- var faTemperature1 = faTemperatureQuarter;
- var faThermometer1 = faTemperatureQuarter;
- var faThermometerQuarter = faTemperatureQuarter;
- var faCube = {
- prefix: 'fas',
- iconName: 'cube',
- 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"]
- };
- var faBitcoinSign = {
- prefix: 'fas',
- iconName: 'bitcoin-sign',
- 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"]
- };
- var faShieldDog = {
- prefix: 'fas',
- iconName: 'shield-dog',
- 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"]
- };
- var faSolarPanel = {
- prefix: 'fas',
- iconName: 'solar-panel',
- 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"]
- };
- var faLockOpen = {
- prefix: 'fas',
- iconName: 'lock-open',
- 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"]
- };
- var faElevator = {
- prefix: 'fas',
- iconName: 'elevator',
- 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"]
- };
- var faMoneyBillTransfer = {
- prefix: 'fas',
- iconName: 'money-bill-transfer',
- 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"]
- };
- var faMoneyBillTrendUp = {
- prefix: 'fas',
- iconName: 'money-bill-trend-up',
- 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"]
- };
- var faHouseFloodWaterCircleArrowRight = {
- prefix: 'fas',
- iconName: 'house-flood-water-circle-arrow-right',
- 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"]
- };
- var faSquarePollHorizontal = {
- prefix: 'fas',
- iconName: 'square-poll-horizontal',
- 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"]
- };
- var faPollH = faSquarePollHorizontal;
- var faCircle = {
- prefix: 'fas',
- iconName: 'circle',
- 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"]
- };
- var faBackwardFast = {
- prefix: 'fas',
- iconName: 'backward-fast',
- 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"]
- };
- var faFastBackward = faBackwardFast;
- var faRecycle = {
- prefix: 'fas',
- iconName: 'recycle',
- 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"]
- };
- var faUserAstronaut = {
- prefix: 'fas',
- iconName: 'user-astronaut',
- 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"]
- };
- var faPlaneSlash = {
- prefix: 'fas',
- iconName: 'plane-slash',
- 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"]
- };
- var faTrademark = {
- prefix: 'fas',
- iconName: 'trademark',
- 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"]
- };
- var faBasketball = {
- prefix: 'fas',
- iconName: 'basketball',
- 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"]
- };
- var faBasketballBall = faBasketball;
- var faSatelliteDish = {
- prefix: 'fas',
- iconName: 'satellite-dish',
- 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"]
- };
- var faCircleUp = {
- prefix: 'fas',
- iconName: 'circle-up',
- 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"]
- };
- var faArrowAltCircleUp = faCircleUp;
- var faMobileScreenButton = {
- prefix: 'fas',
- iconName: 'mobile-screen-button',
- 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"]
- };
- var faMobileAlt = faMobileScreenButton;
- var faVolumeHigh = {
- prefix: 'fas',
- iconName: 'volume-high',
- 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"]
- };
- var faVolumeUp = faVolumeHigh;
- var faUsersRays = {
- prefix: 'fas',
- iconName: 'users-rays',
- 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"]
- };
- var faWallet = {
- prefix: 'fas',
- iconName: 'wallet',
- 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"]
- };
- var faClipboardCheck = {
- prefix: 'fas',
- iconName: 'clipboard-check',
- 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"]
- };
- var faFileAudio = {
- prefix: 'fas',
- iconName: 'file-audio',
- 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"]
- };
- var faBurger = {
- prefix: 'fas',
- iconName: 'burger',
- 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"]
- };
- var faHamburger = faBurger;
- var faWrench = {
- prefix: 'fas',
- iconName: 'wrench',
- 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"]
- };
- var faBugs = {
- prefix: 'fas',
- iconName: 'bugs',
- 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"]
- };
- var faRupeeSign = {
- prefix: 'fas',
- iconName: 'rupee-sign',
- 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"]
- };
- var faRupee = faRupeeSign;
- var faFileImage = {
- prefix: 'fas',
- iconName: 'file-image',
- 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"]
- };
- var faCircleQuestion = {
- prefix: 'fas',
- iconName: 'circle-question',
- 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"]
- };
- var faQuestionCircle = faCircleQuestion;
- var faPlaneDeparture = {
- prefix: 'fas',
- iconName: 'plane-departure',
- 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"]
- };
- var faHandshakeSlash = {
- prefix: 'fas',
- iconName: 'handshake-slash',
- 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"]
- };
- var faBookBookmark = {
- prefix: 'fas',
- iconName: 'book-bookmark',
- 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"]
- };
- var faCodeBranch = {
- prefix: 'fas',
- iconName: 'code-branch',
- 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"]
- };
- var faHatCowboy = {
- prefix: 'fas',
- iconName: 'hat-cowboy',
- 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"]
- };
- var faBridge = {
- prefix: 'fas',
- iconName: 'bridge',
- 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"]
- };
- var faPhoneFlip = {
- prefix: 'fas',
- iconName: 'phone-flip',
- 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"]
- };
- var faPhoneAlt = faPhoneFlip;
- var faTruckFront = {
- prefix: 'fas',
- iconName: 'truck-front',
- 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"]
- };
- var faCat = {
- prefix: 'fas',
- iconName: 'cat',
- 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"]
- };
- var faAnchorCircleExclamation = {
- prefix: 'fas',
- iconName: 'anchor-circle-exclamation',
- 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"]
- };
- var faTruckField = {
- prefix: 'fas',
- iconName: 'truck-field',
- 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"]
- };
- var faRoute = {
- prefix: 'fas',
- iconName: 'route',
- 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"]
- };
- var faClipboardQuestion = {
- prefix: 'fas',
- iconName: 'clipboard-question',
- 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"]
- };
- var faPanorama = {
- prefix: 'fas',
- iconName: 'panorama',
- 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"]
- };
- var faCommentMedical = {
- prefix: 'fas',
- iconName: 'comment-medical',
- 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"]
- };
- var faTeethOpen = {
- prefix: 'fas',
- iconName: 'teeth-open',
- 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"]
- };
- var faFileCircleMinus = {
- prefix: 'fas',
- iconName: 'file-circle-minus',
- 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"]
- };
- var faTags = {
- prefix: 'fas',
- iconName: 'tags',
- 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"]
- };
- var faWineGlass = {
- prefix: 'fas',
- iconName: 'wine-glass',
- 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"]
- };
- var faForwardFast = {
- prefix: 'fas',
- iconName: 'forward-fast',
- 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"]
- };
- var faFastForward = faForwardFast;
- var faFaceMehBlank = {
- prefix: 'fas',
- iconName: 'face-meh-blank',
- 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"]
- };
- var faMehBlank = faFaceMehBlank;
- var faSquareParking = {
- prefix: 'fas',
- iconName: 'square-parking',
- 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"]
- };
- var faParking = faSquareParking;
- var faHouseSignal = {
- prefix: 'fas',
- iconName: 'house-signal',
- 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"]
- };
- var faBarsProgress = {
- prefix: 'fas',
- iconName: 'bars-progress',
- 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"]
- };
- var faTasksAlt = faBarsProgress;
- var faFaucetDrip = {
- prefix: 'fas',
- iconName: 'faucet-drip',
- 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"]
- };
- var faCartFlatbed = {
- prefix: 'fas',
- iconName: 'cart-flatbed',
- 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"]
- };
- var faDollyFlatbed = faCartFlatbed;
- var faBanSmoking = {
- prefix: 'fas',
- iconName: 'ban-smoking',
- 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"]
- };
- var faSmokingBan = faBanSmoking;
- var faTerminal = {
- prefix: 'fas',
- iconName: 'terminal',
- 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"]
- };
- var faMobileButton = {
- prefix: 'fas',
- iconName: 'mobile-button',
- 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"]
- };
- var faHouseMedicalFlag = {
- prefix: 'fas',
- iconName: 'house-medical-flag',
- 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"]
- };
- var faBasketShopping = {
- prefix: 'fas',
- iconName: 'basket-shopping',
- 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"]
- };
- var faShoppingBasket = faBasketShopping;
- var faTape = {
- prefix: 'fas',
- iconName: 'tape',
- 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"]
- };
- var faBusSimple = {
- prefix: 'fas',
- iconName: 'bus-simple',
- 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"]
- };
- var faBusAlt = faBusSimple;
- var faEye = {
- prefix: 'fas',
- iconName: 'eye',
- 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"]
- };
- var faFaceSadCry = {
- prefix: 'fas',
- iconName: 'face-sad-cry',
- 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"]
- };
- var faSadCry = faFaceSadCry;
- var faAudioDescription = {
- prefix: 'fas',
- iconName: 'audio-description',
- 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"]
- };
- var faPersonMilitaryToPerson = {
- prefix: 'fas',
- iconName: 'person-military-to-person',
- 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"]
- };
- var faFileShield = {
- prefix: 'fas',
- iconName: 'file-shield',
- 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"]
- };
- var faUserSlash = {
- prefix: 'fas',
- iconName: 'user-slash',
- 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"]
- };
- var faPen = {
- prefix: 'fas',
- iconName: 'pen',
- 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"]
- };
- var faTowerObservation = {
- prefix: 'fas',
- iconName: 'tower-observation',
- 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"]
- };
- var faFileCode = {
- prefix: 'fas',
- iconName: 'file-code',
- 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"]
- };
- var faSignal = {
- prefix: 'fas',
- iconName: 'signal',
- 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"]
- };
- var faSignal5 = faSignal;
- var faSignalPerfect = faSignal;
- var faBus = {
- prefix: 'fas',
- iconName: 'bus',
- 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"]
- };
- var faHeartCircleXmark = {
- prefix: 'fas',
- iconName: 'heart-circle-xmark',
- 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"]
- };
- var faHouseChimney = {
- prefix: 'fas',
- iconName: 'house-chimney',
- 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"]
- };
- var faHomeLg = faHouseChimney;
- var faWindowMaximize = {
- prefix: 'fas',
- iconName: 'window-maximize',
- 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"]
- };
- var faFaceFrown = {
- prefix: 'fas',
- iconName: 'face-frown',
- 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"]
- };
- var faFrown = faFaceFrown;
- var faPrescription = {
- prefix: 'fas',
- iconName: 'prescription',
- 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"]
- };
- var faShop = {
- prefix: 'fas',
- iconName: 'shop',
- 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"]
- };
- var faStoreAlt = faShop;
- var faFloppyDisk = {
- prefix: 'fas',
- iconName: 'floppy-disk',
- 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"]
- };
- var faSave = faFloppyDisk;
- var faVihara = {
- prefix: 'fas',
- iconName: 'vihara',
- 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"]
- };
- var faScaleUnbalanced = {
- prefix: 'fas',
- iconName: 'scale-unbalanced',
- 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"]
- };
- var faBalanceScaleLeft = faScaleUnbalanced;
- var faSortUp = {
- prefix: 'fas',
- iconName: 'sort-up',
- 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"]
- };
- var faSortAsc = faSortUp;
- var faCommentDots = {
- prefix: 'fas',
- iconName: 'comment-dots',
- 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"]
- };
- var faCommenting = faCommentDots;
- var faPlantWilt = {
- prefix: 'fas',
- iconName: 'plant-wilt',
- 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"]
- };
- var faDiamond = {
- prefix: 'fas',
- iconName: 'diamond',
- 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"]
- };
- var faFaceGrinSquint = {
- prefix: 'fas',
- iconName: 'face-grin-squint',
- 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"]
- };
- var faGrinSquint = faFaceGrinSquint;
- var faHandHoldingDollar = {
- prefix: 'fas',
- iconName: 'hand-holding-dollar',
- 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"]
- };
- var faHandHoldingUsd = faHandHoldingDollar;
- var faBacterium = {
- prefix: 'fas',
- iconName: 'bacterium',
- 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"]
- };
- var faHandPointer = {
- prefix: 'fas',
- iconName: 'hand-pointer',
- 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"]
- };
- var faDrumSteelpan = {
- prefix: 'fas',
- iconName: 'drum-steelpan',
- 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"]
- };
- var faHandScissors = {
- prefix: 'fas',
- iconName: 'hand-scissors',
- 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"]
- };
- var faHandsPraying = {
- prefix: 'fas',
- iconName: 'hands-praying',
- 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"]
- };
- var faPrayingHands = faHandsPraying;
- var faArrowRotateRight = {
- prefix: 'fas',
- iconName: 'arrow-rotate-right',
- 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"]
- };
- var faArrowRightRotate = faArrowRotateRight;
- var faArrowRotateForward = faArrowRotateRight;
- var faRedo = faArrowRotateRight;
- var faBiohazard = {
- prefix: 'fas',
- iconName: 'biohazard',
- 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"]
- };
- var faLocationCrosshairs = {
- prefix: 'fas',
- iconName: 'location-crosshairs',
- 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"]
- };
- var faLocation = faLocationCrosshairs;
- var faMarsDouble = {
- prefix: 'fas',
- iconName: 'mars-double',
- 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"]
- };
- var faChildDress = {
- prefix: 'fas',
- iconName: 'child-dress',
- 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"]
- };
- var faUsersBetweenLines = {
- prefix: 'fas',
- iconName: 'users-between-lines',
- 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"]
- };
- var faLungsVirus = {
- prefix: 'fas',
- iconName: 'lungs-virus',
- 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"]
- };
- var faFaceGrinTears = {
- prefix: 'fas',
- iconName: 'face-grin-tears',
- 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"]
- };
- var faGrinTears = faFaceGrinTears;
- var faPhone = {
- prefix: 'fas',
- iconName: 'phone',
- 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"]
- };
- var faCalendarXmark = {
- prefix: 'fas',
- iconName: 'calendar-xmark',
- 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"]
- };
- var faCalendarTimes = faCalendarXmark;
- var faChildReaching = {
- prefix: 'fas',
- iconName: 'child-reaching',
- 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"]
- };
- var faHeadSideVirus = {
- prefix: 'fas',
- iconName: 'head-side-virus',
- 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"]
- };
- var faUserGear = {
- prefix: 'fas',
- iconName: 'user-gear',
- 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"]
- };
- var faUserCog = faUserGear;
- var faArrowUp19 = {
- prefix: 'fas',
- iconName: 'arrow-up-1-9',
- 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"]
- };
- var faSortNumericUp = faArrowUp19;
- var faDoorClosed = {
- prefix: 'fas',
- iconName: 'door-closed',
- 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"]
- };
- var faShieldVirus = {
- prefix: 'fas',
- iconName: 'shield-virus',
- 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"]
- };
- var faDiceSix = {
- prefix: 'fas',
- iconName: 'dice-six',
- 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"]
- };
- var faMosquitoNet = {
- prefix: 'fas',
- iconName: 'mosquito-net',
- 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"]
- };
- var faBridgeWater = {
- prefix: 'fas',
- iconName: 'bridge-water',
- 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"]
- };
- var faPersonBooth = {
- prefix: 'fas',
- iconName: 'person-booth',
- 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"]
- };
- var faTextWidth = {
- prefix: 'fas',
- iconName: 'text-width',
- 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"]
- };
- var faHatWizard = {
- prefix: 'fas',
- iconName: 'hat-wizard',
- 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"]
- };
- var faPenFancy = {
- prefix: 'fas',
- iconName: 'pen-fancy',
- 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"]
- };
- var faPersonDigging = {
- prefix: 'fas',
- iconName: 'person-digging',
- 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"]
- };
- var faDigging = faPersonDigging;
- var faTrash = {
- prefix: 'fas',
- iconName: 'trash',
- 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"]
- };
- var faGaugeSimple = {
- prefix: 'fas',
- iconName: 'gauge-simple',
- 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"]
- };
- var faGaugeSimpleMed = faGaugeSimple;
- var faTachometerAverage = faGaugeSimple;
- var faBookMedical = {
- prefix: 'fas',
- iconName: 'book-medical',
- 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"]
- };
- var faPoo = {
- prefix: 'fas',
- iconName: 'poo',
- 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"]
- };
- var faQuoteRight = {
- prefix: 'fas',
- iconName: 'quote-right',
- 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"]
- };
- var faQuoteRightAlt = faQuoteRight;
- var faShirt = {
- prefix: 'fas',
- iconName: 'shirt',
- 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"]
- };
- var faTShirt = faShirt;
- var faTshirt = faShirt;
- var faCubes = {
- prefix: 'fas',
- iconName: 'cubes',
- 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"]
- };
- var faDivide = {
- prefix: 'fas',
- iconName: 'divide',
- 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"]
- };
- var faTengeSign = {
- prefix: 'fas',
- iconName: 'tenge-sign',
- 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"]
- };
- var faTenge = faTengeSign;
- var faHeadphones = {
- prefix: 'fas',
- iconName: 'headphones',
- 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"]
- };
- var faHandsHolding = {
- prefix: 'fas',
- iconName: 'hands-holding',
- 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"]
- };
- var faHandsClapping = {
- prefix: 'fas',
- iconName: 'hands-clapping',
- 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"]
- };
- var faRepublican = {
- prefix: 'fas',
- iconName: 'republican',
- 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"]
- };
- var faArrowLeft = {
- prefix: 'fas',
- iconName: 'arrow-left',
- 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"]
- };
- var faPersonCircleXmark = {
- prefix: 'fas',
- iconName: 'person-circle-xmark',
- 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"]
- };
- var faRuler = {
- prefix: 'fas',
- iconName: 'ruler',
- 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"]
- };
- var faAlignLeft = {
- prefix: 'fas',
- iconName: 'align-left',
- 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"]
- };
- var faDiceD6 = {
- prefix: 'fas',
- iconName: 'dice-d6',
- 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"]
- };
- var faRestroom = {
- prefix: 'fas',
- iconName: 'restroom',
- 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"]
- };
- var faJ = {
- prefix: 'fas',
- iconName: 'j',
- 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"]
- };
- var faUsersViewfinder = {
- prefix: 'fas',
- iconName: 'users-viewfinder',
- 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"]
- };
- var faFileVideo = {
- prefix: 'fas',
- iconName: 'file-video',
- 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"]
- };
- var faUpRightFromSquare = {
- prefix: 'fas',
- iconName: 'up-right-from-square',
- 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"]
- };
- var faExternalLinkAlt = faUpRightFromSquare;
- var faTableCells = {
- prefix: 'fas',
- iconName: 'table-cells',
- 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"]
- };
- var faTh = faTableCells;
- var faFilePdf = {
- prefix: 'fas',
- iconName: 'file-pdf',
- 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"]
- };
- var faBookBible = {
- prefix: 'fas',
- iconName: 'book-bible',
- 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"]
- };
- var faBible = faBookBible;
- var faO = {
- prefix: 'fas',
- iconName: 'o',
- 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"]
- };
- var faSuitcaseMedical = {
- prefix: 'fas',
- iconName: 'suitcase-medical',
- 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"]
- };
- var faMedkit = faSuitcaseMedical;
- var faUserSecret = {
- prefix: 'fas',
- iconName: 'user-secret',
- 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"]
- };
- var faOtter = {
- prefix: 'fas',
- iconName: 'otter',
- 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"]
- };
- var faPersonDress = {
- prefix: 'fas',
- iconName: 'person-dress',
- 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"]
- };
- var faFemale = faPersonDress;
- var faCommentDollar = {
- prefix: 'fas',
- iconName: 'comment-dollar',
- 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"]
- };
- var faBusinessTime = {
- prefix: 'fas',
- iconName: 'business-time',
- 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"]
- };
- var faBriefcaseClock = faBusinessTime;
- var faTableCellsLarge = {
- prefix: 'fas',
- iconName: 'table-cells-large',
- 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"]
- };
- var faThLarge = faTableCellsLarge;
- var faBookTanakh = {
- prefix: 'fas',
- iconName: 'book-tanakh',
- 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"]
- };
- var faTanakh = faBookTanakh;
- var faPhoneVolume = {
- prefix: 'fas',
- iconName: 'phone-volume',
- 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"]
- };
- var faVolumeControlPhone = faPhoneVolume;
- var faHatCowboySide = {
- prefix: 'fas',
- iconName: 'hat-cowboy-side',
- 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"]
- };
- var faClipboardUser = {
- prefix: 'fas',
- iconName: 'clipboard-user',
- 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"]
- };
- var faChild = {
- prefix: 'fas',
- iconName: 'child',
- 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"]
- };
- var faLiraSign = {
- prefix: 'fas',
- iconName: 'lira-sign',
- 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"]
- };
- var faSatellite = {
- prefix: 'fas',
- iconName: 'satellite',
- 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"]
- };
- var faPlaneLock = {
- prefix: 'fas',
- iconName: 'plane-lock',
- 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"]
- };
- var faTag = {
- prefix: 'fas',
- iconName: 'tag',
- 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"]
- };
- var faComment = {
- prefix: 'fas',
- iconName: 'comment',
- 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"]
- };
- var faCakeCandles = {
- prefix: 'fas',
- iconName: 'cake-candles',
- 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"]
- };
- var faBirthdayCake = faCakeCandles;
- var faCake = faCakeCandles;
- var faEnvelope = {
- prefix: 'fas',
- iconName: 'envelope',
- 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"]
- };
- var faAnglesUp = {
- prefix: 'fas',
- iconName: 'angles-up',
- 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"]
- };
- var faAngleDoubleUp = faAnglesUp;
- var faPaperclip = {
- prefix: 'fas',
- iconName: 'paperclip',
- 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"]
- };
- var faArrowRightToCity = {
- prefix: 'fas',
- iconName: 'arrow-right-to-city',
- 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"]
- };
- var faRibbon = {
- prefix: 'fas',
- iconName: 'ribbon',
- 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"]
- };
- var faLungs = {
- prefix: 'fas',
- iconName: 'lungs',
- 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"]
- };
- var faArrowUp91 = {
- prefix: 'fas',
- iconName: 'arrow-up-9-1',
- 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"]
- };
- var faSortNumericUpAlt = faArrowUp91;
- var faLitecoinSign = {
- prefix: 'fas',
- iconName: 'litecoin-sign',
- 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"]
- };
- var faBorderNone = {
- prefix: 'fas',
- iconName: 'border-none',
- 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"]
- };
- var faCircleNodes = {
- prefix: 'fas',
- iconName: 'circle-nodes',
- 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"]
- };
- var faParachuteBox = {
- prefix: 'fas',
- iconName: 'parachute-box',
- 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"]
- };
- var faIndent = {
- prefix: 'fas',
- iconName: 'indent',
- 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"]
- };
- var faTruckFieldUn = {
- prefix: 'fas',
- iconName: 'truck-field-un',
- 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"]
- };
- var faHourglass = {
- prefix: 'fas',
- iconName: 'hourglass',
- 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"]
- };
- var faHourglassEmpty = faHourglass;
- var faMountain = {
- prefix: 'fas',
- iconName: 'mountain',
- 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"]
- };
- var faUserDoctor = {
- prefix: 'fas',
- iconName: 'user-doctor',
- 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"]
- };
- var faUserMd = faUserDoctor;
- var faCircleInfo = {
- prefix: 'fas',
- iconName: 'circle-info',
- 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"]
- };
- var faInfoCircle = faCircleInfo;
- var faCloudMeatball = {
- prefix: 'fas',
- iconName: 'cloud-meatball',
- 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"]
- };
- var faCamera = {
- prefix: 'fas',
- iconName: 'camera',
- 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"]
- };
- var faCameraAlt = faCamera;
- var faSquareVirus = {
- prefix: 'fas',
- iconName: 'square-virus',
- 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"]
- };
- var faMeteor = {
- prefix: 'fas',
- iconName: 'meteor',
- 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"]
- };
- var faCarOn = {
- prefix: 'fas',
- iconName: 'car-on',
- 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"]
- };
- var faSleigh = {
- prefix: 'fas',
- iconName: 'sleigh',
- 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"]
- };
- var faArrowDown19 = {
- prefix: 'fas',
- iconName: 'arrow-down-1-9',
- 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"]
- };
- var faSortNumericAsc = faArrowDown19;
- var faSortNumericDown = faArrowDown19;
- var faHandHoldingDroplet = {
- prefix: 'fas',
- iconName: 'hand-holding-droplet',
- 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"]
- };
- var faHandHoldingWater = faHandHoldingDroplet;
- var faWater = {
- prefix: 'fas',
- iconName: 'water',
- 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"]
- };
- var faCalendarCheck = {
- prefix: 'fas',
- iconName: 'calendar-check',
- 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"]
- };
- var faBraille = {
- prefix: 'fas',
- iconName: 'braille',
- 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"]
- };
- var faPrescriptionBottleMedical = {
- prefix: 'fas',
- iconName: 'prescription-bottle-medical',
- 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"]
- };
- var faPrescriptionBottleAlt = faPrescriptionBottleMedical;
- var faLandmark = {
- prefix: 'fas',
- iconName: 'landmark',
- 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"]
- };
- var faTruck = {
- prefix: 'fas',
- iconName: 'truck',
- 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"]
- };
- var faCrosshairs = {
- prefix: 'fas',
- iconName: 'crosshairs',
- 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"]
- };
- var faPersonCane = {
- prefix: 'fas',
- iconName: 'person-cane',
- 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"]
- };
- var faTent = {
- prefix: 'fas',
- iconName: 'tent',
- 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"]
- };
- var faVestPatches = {
- prefix: 'fas',
- iconName: 'vest-patches',
- 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"]
- };
- var faCheckDouble = {
- prefix: 'fas',
- iconName: 'check-double',
- 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"]
- };
- var faArrowDownAZ = {
- prefix: 'fas',
- iconName: 'arrow-down-a-z',
- 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"]
- };
- var faSortAlphaAsc = faArrowDownAZ;
- var faSortAlphaDown = faArrowDownAZ;
- var faMoneyBillWheat = {
- prefix: 'fas',
- iconName: 'money-bill-wheat',
- 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"]
- };
- var faCookie = {
- prefix: 'fas',
- iconName: 'cookie',
- 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"]
- };
- var faArrowRotateLeft = {
- prefix: 'fas',
- iconName: 'arrow-rotate-left',
- 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"]
- };
- var faArrowLeftRotate = faArrowRotateLeft;
- var faArrowRotateBack = faArrowRotateLeft;
- var faArrowRotateBackward = faArrowRotateLeft;
- var faUndo = faArrowRotateLeft;
- var faHardDrive = {
- prefix: 'fas',
- iconName: 'hard-drive',
- 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"]
- };
- var faHdd = faHardDrive;
- var faFaceGrinSquintTears = {
- prefix: 'fas',
- iconName: 'face-grin-squint-tears',
- 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"]
- };
- var faGrinSquintTears = faFaceGrinSquintTears;
- var faDumbbell = {
- prefix: 'fas',
- iconName: 'dumbbell',
- 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"]
- };
- var faRectangleList = {
- prefix: 'fas',
- iconName: 'rectangle-list',
- 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"]
- };
- var faListAlt = faRectangleList;
- var faTarpDroplet = {
- prefix: 'fas',
- iconName: 'tarp-droplet',
- 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"]
- };
- var faHouseMedicalCircleCheck = {
- prefix: 'fas',
- iconName: 'house-medical-circle-check',
- 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"]
- };
- var faPersonSkiingNordic = {
- prefix: 'fas',
- iconName: 'person-skiing-nordic',
- 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"]
- };
- var faSkiingNordic = faPersonSkiingNordic;
- var faCalendarPlus = {
- prefix: 'fas',
- iconName: 'calendar-plus',
- 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"]
- };
- var faPlaneArrival = {
- prefix: 'fas',
- iconName: 'plane-arrival',
- 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"]
- };
- var faCircleLeft = {
- prefix: 'fas',
- iconName: 'circle-left',
- 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"]
- };
- var faArrowAltCircleLeft = faCircleLeft;
- var faTrainSubway = {
- prefix: 'fas',
- iconName: 'train-subway',
- 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"]
- };
- var faSubway = faTrainSubway;
- var faChartGantt = {
- prefix: 'fas',
- iconName: 'chart-gantt',
- 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"]
- };
- var faIndianRupeeSign = {
- prefix: 'fas',
- iconName: 'indian-rupee-sign',
- 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"]
- };
- var faIndianRupee = faIndianRupeeSign;
- var faInr = faIndianRupeeSign;
- var faCropSimple = {
- prefix: 'fas',
- iconName: 'crop-simple',
- 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"]
- };
- var faCropAlt = faCropSimple;
- var faMoneyBill1 = {
- prefix: 'fas',
- iconName: 'money-bill-1',
- 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"]
- };
- var faMoneyBillAlt = faMoneyBill1;
- var faLeftLong = {
- prefix: 'fas',
- iconName: 'left-long',
- 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"]
- };
- var faLongArrowAltLeft = faLeftLong;
- var faDna = {
- prefix: 'fas',
- iconName: 'dna',
- 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"]
- };
- var faVirusSlash = {
- prefix: 'fas',
- iconName: 'virus-slash',
- 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"]
- };
- var faMinus = {
- prefix: 'fas',
- iconName: 'minus',
- 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"]
- };
- var faSubtract = faMinus;
- var faChildRifle = {
- prefix: 'fas',
- iconName: 'child-rifle',
- 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"]
- };
- var faChess = {
- prefix: 'fas',
- iconName: 'chess',
- 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"]
- };
- var faArrowLeftLong = {
- prefix: 'fas',
- iconName: 'arrow-left-long',
- 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"]
- };
- var faLongArrowLeft = faArrowLeftLong;
- var faPlugCircleCheck = {
- prefix: 'fas',
- iconName: 'plug-circle-check',
- 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"]
- };
- var faStreetView = {
- prefix: 'fas',
- iconName: 'street-view',
- 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"]
- };
- var faFrancSign = {
- prefix: 'fas',
- iconName: 'franc-sign',
- 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"]
- };
- var faVolumeOff = {
- prefix: 'fas',
- iconName: 'volume-off',
- 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"]
- };
- var faHandsAslInterpreting = {
- prefix: 'fas',
- iconName: 'hands-asl-interpreting',
- 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"]
- };
- var faAmericanSignLanguageInterpreting = faHandsAslInterpreting;
- var faAslInterpreting = faHandsAslInterpreting;
- var faHandsAmericanSignLanguageInterpreting = faHandsAslInterpreting;
- var faGear = {
- prefix: 'fas',
- iconName: 'gear',
- 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"]
- };
- var faCog = faGear;
- var faDropletSlash = {
- prefix: 'fas',
- iconName: 'droplet-slash',
- 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"]
- };
- var faTintSlash = faDropletSlash;
- var faMosque = {
- prefix: 'fas',
- iconName: 'mosque',
- 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"]
- };
- var faMosquito = {
- prefix: 'fas',
- iconName: 'mosquito',
- 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"]
- };
- var faStarOfDavid = {
- prefix: 'fas',
- iconName: 'star-of-david',
- 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"]
- };
- var faPersonMilitaryRifle = {
- prefix: 'fas',
- iconName: 'person-military-rifle',
- 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"]
- };
- var faCartShopping = {
- prefix: 'fas',
- iconName: 'cart-shopping',
- 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"]
- };
- var faShoppingCart = faCartShopping;
- var faVials = {
- prefix: 'fas',
- iconName: 'vials',
- 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"]
- };
- var faPlugCirclePlus = {
- prefix: 'fas',
- iconName: 'plug-circle-plus',
- 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"]
- };
- var faPlaceOfWorship = {
- prefix: 'fas',
- iconName: 'place-of-worship',
- 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"]
- };
- var faGripVertical = {
- prefix: 'fas',
- iconName: 'grip-vertical',
- 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"]
- };
- var faArrowTurnUp = {
- prefix: 'fas',
- iconName: 'arrow-turn-up',
- 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"]
- };
- var faLevelUp = faArrowTurnUp;
- var faU = {
- prefix: 'fas',
- iconName: 'u',
- 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"]
- };
- var faSquareRootVariable = {
- prefix: 'fas',
- iconName: 'square-root-variable',
- 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"]
- };
- var faSquareRootAlt = faSquareRootVariable;
- var faClock = {
- prefix: 'fas',
- iconName: 'clock',
- 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"]
- };
- var faClockFour = faClock;
- var faBackwardStep = {
- prefix: 'fas',
- iconName: 'backward-step',
- 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"]
- };
- var faStepBackward = faBackwardStep;
- var faPallet = {
- prefix: 'fas',
- iconName: 'pallet',
- 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"]
- };
- var faFaucet = {
- prefix: 'fas',
- iconName: 'faucet',
- 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"]
- };
- var faBaseballBatBall = {
- prefix: 'fas',
- iconName: 'baseball-bat-ball',
- 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"]
- };
- var faS = {
- prefix: 'fas',
- iconName: 's',
- 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"]
- };
- var faTimeline = {
- prefix: 'fas',
- iconName: 'timeline',
- 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"]
- };
- var faKeyboard = {
- prefix: 'fas',
- iconName: 'keyboard',
- 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"]
- };
- var faCaretDown = {
- prefix: 'fas',
- iconName: 'caret-down',
- 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"]
- };
- var faHouseChimneyMedical = {
- prefix: 'fas',
- iconName: 'house-chimney-medical',
- 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"]
- };
- var faClinicMedical = faHouseChimneyMedical;
- var faTemperatureThreeQuarters = {
- prefix: 'fas',
- iconName: 'temperature-three-quarters',
- 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"]
- };
- var faTemperature3 = faTemperatureThreeQuarters;
- var faThermometer3 = faTemperatureThreeQuarters;
- var faThermometerThreeQuarters = faTemperatureThreeQuarters;
- var faMobileScreen = {
- prefix: 'fas',
- iconName: 'mobile-screen',
- 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"]
- };
- var faMobileAndroidAlt = faMobileScreen;
- var faPlaneUp = {
- prefix: 'fas',
- iconName: 'plane-up',
- 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"]
- };
- var faPiggyBank = {
- prefix: 'fas',
- iconName: 'piggy-bank',
- 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"]
- };
- var faBatteryHalf = {
- prefix: 'fas',
- iconName: 'battery-half',
- 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"]
- };
- var faBattery3 = faBatteryHalf;
- var faMountainCity = {
- prefix: 'fas',
- iconName: 'mountain-city',
- 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"]
- };
- var faCoins = {
- prefix: 'fas',
- iconName: 'coins',
- 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"]
- };
- var faKhanda = {
- prefix: 'fas',
- iconName: 'khanda',
- 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"]
- };
- var faSliders = {
- prefix: 'fas',
- iconName: 'sliders',
- 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"]
- };
- var faSlidersH = faSliders;
- var faFolderTree = {
- prefix: 'fas',
- iconName: 'folder-tree',
- 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"]
- };
- var faNetworkWired = {
- prefix: 'fas',
- iconName: 'network-wired',
- 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"]
- };
- var faMapPin = {
- prefix: 'fas',
- iconName: 'map-pin',
- 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"]
- };
- var faHamsa = {
- prefix: 'fas',
- iconName: 'hamsa',
- 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"]
- };
- var faCentSign = {
- prefix: 'fas',
- iconName: 'cent-sign',
- 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"]
- };
- var faFlask = {
- prefix: 'fas',
- iconName: 'flask',
- 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"]
- };
- var faPersonPregnant = {
- prefix: 'fas',
- iconName: 'person-pregnant',
- 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"]
- };
- var faWandSparkles = {
- prefix: 'fas',
- iconName: 'wand-sparkles',
- 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"]
- };
- var faEllipsisVertical = {
- prefix: 'fas',
- iconName: 'ellipsis-vertical',
- 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"]
- };
- var faEllipsisV = faEllipsisVertical;
- var faTicket = {
- prefix: 'fas',
- iconName: 'ticket',
- 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"]
- };
- var faPowerOff = {
- prefix: 'fas',
- iconName: 'power-off',
- 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"]
- };
- var faRightLong = {
- prefix: 'fas',
- iconName: 'right-long',
- 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"]
- };
- var faLongArrowAltRight = faRightLong;
- var faFlagUsa = {
- prefix: 'fas',
- iconName: 'flag-usa',
- 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"]
- };
- var faLaptopFile = {
- prefix: 'fas',
- iconName: 'laptop-file',
- 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"]
- };
- var faTty = {
- prefix: 'fas',
- iconName: 'tty',
- 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"]
- };
- var faTeletype = faTty;
- var faDiagramNext = {
- prefix: 'fas',
- iconName: 'diagram-next',
- 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"]
- };
- var faPersonRifle = {
- prefix: 'fas',
- iconName: 'person-rifle',
- 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"]
- };
- var faHouseMedicalCircleExclamation = {
- prefix: 'fas',
- iconName: 'house-medical-circle-exclamation',
- 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"]
- };
- var faClosedCaptioning = {
- prefix: 'fas',
- iconName: 'closed-captioning',
- 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"]
- };
- var faPersonHiking = {
- prefix: 'fas',
- iconName: 'person-hiking',
- 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"]
- };
- var faHiking = faPersonHiking;
- var faVenusDouble = {
- prefix: 'fas',
- iconName: 'venus-double',
- 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"]
- };
- var faImages = {
- prefix: 'fas',
- iconName: 'images',
- 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"]
- };
- var faCalculator = {
- prefix: 'fas',
- iconName: 'calculator',
- 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"]
- };
- var faPeoplePulling = {
- prefix: 'fas',
- iconName: 'people-pulling',
- 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"]
- };
- var faN = {
- prefix: 'fas',
- iconName: 'n',
- 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"]
- };
- var faCableCar = {
- prefix: 'fas',
- iconName: 'cable-car',
- 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"]
- };
- var faTram = faCableCar;
- var faCloudRain = {
- prefix: 'fas',
- iconName: 'cloud-rain',
- 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"]
- };
- var faBuildingCircleXmark = {
- prefix: 'fas',
- iconName: 'building-circle-xmark',
- 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"]
- };
- var faShip = {
- prefix: 'fas',
- iconName: 'ship',
- 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"]
- };
- var faArrowsDownToLine = {
- prefix: 'fas',
- iconName: 'arrows-down-to-line',
- 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"]
- };
- var faDownload = {
- prefix: 'fas',
- iconName: 'download',
- 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"]
- };
- var faFaceGrin = {
- prefix: 'fas',
- iconName: 'face-grin',
- 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"]
- };
- var faGrin = faFaceGrin;
- var faDeleteLeft = {
- prefix: 'fas',
- iconName: 'delete-left',
- 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"]
- };
- var faBackspace = faDeleteLeft;
- var faEyeDropper = {
- prefix: 'fas',
- iconName: 'eye-dropper',
- 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"]
- };
- var faEyeDropperEmpty = faEyeDropper;
- var faEyedropper = faEyeDropper;
- var faFileCircleCheck = {
- prefix: 'fas',
- iconName: 'file-circle-check',
- 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"]
- };
- var faForward = {
- prefix: 'fas',
- iconName: 'forward',
- 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"]
- };
- var faMobile = {
- prefix: 'fas',
- iconName: 'mobile',
- 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"]
- };
- var faMobileAndroid = faMobile;
- var faMobilePhone = faMobile;
- var faFaceMeh = {
- prefix: 'fas',
- iconName: 'face-meh',
- 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"]
- };
- var faMeh = faFaceMeh;
- var faAlignCenter = {
- prefix: 'fas',
- iconName: 'align-center',
- 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"]
- };
- var faBookSkull = {
- prefix: 'fas',
- iconName: 'book-skull',
- 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"]
- };
- var faBookDead = faBookSkull;
- var faIdCard = {
- prefix: 'fas',
- iconName: 'id-card',
- 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"]
- };
- var faDriversLicense = faIdCard;
- var faOutdent = {
- prefix: 'fas',
- iconName: 'outdent',
- 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"]
- };
- var faDedent = faOutdent;
- var faHeartCircleExclamation = {
- prefix: 'fas',
- iconName: 'heart-circle-exclamation',
- 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"]
- };
- var faHouse = {
- prefix: 'fas',
- iconName: 'house',
- 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"]
- };
- var faHome = faHouse;
- var faHomeAlt = faHouse;
- var faHomeLgAlt = faHouse;
- var faCalendarWeek = {
- prefix: 'fas',
- iconName: 'calendar-week',
- 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"]
- };
- var faLaptopMedical = {
- prefix: 'fas',
- iconName: 'laptop-medical',
- 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"]
- };
- var faB = {
- prefix: 'fas',
- iconName: 'b',
- 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"]
- };
- var faFileMedical = {
- prefix: 'fas',
- iconName: 'file-medical',
- 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"]
- };
- var faDiceOne = {
- prefix: 'fas',
- iconName: 'dice-one',
- 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"]
- };
- var faKiwiBird = {
- prefix: 'fas',
- iconName: 'kiwi-bird',
- 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"]
- };
- var faArrowRightArrowLeft = {
- prefix: 'fas',
- iconName: 'arrow-right-arrow-left',
- 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"]
- };
- var faExchange = faArrowRightArrowLeft;
- var faRotateRight = {
- prefix: 'fas',
- iconName: 'rotate-right',
- 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"]
- };
- var faRedoAlt = faRotateRight;
- var faRotateForward = faRotateRight;
- var faUtensils = {
- prefix: 'fas',
- iconName: 'utensils',
- 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"]
- };
- var faCutlery = faUtensils;
- var faArrowUpWideShort = {
- prefix: 'fas',
- iconName: 'arrow-up-wide-short',
- 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"]
- };
- var faSortAmountUp = faArrowUpWideShort;
- var faMillSign = {
- prefix: 'fas',
- iconName: 'mill-sign',
- 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"]
- };
- var faBowlRice = {
- prefix: 'fas',
- iconName: 'bowl-rice',
- 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"]
- };
- var faSkull = {
- prefix: 'fas',
- iconName: 'skull',
- 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"]
- };
- var faTowerBroadcast = {
- prefix: 'fas',
- iconName: 'tower-broadcast',
- 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"]
- };
- var faBroadcastTower = faTowerBroadcast;
- var faTruckPickup = {
- prefix: 'fas',
- iconName: 'truck-pickup',
- 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"]
- };
- var faUpLong = {
- prefix: 'fas',
- iconName: 'up-long',
- 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"]
- };
- var faLongArrowAltUp = faUpLong;
- var faStop = {
- prefix: 'fas',
- iconName: 'stop',
- 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"]
- };
- var faCodeMerge = {
- prefix: 'fas',
- iconName: 'code-merge',
- 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"]
- };
- var faUpload = {
- prefix: 'fas',
- iconName: 'upload',
- 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"]
- };
- var faHurricane = {
- prefix: 'fas',
- iconName: 'hurricane',
- 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"]
- };
- var faMound = {
- prefix: 'fas',
- iconName: 'mound',
- 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"]
- };
- var faToiletPortable = {
- prefix: 'fas',
- iconName: 'toilet-portable',
- 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"]
- };
- var faCompactDisc = {
- prefix: 'fas',
- iconName: 'compact-disc',
- 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"]
- };
- var faFileArrowDown = {
- prefix: 'fas',
- iconName: 'file-arrow-down',
- 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"]
- };
- var faFileDownload = faFileArrowDown;
- var faCaravan = {
- prefix: 'fas',
- iconName: 'caravan',
- 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"]
- };
- var faShieldCat = {
- prefix: 'fas',
- iconName: 'shield-cat',
- 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"]
- };
- var faBolt = {
- prefix: 'fas',
- iconName: 'bolt',
- 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"]
- };
- var faZap = faBolt;
- var faGlassWater = {
- prefix: 'fas',
- iconName: 'glass-water',
- 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"]
- };
- var faOilWell = {
- prefix: 'fas',
- iconName: 'oil-well',
- 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"]
- };
- var faVault = {
- prefix: 'fas',
- iconName: 'vault',
- 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"]
- };
- var faMars = {
- prefix: 'fas',
- iconName: 'mars',
- 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"]
- };
- var faToilet = {
- prefix: 'fas',
- iconName: 'toilet',
- 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"]
- };
- var faPlaneCircleXmark = {
- prefix: 'fas',
- iconName: 'plane-circle-xmark',
- 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"]
- };
- var faYenSign = {
- prefix: 'fas',
- iconName: 'yen-sign',
- 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"]
- };
- var faCny = faYenSign;
- var faJpy = faYenSign;
- var faRmb = faYenSign;
- var faYen = faYenSign;
- var faRubleSign = {
- prefix: 'fas',
- iconName: 'ruble-sign',
- 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"]
- };
- var faRouble = faRubleSign;
- var faRub = faRubleSign;
- var faRuble = faRubleSign;
- var faSun = {
- prefix: 'fas',
- iconName: 'sun',
- 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"]
- };
- var faGuitar = {
- prefix: 'fas',
- iconName: 'guitar',
- 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"]
- };
- var faFaceLaughWink = {
- prefix: 'fas',
- iconName: 'face-laugh-wink',
- 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"]
- };
- var faLaughWink = faFaceLaughWink;
- var faHorseHead = {
- prefix: 'fas',
- iconName: 'horse-head',
- 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"]
- };
- var faBoreHole = {
- prefix: 'fas',
- iconName: 'bore-hole',
- 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"]
- };
- var faIndustry = {
- prefix: 'fas',
- iconName: 'industry',
- 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"]
- };
- var faCircleDown = {
- prefix: 'fas',
- iconName: 'circle-down',
- 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"]
- };
- var faArrowAltCircleDown = faCircleDown;
- var faArrowsTurnToDots = {
- prefix: 'fas',
- iconName: 'arrows-turn-to-dots',
- 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"]
- };
- var faFlorinSign = {
- prefix: 'fas',
- iconName: 'florin-sign',
- 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"]
- };
- var faArrowDownShortWide = {
- prefix: 'fas',
- iconName: 'arrow-down-short-wide',
- 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"]
- };
- var faSortAmountDesc = faArrowDownShortWide;
- var faSortAmountDownAlt = faArrowDownShortWide;
- var faLessThan = {
- prefix: 'fas',
- iconName: 'less-than',
- 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"]
- };
- var faAngleDown = {
- prefix: 'fas',
- iconName: 'angle-down',
- 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"]
- };
- var faCarTunnel = {
- prefix: 'fas',
- iconName: 'car-tunnel',
- 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"]
- };
- var faHeadSideCough = {
- prefix: 'fas',
- iconName: 'head-side-cough',
- 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"]
- };
- var faGripLines = {
- prefix: 'fas',
- iconName: 'grip-lines',
- 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"]
- };
- var faThumbsDown = {
- prefix: 'fas',
- iconName: 'thumbs-down',
- 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"]
- };
- var faUserLock = {
- prefix: 'fas',
- iconName: 'user-lock',
- 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"]
- };
- var faArrowRightLong = {
- prefix: 'fas',
- iconName: 'arrow-right-long',
- 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"]
- };
- var faLongArrowRight = faArrowRightLong;
- var faAnchorCircleXmark = {
- prefix: 'fas',
- iconName: 'anchor-circle-xmark',
- 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"]
- };
- var faEllipsis = {
- prefix: 'fas',
- iconName: 'ellipsis',
- 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"]
- };
- var faEllipsisH = faEllipsis;
- var faChessPawn = {
- prefix: 'fas',
- iconName: 'chess-pawn',
- 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"]
- };
- var faKitMedical = {
- prefix: 'fas',
- iconName: 'kit-medical',
- 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"]
- };
- var faFirstAid = faKitMedical;
- var faPersonThroughWindow = {
- prefix: 'fas',
- iconName: 'person-through-window',
- 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"]
- };
- var faToolbox = {
- prefix: 'fas',
- iconName: 'toolbox',
- 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"]
- };
- var faHandsHoldingCircle = {
- prefix: 'fas',
- iconName: 'hands-holding-circle',
- 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"]
- };
- var faBug = {
- prefix: 'fas',
- iconName: 'bug',
- 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"]
- };
- var faCreditCard = {
- prefix: 'fas',
- iconName: 'credit-card',
- 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"]
- };
- var faCreditCardAlt = faCreditCard;
- var faCar = {
- prefix: 'fas',
- iconName: 'car',
- 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"]
- };
- var faAutomobile = faCar;
- var faHandHoldingHand = {
- prefix: 'fas',
- iconName: 'hand-holding-hand',
- 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"]
- };
- var faBookOpenReader = {
- prefix: 'fas',
- iconName: 'book-open-reader',
- 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"]
- };
- var faBookReader = faBookOpenReader;
- var faMountainSun = {
- prefix: 'fas',
- iconName: 'mountain-sun',
- 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"]
- };
- var faArrowsLeftRightToLine = {
- prefix: 'fas',
- iconName: 'arrows-left-right-to-line',
- 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"]
- };
- var faDiceD20 = {
- prefix: 'fas',
- iconName: 'dice-d20',
- 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"]
- };
- var faTruckDroplet = {
- prefix: 'fas',
- iconName: 'truck-droplet',
- 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"]
- };
- var faFileCircleXmark = {
- prefix: 'fas',
- iconName: 'file-circle-xmark',
- 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"]
- };
- var faTemperatureArrowUp = {
- prefix: 'fas',
- iconName: 'temperature-arrow-up',
- 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"]
- };
- var faTemperatureUp = faTemperatureArrowUp;
- var faMedal = {
- prefix: 'fas',
- iconName: 'medal',
- 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"]
- };
- var faBed = {
- prefix: 'fas',
- iconName: 'bed',
- 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"]
- };
- var faSquareH = {
- prefix: 'fas',
- iconName: 'square-h',
- 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"]
- };
- var faHSquare = faSquareH;
- var faPodcast = {
- prefix: 'fas',
- iconName: 'podcast',
- 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"]
- };
- var faTemperatureFull = {
- prefix: 'fas',
- iconName: 'temperature-full',
- 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"]
- };
- var faTemperature4 = faTemperatureFull;
- var faThermometer4 = faTemperatureFull;
- var faThermometerFull = faTemperatureFull;
- var faBell = {
- prefix: 'fas',
- iconName: 'bell',
- 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"]
- };
- var faSuperscript = {
- prefix: 'fas',
- iconName: 'superscript',
- 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"]
- };
- var faPlugCircleXmark = {
- prefix: 'fas',
- iconName: 'plug-circle-xmark',
- 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"]
- };
- var faStarOfLife = {
- prefix: 'fas',
- iconName: 'star-of-life',
- 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"]
- };
- var faPhoneSlash = {
- prefix: 'fas',
- iconName: 'phone-slash',
- 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"]
- };
- var faPaintRoller = {
- prefix: 'fas',
- iconName: 'paint-roller',
- 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"]
- };
- var faHandshakeAngle = {
- prefix: 'fas',
- iconName: 'handshake-angle',
- 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"]
- };
- var faHandsHelping = faHandshakeAngle;
- var faLocationDot = {
- prefix: 'fas',
- iconName: 'location-dot',
- 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"]
- };
- var faMapMarkerAlt = faLocationDot;
- var faFile = {
- prefix: 'fas',
- iconName: 'file',
- 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"]
- };
- var faGreaterThan = {
- prefix: 'fas',
- iconName: 'greater-than',
- 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"]
- };
- var faPersonSwimming = {
- prefix: 'fas',
- iconName: 'person-swimming',
- 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"]
- };
- var faSwimmer = faPersonSwimming;
- var faArrowDown = {
- prefix: 'fas',
- iconName: 'arrow-down',
- 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"]
- };
- var faDroplet = {
- prefix: 'fas',
- iconName: 'droplet',
- 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"]
- };
- var faTint = faDroplet;
- var faEraser = {
- prefix: 'fas',
- iconName: 'eraser',
- 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"]
- };
- var faEarthAmericas = {
- prefix: 'fas',
- iconName: 'earth-americas',
- 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"]
- };
- var faEarth = faEarthAmericas;
- var faEarthAmerica = faEarthAmericas;
- var faGlobeAmericas = faEarthAmericas;
- var faPersonBurst = {
- prefix: 'fas',
- iconName: 'person-burst',
- 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"]
- };
- var faDove = {
- prefix: 'fas',
- iconName: 'dove',
- 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"]
- };
- var faBatteryEmpty = {
- prefix: 'fas',
- iconName: 'battery-empty',
- 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"]
- };
- var faBattery0 = faBatteryEmpty;
- var faSocks = {
- prefix: 'fas',
- iconName: 'socks',
- 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"]
- };
- var faInbox = {
- prefix: 'fas',
- iconName: 'inbox',
- 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"]
- };
- var faSection = {
- prefix: 'fas',
- iconName: 'section',
- 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"]
- };
- var faGaugeHigh = {
- prefix: 'fas',
- iconName: 'gauge-high',
- 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"]
- };
- var faTachometerAlt = faGaugeHigh;
- var faTachometerAltFast = faGaugeHigh;
- var faEnvelopeOpenText = {
- prefix: 'fas',
- iconName: 'envelope-open-text',
- 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"]
- };
- var faHospital = {
- prefix: 'fas',
- iconName: 'hospital',
- 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"]
- };
- var faHospitalAlt = faHospital;
- var faHospitalWide = faHospital;
- var faWineBottle = {
- prefix: 'fas',
- iconName: 'wine-bottle',
- 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"]
- };
- var faChessRook = {
- prefix: 'fas',
- iconName: 'chess-rook',
- 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"]
- };
- var faBarsStaggered = {
- prefix: 'fas',
- iconName: 'bars-staggered',
- 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"]
- };
- var faReorder = faBarsStaggered;
- var faStream = faBarsStaggered;
- var faDharmachakra = {
- prefix: 'fas',
- iconName: 'dharmachakra',
- 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"]
- };
- var faHotdog = {
- prefix: 'fas',
- iconName: 'hotdog',
- 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"]
- };
- var faPersonWalkingWithCane = {
- prefix: 'fas',
- iconName: 'person-walking-with-cane',
- 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"]
- };
- var faBlind = faPersonWalkingWithCane;
- var faDrum = {
- prefix: 'fas',
- iconName: 'drum',
- 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"]
- };
- var faIceCream = {
- prefix: 'fas',
- iconName: 'ice-cream',
- 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"]
- };
- var faHeartCircleBolt = {
- prefix: 'fas',
- iconName: 'heart-circle-bolt',
- 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"]
- };
- var faFax = {
- prefix: 'fas',
- iconName: 'fax',
- 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"]
- };
- var faParagraph = {
- prefix: 'fas',
- iconName: 'paragraph',
- 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"]
- };
- var faCheckToSlot = {
- prefix: 'fas',
- iconName: 'check-to-slot',
- 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"]
- };
- var faVoteYea = faCheckToSlot;
- var faStarHalf = {
- prefix: 'fas',
- iconName: 'star-half',
- 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"]
- };
- var faBoxesStacked = {
- prefix: 'fas',
- iconName: 'boxes-stacked',
- 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"]
- };
- var faBoxes = faBoxesStacked;
- var faBoxesAlt = faBoxesStacked;
- var faLink = {
- prefix: 'fas',
- iconName: 'link',
- 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"]
- };
- var faChain = faLink;
- var faEarListen = {
- prefix: 'fas',
- iconName: 'ear-listen',
- 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"]
- };
- var faAssistiveListeningSystems = faEarListen;
- var faTreeCity = {
- prefix: 'fas',
- iconName: 'tree-city',
- 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"]
- };
- var faPlay = {
- prefix: 'fas',
- iconName: 'play',
- 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"]
- };
- var faFont = {
- prefix: 'fas',
- iconName: 'font',
- 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"]
- };
- var faRupiahSign = {
- prefix: 'fas',
- iconName: 'rupiah-sign',
- 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"]
- };
- var faMagnifyingGlass = {
- prefix: 'fas',
- iconName: 'magnifying-glass',
- 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"]
- };
- var faSearch = faMagnifyingGlass;
- var faTableTennisPaddleBall = {
- prefix: 'fas',
- iconName: 'table-tennis-paddle-ball',
- 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"]
- };
- var faPingPongPaddleBall = faTableTennisPaddleBall;
- var faTableTennis = faTableTennisPaddleBall;
- var faPersonDotsFromLine = {
- prefix: 'fas',
- iconName: 'person-dots-from-line',
- 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"]
- };
- var faDiagnoses = faPersonDotsFromLine;
- var faTrashCanArrowUp = {
- prefix: 'fas',
- iconName: 'trash-can-arrow-up',
- 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"]
- };
- var faTrashRestoreAlt = faTrashCanArrowUp;
- var faNairaSign = {
- prefix: 'fas',
- iconName: 'naira-sign',
- 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"]
- };
- var faCartArrowDown = {
- prefix: 'fas',
- iconName: 'cart-arrow-down',
- 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"]
- };
- var faWalkieTalkie = {
- prefix: 'fas',
- iconName: 'walkie-talkie',
- 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"]
- };
- var faFilePen = {
- prefix: 'fas',
- iconName: 'file-pen',
- 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"]
- };
- var faFileEdit = faFilePen;
- var faReceipt = {
- prefix: 'fas',
- iconName: 'receipt',
- 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"]
- };
- var faSquarePen = {
- prefix: 'fas',
- iconName: 'square-pen',
- 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"]
- };
- var faPenSquare = faSquarePen;
- var faPencilSquare = faSquarePen;
- var faSuitcaseRolling = {
- prefix: 'fas',
- iconName: 'suitcase-rolling',
- 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"]
- };
- var faPersonCircleExclamation = {
- prefix: 'fas',
- iconName: 'person-circle-exclamation',
- 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"]
- };
- var faChevronDown = {
- prefix: 'fas',
- iconName: 'chevron-down',
- 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"]
- };
- var faBatteryFull = {
- prefix: 'fas',
- iconName: 'battery-full',
- 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"]
- };
- var faBattery = faBatteryFull;
- var faBattery5 = faBatteryFull;
- var faSkullCrossbones = {
- prefix: 'fas',
- iconName: 'skull-crossbones',
- 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"]
- };
- var faCodeCompare = {
- prefix: 'fas',
- iconName: 'code-compare',
- 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"]
- };
- var faListUl = {
- prefix: 'fas',
- iconName: 'list-ul',
- 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"]
- };
- var faListDots = faListUl;
- var faSchoolLock = {
- prefix: 'fas',
- iconName: 'school-lock',
- 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"]
- };
- var faTowerCell = {
- prefix: 'fas',
- iconName: 'tower-cell',
- 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"]
- };
- var faDownLong = {
- prefix: 'fas',
- iconName: 'down-long',
- 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"]
- };
- var faLongArrowAltDown = faDownLong;
- var faRankingStar = {
- prefix: 'fas',
- iconName: 'ranking-star',
- 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"]
- };
- var faChessKing = {
- prefix: 'fas',
- iconName: 'chess-king',
- 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"]
- };
- var faPersonHarassing = {
- prefix: 'fas',
- iconName: 'person-harassing',
- 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"]
- };
- var faBrazilianRealSign = {
- prefix: 'fas',
- iconName: 'brazilian-real-sign',
- 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"]
- };
- var faLandmarkDome = {
- prefix: 'fas',
- iconName: 'landmark-dome',
- 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"]
- };
- var faLandmarkAlt = faLandmarkDome;
- var faArrowUp = {
- prefix: 'fas',
- iconName: 'arrow-up',
- 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"]
- };
- var faTv = {
- prefix: 'fas',
- iconName: 'tv',
- 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"]
- };
- var faTelevision = faTv;
- var faTvAlt = faTv;
- var faShrimp = {
- prefix: 'fas',
- iconName: 'shrimp',
- 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"]
- };
- var faListCheck = {
- prefix: 'fas',
- iconName: 'list-check',
- 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"]
- };
- var faTasks = faListCheck;
- var faJugDetergent = {
- prefix: 'fas',
- iconName: 'jug-detergent',
- 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"]
- };
- var faCircleUser = {
- prefix: 'fas',
- iconName: 'circle-user',
- 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"]
- };
- var faUserCircle = faCircleUser;
- var faUserShield = {
- prefix: 'fas',
- iconName: 'user-shield',
- 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"]
- };
- var faWind = {
- prefix: 'fas',
- iconName: 'wind',
- 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"]
- };
- var faCarBurst = {
- prefix: 'fas',
- iconName: 'car-burst',
- 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"]
- };
- var faCarCrash = faCarBurst;
- var faY = {
- prefix: 'fas',
- iconName: 'y',
- 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"]
- };
- var faPersonSnowboarding = {
- prefix: 'fas',
- iconName: 'person-snowboarding',
- 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"]
- };
- var faSnowboarding = faPersonSnowboarding;
- var faTruckFast = {
- prefix: 'fas',
- iconName: 'truck-fast',
- 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"]
- };
- var faShippingFast = faTruckFast;
- var faFish = {
- prefix: 'fas',
- iconName: 'fish',
- 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"]
- };
- var faUserGraduate = {
- prefix: 'fas',
- iconName: 'user-graduate',
- 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"]
- };
- var faCircleHalfStroke = {
- prefix: 'fas',
- iconName: 'circle-half-stroke',
- 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"]
- };
- var faAdjust = faCircleHalfStroke;
- var faClapperboard = {
- prefix: 'fas',
- iconName: 'clapperboard',
- 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"]
- };
- var faCircleRadiation = {
- prefix: 'fas',
- iconName: 'circle-radiation',
- 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"]
- };
- var faRadiationAlt = faCircleRadiation;
- var faBaseball = {
- prefix: 'fas',
- iconName: 'baseball',
- 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"]
- };
- var faBaseballBall = faBaseball;
- var faJetFighterUp = {
- prefix: 'fas',
- iconName: 'jet-fighter-up',
- 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"]
- };
- var faDiagramProject = {
- prefix: 'fas',
- iconName: 'diagram-project',
- 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"]
- };
- var faProjectDiagram = faDiagramProject;
- var faCopy = {
- prefix: 'fas',
- iconName: 'copy',
- 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"]
- };
- var faVolumeXmark = {
- prefix: 'fas',
- iconName: 'volume-xmark',
- 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"]
- };
- var faVolumeMute = faVolumeXmark;
- var faVolumeTimes = faVolumeXmark;
- var faHandSparkles = {
- prefix: 'fas',
- iconName: 'hand-sparkles',
- 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"]
- };
- var faGrip = {
- prefix: 'fas',
- iconName: 'grip',
- 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"]
- };
- var faGripHorizontal = faGrip;
- var faShareFromSquare = {
- prefix: 'fas',
- iconName: 'share-from-square',
- 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"]
- };
- var faShareSquare = faShareFromSquare;
- var faGun = {
- prefix: 'fas',
- iconName: 'gun',
- 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"]
- };
- var faSquarePhone = {
- prefix: 'fas',
- iconName: 'square-phone',
- 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"]
- };
- var faPhoneSquare = faSquarePhone;
- var faPlus = {
- prefix: 'fas',
- iconName: 'plus',
- 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"]
- };
- var faAdd = faPlus;
- var faExpand = {
- prefix: 'fas',
- iconName: 'expand',
- 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"]
- };
- var faComputer = {
- prefix: 'fas',
- iconName: 'computer',
- 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"]
- };
- var faXmark = {
- prefix: 'fas',
- iconName: 'xmark',
- 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"]
- };
- var faClose = faXmark;
- var faMultiply = faXmark;
- var faRemove = faXmark;
- var faTimes = faXmark;
- var faArrowsUpDownLeftRight = {
- prefix: 'fas',
- iconName: 'arrows-up-down-left-right',
- 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"]
- };
- var faArrows = faArrowsUpDownLeftRight;
- var faChalkboardUser = {
- prefix: 'fas',
- iconName: 'chalkboard-user',
- 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"]
- };
- var faChalkboardTeacher = faChalkboardUser;
- var faPesoSign = {
- prefix: 'fas',
- iconName: 'peso-sign',
- 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"]
- };
- var faBuildingShield = {
- prefix: 'fas',
- iconName: 'building-shield',
- 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"]
- };
- var faBaby = {
- prefix: 'fas',
- iconName: 'baby',
- 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"]
- };
- var faUsersLine = {
- prefix: 'fas',
- iconName: 'users-line',
- 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"]
- };
- var faQuoteLeft = {
- prefix: 'fas',
- iconName: 'quote-left',
- 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"]
- };
- var faQuoteLeftAlt = faQuoteLeft;
- var faTractor = {
- prefix: 'fas',
- iconName: 'tractor',
- 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"]
- };
- var faTrashArrowUp = {
- prefix: 'fas',
- iconName: 'trash-arrow-up',
- 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"]
- };
- var faTrashRestore = faTrashArrowUp;
- var faArrowDownUpLock = {
- prefix: 'fas',
- iconName: 'arrow-down-up-lock',
- 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"]
- };
- var faLinesLeaning = {
- prefix: 'fas',
- iconName: 'lines-leaning',
- 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"]
- };
- var faRulerCombined = {
- prefix: 'fas',
- iconName: 'ruler-combined',
- 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"]
- };
- var faCopyright = {
- prefix: 'fas',
- iconName: 'copyright',
- 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"]
- };
- var faEquals = {
- prefix: 'fas',
- iconName: 'equals',
- 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"]
- };
- var faBlender = {
- prefix: 'fas',
- iconName: 'blender',
- 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"]
- };
- var faTeeth = {
- prefix: 'fas',
- iconName: 'teeth',
- 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"]
- };
- var faShekelSign = {
- prefix: 'fas',
- iconName: 'shekel-sign',
- 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"]
- };
- var faIls = faShekelSign;
- var faShekel = faShekelSign;
- var faSheqel = faShekelSign;
- var faSheqelSign = faShekelSign;
- var faMap = {
- prefix: 'fas',
- iconName: 'map',
- 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"]
- };
- var faRocket = {
- prefix: 'fas',
- iconName: 'rocket',
- 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"]
- };
- var faPhotoFilm = {
- prefix: 'fas',
- iconName: 'photo-film',
- 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"]
- };
- var faPhotoVideo = faPhotoFilm;
- var faFolderMinus = {
- prefix: 'fas',
- iconName: 'folder-minus',
- 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"]
- };
- var faStore = {
- prefix: 'fas',
- iconName: 'store',
- 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"]
- };
- var faArrowTrendUp = {
- prefix: 'fas',
- iconName: 'arrow-trend-up',
- 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"]
- };
- var faPlugCircleMinus = {
- prefix: 'fas',
- iconName: 'plug-circle-minus',
- 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"]
- };
- var faSignHanging = {
- prefix: 'fas',
- iconName: 'sign-hanging',
- 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"]
- };
- var faSign = faSignHanging;
- var faBezierCurve = {
- prefix: 'fas',
- iconName: 'bezier-curve',
- 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"]
- };
- var faBellSlash = {
- prefix: 'fas',
- iconName: 'bell-slash',
- 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"]
- };
- var faTablet = {
- prefix: 'fas',
- iconName: 'tablet',
- 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"]
- };
- var faTabletAndroid = faTablet;
- var faSchoolFlag = {
- prefix: 'fas',
- iconName: 'school-flag',
- 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"]
- };
- var faFill = {
- prefix: 'fas',
- iconName: 'fill',
- 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"]
- };
- var faAngleUp = {
- prefix: 'fas',
- iconName: 'angle-up',
- 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"]
- };
- var faDrumstickBite = {
- prefix: 'fas',
- iconName: 'drumstick-bite',
- 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"]
- };
- var faHollyBerry = {
- prefix: 'fas',
- iconName: 'holly-berry',
- 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"]
- };
- var faChevronLeft = {
- prefix: 'fas',
- iconName: 'chevron-left',
- 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"]
- };
- var faBacteria = {
- prefix: 'fas',
- iconName: 'bacteria',
- 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"]
- };
- var faHandLizard = {
- prefix: 'fas',
- iconName: 'hand-lizard',
- 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"]
- };
- var faDisease = {
- prefix: 'fas',
- iconName: 'disease',
- 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"]
- };
- var faBriefcaseMedical = {
- prefix: 'fas',
- iconName: 'briefcase-medical',
- 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"]
- };
- var faGenderless = {
- prefix: 'fas',
- iconName: 'genderless',
- 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"]
- };
- var faChevronRight = {
- prefix: 'fas',
- iconName: 'chevron-right',
- 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"]
- };
- var faRetweet = {
- prefix: 'fas',
- iconName: 'retweet',
- 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"]
- };
- var faCarRear = {
- prefix: 'fas',
- iconName: 'car-rear',
- 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"]
- };
- var faCarAlt = faCarRear;
- var faPumpSoap = {
- prefix: 'fas',
- iconName: 'pump-soap',
- 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"]
- };
- var faVideoSlash = {
- prefix: 'fas',
- iconName: 'video-slash',
- 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"]
- };
- var faBatteryQuarter = {
- prefix: 'fas',
- iconName: 'battery-quarter',
- 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"]
- };
- var faBattery2 = faBatteryQuarter;
- var faRadio = {
- prefix: 'fas',
- iconName: 'radio',
- 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"]
- };
- var faBabyCarriage = {
- prefix: 'fas',
- iconName: 'baby-carriage',
- 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"]
- };
- var faCarriageBaby = faBabyCarriage;
- var faTrafficLight = {
- prefix: 'fas',
- iconName: 'traffic-light',
- 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"]
- };
- var faThermometer = {
- prefix: 'fas',
- iconName: 'thermometer',
- 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"]
- };
- var faVrCardboard = {
- prefix: 'fas',
- iconName: 'vr-cardboard',
- 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"]
- };
- var faHandMiddleFinger = {
- prefix: 'fas',
- iconName: 'hand-middle-finger',
- 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"]
- };
- var faPercent = {
- prefix: 'fas',
- iconName: 'percent',
- 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"]
- };
- var faPercentage = faPercent;
- var faTruckMoving = {
- prefix: 'fas',
- iconName: 'truck-moving',
- 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"]
- };
- var faGlassWaterDroplet = {
- prefix: 'fas',
- iconName: 'glass-water-droplet',
- 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"]
- };
- var faDisplay = {
- prefix: 'fas',
- iconName: 'display',
- 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"]
- };
- var faFaceSmile = {
- prefix: 'fas',
- iconName: 'face-smile',
- 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"]
- };
- var faSmile = faFaceSmile;
- var faThumbtack = {
- prefix: 'fas',
- iconName: 'thumbtack',
- 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"]
- };
- var faThumbTack = faThumbtack;
- var faTrophy = {
- prefix: 'fas',
- iconName: 'trophy',
- 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"]
- };
- var faPersonPraying = {
- prefix: 'fas',
- iconName: 'person-praying',
- 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"]
- };
- var faPray = faPersonPraying;
- var faHammer = {
- prefix: 'fas',
- iconName: 'hammer',
- 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"]
- };
- var faHandPeace = {
- prefix: 'fas',
- iconName: 'hand-peace',
- 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"]
- };
- var faRotate = {
- prefix: 'fas',
- iconName: 'rotate',
- 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"]
- };
- var faSyncAlt = faRotate;
- var faSpinner = {
- prefix: 'fas',
- iconName: 'spinner',
- 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"]
- };
- var faRobot = {
- prefix: 'fas',
- iconName: 'robot',
- 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"]
- };
- var faPeace = {
- prefix: 'fas',
- iconName: 'peace',
- 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"]
- };
- var faGears = {
- prefix: 'fas',
- iconName: 'gears',
- 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"]
- };
- var faCogs = faGears;
- var faWarehouse = {
- prefix: 'fas',
- iconName: 'warehouse',
- 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"]
- };
- var faArrowUpRightDots = {
- prefix: 'fas',
- iconName: 'arrow-up-right-dots',
- 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"]
- };
- var faSplotch = {
- prefix: 'fas',
- iconName: 'splotch',
- 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"]
- };
- var faFaceGrinHearts = {
- prefix: 'fas',
- iconName: 'face-grin-hearts',
- 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"]
- };
- var faGrinHearts = faFaceGrinHearts;
- var faDiceFour = {
- prefix: 'fas',
- iconName: 'dice-four',
- 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"]
- };
- var faSimCard = {
- prefix: 'fas',
- iconName: 'sim-card',
- 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"]
- };
- var faTransgender = {
- prefix: 'fas',
- iconName: 'transgender',
- 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"]
- };
- var faTransgenderAlt = faTransgender;
- var faMercury = {
- prefix: 'fas',
- iconName: 'mercury',
- 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"]
- };
- var faArrowTurnDown = {
- prefix: 'fas',
- iconName: 'arrow-turn-down',
- 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"]
- };
- var faLevelDown = faArrowTurnDown;
- var faPersonFallingBurst = {
- prefix: 'fas',
- iconName: 'person-falling-burst',
- 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"]
- };
- var faAward = {
- prefix: 'fas',
- iconName: 'award',
- 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"]
- };
- var faTicketSimple = {
- prefix: 'fas',
- iconName: 'ticket-simple',
- 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"]
- };
- var faTicketAlt = faTicketSimple;
- var faBuilding = {
- prefix: 'fas',
- iconName: 'building',
- 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"]
- };
- var faAnglesLeft = {
- prefix: 'fas',
- iconName: 'angles-left',
- 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"]
- };
- var faAngleDoubleLeft = faAnglesLeft;
- var faQrcode = {
- prefix: 'fas',
- iconName: 'qrcode',
- 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"]
- };
- var faClockRotateLeft = {
- prefix: 'fas',
- iconName: 'clock-rotate-left',
- 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"]
- };
- var faHistory = faClockRotateLeft;
- var faFaceGrinBeamSweat = {
- prefix: 'fas',
- iconName: 'face-grin-beam-sweat',
- 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"]
- };
- var faGrinBeamSweat = faFaceGrinBeamSweat;
- var faFileExport = {
- prefix: 'fas',
- iconName: 'file-export',
- 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"]
- };
- var faArrowRightFromFile = faFileExport;
- var faShield = {
- prefix: 'fas',
- iconName: 'shield',
- 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"]
- };
- var faShieldBlank = faShield;
- var faArrowUpShortWide = {
- prefix: 'fas',
- iconName: 'arrow-up-short-wide',
- 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"]
- };
- var faSortAmountUpAlt = faArrowUpShortWide;
- var faHouseMedical = {
- prefix: 'fas',
- iconName: 'house-medical',
- 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"]
- };
- var faGolfBallTee = {
- prefix: 'fas',
- iconName: 'golf-ball-tee',
- 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"]
- };
- var faGolfBall = faGolfBallTee;
- var faCircleChevronLeft = {
- prefix: 'fas',
- iconName: 'circle-chevron-left',
- 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"]
- };
- var faChevronCircleLeft = faCircleChevronLeft;
- var faHouseChimneyWindow = {
- prefix: 'fas',
- iconName: 'house-chimney-window',
- 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"]
- };
- var faPenNib = {
- prefix: 'fas',
- iconName: 'pen-nib',
- 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"]
- };
- var faTentArrowTurnLeft = {
- prefix: 'fas',
- iconName: 'tent-arrow-turn-left',
- 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"]
- };
- var faTents = {
- prefix: 'fas',
- iconName: 'tents',
- 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"]
- };
- var faWandMagic = {
- prefix: 'fas',
- iconName: 'wand-magic',
- 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"]
- };
- var faMagic = faWandMagic;
- var faDog = {
- prefix: 'fas',
- iconName: 'dog',
- 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"]
- };
- var faCarrot = {
- prefix: 'fas',
- iconName: 'carrot',
- 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"]
- };
- var faMoon = {
- prefix: 'fas',
- iconName: 'moon',
- 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"]
- };
- var faWineGlassEmpty = {
- prefix: 'fas',
- iconName: 'wine-glass-empty',
- 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"]
- };
- var faWineGlassAlt = faWineGlassEmpty;
- var faCheese = {
- prefix: 'fas',
- iconName: 'cheese',
- 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"]
- };
- var faYinYang = {
- prefix: 'fas',
- iconName: 'yin-yang',
- 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"]
- };
- var faMusic = {
- prefix: 'fas',
- iconName: 'music',
- 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"]
- };
- var faCodeCommit = {
- prefix: 'fas',
- iconName: 'code-commit',
- 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"]
- };
- var faTemperatureLow = {
- prefix: 'fas',
- iconName: 'temperature-low',
- 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"]
- };
- var faPersonBiking = {
- prefix: 'fas',
- iconName: 'person-biking',
- 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"]
- };
- var faBiking = faPersonBiking;
- var faBroom = {
- prefix: 'fas',
- iconName: 'broom',
- 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"]
- };
- var faShieldHeart = {
- prefix: 'fas',
- iconName: 'shield-heart',
- 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"]
- };
- var faGopuram = {
- prefix: 'fas',
- iconName: 'gopuram',
- 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"]
- };
- var faEarthOceania = {
- prefix: 'fas',
- iconName: 'earth-oceania',
- 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"]
- };
- var faGlobeOceania = faEarthOceania;
- var faSquareXmark = {
- prefix: 'fas',
- iconName: 'square-xmark',
- 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"]
- };
- var faTimesSquare = faSquareXmark;
- var faXmarkSquare = faSquareXmark;
- var faHashtag = {
- prefix: 'fas',
- iconName: 'hashtag',
- 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"]
- };
- var faUpRightAndDownLeftFromCenter = {
- prefix: 'fas',
- iconName: 'up-right-and-down-left-from-center',
- 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"]
- };
- var faExpandAlt = faUpRightAndDownLeftFromCenter;
- var faOilCan = {
- prefix: 'fas',
- iconName: 'oil-can',
- 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"]
- };
- var faT = {
- prefix: 'fas',
- iconName: 't',
- 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"]
- };
- var faHippo = {
- prefix: 'fas',
- iconName: 'hippo',
- 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"]
- };
- var faChartColumn = {
- prefix: 'fas',
- iconName: 'chart-column',
- 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"]
- };
- var faInfinity = {
- prefix: 'fas',
- iconName: 'infinity',
- 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"]
- };
- var faVialCircleCheck = {
- prefix: 'fas',
- iconName: 'vial-circle-check',
- 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"]
- };
- var faPersonArrowDownToLine = {
- prefix: 'fas',
- iconName: 'person-arrow-down-to-line',
- 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"]
- };
- var faVoicemail = {
- prefix: 'fas',
- iconName: 'voicemail',
- 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"]
- };
- var faFan = {
- prefix: 'fas',
- iconName: 'fan',
- 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"]
- };
- var faPersonWalkingLuggage = {
- prefix: 'fas',
- iconName: 'person-walking-luggage',
- 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"]
- };
- var faUpDown = {
- prefix: 'fas',
- iconName: 'up-down',
- 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"]
- };
- var faArrowsAltV = faUpDown;
- var faCloudMoonRain = {
- prefix: 'fas',
- iconName: 'cloud-moon-rain',
- 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"]
- };
- var faCalendar = {
- prefix: 'fas',
- iconName: 'calendar',
- 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"]
- };
- var faTrailer = {
- prefix: 'fas',
- iconName: 'trailer',
- 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"]
- };
- var faBahai = {
- prefix: 'fas',
- iconName: 'bahai',
- 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"]
- };
- var faHaykal = faBahai;
- var faSdCard = {
- prefix: 'fas',
- iconName: 'sd-card',
- 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"]
- };
- var faDragon = {
- prefix: 'fas',
- iconName: 'dragon',
- 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"]
- };
- var faShoePrints = {
- prefix: 'fas',
- iconName: 'shoe-prints',
- 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"]
- };
- var faCirclePlus = {
- prefix: 'fas',
- iconName: 'circle-plus',
- 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"]
- };
- var faPlusCircle = faCirclePlus;
- var faFaceGrinTongueWink = {
- prefix: 'fas',
- iconName: 'face-grin-tongue-wink',
- 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"]
- };
- var faGrinTongueWink = faFaceGrinTongueWink;
- var faHandHolding = {
- prefix: 'fas',
- iconName: 'hand-holding',
- 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"]
- };
- var faPlugCircleExclamation = {
- prefix: 'fas',
- iconName: 'plug-circle-exclamation',
- 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"]
- };
- var faLinkSlash = {
- prefix: 'fas',
- iconName: 'link-slash',
- 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"]
- };
- var faChainBroken = faLinkSlash;
- var faChainSlash = faLinkSlash;
- var faUnlink = faLinkSlash;
- var faClone = {
- prefix: 'fas',
- iconName: 'clone',
- 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"]
- };
- var faPersonWalkingArrowLoopLeft = {
- prefix: 'fas',
- iconName: 'person-walking-arrow-loop-left',
- 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"]
- };
- var faArrowUpZA = {
- prefix: 'fas',
- iconName: 'arrow-up-z-a',
- 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"]
- };
- var faSortAlphaUpAlt = faArrowUpZA;
- var faFireFlameCurved = {
- prefix: 'fas',
- iconName: 'fire-flame-curved',
- 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"]
- };
- var faFireAlt = faFireFlameCurved;
- var faTornado = {
- prefix: 'fas',
- iconName: 'tornado',
- 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"]
- };
- var faFileCirclePlus = {
- prefix: 'fas',
- iconName: 'file-circle-plus',
- 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"]
- };
- var faBookQuran = {
- prefix: 'fas',
- iconName: 'book-quran',
- 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"]
- };
- var faQuran = faBookQuran;
- var faAnchor = {
- prefix: 'fas',
- iconName: 'anchor',
- 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"]
- };
- var faBorderAll = {
- prefix: 'fas',
- iconName: 'border-all',
- 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"]
- };
- var faFaceAngry = {
- prefix: 'fas',
- iconName: 'face-angry',
- 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"]
- };
- var faAngry = faFaceAngry;
- var faCookieBite = {
- prefix: 'fas',
- iconName: 'cookie-bite',
- 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"]
- };
- var faArrowTrendDown = {
- prefix: 'fas',
- iconName: 'arrow-trend-down',
- 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"]
- };
- var faRss = {
- prefix: 'fas',
- iconName: 'rss',
- 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"]
- };
- var faFeed = faRss;
- var faDrawPolygon = {
- prefix: 'fas',
- iconName: 'draw-polygon',
- 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"]
- };
- var faScaleBalanced = {
- prefix: 'fas',
- iconName: 'scale-balanced',
- 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"]
- };
- var faBalanceScale = faScaleBalanced;
- var faGaugeSimpleHigh = {
- prefix: 'fas',
- iconName: 'gauge-simple-high',
- 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"]
- };
- var faTachometer = faGaugeSimpleHigh;
- var faTachometerFast = faGaugeSimpleHigh;
- var faShower = {
- prefix: 'fas',
- iconName: 'shower',
- 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"]
- };
- var faDesktop = {
- prefix: 'fas',
- iconName: 'desktop',
- 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"]
- };
- var faDesktopAlt = faDesktop;
- var faM = {
- prefix: 'fas',
- iconName: 'm',
- 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"]
- };
- var faTableList = {
- prefix: 'fas',
- iconName: 'table-list',
- 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"]
- };
- var faThList = faTableList;
- var faCommentSms = {
- prefix: 'fas',
- iconName: 'comment-sms',
- 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"]
- };
- var faSms = faCommentSms;
- var faBook = {
- prefix: 'fas',
- iconName: 'book',
- 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"]
- };
- var faUserPlus = {
- prefix: 'fas',
- iconName: 'user-plus',
- 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"]
- };
- var faCheck = {
- prefix: 'fas',
- iconName: 'check',
- 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"]
- };
- var faBatteryThreeQuarters = {
- prefix: 'fas',
- iconName: 'battery-three-quarters',
- 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"]
- };
- var faBattery4 = faBatteryThreeQuarters;
- var faHouseCircleCheck = {
- prefix: 'fas',
- iconName: 'house-circle-check',
- 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"]
- };
- var faAngleLeft = {
- prefix: 'fas',
- iconName: 'angle-left',
- 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"]
- };
- var faDiagramSuccessor = {
- prefix: 'fas',
- iconName: 'diagram-successor',
- 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"]
- };
- var faTruckArrowRight = {
- prefix: 'fas',
- iconName: 'truck-arrow-right',
- 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"]
- };
- var faArrowsSplitUpAndLeft = {
- prefix: 'fas',
- iconName: 'arrows-split-up-and-left',
- 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"]
- };
- var faHandFist = {
- prefix: 'fas',
- iconName: 'hand-fist',
- 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"]
- };
- var faFistRaised = faHandFist;
- var faCloudMoon = {
- prefix: 'fas',
- iconName: 'cloud-moon',
- 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"]
- };
- var faBriefcase = {
- prefix: 'fas',
- iconName: 'briefcase',
- 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"]
- };
- var faPersonFalling = {
- prefix: 'fas',
- iconName: 'person-falling',
- 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"]
- };
- var faImagePortrait = {
- prefix: 'fas',
- iconName: 'image-portrait',
- 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"]
- };
- var faPortrait = faImagePortrait;
- var faUserTag = {
- prefix: 'fas',
- iconName: 'user-tag',
- 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"]
- };
- var faRug = {
- prefix: 'fas',
- iconName: 'rug',
- 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"]
- };
- var faEarthEurope = {
- prefix: 'fas',
- iconName: 'earth-europe',
- 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"]
- };
- var faGlobeEurope = faEarthEurope;
- var faCartFlatbedSuitcase = {
- prefix: 'fas',
- iconName: 'cart-flatbed-suitcase',
- 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"]
- };
- var faLuggageCart = faCartFlatbedSuitcase;
- var faRectangleXmark = {
- prefix: 'fas',
- iconName: 'rectangle-xmark',
- 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"]
- };
- var faRectangleTimes = faRectangleXmark;
- var faTimesRectangle = faRectangleXmark;
- var faWindowClose = faRectangleXmark;
- var faBahtSign = {
- prefix: 'fas',
- iconName: 'baht-sign',
- 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"]
- };
- var faBookOpen = {
- prefix: 'fas',
- iconName: 'book-open',
- 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"]
- };
- var faBookJournalWhills = {
- prefix: 'fas',
- iconName: 'book-journal-whills',
- 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"]
- };
- var faJournalWhills = faBookJournalWhills;
- var faHandcuffs = {
- prefix: 'fas',
- iconName: 'handcuffs',
- 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"]
- };
- var faTriangleExclamation = {
- prefix: 'fas',
- iconName: 'triangle-exclamation',
- 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"]
- };
- var faExclamationTriangle = faTriangleExclamation;
- var faWarning = faTriangleExclamation;
- var faDatabase = {
- prefix: 'fas',
- iconName: 'database',
- 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"]
- };
- var faShare = {
- prefix: 'fas',
- iconName: 'share',
- 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"]
- };
- var faArrowTurnRight = faShare;
- var faMailForward = faShare;
- var faBottleDroplet = {
- prefix: 'fas',
- iconName: 'bottle-droplet',
- 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"]
- };
- var faMaskFace = {
- prefix: 'fas',
- iconName: 'mask-face',
- 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"]
- };
- var faHillRockslide = {
- prefix: 'fas',
- iconName: 'hill-rockslide',
- 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"]
- };
- var faRightLeft = {
- prefix: 'fas',
- iconName: 'right-left',
- 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"]
- };
- var faExchangeAlt = faRightLeft;
- var faPaperPlane = {
- prefix: 'fas',
- iconName: 'paper-plane',
- 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"]
- };
- var faRoadCircleExclamation = {
- prefix: 'fas',
- iconName: 'road-circle-exclamation',
- 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"]
- };
- var faDungeon = {
- prefix: 'fas',
- iconName: 'dungeon',
- 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"]
- };
- var faAlignRight = {
- prefix: 'fas',
- iconName: 'align-right',
- 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"]
- };
- var faMoneyBill1Wave = {
- prefix: 'fas',
- iconName: 'money-bill-1-wave',
- 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"]
- };
- var faMoneyBillWaveAlt = faMoneyBill1Wave;
- var faLifeRing = {
- prefix: 'fas',
- iconName: 'life-ring',
- 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"]
- };
- var faHands = {
- prefix: 'fas',
- iconName: 'hands',
- 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"]
- };
- var faSignLanguage = faHands;
- var faSigning = faHands;
- var faCalendarDay = {
- prefix: 'fas',
- iconName: 'calendar-day',
- 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"]
- };
- var faWaterLadder = {
- prefix: 'fas',
- iconName: 'water-ladder',
- 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"]
- };
- var faLadderWater = faWaterLadder;
- var faSwimmingPool = faWaterLadder;
- var faArrowsUpDown = {
- prefix: 'fas',
- iconName: 'arrows-up-down',
- 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"]
- };
- var faArrowsV = faArrowsUpDown;
- var faFaceGrimace = {
- prefix: 'fas',
- iconName: 'face-grimace',
- 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"]
- };
- var faGrimace = faFaceGrimace;
- var faWheelchairMove = {
- prefix: 'fas',
- iconName: 'wheelchair-move',
- 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"]
- };
- var faWheelchairAlt = faWheelchairMove;
- var faTurnDown = {
- prefix: 'fas',
- iconName: 'turn-down',
- 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"]
- };
- var faLevelDownAlt = faTurnDown;
- var faPersonWalkingArrowRight = {
- prefix: 'fas',
- iconName: 'person-walking-arrow-right',
- 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"]
- };
- var faSquareEnvelope = {
- prefix: 'fas',
- iconName: 'square-envelope',
- 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"]
- };
- var faEnvelopeSquare = faSquareEnvelope;
- var faDice = {
- prefix: 'fas',
- iconName: 'dice',
- 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"]
- };
- var faBowlingBall = {
- prefix: 'fas',
- iconName: 'bowling-ball',
- 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"]
- };
- var faBrain = {
- prefix: 'fas',
- iconName: 'brain',
- 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"]
- };
- var faBandage = {
- prefix: 'fas',
- iconName: 'bandage',
- 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"]
- };
- var faBandAid = faBandage;
- var faCalendarMinus = {
- prefix: 'fas',
- iconName: 'calendar-minus',
- 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"]
- };
- var faCircleXmark = {
- prefix: 'fas',
- iconName: 'circle-xmark',
- 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"]
- };
- var faTimesCircle = faCircleXmark;
- var faXmarkCircle = faCircleXmark;
- var faGifts = {
- prefix: 'fas',
- iconName: 'gifts',
- 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"]
- };
- var faHotel = {
- prefix: 'fas',
- iconName: 'hotel',
- 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"]
- };
- var faEarthAsia = {
- prefix: 'fas',
- iconName: 'earth-asia',
- 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"]
- };
- var faGlobeAsia = faEarthAsia;
- var faIdCardClip = {
- prefix: 'fas',
- iconName: 'id-card-clip',
- 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"]
- };
- var faIdCardAlt = faIdCardClip;
- var faMagnifyingGlassPlus = {
- prefix: 'fas',
- iconName: 'magnifying-glass-plus',
- 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"]
- };
- var faSearchPlus = faMagnifyingGlassPlus;
- var faThumbsUp = {
- prefix: 'fas',
- iconName: 'thumbs-up',
- 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"]
- };
- var faUserClock = {
- prefix: 'fas',
- iconName: 'user-clock',
- 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"]
- };
- var faHandDots = {
- prefix: 'fas',
- iconName: 'hand-dots',
- 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"]
- };
- var faAllergies = faHandDots;
- var faFileInvoice = {
- prefix: 'fas',
- iconName: 'file-invoice',
- 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"]
- };
- var faWindowMinimize = {
- prefix: 'fas',
- iconName: 'window-minimize',
- 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"]
- };
- var faMugSaucer = {
- prefix: 'fas',
- iconName: 'mug-saucer',
- 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"]
- };
- var faCoffee = faMugSaucer;
- var faBrush = {
- prefix: 'fas',
- iconName: 'brush',
- 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"]
- };
- var faMask = {
- prefix: 'fas',
- iconName: 'mask',
- 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"]
- };
- var faMagnifyingGlassMinus = {
- prefix: 'fas',
- iconName: 'magnifying-glass-minus',
- 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"]
- };
- var faSearchMinus = faMagnifyingGlassMinus;
- var faRulerVertical = {
- prefix: 'fas',
- iconName: 'ruler-vertical',
- 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"]
- };
- var faUserLarge = {
- prefix: 'fas',
- iconName: 'user-large',
- 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"]
- };
- var faUserAlt = faUserLarge;
- var faTrainTram = {
- prefix: 'fas',
- iconName: 'train-tram',
- 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"]
- };
- var faUserNurse = {
- prefix: 'fas',
- iconName: 'user-nurse',
- 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"]
- };
- var faSyringe = {
- prefix: 'fas',
- iconName: 'syringe',
- 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"]
- };
- var faCloudSun = {
- prefix: 'fas',
- iconName: 'cloud-sun',
- 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"]
- };
- var faStopwatch20 = {
- prefix: 'fas',
- iconName: 'stopwatch-20',
- 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"]
- };
- var faSquareFull = {
- prefix: 'fas',
- iconName: 'square-full',
- icon: [512, 512, [128997, 128998, 128999, 129000, 129001, 129002, 129003, 11035, 11036], "f45c", "M0 0H512V512H0V0z"]
- };
- var faMagnet = {
- prefix: 'fas',
- iconName: 'magnet',
- 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"]
- };
- var faJar = {
- prefix: 'fas',
- iconName: 'jar',
- 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"]
- };
- var faNoteSticky = {
- prefix: 'fas',
- iconName: 'note-sticky',
- 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"]
- };
- var faStickyNote = faNoteSticky;
- var faBugSlash = {
- prefix: 'fas',
- iconName: 'bug-slash',
- 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"]
- };
- var faArrowUpFromWaterPump = {
- prefix: 'fas',
- iconName: 'arrow-up-from-water-pump',
- 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"]
- };
- var faBone = {
- prefix: 'fas',
- iconName: 'bone',
- 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"]
- };
- var faUserInjured = {
- prefix: 'fas',
- iconName: 'user-injured',
- 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"]
- };
- var faFaceSadTear = {
- prefix: 'fas',
- iconName: 'face-sad-tear',
- 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"]
- };
- var faSadTear = faFaceSadTear;
- var faPlane = {
- prefix: 'fas',
- iconName: 'plane',
- 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"]
- };
- var faTentArrowsDown = {
- prefix: 'fas',
- iconName: 'tent-arrows-down',
- 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"]
- };
- var faExclamation = {
- prefix: 'fas',
- iconName: 'exclamation',
- 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"]
- };
- var faArrowsSpin = {
- prefix: 'fas',
- iconName: 'arrows-spin',
- 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"]
- };
- var faPrint = {
- prefix: 'fas',
- iconName: 'print',
- 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"]
- };
- var faTurkishLiraSign = {
- prefix: 'fas',
- iconName: 'turkish-lira-sign',
- 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"]
- };
- var faTry = faTurkishLiraSign;
- var faTurkishLira = faTurkishLiraSign;
- var faDollarSign = {
- prefix: 'fas',
- iconName: 'dollar-sign',
- 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"]
- };
- var faDollar = faDollarSign;
- var faUsd = faDollarSign;
- var faX = {
- prefix: 'fas',
- iconName: 'x',
- 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"]
- };
- var faMagnifyingGlassDollar = {
- prefix: 'fas',
- iconName: 'magnifying-glass-dollar',
- 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"]
- };
- var faSearchDollar = faMagnifyingGlassDollar;
- var faUsersGear = {
- prefix: 'fas',
- iconName: 'users-gear',
- 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"]
- };
- var faUsersCog = faUsersGear;
- var faPersonMilitaryPointing = {
- prefix: 'fas',
- iconName: 'person-military-pointing',
- 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"]
- };
- var faBuildingColumns = {
- prefix: 'fas',
- iconName: 'building-columns',
- 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"]
- };
- var faBank = faBuildingColumns;
- var faInstitution = faBuildingColumns;
- var faMuseum = faBuildingColumns;
- var faUniversity = faBuildingColumns;
- var faUmbrella = {
- prefix: 'fas',
- iconName: 'umbrella',
- 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"]
- };
- var faTrowel = {
- prefix: 'fas',
- iconName: 'trowel',
- 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"]
- };
- var faD = {
- prefix: 'fas',
- iconName: 'd',
- 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"]
- };
- var faStapler = {
- prefix: 'fas',
- iconName: 'stapler',
- 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"]
- };
- var faMasksTheater = {
- prefix: 'fas',
- iconName: 'masks-theater',
- 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"]
- };
- var faTheaterMasks = faMasksTheater;
- var faKipSign = {
- prefix: 'fas',
- iconName: 'kip-sign',
- 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"]
- };
- var faHandPointLeft = {
- prefix: 'fas',
- iconName: 'hand-point-left',
- 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"]
- };
- var faHandshakeSimple = {
- prefix: 'fas',
- iconName: 'handshake-simple',
- 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"]
- };
- var faHandshakeAlt = faHandshakeSimple;
- var faJetFighter = {
- prefix: 'fas',
- iconName: 'jet-fighter',
- 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"]
- };
- var faFighterJet = faJetFighter;
- var faSquareShareNodes = {
- prefix: 'fas',
- iconName: 'square-share-nodes',
- 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"]
- };
- var faShareAltSquare = faSquareShareNodes;
- var faBarcode = {
- prefix: 'fas',
- iconName: 'barcode',
- 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"]
- };
- var faPlusMinus = {
- prefix: 'fas',
- iconName: 'plus-minus',
- 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"]
- };
- var faVideo = {
- prefix: 'fas',
- iconName: 'video',
- 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"]
- };
- var faVideoCamera = faVideo;
- var faGraduationCap = {
- prefix: 'fas',
- iconName: 'graduation-cap',
- 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"]
- };
- var faMortarBoard = faGraduationCap;
- var faHandHoldingMedical = {
- prefix: 'fas',
- iconName: 'hand-holding-medical',
- 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"]
- };
- var faPersonCircleCheck = {
- prefix: 'fas',
- iconName: 'person-circle-check',
- 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"]
- };
- var faTurnUp = {
- prefix: 'fas',
- iconName: 'turn-up',
- 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"]
- };
- var faLevelUpAlt = faTurnUp;
- var icons = {
- fa0: fa0,
- fa1: fa1,
- fa2: fa2,
- fa3: fa3,
- fa4: fa4,
- fa5: fa5,
- fa6: fa6,
- fa7: fa7,
- fa8: fa8,
- fa9: fa9,
- faFillDrip: faFillDrip,
- faArrowsToCircle: faArrowsToCircle,
- faCircleChevronRight: faCircleChevronRight,
- faChevronCircleRight: faChevronCircleRight,
- faAt: faAt,
- faTrashCan: faTrashCan,
- faTrashAlt: faTrashAlt,
- faTextHeight: faTextHeight,
- faUserXmark: faUserXmark,
- faUserTimes: faUserTimes,
- faStethoscope: faStethoscope,
- faMessage: faMessage,
- faCommentAlt: faCommentAlt,
- faInfo: faInfo,
- faDownLeftAndUpRightToCenter: faDownLeftAndUpRightToCenter,
- faCompressAlt: faCompressAlt,
- faExplosion: faExplosion,
- faFileLines: faFileLines,
- faFileAlt: faFileAlt,
- faFileText: faFileText,
- faWaveSquare: faWaveSquare,
- faRing: faRing,
- faBuildingUn: faBuildingUn,
- faDiceThree: faDiceThree,
- faCalendarDays: faCalendarDays,
- faCalendarAlt: faCalendarAlt,
- faAnchorCircleCheck: faAnchorCircleCheck,
- faBuildingCircleArrowRight: faBuildingCircleArrowRight,
- faVolleyball: faVolleyball,
- faVolleyballBall: faVolleyballBall,
- faArrowsUpToLine: faArrowsUpToLine,
- faSortDown: faSortDown,
- faSortDesc: faSortDesc,
- faCircleMinus: faCircleMinus,
- faMinusCircle: faMinusCircle,
- faDoorOpen: faDoorOpen,
- faRightFromBracket: faRightFromBracket,
- faSignOutAlt: faSignOutAlt,
- faAtom: faAtom,
- faSoap: faSoap,
- faIcons: faIcons,
- faHeartMusicCameraBolt: faHeartMusicCameraBolt,
- faMicrophoneLinesSlash: faMicrophoneLinesSlash,
- faMicrophoneAltSlash: faMicrophoneAltSlash,
- faBridgeCircleCheck: faBridgeCircleCheck,
- faPumpMedical: faPumpMedical,
- faFingerprint: faFingerprint,
- faHandPointRight: faHandPointRight,
- faMagnifyingGlassLocation: faMagnifyingGlassLocation,
- faSearchLocation: faSearchLocation,
- faForwardStep: faForwardStep,
- faStepForward: faStepForward,
- faFaceSmileBeam: faFaceSmileBeam,
- faSmileBeam: faSmileBeam,
- faFlagCheckered: faFlagCheckered,
- faFootball: faFootball,
- faFootballBall: faFootballBall,
- faSchoolCircleExclamation: faSchoolCircleExclamation,
- faCrop: faCrop,
- faAnglesDown: faAnglesDown,
- faAngleDoubleDown: faAngleDoubleDown,
- faUsersRectangle: faUsersRectangle,
- faPeopleRoof: faPeopleRoof,
- faPeopleLine: faPeopleLine,
- faBeerMugEmpty: faBeerMugEmpty,
- faBeer: faBeer,
- faDiagramPredecessor: faDiagramPredecessor,
- faArrowUpLong: faArrowUpLong,
- faLongArrowUp: faLongArrowUp,
- faFireFlameSimple: faFireFlameSimple,
- faBurn: faBurn,
- faPerson: faPerson,
- faMale: faMale,
- faLaptop: faLaptop,
- faFileCsv: faFileCsv,
- faMenorah: faMenorah,
- faTruckPlane: faTruckPlane,
- faRecordVinyl: faRecordVinyl,
- faFaceGrinStars: faFaceGrinStars,
- faGrinStars: faGrinStars,
- faBong: faBong,
- faSpaghettiMonsterFlying: faSpaghettiMonsterFlying,
- faPastafarianism: faPastafarianism,
- faArrowDownUpAcrossLine: faArrowDownUpAcrossLine,
- faSpoon: faSpoon,
- faUtensilSpoon: faUtensilSpoon,
- faJarWheat: faJarWheat,
- faEnvelopesBulk: faEnvelopesBulk,
- faMailBulk: faMailBulk,
- faFileCircleExclamation: faFileCircleExclamation,
- faCircleH: faCircleH,
- faHospitalSymbol: faHospitalSymbol,
- faPager: faPager,
- faAddressBook: faAddressBook,
- faContactBook: faContactBook,
- faStrikethrough: faStrikethrough,
- faK: faK,
- faLandmarkFlag: faLandmarkFlag,
- faPencil: faPencil,
- faPencilAlt: faPencilAlt,
- faBackward: faBackward,
- faCaretRight: faCaretRight,
- faComments: faComments,
- faPaste: faPaste,
- faFileClipboard: faFileClipboard,
- faCodePullRequest: faCodePullRequest,
- faClipboardList: faClipboardList,
- faTruckRampBox: faTruckRampBox,
- faTruckLoading: faTruckLoading,
- faUserCheck: faUserCheck,
- faVialVirus: faVialVirus,
- faSheetPlastic: faSheetPlastic,
- faBlog: faBlog,
- faUserNinja: faUserNinja,
- faPersonArrowUpFromLine: faPersonArrowUpFromLine,
- faScrollTorah: faScrollTorah,
- faTorah: faTorah,
- faBroomBall: faBroomBall,
- faQuidditch: faQuidditch,
- faQuidditchBroomBall: faQuidditchBroomBall,
- faToggleOff: faToggleOff,
- faBoxArchive: faBoxArchive,
- faArchive: faArchive,
- faPersonDrowning: faPersonDrowning,
- faArrowDown91: faArrowDown91,
- faSortNumericDesc: faSortNumericDesc,
- faSortNumericDownAlt: faSortNumericDownAlt,
- faFaceGrinTongueSquint: faFaceGrinTongueSquint,
- faGrinTongueSquint: faGrinTongueSquint,
- faSprayCan: faSprayCan,
- faTruckMonster: faTruckMonster,
- faW: faW,
- faEarthAfrica: faEarthAfrica,
- faGlobeAfrica: faGlobeAfrica,
- faRainbow: faRainbow,
- faCircleNotch: faCircleNotch,
- faTabletScreenButton: faTabletScreenButton,
- faTabletAlt: faTabletAlt,
- faPaw: faPaw,
- faCloud: faCloud,
- faTrowelBricks: faTrowelBricks,
- faFaceFlushed: faFaceFlushed,
- faFlushed: faFlushed,
- faHospitalUser: faHospitalUser,
- faTentArrowLeftRight: faTentArrowLeftRight,
- faGavel: faGavel,
- faLegal: faLegal,
- faBinoculars: faBinoculars,
- faMicrophoneSlash: faMicrophoneSlash,
- faBoxTissue: faBoxTissue,
- faMotorcycle: faMotorcycle,
- faBellConcierge: faBellConcierge,
- faConciergeBell: faConciergeBell,
- faPenRuler: faPenRuler,
- faPencilRuler: faPencilRuler,
- faPeopleArrows: faPeopleArrows,
- faPeopleArrowsLeftRight: faPeopleArrowsLeftRight,
- faMarsAndVenusBurst: faMarsAndVenusBurst,
- faSquareCaretRight: faSquareCaretRight,
- faCaretSquareRight: faCaretSquareRight,
- faScissors: faScissors,
- faCut: faCut,
- faSunPlantWilt: faSunPlantWilt,
- faToiletsPortable: faToiletsPortable,
- faHockeyPuck: faHockeyPuck,
- faTable: faTable,
- faMagnifyingGlassArrowRight: faMagnifyingGlassArrowRight,
- faTachographDigital: faTachographDigital,
- faDigitalTachograph: faDigitalTachograph,
- faUsersSlash: faUsersSlash,
- faClover: faClover,
- faReply: faReply,
- faMailReply: faMailReply,
- faStarAndCrescent: faStarAndCrescent,
- faHouseFire: faHouseFire,
- faSquareMinus: faSquareMinus,
- faMinusSquare: faMinusSquare,
- faHelicopter: faHelicopter,
- faCompass: faCompass,
- faSquareCaretDown: faSquareCaretDown,
- faCaretSquareDown: faCaretSquareDown,
- faFileCircleQuestion: faFileCircleQuestion,
- faLaptopCode: faLaptopCode,
- faSwatchbook: faSwatchbook,
- faPrescriptionBottle: faPrescriptionBottle,
- faBars: faBars,
- faNavicon: faNavicon,
- faPeopleGroup: faPeopleGroup,
- faHourglassEnd: faHourglassEnd,
- faHourglass3: faHourglass3,
- faHeartCrack: faHeartCrack,
- faHeartBroken: faHeartBroken,
- faSquareUpRight: faSquareUpRight,
- faExternalLinkSquareAlt: faExternalLinkSquareAlt,
- faFaceKissBeam: faFaceKissBeam,
- faKissBeam: faKissBeam,
- faFilm: faFilm,
- faRulerHorizontal: faRulerHorizontal,
- faPeopleRobbery: faPeopleRobbery,
- faLightbulb: faLightbulb,
- faCaretLeft: faCaretLeft,
- faCircleExclamation: faCircleExclamation,
- faExclamationCircle: faExclamationCircle,
- faSchoolCircleXmark: faSchoolCircleXmark,
- faArrowRightFromBracket: faArrowRightFromBracket,
- faSignOut: faSignOut,
- faCircleChevronDown: faCircleChevronDown,
- faChevronCircleDown: faChevronCircleDown,
- faUnlockKeyhole: faUnlockKeyhole,
- faUnlockAlt: faUnlockAlt,
- faCloudShowersHeavy: faCloudShowersHeavy,
- faHeadphonesSimple: faHeadphonesSimple,
- faHeadphonesAlt: faHeadphonesAlt,
- faSitemap: faSitemap,
- faCircleDollarToSlot: faCircleDollarToSlot,
- faDonate: faDonate,
- faMemory: faMemory,
- faRoadSpikes: faRoadSpikes,
- faFireBurner: faFireBurner,
- faFlag: faFlag,
- faHanukiah: faHanukiah,
- faFeather: faFeather,
- faVolumeLow: faVolumeLow,
- faVolumeDown: faVolumeDown,
- faCommentSlash: faCommentSlash,
- faCloudSunRain: faCloudSunRain,
- faCompress: faCompress,
- faWheatAwn: faWheatAwn,
- faWheatAlt: faWheatAlt,
- faAnkh: faAnkh,
- faHandsHoldingChild: faHandsHoldingChild,
- faAsterisk: faAsterisk,
- faSquareCheck: faSquareCheck,
- faCheckSquare: faCheckSquare,
- faPesetaSign: faPesetaSign,
- faHeading: faHeading,
- faHeader: faHeader,
- faGhost: faGhost,
- faList: faList,
- faListSquares: faListSquares,
- faSquarePhoneFlip: faSquarePhoneFlip,
- faPhoneSquareAlt: faPhoneSquareAlt,
- faCartPlus: faCartPlus,
- faGamepad: faGamepad,
- faCircleDot: faCircleDot,
- faDotCircle: faDotCircle,
- faFaceDizzy: faFaceDizzy,
- faDizzy: faDizzy,
- faEgg: faEgg,
- faHouseMedicalCircleXmark: faHouseMedicalCircleXmark,
- faCampground: faCampground,
- faFolderPlus: faFolderPlus,
- faFutbol: faFutbol,
- faFutbolBall: faFutbolBall,
- faSoccerBall: faSoccerBall,
- faPaintbrush: faPaintbrush,
- faPaintBrush: faPaintBrush,
- faLock: faLock,
- faGasPump: faGasPump,
- faHotTubPerson: faHotTubPerson,
- faHotTub: faHotTub,
- faMapLocation: faMapLocation,
- faMapMarked: faMapMarked,
- faHouseFloodWater: faHouseFloodWater,
- faTree: faTree,
- faBridgeLock: faBridgeLock,
- faSackDollar: faSackDollar,
- faPenToSquare: faPenToSquare,
- faEdit: faEdit,
- faCarSide: faCarSide,
- faShareNodes: faShareNodes,
- faShareAlt: faShareAlt,
- faHeartCircleMinus: faHeartCircleMinus,
- faHourglassHalf: faHourglassHalf,
- faHourglass2: faHourglass2,
- faMicroscope: faMicroscope,
- faSink: faSink,
- faBagShopping: faBagShopping,
- faShoppingBag: faShoppingBag,
- faArrowDownZA: faArrowDownZA,
- faSortAlphaDesc: faSortAlphaDesc,
- faSortAlphaDownAlt: faSortAlphaDownAlt,
- faMitten: faMitten,
- faPersonRays: faPersonRays,
- faUsers: faUsers,
- faEyeSlash: faEyeSlash,
- faFlaskVial: faFlaskVial,
- faHand: faHand,
- faHandPaper: faHandPaper,
- faOm: faOm,
- faWorm: faWorm,
- faHouseCircleXmark: faHouseCircleXmark,
- faPlug: faPlug,
- faChevronUp: faChevronUp,
- faHandSpock: faHandSpock,
- faStopwatch: faStopwatch,
- faFaceKiss: faFaceKiss,
- faKiss: faKiss,
- faBridgeCircleXmark: faBridgeCircleXmark,
- faFaceGrinTongue: faFaceGrinTongue,
- faGrinTongue: faGrinTongue,
- faChessBishop: faChessBishop,
- faFaceGrinWink: faFaceGrinWink,
- faGrinWink: faGrinWink,
- faEarDeaf: faEarDeaf,
- faDeaf: faDeaf,
- faDeafness: faDeafness,
- faHardOfHearing: faHardOfHearing,
- faRoadCircleCheck: faRoadCircleCheck,
- faDiceFive: faDiceFive,
- faSquareRss: faSquareRss,
- faRssSquare: faRssSquare,
- faLandMineOn: faLandMineOn,
- faICursor: faICursor,
- faStamp: faStamp,
- faStairs: faStairs,
- faI: faI,
- faHryvniaSign: faHryvniaSign,
- faHryvnia: faHryvnia,
- faPills: faPills,
- faFaceGrinWide: faFaceGrinWide,
- faGrinAlt: faGrinAlt,
- faTooth: faTooth,
- faV: faV,
- faBicycle: faBicycle,
- faStaffSnake: faStaffSnake,
- faRodAsclepius: faRodAsclepius,
- faRodSnake: faRodSnake,
- faStaffAesculapius: faStaffAesculapius,
- faHeadSideCoughSlash: faHeadSideCoughSlash,
- faTruckMedical: faTruckMedical,
- faAmbulance: faAmbulance,
- faWheatAwnCircleExclamation: faWheatAwnCircleExclamation,
- faSnowman: faSnowman,
- faMortarPestle: faMortarPestle,
- faRoadBarrier: faRoadBarrier,
- faSchool: faSchool,
- faIgloo: faIgloo,
- faJoint: faJoint,
- faAngleRight: faAngleRight,
- faHorse: faHorse,
- faQ: faQ,
- faG: faG,
- faNotesMedical: faNotesMedical,
- faTemperatureHalf: faTemperatureHalf,
- faTemperature2: faTemperature2,
- faThermometer2: faThermometer2,
- faThermometerHalf: faThermometerHalf,
- faDongSign: faDongSign,
- faCapsules: faCapsules,
- faPooStorm: faPooStorm,
- faPooBolt: faPooBolt,
- faFaceFrownOpen: faFaceFrownOpen,
- faFrownOpen: faFrownOpen,
- faHandPointUp: faHandPointUp,
- faMoneyBill: faMoneyBill,
- faBookmark: faBookmark,
- faAlignJustify: faAlignJustify,
- faUmbrellaBeach: faUmbrellaBeach,
- faHelmetUn: faHelmetUn,
- faBullseye: faBullseye,
- faBacon: faBacon,
- faHandPointDown: faHandPointDown,
- faArrowUpFromBracket: faArrowUpFromBracket,
- faFolder: faFolder,
- faFolderBlank: faFolderBlank,
- faFileWaveform: faFileWaveform,
- faFileMedicalAlt: faFileMedicalAlt,
- faRadiation: faRadiation,
- faChartSimple: faChartSimple,
- faMarsStroke: faMarsStroke,
- faVial: faVial,
- faGauge: faGauge,
- faDashboard: faDashboard,
- faGaugeMed: faGaugeMed,
- faTachometerAltAverage: faTachometerAltAverage,
- faWandMagicSparkles: faWandMagicSparkles,
- faMagicWandSparkles: faMagicWandSparkles,
- faE: faE,
- faPenClip: faPenClip,
- faPenAlt: faPenAlt,
- faBridgeCircleExclamation: faBridgeCircleExclamation,
- faUser: faUser,
- faSchoolCircleCheck: faSchoolCircleCheck,
- faDumpster: faDumpster,
- faVanShuttle: faVanShuttle,
- faShuttleVan: faShuttleVan,
- faBuildingUser: faBuildingUser,
- faSquareCaretLeft: faSquareCaretLeft,
- faCaretSquareLeft: faCaretSquareLeft,
- faHighlighter: faHighlighter,
- faKey: faKey,
- faBullhorn: faBullhorn,
- faGlobe: faGlobe,
- faSynagogue: faSynagogue,
- faPersonHalfDress: faPersonHalfDress,
- faRoadBridge: faRoadBridge,
- faLocationArrow: faLocationArrow,
- faC: faC,
- faTabletButton: faTabletButton,
- faBuildingLock: faBuildingLock,
- faPizzaSlice: faPizzaSlice,
- faMoneyBillWave: faMoneyBillWave,
- faChartArea: faChartArea,
- faAreaChart: faAreaChart,
- faHouseFlag: faHouseFlag,
- faPersonCircleMinus: faPersonCircleMinus,
- faBan: faBan,
- faCancel: faCancel,
- faCameraRotate: faCameraRotate,
- faSprayCanSparkles: faSprayCanSparkles,
- faAirFreshener: faAirFreshener,
- faStar: faStar,
- faRepeat: faRepeat,
- faCross: faCross,
- faBox: faBox,
- faVenusMars: faVenusMars,
- faArrowPointer: faArrowPointer,
- faMousePointer: faMousePointer,
- faMaximize: faMaximize,
- faExpandArrowsAlt: faExpandArrowsAlt,
- faChargingStation: faChargingStation,
- faShapes: faShapes,
- faTriangleCircleSquare: faTriangleCircleSquare,
- faShuffle: faShuffle,
- faRandom: faRandom,
- faPersonRunning: faPersonRunning,
- faRunning: faRunning,
- faMobileRetro: faMobileRetro,
- faGripLinesVertical: faGripLinesVertical,
- faSpider: faSpider,
- faHandsBound: faHandsBound,
- faFileInvoiceDollar: faFileInvoiceDollar,
- faPlaneCircleExclamation: faPlaneCircleExclamation,
- faXRay: faXRay,
- faSpellCheck: faSpellCheck,
- faSlash: faSlash,
- faComputerMouse: faComputerMouse,
- faMouse: faMouse,
- faArrowRightToBracket: faArrowRightToBracket,
- faSignIn: faSignIn,
- faShopSlash: faShopSlash,
- faStoreAltSlash: faStoreAltSlash,
- faServer: faServer,
- faVirusCovidSlash: faVirusCovidSlash,
- faShopLock: faShopLock,
- faHourglassStart: faHourglassStart,
- faHourglass1: faHourglass1,
- faBlenderPhone: faBlenderPhone,
- faBuildingWheat: faBuildingWheat,
- faPersonBreastfeeding: faPersonBreastfeeding,
- faRightToBracket: faRightToBracket,
- faSignInAlt: faSignInAlt,
- faVenus: faVenus,
- faPassport: faPassport,
- faHeartPulse: faHeartPulse,
- faHeartbeat: faHeartbeat,
- faPeopleCarryBox: faPeopleCarryBox,
- faPeopleCarry: faPeopleCarry,
- faTemperatureHigh: faTemperatureHigh,
- faMicrochip: faMicrochip,
- faCrown: faCrown,
- faWeightHanging: faWeightHanging,
- faXmarksLines: faXmarksLines,
- faFilePrescription: faFilePrescription,
- faWeightScale: faWeightScale,
- faWeight: faWeight,
- faUserGroup: faUserGroup,
- faUserFriends: faUserFriends,
- faArrowUpAZ: faArrowUpAZ,
- faSortAlphaUp: faSortAlphaUp,
- faChessKnight: faChessKnight,
- faFaceLaughSquint: faFaceLaughSquint,
- faLaughSquint: faLaughSquint,
- faWheelchair: faWheelchair,
- faCircleArrowUp: faCircleArrowUp,
- faArrowCircleUp: faArrowCircleUp,
- faToggleOn: faToggleOn,
- faPersonWalking: faPersonWalking,
- faWalking: faWalking,
- faL: faL,
- faFire: faFire,
- faBedPulse: faBedPulse,
- faProcedures: faProcedures,
- faShuttleSpace: faShuttleSpace,
- faSpaceShuttle: faSpaceShuttle,
- faFaceLaugh: faFaceLaugh,
- faLaugh: faLaugh,
- faFolderOpen: faFolderOpen,
- faHeartCirclePlus: faHeartCirclePlus,
- faCodeFork: faCodeFork,
- faCity: faCity,
- faMicrophoneLines: faMicrophoneLines,
- faMicrophoneAlt: faMicrophoneAlt,
- faPepperHot: faPepperHot,
- faUnlock: faUnlock,
- faColonSign: faColonSign,
- faHeadset: faHeadset,
- faStoreSlash: faStoreSlash,
- faRoadCircleXmark: faRoadCircleXmark,
- faUserMinus: faUserMinus,
- faMarsStrokeUp: faMarsStrokeUp,
- faMarsStrokeV: faMarsStrokeV,
- faChampagneGlasses: faChampagneGlasses,
- faGlassCheers: faGlassCheers,
- faClipboard: faClipboard,
- faHouseCircleExclamation: faHouseCircleExclamation,
- faFileArrowUp: faFileArrowUp,
- faFileUpload: faFileUpload,
- faWifi: faWifi,
- faWifi3: faWifi3,
- faWifiStrong: faWifiStrong,
- faBath: faBath,
- faBathtub: faBathtub,
- faUnderline: faUnderline,
- faUserPen: faUserPen,
- faUserEdit: faUserEdit,
- faSignature: faSignature,
- faStroopwafel: faStroopwafel,
- faBold: faBold,
- faAnchorLock: faAnchorLock,
- faBuildingNgo: faBuildingNgo,
- faManatSign: faManatSign,
- faNotEqual: faNotEqual,
- faBorderTopLeft: faBorderTopLeft,
- faBorderStyle: faBorderStyle,
- faMapLocationDot: faMapLocationDot,
- faMapMarkedAlt: faMapMarkedAlt,
- faJedi: faJedi,
- faSquarePollVertical: faSquarePollVertical,
- faPoll: faPoll,
- faMugHot: faMugHot,
- faCarBattery: faCarBattery,
- faBatteryCar: faBatteryCar,
- faGift: faGift,
- faDiceTwo: faDiceTwo,
- faChessQueen: faChessQueen,
- faGlasses: faGlasses,
- faChessBoard: faChessBoard,
- faBuildingCircleCheck: faBuildingCircleCheck,
- faPersonChalkboard: faPersonChalkboard,
- faMarsStrokeRight: faMarsStrokeRight,
- faMarsStrokeH: faMarsStrokeH,
- faHandBackFist: faHandBackFist,
- faHandRock: faHandRock,
- faSquareCaretUp: faSquareCaretUp,
- faCaretSquareUp: faCaretSquareUp,
- faCloudShowersWater: faCloudShowersWater,
- faChartBar: faChartBar,
- faBarChart: faBarChart,
- faHandsBubbles: faHandsBubbles,
- faHandsWash: faHandsWash,
- faLessThanEqual: faLessThanEqual,
- faTrain: faTrain,
- faEyeLowVision: faEyeLowVision,
- faLowVision: faLowVision,
- faCrow: faCrow,
- faSailboat: faSailboat,
- faWindowRestore: faWindowRestore,
- faSquarePlus: faSquarePlus,
- faPlusSquare: faPlusSquare,
- faToriiGate: faToriiGate,
- faFrog: faFrog,
- faBucket: faBucket,
- faImage: faImage,
- faMicrophone: faMicrophone,
- faCow: faCow,
- faCaretUp: faCaretUp,
- faScrewdriver: faScrewdriver,
- faFolderClosed: faFolderClosed,
- faHouseTsunami: faHouseTsunami,
- faSquareNfi: faSquareNfi,
- faArrowUpFromGroundWater: faArrowUpFromGroundWater,
- faMartiniGlass: faMartiniGlass,
- faGlassMartiniAlt: faGlassMartiniAlt,
- faRotateLeft: faRotateLeft,
- faRotateBack: faRotateBack,
- faRotateBackward: faRotateBackward,
- faUndoAlt: faUndoAlt,
- faTableColumns: faTableColumns,
- faColumns: faColumns,
- faLemon: faLemon,
- faHeadSideMask: faHeadSideMask,
- faHandshake: faHandshake,
- faGem: faGem,
- faDolly: faDolly,
- faDollyBox: faDollyBox,
- faSmoking: faSmoking,
- faMinimize: faMinimize,
- faCompressArrowsAlt: faCompressArrowsAlt,
- faMonument: faMonument,
- faSnowplow: faSnowplow,
- faAnglesRight: faAnglesRight,
- faAngleDoubleRight: faAngleDoubleRight,
- faCannabis: faCannabis,
- faCirclePlay: faCirclePlay,
- faPlayCircle: faPlayCircle,
- faTablets: faTablets,
- faEthernet: faEthernet,
- faEuroSign: faEuroSign,
- faEur: faEur,
- faEuro: faEuro,
- faChair: faChair,
- faCircleCheck: faCircleCheck,
- faCheckCircle: faCheckCircle,
- faCircleStop: faCircleStop,
- faStopCircle: faStopCircle,
- faCompassDrafting: faCompassDrafting,
- faDraftingCompass: faDraftingCompass,
- faPlateWheat: faPlateWheat,
- faIcicles: faIcicles,
- faPersonShelter: faPersonShelter,
- faNeuter: faNeuter,
- faIdBadge: faIdBadge,
- faMarker: faMarker,
- faFaceLaughBeam: faFaceLaughBeam,
- faLaughBeam: faLaughBeam,
- faHelicopterSymbol: faHelicopterSymbol,
- faUniversalAccess: faUniversalAccess,
- faCircleChevronUp: faCircleChevronUp,
- faChevronCircleUp: faChevronCircleUp,
- faLariSign: faLariSign,
- faVolcano: faVolcano,
- faPersonWalkingDashedLineArrowRight: faPersonWalkingDashedLineArrowRight,
- faSterlingSign: faSterlingSign,
- faGbp: faGbp,
- faPoundSign: faPoundSign,
- faViruses: faViruses,
- faSquarePersonConfined: faSquarePersonConfined,
- faUserTie: faUserTie,
- faArrowDownLong: faArrowDownLong,
- faLongArrowDown: faLongArrowDown,
- faTentArrowDownToLine: faTentArrowDownToLine,
- faCertificate: faCertificate,
- faReplyAll: faReplyAll,
- faMailReplyAll: faMailReplyAll,
- faSuitcase: faSuitcase,
- faPersonSkating: faPersonSkating,
- faSkating: faSkating,
- faFilterCircleDollar: faFilterCircleDollar,
- faFunnelDollar: faFunnelDollar,
- faCameraRetro: faCameraRetro,
- faCircleArrowDown: faCircleArrowDown,
- faArrowCircleDown: faArrowCircleDown,
- faFileImport: faFileImport,
- faArrowRightToFile: faArrowRightToFile,
- faSquareArrowUpRight: faSquareArrowUpRight,
- faExternalLinkSquare: faExternalLinkSquare,
- faBoxOpen: faBoxOpen,
- faScroll: faScroll,
- faSpa: faSpa,
- faLocationPinLock: faLocationPinLock,
- faPause: faPause,
- faHillAvalanche: faHillAvalanche,
- faTemperatureEmpty: faTemperatureEmpty,
- faTemperature0: faTemperature0,
- faThermometer0: faThermometer0,
- faThermometerEmpty: faThermometerEmpty,
- faBomb: faBomb,
- faRegistered: faRegistered,
- faAddressCard: faAddressCard,
- faContactCard: faContactCard,
- faVcard: faVcard,
- faScaleUnbalancedFlip: faScaleUnbalancedFlip,
- faBalanceScaleRight: faBalanceScaleRight,
- faSubscript: faSubscript,
- faDiamondTurnRight: faDiamondTurnRight,
- faDirections: faDirections,
- faBurst: faBurst,
- faHouseLaptop: faHouseLaptop,
- faLaptopHouse: faLaptopHouse,
- faFaceTired: faFaceTired,
- faTired: faTired,
- faMoneyBills: faMoneyBills,
- faSmog: faSmog,
- faCrutch: faCrutch,
- faFontAwesome: faFontAwesome,
- faFontAwesomeFlag: faFontAwesomeFlag,
- faFontAwesomeLogoFull: faFontAwesomeLogoFull,
- faCloudArrowUp: faCloudArrowUp,
- faCloudUpload: faCloudUpload,
- faCloudUploadAlt: faCloudUploadAlt,
- faPalette: faPalette,
- faArrowsTurnRight: faArrowsTurnRight,
- faVest: faVest,
- faFerry: faFerry,
- faArrowsDownToPeople: faArrowsDownToPeople,
- faSeedling: faSeedling,
- faSprout: faSprout,
- faLeftRight: faLeftRight,
- faArrowsAltH: faArrowsAltH,
- faBoxesPacking: faBoxesPacking,
- faCircleArrowLeft: faCircleArrowLeft,
- faArrowCircleLeft: faArrowCircleLeft,
- faGroupArrowsRotate: faGroupArrowsRotate,
- faBowlFood: faBowlFood,
- faCandyCane: faCandyCane,
- faArrowDownWideShort: faArrowDownWideShort,
- faSortAmountAsc: faSortAmountAsc,
- faSortAmountDown: faSortAmountDown,
- faCloudBolt: faCloudBolt,
- faThunderstorm: faThunderstorm,
- faTextSlash: faTextSlash,
- faRemoveFormat: faRemoveFormat,
- faFaceSmileWink: faFaceSmileWink,
- faSmileWink: faSmileWink,
- faFileWord: faFileWord,
- faFilePowerpoint: faFilePowerpoint,
- faArrowsLeftRight: faArrowsLeftRight,
- faArrowsH: faArrowsH,
- faHouseLock: faHouseLock,
- faCloudArrowDown: faCloudArrowDown,
- faCloudDownload: faCloudDownload,
- faCloudDownloadAlt: faCloudDownloadAlt,
- faChildren: faChildren,
- faChalkboard: faChalkboard,
- faBlackboard: faBlackboard,
- faUserLargeSlash: faUserLargeSlash,
- faUserAltSlash: faUserAltSlash,
- faEnvelopeOpen: faEnvelopeOpen,
- faHandshakeSimpleSlash: faHandshakeSimpleSlash,
- faHandshakeAltSlash: faHandshakeAltSlash,
- faMattressPillow: faMattressPillow,
- faGuaraniSign: faGuaraniSign,
- faArrowsRotate: faArrowsRotate,
- faRefresh: faRefresh,
- faSync: faSync,
- faFireExtinguisher: faFireExtinguisher,
- faCruzeiroSign: faCruzeiroSign,
- faGreaterThanEqual: faGreaterThanEqual,
- faShieldHalved: faShieldHalved,
- faShieldAlt: faShieldAlt,
- faBookAtlas: faBookAtlas,
- faAtlas: faAtlas,
- faVirus: faVirus,
- faEnvelopeCircleCheck: faEnvelopeCircleCheck,
- faLayerGroup: faLayerGroup,
- faArrowsToDot: faArrowsToDot,
- faArchway: faArchway,
- faHeartCircleCheck: faHeartCircleCheck,
- faHouseChimneyCrack: faHouseChimneyCrack,
- faHouseDamage: faHouseDamage,
- faFileZipper: faFileZipper,
- faFileArchive: faFileArchive,
- faSquare: faSquare,
- faMartiniGlassEmpty: faMartiniGlassEmpty,
- faGlassMartini: faGlassMartini,
- faCouch: faCouch,
- faCediSign: faCediSign,
- faItalic: faItalic,
- faChurch: faChurch,
- faCommentsDollar: faCommentsDollar,
- faDemocrat: faDemocrat,
- faZ: faZ,
- faPersonSkiing: faPersonSkiing,
- faSkiing: faSkiing,
- faRoadLock: faRoadLock,
- faA: faA,
- faTemperatureArrowDown: faTemperatureArrowDown,
- faTemperatureDown: faTemperatureDown,
- faFeatherPointed: faFeatherPointed,
- faFeatherAlt: faFeatherAlt,
- faP: faP,
- faSnowflake: faSnowflake,
- faNewspaper: faNewspaper,
- faRectangleAd: faRectangleAd,
- faAd: faAd,
- faCircleArrowRight: faCircleArrowRight,
- faArrowCircleRight: faArrowCircleRight,
- faFilterCircleXmark: faFilterCircleXmark,
- faLocust: faLocust,
- faSort: faSort,
- faUnsorted: faUnsorted,
- faListOl: faListOl,
- faList12: faList12,
- faListNumeric: faListNumeric,
- faPersonDressBurst: faPersonDressBurst,
- faMoneyCheckDollar: faMoneyCheckDollar,
- faMoneyCheckAlt: faMoneyCheckAlt,
- faVectorSquare: faVectorSquare,
- faBreadSlice: faBreadSlice,
- faLanguage: faLanguage,
- faFaceKissWinkHeart: faFaceKissWinkHeart,
- faKissWinkHeart: faKissWinkHeart,
- faFilter: faFilter,
- faQuestion: faQuestion,
- faFileSignature: faFileSignature,
- faUpDownLeftRight: faUpDownLeftRight,
- faArrowsAlt: faArrowsAlt,
- faHouseChimneyUser: faHouseChimneyUser,
- faHandHoldingHeart: faHandHoldingHeart,
- faPuzzlePiece: faPuzzlePiece,
- faMoneyCheck: faMoneyCheck,
- faStarHalfStroke: faStarHalfStroke,
- faStarHalfAlt: faStarHalfAlt,
- faCode: faCode,
- faWhiskeyGlass: faWhiskeyGlass,
- faGlassWhiskey: faGlassWhiskey,
- faBuildingCircleExclamation: faBuildingCircleExclamation,
- faMagnifyingGlassChart: faMagnifyingGlassChart,
- faArrowUpRightFromSquare: faArrowUpRightFromSquare,
- faExternalLink: faExternalLink,
- faCubesStacked: faCubesStacked,
- faWonSign: faWonSign,
- faKrw: faKrw,
- faWon: faWon,
- faVirusCovid: faVirusCovid,
- faAustralSign: faAustralSign,
- faF: faF,
- faLeaf: faLeaf,
- faRoad: faRoad,
- faTaxi: faTaxi,
- faCab: faCab,
- faPersonCirclePlus: faPersonCirclePlus,
- faChartPie: faChartPie,
- faPieChart: faPieChart,
- faBoltLightning: faBoltLightning,
- faSackXmark: faSackXmark,
- faFileExcel: faFileExcel,
- faFileContract: faFileContract,
- faFishFins: faFishFins,
- faBuildingFlag: faBuildingFlag,
- faFaceGrinBeam: faFaceGrinBeam,
- faGrinBeam: faGrinBeam,
- faObjectUngroup: faObjectUngroup,
- faPoop: faPoop,
- faLocationPin: faLocationPin,
- faMapMarker: faMapMarker,
- faKaaba: faKaaba,
- faToiletPaper: faToiletPaper,
- faHelmetSafety: faHelmetSafety,
- faHardHat: faHardHat,
- faHatHard: faHatHard,
- faEject: faEject,
- faCircleRight: faCircleRight,
- faArrowAltCircleRight: faArrowAltCircleRight,
- faPlaneCircleCheck: faPlaneCircleCheck,
- faFaceRollingEyes: faFaceRollingEyes,
- faMehRollingEyes: faMehRollingEyes,
- faObjectGroup: faObjectGroup,
- faChartLine: faChartLine,
- faLineChart: faLineChart,
- faMaskVentilator: faMaskVentilator,
- faArrowRight: faArrowRight,
- faSignsPost: faSignsPost,
- faMapSigns: faMapSigns,
- faCashRegister: faCashRegister,
- faPersonCircleQuestion: faPersonCircleQuestion,
- faH: faH,
- faTarp: faTarp,
- faScrewdriverWrench: faScrewdriverWrench,
- faTools: faTools,
- faArrowsToEye: faArrowsToEye,
- faPlugCircleBolt: faPlugCircleBolt,
- faHeart: faHeart,
- faMarsAndVenus: faMarsAndVenus,
- faHouseUser: faHouseUser,
- faHomeUser: faHomeUser,
- faDumpsterFire: faDumpsterFire,
- faHouseCrack: faHouseCrack,
- faMartiniGlassCitrus: faMartiniGlassCitrus,
- faCocktail: faCocktail,
- faFaceSurprise: faFaceSurprise,
- faSurprise: faSurprise,
- faBottleWater: faBottleWater,
- faCirclePause: faCirclePause,
- faPauseCircle: faPauseCircle,
- faToiletPaperSlash: faToiletPaperSlash,
- faAppleWhole: faAppleWhole,
- faAppleAlt: faAppleAlt,
- faKitchenSet: faKitchenSet,
- faR: faR,
- faTemperatureQuarter: faTemperatureQuarter,
- faTemperature1: faTemperature1,
- faThermometer1: faThermometer1,
- faThermometerQuarter: faThermometerQuarter,
- faCube: faCube,
- faBitcoinSign: faBitcoinSign,
- faShieldDog: faShieldDog,
- faSolarPanel: faSolarPanel,
- faLockOpen: faLockOpen,
- faElevator: faElevator,
- faMoneyBillTransfer: faMoneyBillTransfer,
- faMoneyBillTrendUp: faMoneyBillTrendUp,
- faHouseFloodWaterCircleArrowRight: faHouseFloodWaterCircleArrowRight,
- faSquarePollHorizontal: faSquarePollHorizontal,
- faPollH: faPollH,
- faCircle: faCircle,
- faBackwardFast: faBackwardFast,
- faFastBackward: faFastBackward,
- faRecycle: faRecycle,
- faUserAstronaut: faUserAstronaut,
- faPlaneSlash: faPlaneSlash,
- faTrademark: faTrademark,
- faBasketball: faBasketball,
- faBasketballBall: faBasketballBall,
- faSatelliteDish: faSatelliteDish,
- faCircleUp: faCircleUp,
- faArrowAltCircleUp: faArrowAltCircleUp,
- faMobileScreenButton: faMobileScreenButton,
- faMobileAlt: faMobileAlt,
- faVolumeHigh: faVolumeHigh,
- faVolumeUp: faVolumeUp,
- faUsersRays: faUsersRays,
- faWallet: faWallet,
- faClipboardCheck: faClipboardCheck,
- faFileAudio: faFileAudio,
- faBurger: faBurger,
- faHamburger: faHamburger,
- faWrench: faWrench,
- faBugs: faBugs,
- faRupeeSign: faRupeeSign,
- faRupee: faRupee,
- faFileImage: faFileImage,
- faCircleQuestion: faCircleQuestion,
- faQuestionCircle: faQuestionCircle,
- faPlaneDeparture: faPlaneDeparture,
- faHandshakeSlash: faHandshakeSlash,
- faBookBookmark: faBookBookmark,
- faCodeBranch: faCodeBranch,
- faHatCowboy: faHatCowboy,
- faBridge: faBridge,
- faPhoneFlip: faPhoneFlip,
- faPhoneAlt: faPhoneAlt,
- faTruckFront: faTruckFront,
- faCat: faCat,
- faAnchorCircleExclamation: faAnchorCircleExclamation,
- faTruckField: faTruckField,
- faRoute: faRoute,
- faClipboardQuestion: faClipboardQuestion,
- faPanorama: faPanorama,
- faCommentMedical: faCommentMedical,
- faTeethOpen: faTeethOpen,
- faFileCircleMinus: faFileCircleMinus,
- faTags: faTags,
- faWineGlass: faWineGlass,
- faForwardFast: faForwardFast,
- faFastForward: faFastForward,
- faFaceMehBlank: faFaceMehBlank,
- faMehBlank: faMehBlank,
- faSquareParking: faSquareParking,
- faParking: faParking,
- faHouseSignal: faHouseSignal,
- faBarsProgress: faBarsProgress,
- faTasksAlt: faTasksAlt,
- faFaucetDrip: faFaucetDrip,
- faCartFlatbed: faCartFlatbed,
- faDollyFlatbed: faDollyFlatbed,
- faBanSmoking: faBanSmoking,
- faSmokingBan: faSmokingBan,
- faTerminal: faTerminal,
- faMobileButton: faMobileButton,
- faHouseMedicalFlag: faHouseMedicalFlag,
- faBasketShopping: faBasketShopping,
- faShoppingBasket: faShoppingBasket,
- faTape: faTape,
- faBusSimple: faBusSimple,
- faBusAlt: faBusAlt,
- faEye: faEye,
- faFaceSadCry: faFaceSadCry,
- faSadCry: faSadCry,
- faAudioDescription: faAudioDescription,
- faPersonMilitaryToPerson: faPersonMilitaryToPerson,
- faFileShield: faFileShield,
- faUserSlash: faUserSlash,
- faPen: faPen,
- faTowerObservation: faTowerObservation,
- faFileCode: faFileCode,
- faSignal: faSignal,
- faSignal5: faSignal5,
- faSignalPerfect: faSignalPerfect,
- faBus: faBus,
- faHeartCircleXmark: faHeartCircleXmark,
- faHouseChimney: faHouseChimney,
- faHomeLg: faHomeLg,
- faWindowMaximize: faWindowMaximize,
- faFaceFrown: faFaceFrown,
- faFrown: faFrown,
- faPrescription: faPrescription,
- faShop: faShop,
- faStoreAlt: faStoreAlt,
- faFloppyDisk: faFloppyDisk,
- faSave: faSave,
- faVihara: faVihara,
- faScaleUnbalanced: faScaleUnbalanced,
- faBalanceScaleLeft: faBalanceScaleLeft,
- faSortUp: faSortUp,
- faSortAsc: faSortAsc,
- faCommentDots: faCommentDots,
- faCommenting: faCommenting,
- faPlantWilt: faPlantWilt,
- faDiamond: faDiamond,
- faFaceGrinSquint: faFaceGrinSquint,
- faGrinSquint: faGrinSquint,
- faHandHoldingDollar: faHandHoldingDollar,
- faHandHoldingUsd: faHandHoldingUsd,
- faBacterium: faBacterium,
- faHandPointer: faHandPointer,
- faDrumSteelpan: faDrumSteelpan,
- faHandScissors: faHandScissors,
- faHandsPraying: faHandsPraying,
- faPrayingHands: faPrayingHands,
- faArrowRotateRight: faArrowRotateRight,
- faArrowRightRotate: faArrowRightRotate,
- faArrowRotateForward: faArrowRotateForward,
- faRedo: faRedo,
- faBiohazard: faBiohazard,
- faLocationCrosshairs: faLocationCrosshairs,
- faLocation: faLocation,
- faMarsDouble: faMarsDouble,
- faChildDress: faChildDress,
- faUsersBetweenLines: faUsersBetweenLines,
- faLungsVirus: faLungsVirus,
- faFaceGrinTears: faFaceGrinTears,
- faGrinTears: faGrinTears,
- faPhone: faPhone,
- faCalendarXmark: faCalendarXmark,
- faCalendarTimes: faCalendarTimes,
- faChildReaching: faChildReaching,
- faHeadSideVirus: faHeadSideVirus,
- faUserGear: faUserGear,
- faUserCog: faUserCog,
- faArrowUp19: faArrowUp19,
- faSortNumericUp: faSortNumericUp,
- faDoorClosed: faDoorClosed,
- faShieldVirus: faShieldVirus,
- faDiceSix: faDiceSix,
- faMosquitoNet: faMosquitoNet,
- faBridgeWater: faBridgeWater,
- faPersonBooth: faPersonBooth,
- faTextWidth: faTextWidth,
- faHatWizard: faHatWizard,
- faPenFancy: faPenFancy,
- faPersonDigging: faPersonDigging,
- faDigging: faDigging,
- faTrash: faTrash,
- faGaugeSimple: faGaugeSimple,
- faGaugeSimpleMed: faGaugeSimpleMed,
- faTachometerAverage: faTachometerAverage,
- faBookMedical: faBookMedical,
- faPoo: faPoo,
- faQuoteRight: faQuoteRight,
- faQuoteRightAlt: faQuoteRightAlt,
- faShirt: faShirt,
- faTShirt: faTShirt,
- faTshirt: faTshirt,
- faCubes: faCubes,
- faDivide: faDivide,
- faTengeSign: faTengeSign,
- faTenge: faTenge,
- faHeadphones: faHeadphones,
- faHandsHolding: faHandsHolding,
- faHandsClapping: faHandsClapping,
- faRepublican: faRepublican,
- faArrowLeft: faArrowLeft,
- faPersonCircleXmark: faPersonCircleXmark,
- faRuler: faRuler,
- faAlignLeft: faAlignLeft,
- faDiceD6: faDiceD6,
- faRestroom: faRestroom,
- faJ: faJ,
- faUsersViewfinder: faUsersViewfinder,
- faFileVideo: faFileVideo,
- faUpRightFromSquare: faUpRightFromSquare,
- faExternalLinkAlt: faExternalLinkAlt,
- faTableCells: faTableCells,
- faTh: faTh,
- faFilePdf: faFilePdf,
- faBookBible: faBookBible,
- faBible: faBible,
- faO: faO,
- faSuitcaseMedical: faSuitcaseMedical,
- faMedkit: faMedkit,
- faUserSecret: faUserSecret,
- faOtter: faOtter,
- faPersonDress: faPersonDress,
- faFemale: faFemale,
- faCommentDollar: faCommentDollar,
- faBusinessTime: faBusinessTime,
- faBriefcaseClock: faBriefcaseClock,
- faTableCellsLarge: faTableCellsLarge,
- faThLarge: faThLarge,
- faBookTanakh: faBookTanakh,
- faTanakh: faTanakh,
- faPhoneVolume: faPhoneVolume,
- faVolumeControlPhone: faVolumeControlPhone,
- faHatCowboySide: faHatCowboySide,
- faClipboardUser: faClipboardUser,
- faChild: faChild,
- faLiraSign: faLiraSign,
- faSatellite: faSatellite,
- faPlaneLock: faPlaneLock,
- faTag: faTag,
- faComment: faComment,
- faCakeCandles: faCakeCandles,
- faBirthdayCake: faBirthdayCake,
- faCake: faCake,
- faEnvelope: faEnvelope,
- faAnglesUp: faAnglesUp,
- faAngleDoubleUp: faAngleDoubleUp,
- faPaperclip: faPaperclip,
- faArrowRightToCity: faArrowRightToCity,
- faRibbon: faRibbon,
- faLungs: faLungs,
- faArrowUp91: faArrowUp91,
- faSortNumericUpAlt: faSortNumericUpAlt,
- faLitecoinSign: faLitecoinSign,
- faBorderNone: faBorderNone,
- faCircleNodes: faCircleNodes,
- faParachuteBox: faParachuteBox,
- faIndent: faIndent,
- faTruckFieldUn: faTruckFieldUn,
- faHourglass: faHourglass,
- faHourglassEmpty: faHourglassEmpty,
- faMountain: faMountain,
- faUserDoctor: faUserDoctor,
- faUserMd: faUserMd,
- faCircleInfo: faCircleInfo,
- faInfoCircle: faInfoCircle,
- faCloudMeatball: faCloudMeatball,
- faCamera: faCamera,
- faCameraAlt: faCameraAlt,
- faSquareVirus: faSquareVirus,
- faMeteor: faMeteor,
- faCarOn: faCarOn,
- faSleigh: faSleigh,
- faArrowDown19: faArrowDown19,
- faSortNumericAsc: faSortNumericAsc,
- faSortNumericDown: faSortNumericDown,
- faHandHoldingDroplet: faHandHoldingDroplet,
- faHandHoldingWater: faHandHoldingWater,
- faWater: faWater,
- faCalendarCheck: faCalendarCheck,
- faBraille: faBraille,
- faPrescriptionBottleMedical: faPrescriptionBottleMedical,
- faPrescriptionBottleAlt: faPrescriptionBottleAlt,
- faLandmark: faLandmark,
- faTruck: faTruck,
- faCrosshairs: faCrosshairs,
- faPersonCane: faPersonCane,
- faTent: faTent,
- faVestPatches: faVestPatches,
- faCheckDouble: faCheckDouble,
- faArrowDownAZ: faArrowDownAZ,
- faSortAlphaAsc: faSortAlphaAsc,
- faSortAlphaDown: faSortAlphaDown,
- faMoneyBillWheat: faMoneyBillWheat,
- faCookie: faCookie,
- faArrowRotateLeft: faArrowRotateLeft,
- faArrowLeftRotate: faArrowLeftRotate,
- faArrowRotateBack: faArrowRotateBack,
- faArrowRotateBackward: faArrowRotateBackward,
- faUndo: faUndo,
- faHardDrive: faHardDrive,
- faHdd: faHdd,
- faFaceGrinSquintTears: faFaceGrinSquintTears,
- faGrinSquintTears: faGrinSquintTears,
- faDumbbell: faDumbbell,
- faRectangleList: faRectangleList,
- faListAlt: faListAlt,
- faTarpDroplet: faTarpDroplet,
- faHouseMedicalCircleCheck: faHouseMedicalCircleCheck,
- faPersonSkiingNordic: faPersonSkiingNordic,
- faSkiingNordic: faSkiingNordic,
- faCalendarPlus: faCalendarPlus,
- faPlaneArrival: faPlaneArrival,
- faCircleLeft: faCircleLeft,
- faArrowAltCircleLeft: faArrowAltCircleLeft,
- faTrainSubway: faTrainSubway,
- faSubway: faSubway,
- faChartGantt: faChartGantt,
- faIndianRupeeSign: faIndianRupeeSign,
- faIndianRupee: faIndianRupee,
- faInr: faInr,
- faCropSimple: faCropSimple,
- faCropAlt: faCropAlt,
- faMoneyBill1: faMoneyBill1,
- faMoneyBillAlt: faMoneyBillAlt,
- faLeftLong: faLeftLong,
- faLongArrowAltLeft: faLongArrowAltLeft,
- faDna: faDna,
- faVirusSlash: faVirusSlash,
- faMinus: faMinus,
- faSubtract: faSubtract,
- faChildRifle: faChildRifle,
- faChess: faChess,
- faArrowLeftLong: faArrowLeftLong,
- faLongArrowLeft: faLongArrowLeft,
- faPlugCircleCheck: faPlugCircleCheck,
- faStreetView: faStreetView,
- faFrancSign: faFrancSign,
- faVolumeOff: faVolumeOff,
- faHandsAslInterpreting: faHandsAslInterpreting,
- faAmericanSignLanguageInterpreting: faAmericanSignLanguageInterpreting,
- faAslInterpreting: faAslInterpreting,
- faHandsAmericanSignLanguageInterpreting: faHandsAmericanSignLanguageInterpreting,
- faGear: faGear,
- faCog: faCog,
- faDropletSlash: faDropletSlash,
- faTintSlash: faTintSlash,
- faMosque: faMosque,
- faMosquito: faMosquito,
- faStarOfDavid: faStarOfDavid,
- faPersonMilitaryRifle: faPersonMilitaryRifle,
- faCartShopping: faCartShopping,
- faShoppingCart: faShoppingCart,
- faVials: faVials,
- faPlugCirclePlus: faPlugCirclePlus,
- faPlaceOfWorship: faPlaceOfWorship,
- faGripVertical: faGripVertical,
- faArrowTurnUp: faArrowTurnUp,
- faLevelUp: faLevelUp,
- faU: faU,
- faSquareRootVariable: faSquareRootVariable,
- faSquareRootAlt: faSquareRootAlt,
- faClock: faClock,
- faClockFour: faClockFour,
- faBackwardStep: faBackwardStep,
- faStepBackward: faStepBackward,
- faPallet: faPallet,
- faFaucet: faFaucet,
- faBaseballBatBall: faBaseballBatBall,
- faS: faS,
- faTimeline: faTimeline,
- faKeyboard: faKeyboard,
- faCaretDown: faCaretDown,
- faHouseChimneyMedical: faHouseChimneyMedical,
- faClinicMedical: faClinicMedical,
- faTemperatureThreeQuarters: faTemperatureThreeQuarters,
- faTemperature3: faTemperature3,
- faThermometer3: faThermometer3,
- faThermometerThreeQuarters: faThermometerThreeQuarters,
- faMobileScreen: faMobileScreen,
- faMobileAndroidAlt: faMobileAndroidAlt,
- faPlaneUp: faPlaneUp,
- faPiggyBank: faPiggyBank,
- faBatteryHalf: faBatteryHalf,
- faBattery3: faBattery3,
- faMountainCity: faMountainCity,
- faCoins: faCoins,
- faKhanda: faKhanda,
- faSliders: faSliders,
- faSlidersH: faSlidersH,
- faFolderTree: faFolderTree,
- faNetworkWired: faNetworkWired,
- faMapPin: faMapPin,
- faHamsa: faHamsa,
- faCentSign: faCentSign,
- faFlask: faFlask,
- faPersonPregnant: faPersonPregnant,
- faWandSparkles: faWandSparkles,
- faEllipsisVertical: faEllipsisVertical,
- faEllipsisV: faEllipsisV,
- faTicket: faTicket,
- faPowerOff: faPowerOff,
- faRightLong: faRightLong,
- faLongArrowAltRight: faLongArrowAltRight,
- faFlagUsa: faFlagUsa,
- faLaptopFile: faLaptopFile,
- faTty: faTty,
- faTeletype: faTeletype,
- faDiagramNext: faDiagramNext,
- faPersonRifle: faPersonRifle,
- faHouseMedicalCircleExclamation: faHouseMedicalCircleExclamation,
- faClosedCaptioning: faClosedCaptioning,
- faPersonHiking: faPersonHiking,
- faHiking: faHiking,
- faVenusDouble: faVenusDouble,
- faImages: faImages,
- faCalculator: faCalculator,
- faPeoplePulling: faPeoplePulling,
- faN: faN,
- faCableCar: faCableCar,
- faTram: faTram,
- faCloudRain: faCloudRain,
- faBuildingCircleXmark: faBuildingCircleXmark,
- faShip: faShip,
- faArrowsDownToLine: faArrowsDownToLine,
- faDownload: faDownload,
- faFaceGrin: faFaceGrin,
- faGrin: faGrin,
- faDeleteLeft: faDeleteLeft,
- faBackspace: faBackspace,
- faEyeDropper: faEyeDropper,
- faEyeDropperEmpty: faEyeDropperEmpty,
- faEyedropper: faEyedropper,
- faFileCircleCheck: faFileCircleCheck,
- faForward: faForward,
- faMobile: faMobile,
- faMobileAndroid: faMobileAndroid,
- faMobilePhone: faMobilePhone,
- faFaceMeh: faFaceMeh,
- faMeh: faMeh,
- faAlignCenter: faAlignCenter,
- faBookSkull: faBookSkull,
- faBookDead: faBookDead,
- faIdCard: faIdCard,
- faDriversLicense: faDriversLicense,
- faOutdent: faOutdent,
- faDedent: faDedent,
- faHeartCircleExclamation: faHeartCircleExclamation,
- faHouse: faHouse,
- faHome: faHome,
- faHomeAlt: faHomeAlt,
- faHomeLgAlt: faHomeLgAlt,
- faCalendarWeek: faCalendarWeek,
- faLaptopMedical: faLaptopMedical,
- faB: faB,
- faFileMedical: faFileMedical,
- faDiceOne: faDiceOne,
- faKiwiBird: faKiwiBird,
- faArrowRightArrowLeft: faArrowRightArrowLeft,
- faExchange: faExchange,
- faRotateRight: faRotateRight,
- faRedoAlt: faRedoAlt,
- faRotateForward: faRotateForward,
- faUtensils: faUtensils,
- faCutlery: faCutlery,
- faArrowUpWideShort: faArrowUpWideShort,
- faSortAmountUp: faSortAmountUp,
- faMillSign: faMillSign,
- faBowlRice: faBowlRice,
- faSkull: faSkull,
- faTowerBroadcast: faTowerBroadcast,
- faBroadcastTower: faBroadcastTower,
- faTruckPickup: faTruckPickup,
- faUpLong: faUpLong,
- faLongArrowAltUp: faLongArrowAltUp,
- faStop: faStop,
- faCodeMerge: faCodeMerge,
- faUpload: faUpload,
- faHurricane: faHurricane,
- faMound: faMound,
- faToiletPortable: faToiletPortable,
- faCompactDisc: faCompactDisc,
- faFileArrowDown: faFileArrowDown,
- faFileDownload: faFileDownload,
- faCaravan: faCaravan,
- faShieldCat: faShieldCat,
- faBolt: faBolt,
- faZap: faZap,
- faGlassWater: faGlassWater,
- faOilWell: faOilWell,
- faVault: faVault,
- faMars: faMars,
- faToilet: faToilet,
- faPlaneCircleXmark: faPlaneCircleXmark,
- faYenSign: faYenSign,
- faCny: faCny,
- faJpy: faJpy,
- faRmb: faRmb,
- faYen: faYen,
- faRubleSign: faRubleSign,
- faRouble: faRouble,
- faRub: faRub,
- faRuble: faRuble,
- faSun: faSun,
- faGuitar: faGuitar,
- faFaceLaughWink: faFaceLaughWink,
- faLaughWink: faLaughWink,
- faHorseHead: faHorseHead,
- faBoreHole: faBoreHole,
- faIndustry: faIndustry,
- faCircleDown: faCircleDown,
- faArrowAltCircleDown: faArrowAltCircleDown,
- faArrowsTurnToDots: faArrowsTurnToDots,
- faFlorinSign: faFlorinSign,
- faArrowDownShortWide: faArrowDownShortWide,
- faSortAmountDesc: faSortAmountDesc,
- faSortAmountDownAlt: faSortAmountDownAlt,
- faLessThan: faLessThan,
- faAngleDown: faAngleDown,
- faCarTunnel: faCarTunnel,
- faHeadSideCough: faHeadSideCough,
- faGripLines: faGripLines,
- faThumbsDown: faThumbsDown,
- faUserLock: faUserLock,
- faArrowRightLong: faArrowRightLong,
- faLongArrowRight: faLongArrowRight,
- faAnchorCircleXmark: faAnchorCircleXmark,
- faEllipsis: faEllipsis,
- faEllipsisH: faEllipsisH,
- faChessPawn: faChessPawn,
- faKitMedical: faKitMedical,
- faFirstAid: faFirstAid,
- faPersonThroughWindow: faPersonThroughWindow,
- faToolbox: faToolbox,
- faHandsHoldingCircle: faHandsHoldingCircle,
- faBug: faBug,
- faCreditCard: faCreditCard,
- faCreditCardAlt: faCreditCardAlt,
- faCar: faCar,
- faAutomobile: faAutomobile,
- faHandHoldingHand: faHandHoldingHand,
- faBookOpenReader: faBookOpenReader,
- faBookReader: faBookReader,
- faMountainSun: faMountainSun,
- faArrowsLeftRightToLine: faArrowsLeftRightToLine,
- faDiceD20: faDiceD20,
- faTruckDroplet: faTruckDroplet,
- faFileCircleXmark: faFileCircleXmark,
- faTemperatureArrowUp: faTemperatureArrowUp,
- faTemperatureUp: faTemperatureUp,
- faMedal: faMedal,
- faBed: faBed,
- faSquareH: faSquareH,
- faHSquare: faHSquare,
- faPodcast: faPodcast,
- faTemperatureFull: faTemperatureFull,
- faTemperature4: faTemperature4,
- faThermometer4: faThermometer4,
- faThermometerFull: faThermometerFull,
- faBell: faBell,
- faSuperscript: faSuperscript,
- faPlugCircleXmark: faPlugCircleXmark,
- faStarOfLife: faStarOfLife,
- faPhoneSlash: faPhoneSlash,
- faPaintRoller: faPaintRoller,
- faHandshakeAngle: faHandshakeAngle,
- faHandsHelping: faHandsHelping,
- faLocationDot: faLocationDot,
- faMapMarkerAlt: faMapMarkerAlt,
- faFile: faFile,
- faGreaterThan: faGreaterThan,
- faPersonSwimming: faPersonSwimming,
- faSwimmer: faSwimmer,
- faArrowDown: faArrowDown,
- faDroplet: faDroplet,
- faTint: faTint,
- faEraser: faEraser,
- faEarthAmericas: faEarthAmericas,
- faEarth: faEarth,
- faEarthAmerica: faEarthAmerica,
- faGlobeAmericas: faGlobeAmericas,
- faPersonBurst: faPersonBurst,
- faDove: faDove,
- faBatteryEmpty: faBatteryEmpty,
- faBattery0: faBattery0,
- faSocks: faSocks,
- faInbox: faInbox,
- faSection: faSection,
- faGaugeHigh: faGaugeHigh,
- faTachometerAlt: faTachometerAlt,
- faTachometerAltFast: faTachometerAltFast,
- faEnvelopeOpenText: faEnvelopeOpenText,
- faHospital: faHospital,
- faHospitalAlt: faHospitalAlt,
- faHospitalWide: faHospitalWide,
- faWineBottle: faWineBottle,
- faChessRook: faChessRook,
- faBarsStaggered: faBarsStaggered,
- faReorder: faReorder,
- faStream: faStream,
- faDharmachakra: faDharmachakra,
- faHotdog: faHotdog,
- faPersonWalkingWithCane: faPersonWalkingWithCane,
- faBlind: faBlind,
- faDrum: faDrum,
- faIceCream: faIceCream,
- faHeartCircleBolt: faHeartCircleBolt,
- faFax: faFax,
- faParagraph: faParagraph,
- faCheckToSlot: faCheckToSlot,
- faVoteYea: faVoteYea,
- faStarHalf: faStarHalf,
- faBoxesStacked: faBoxesStacked,
- faBoxes: faBoxes,
- faBoxesAlt: faBoxesAlt,
- faLink: faLink,
- faChain: faChain,
- faEarListen: faEarListen,
- faAssistiveListeningSystems: faAssistiveListeningSystems,
- faTreeCity: faTreeCity,
- faPlay: faPlay,
- faFont: faFont,
- faRupiahSign: faRupiahSign,
- faMagnifyingGlass: faMagnifyingGlass,
- faSearch: faSearch,
- faTableTennisPaddleBall: faTableTennisPaddleBall,
- faPingPongPaddleBall: faPingPongPaddleBall,
- faTableTennis: faTableTennis,
- faPersonDotsFromLine: faPersonDotsFromLine,
- faDiagnoses: faDiagnoses,
- faTrashCanArrowUp: faTrashCanArrowUp,
- faTrashRestoreAlt: faTrashRestoreAlt,
- faNairaSign: faNairaSign,
- faCartArrowDown: faCartArrowDown,
- faWalkieTalkie: faWalkieTalkie,
- faFilePen: faFilePen,
- faFileEdit: faFileEdit,
- faReceipt: faReceipt,
- faSquarePen: faSquarePen,
- faPenSquare: faPenSquare,
- faPencilSquare: faPencilSquare,
- faSuitcaseRolling: faSuitcaseRolling,
- faPersonCircleExclamation: faPersonCircleExclamation,
- faChevronDown: faChevronDown,
- faBatteryFull: faBatteryFull,
- faBattery: faBattery,
- faBattery5: faBattery5,
- faSkullCrossbones: faSkullCrossbones,
- faCodeCompare: faCodeCompare,
- faListUl: faListUl,
- faListDots: faListDots,
- faSchoolLock: faSchoolLock,
- faTowerCell: faTowerCell,
- faDownLong: faDownLong,
- faLongArrowAltDown: faLongArrowAltDown,
- faRankingStar: faRankingStar,
- faChessKing: faChessKing,
- faPersonHarassing: faPersonHarassing,
- faBrazilianRealSign: faBrazilianRealSign,
- faLandmarkDome: faLandmarkDome,
- faLandmarkAlt: faLandmarkAlt,
- faArrowUp: faArrowUp,
- faTv: faTv,
- faTelevision: faTelevision,
- faTvAlt: faTvAlt,
- faShrimp: faShrimp,
- faListCheck: faListCheck,
- faTasks: faTasks,
- faJugDetergent: faJugDetergent,
- faCircleUser: faCircleUser,
- faUserCircle: faUserCircle,
- faUserShield: faUserShield,
- faWind: faWind,
- faCarBurst: faCarBurst,
- faCarCrash: faCarCrash,
- faY: faY,
- faPersonSnowboarding: faPersonSnowboarding,
- faSnowboarding: faSnowboarding,
- faTruckFast: faTruckFast,
- faShippingFast: faShippingFast,
- faFish: faFish,
- faUserGraduate: faUserGraduate,
- faCircleHalfStroke: faCircleHalfStroke,
- faAdjust: faAdjust,
- faClapperboard: faClapperboard,
- faCircleRadiation: faCircleRadiation,
- faRadiationAlt: faRadiationAlt,
- faBaseball: faBaseball,
- faBaseballBall: faBaseballBall,
- faJetFighterUp: faJetFighterUp,
- faDiagramProject: faDiagramProject,
- faProjectDiagram: faProjectDiagram,
- faCopy: faCopy,
- faVolumeXmark: faVolumeXmark,
- faVolumeMute: faVolumeMute,
- faVolumeTimes: faVolumeTimes,
- faHandSparkles: faHandSparkles,
- faGrip: faGrip,
- faGripHorizontal: faGripHorizontal,
- faShareFromSquare: faShareFromSquare,
- faShareSquare: faShareSquare,
- faGun: faGun,
- faSquarePhone: faSquarePhone,
- faPhoneSquare: faPhoneSquare,
- faPlus: faPlus,
- faAdd: faAdd,
- faExpand: faExpand,
- faComputer: faComputer,
- faXmark: faXmark,
- faClose: faClose,
- faMultiply: faMultiply,
- faRemove: faRemove,
- faTimes: faTimes,
- faArrowsUpDownLeftRight: faArrowsUpDownLeftRight,
- faArrows: faArrows,
- faChalkboardUser: faChalkboardUser,
- faChalkboardTeacher: faChalkboardTeacher,
- faPesoSign: faPesoSign,
- faBuildingShield: faBuildingShield,
- faBaby: faBaby,
- faUsersLine: faUsersLine,
- faQuoteLeft: faQuoteLeft,
- faQuoteLeftAlt: faQuoteLeftAlt,
- faTractor: faTractor,
- faTrashArrowUp: faTrashArrowUp,
- faTrashRestore: faTrashRestore,
- faArrowDownUpLock: faArrowDownUpLock,
- faLinesLeaning: faLinesLeaning,
- faRulerCombined: faRulerCombined,
- faCopyright: faCopyright,
- faEquals: faEquals,
- faBlender: faBlender,
- faTeeth: faTeeth,
- faShekelSign: faShekelSign,
- faIls: faIls,
- faShekel: faShekel,
- faSheqel: faSheqel,
- faSheqelSign: faSheqelSign,
- faMap: faMap,
- faRocket: faRocket,
- faPhotoFilm: faPhotoFilm,
- faPhotoVideo: faPhotoVideo,
- faFolderMinus: faFolderMinus,
- faStore: faStore,
- faArrowTrendUp: faArrowTrendUp,
- faPlugCircleMinus: faPlugCircleMinus,
- faSignHanging: faSignHanging,
- faSign: faSign,
- faBezierCurve: faBezierCurve,
- faBellSlash: faBellSlash,
- faTablet: faTablet,
- faTabletAndroid: faTabletAndroid,
- faSchoolFlag: faSchoolFlag,
- faFill: faFill,
- faAngleUp: faAngleUp,
- faDrumstickBite: faDrumstickBite,
- faHollyBerry: faHollyBerry,
- faChevronLeft: faChevronLeft,
- faBacteria: faBacteria,
- faHandLizard: faHandLizard,
- faDisease: faDisease,
- faBriefcaseMedical: faBriefcaseMedical,
- faGenderless: faGenderless,
- faChevronRight: faChevronRight,
- faRetweet: faRetweet,
- faCarRear: faCarRear,
- faCarAlt: faCarAlt,
- faPumpSoap: faPumpSoap,
- faVideoSlash: faVideoSlash,
- faBatteryQuarter: faBatteryQuarter,
- faBattery2: faBattery2,
- faRadio: faRadio,
- faBabyCarriage: faBabyCarriage,
- faCarriageBaby: faCarriageBaby,
- faTrafficLight: faTrafficLight,
- faThermometer: faThermometer,
- faVrCardboard: faVrCardboard,
- faHandMiddleFinger: faHandMiddleFinger,
- faPercent: faPercent,
- faPercentage: faPercentage,
- faTruckMoving: faTruckMoving,
- faGlassWaterDroplet: faGlassWaterDroplet,
- faDisplay: faDisplay,
- faFaceSmile: faFaceSmile,
- faSmile: faSmile,
- faThumbtack: faThumbtack,
- faThumbTack: faThumbTack,
- faTrophy: faTrophy,
- faPersonPraying: faPersonPraying,
- faPray: faPray,
- faHammer: faHammer,
- faHandPeace: faHandPeace,
- faRotate: faRotate,
- faSyncAlt: faSyncAlt,
- faSpinner: faSpinner,
- faRobot: faRobot,
- faPeace: faPeace,
- faGears: faGears,
- faCogs: faCogs,
- faWarehouse: faWarehouse,
- faArrowUpRightDots: faArrowUpRightDots,
- faSplotch: faSplotch,
- faFaceGrinHearts: faFaceGrinHearts,
- faGrinHearts: faGrinHearts,
- faDiceFour: faDiceFour,
- faSimCard: faSimCard,
- faTransgender: faTransgender,
- faTransgenderAlt: faTransgenderAlt,
- faMercury: faMercury,
- faArrowTurnDown: faArrowTurnDown,
- faLevelDown: faLevelDown,
- faPersonFallingBurst: faPersonFallingBurst,
- faAward: faAward,
- faTicketSimple: faTicketSimple,
- faTicketAlt: faTicketAlt,
- faBuilding: faBuilding,
- faAnglesLeft: faAnglesLeft,
- faAngleDoubleLeft: faAngleDoubleLeft,
- faQrcode: faQrcode,
- faClockRotateLeft: faClockRotateLeft,
- faHistory: faHistory,
- faFaceGrinBeamSweat: faFaceGrinBeamSweat,
- faGrinBeamSweat: faGrinBeamSweat,
- faFileExport: faFileExport,
- faArrowRightFromFile: faArrowRightFromFile,
- faShield: faShield,
- faShieldBlank: faShieldBlank,
- faArrowUpShortWide: faArrowUpShortWide,
- faSortAmountUpAlt: faSortAmountUpAlt,
- faHouseMedical: faHouseMedical,
- faGolfBallTee: faGolfBallTee,
- faGolfBall: faGolfBall,
- faCircleChevronLeft: faCircleChevronLeft,
- faChevronCircleLeft: faChevronCircleLeft,
- faHouseChimneyWindow: faHouseChimneyWindow,
- faPenNib: faPenNib,
- faTentArrowTurnLeft: faTentArrowTurnLeft,
- faTents: faTents,
- faWandMagic: faWandMagic,
- faMagic: faMagic,
- faDog: faDog,
- faCarrot: faCarrot,
- faMoon: faMoon,
- faWineGlassEmpty: faWineGlassEmpty,
- faWineGlassAlt: faWineGlassAlt,
- faCheese: faCheese,
- faYinYang: faYinYang,
- faMusic: faMusic,
- faCodeCommit: faCodeCommit,
- faTemperatureLow: faTemperatureLow,
- faPersonBiking: faPersonBiking,
- faBiking: faBiking,
- faBroom: faBroom,
- faShieldHeart: faShieldHeart,
- faGopuram: faGopuram,
- faEarthOceania: faEarthOceania,
- faGlobeOceania: faGlobeOceania,
- faSquareXmark: faSquareXmark,
- faTimesSquare: faTimesSquare,
- faXmarkSquare: faXmarkSquare,
- faHashtag: faHashtag,
- faUpRightAndDownLeftFromCenter: faUpRightAndDownLeftFromCenter,
- faExpandAlt: faExpandAlt,
- faOilCan: faOilCan,
- faT: faT,
- faHippo: faHippo,
- faChartColumn: faChartColumn,
- faInfinity: faInfinity,
- faVialCircleCheck: faVialCircleCheck,
- faPersonArrowDownToLine: faPersonArrowDownToLine,
- faVoicemail: faVoicemail,
- faFan: faFan,
- faPersonWalkingLuggage: faPersonWalkingLuggage,
- faUpDown: faUpDown,
- faArrowsAltV: faArrowsAltV,
- faCloudMoonRain: faCloudMoonRain,
- faCalendar: faCalendar,
- faTrailer: faTrailer,
- faBahai: faBahai,
- faHaykal: faHaykal,
- faSdCard: faSdCard,
- faDragon: faDragon,
- faShoePrints: faShoePrints,
- faCirclePlus: faCirclePlus,
- faPlusCircle: faPlusCircle,
- faFaceGrinTongueWink: faFaceGrinTongueWink,
- faGrinTongueWink: faGrinTongueWink,
- faHandHolding: faHandHolding,
- faPlugCircleExclamation: faPlugCircleExclamation,
- faLinkSlash: faLinkSlash,
- faChainBroken: faChainBroken,
- faChainSlash: faChainSlash,
- faUnlink: faUnlink,
- faClone: faClone,
- faPersonWalkingArrowLoopLeft: faPersonWalkingArrowLoopLeft,
- faArrowUpZA: faArrowUpZA,
- faSortAlphaUpAlt: faSortAlphaUpAlt,
- faFireFlameCurved: faFireFlameCurved,
- faFireAlt: faFireAlt,
- faTornado: faTornado,
- faFileCirclePlus: faFileCirclePlus,
- faBookQuran: faBookQuran,
- faQuran: faQuran,
- faAnchor: faAnchor,
- faBorderAll: faBorderAll,
- faFaceAngry: faFaceAngry,
- faAngry: faAngry,
- faCookieBite: faCookieBite,
- faArrowTrendDown: faArrowTrendDown,
- faRss: faRss,
- faFeed: faFeed,
- faDrawPolygon: faDrawPolygon,
- faScaleBalanced: faScaleBalanced,
- faBalanceScale: faBalanceScale,
- faGaugeSimpleHigh: faGaugeSimpleHigh,
- faTachometer: faTachometer,
- faTachometerFast: faTachometerFast,
- faShower: faShower,
- faDesktop: faDesktop,
- faDesktopAlt: faDesktopAlt,
- faM: faM,
- faTableList: faTableList,
- faThList: faThList,
- faCommentSms: faCommentSms,
- faSms: faSms,
- faBook: faBook,
- faUserPlus: faUserPlus,
- faCheck: faCheck,
- faBatteryThreeQuarters: faBatteryThreeQuarters,
- faBattery4: faBattery4,
- faHouseCircleCheck: faHouseCircleCheck,
- faAngleLeft: faAngleLeft,
- faDiagramSuccessor: faDiagramSuccessor,
- faTruckArrowRight: faTruckArrowRight,
- faArrowsSplitUpAndLeft: faArrowsSplitUpAndLeft,
- faHandFist: faHandFist,
- faFistRaised: faFistRaised,
- faCloudMoon: faCloudMoon,
- faBriefcase: faBriefcase,
- faPersonFalling: faPersonFalling,
- faImagePortrait: faImagePortrait,
- faPortrait: faPortrait,
- faUserTag: faUserTag,
- faRug: faRug,
- faEarthEurope: faEarthEurope,
- faGlobeEurope: faGlobeEurope,
- faCartFlatbedSuitcase: faCartFlatbedSuitcase,
- faLuggageCart: faLuggageCart,
- faRectangleXmark: faRectangleXmark,
- faRectangleTimes: faRectangleTimes,
- faTimesRectangle: faTimesRectangle,
- faWindowClose: faWindowClose,
- faBahtSign: faBahtSign,
- faBookOpen: faBookOpen,
- faBookJournalWhills: faBookJournalWhills,
- faJournalWhills: faJournalWhills,
- faHandcuffs: faHandcuffs,
- faTriangleExclamation: faTriangleExclamation,
- faExclamationTriangle: faExclamationTriangle,
- faWarning: faWarning,
- faDatabase: faDatabase,
- faShare: faShare,
- faArrowTurnRight: faArrowTurnRight,
- faMailForward: faMailForward,
- faBottleDroplet: faBottleDroplet,
- faMaskFace: faMaskFace,
- faHillRockslide: faHillRockslide,
- faRightLeft: faRightLeft,
- faExchangeAlt: faExchangeAlt,
- faPaperPlane: faPaperPlane,
- faRoadCircleExclamation: faRoadCircleExclamation,
- faDungeon: faDungeon,
- faAlignRight: faAlignRight,
- faMoneyBill1Wave: faMoneyBill1Wave,
- faMoneyBillWaveAlt: faMoneyBillWaveAlt,
- faLifeRing: faLifeRing,
- faHands: faHands,
- faSignLanguage: faSignLanguage,
- faSigning: faSigning,
- faCalendarDay: faCalendarDay,
- faWaterLadder: faWaterLadder,
- faLadderWater: faLadderWater,
- faSwimmingPool: faSwimmingPool,
- faArrowsUpDown: faArrowsUpDown,
- faArrowsV: faArrowsV,
- faFaceGrimace: faFaceGrimace,
- faGrimace: faGrimace,
- faWheelchairMove: faWheelchairMove,
- faWheelchairAlt: faWheelchairAlt,
- faTurnDown: faTurnDown,
- faLevelDownAlt: faLevelDownAlt,
- faPersonWalkingArrowRight: faPersonWalkingArrowRight,
- faSquareEnvelope: faSquareEnvelope,
- faEnvelopeSquare: faEnvelopeSquare,
- faDice: faDice,
- faBowlingBall: faBowlingBall,
- faBrain: faBrain,
- faBandage: faBandage,
- faBandAid: faBandAid,
- faCalendarMinus: faCalendarMinus,
- faCircleXmark: faCircleXmark,
- faTimesCircle: faTimesCircle,
- faXmarkCircle: faXmarkCircle,
- faGifts: faGifts,
- faHotel: faHotel,
- faEarthAsia: faEarthAsia,
- faGlobeAsia: faGlobeAsia,
- faIdCardClip: faIdCardClip,
- faIdCardAlt: faIdCardAlt,
- faMagnifyingGlassPlus: faMagnifyingGlassPlus,
- faSearchPlus: faSearchPlus,
- faThumbsUp: faThumbsUp,
- faUserClock: faUserClock,
- faHandDots: faHandDots,
- faAllergies: faAllergies,
- faFileInvoice: faFileInvoice,
- faWindowMinimize: faWindowMinimize,
- faMugSaucer: faMugSaucer,
- faCoffee: faCoffee,
- faBrush: faBrush,
- faMask: faMask,
- faMagnifyingGlassMinus: faMagnifyingGlassMinus,
- faSearchMinus: faSearchMinus,
- faRulerVertical: faRulerVertical,
- faUserLarge: faUserLarge,
- faUserAlt: faUserAlt,
- faTrainTram: faTrainTram,
- faUserNurse: faUserNurse,
- faSyringe: faSyringe,
- faCloudSun: faCloudSun,
- faStopwatch20: faStopwatch20,
- faSquareFull: faSquareFull,
- faMagnet: faMagnet,
- faJar: faJar,
- faNoteSticky: faNoteSticky,
- faStickyNote: faStickyNote,
- faBugSlash: faBugSlash,
- faArrowUpFromWaterPump: faArrowUpFromWaterPump,
- faBone: faBone,
- faUserInjured: faUserInjured,
- faFaceSadTear: faFaceSadTear,
- faSadTear: faSadTear,
- faPlane: faPlane,
- faTentArrowsDown: faTentArrowsDown,
- faExclamation: faExclamation,
- faArrowsSpin: faArrowsSpin,
- faPrint: faPrint,
- faTurkishLiraSign: faTurkishLiraSign,
- faTry: faTry,
- faTurkishLira: faTurkishLira,
- faDollarSign: faDollarSign,
- faDollar: faDollar,
- faUsd: faUsd,
- faX: faX,
- faMagnifyingGlassDollar: faMagnifyingGlassDollar,
- faSearchDollar: faSearchDollar,
- faUsersGear: faUsersGear,
- faUsersCog: faUsersCog,
- faPersonMilitaryPointing: faPersonMilitaryPointing,
- faBuildingColumns: faBuildingColumns,
- faBank: faBank,
- faInstitution: faInstitution,
- faMuseum: faMuseum,
- faUniversity: faUniversity,
- faUmbrella: faUmbrella,
- faTrowel: faTrowel,
- faD: faD,
- faStapler: faStapler,
- faMasksTheater: faMasksTheater,
- faTheaterMasks: faTheaterMasks,
- faKipSign: faKipSign,
- faHandPointLeft: faHandPointLeft,
- faHandshakeSimple: faHandshakeSimple,
- faHandshakeAlt: faHandshakeAlt,
- faJetFighter: faJetFighter,
- faFighterJet: faFighterJet,
- faSquareShareNodes: faSquareShareNodes,
- faShareAltSquare: faShareAltSquare,
- faBarcode: faBarcode,
- faPlusMinus: faPlusMinus,
- faVideo: faVideo,
- faVideoCamera: faVideoCamera,
- faGraduationCap: faGraduationCap,
- faMortarBoard: faMortarBoard,
- faHandHoldingMedical: faHandHoldingMedical,
- faPersonCircleCheck: faPersonCircleCheck,
- faTurnUp: faTurnUp,
- faLevelUpAlt: faLevelUpAlt
- };
- /***/ }),
- /***/ 1670:
- /*!*********************************************************************!*\
- !*** ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js ***!
- \*********************************************************************/
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
- __webpack_require__.r(__webpack_exports__);
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
- /* harmony export */ "default": () => (/* binding */ _asyncToGenerator)
- /* harmony export */ });
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
- try {
- var info = gen[key](arg);
- var value = info.value;
- } catch (error) {
- reject(error);
- return;
- }
- if (info.done) {
- resolve(value);
- } else {
- Promise.resolve(value).then(_next, _throw);
- }
- }
- function _asyncToGenerator(fn) {
- return function () {
- var self = this,
- args = arguments;
- return new Promise(function (resolve, reject) {
- var gen = fn.apply(self, args);
- function _next(value) {
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
- }
- function _throw(err) {
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
- }
- _next(undefined);
- });
- };
- }
- /***/ })
- }]);
- //# sourceMappingURL=vendor.js.map